/* ==========================================================================
   MYSTIC — storefront styles (v5)
   Ink black, white type, Mystic red. Big Shoulders for the loud bits,
   Geist for everything you actually read.
   ========================================================================== */
@view-transition { navigation: auto; }

:root {
  --bg: #0a0909;
  --bg-2: #0e0c0d;
  --panel: #141112;
  --panel-2: #1b1718;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --line-3: rgba(255, 255, 255, .2);
  --text: #f7f3f2;
  --muted: #aaa3a1;
  --dim: #77706e;
  --red: #e5243f;
  --red-hi: #ff3d57;
  --red-deep: #8f1428;
  --red-soft: rgba(229, 36, 63, .12);
  --red-line: rgba(229, 36, 63, .45);
  --ok: #62e3a0;
  --gold: #ffc53d;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 32px);
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --brand: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --display: var(--font);
  --mono: 'Geist', system-ui, sans-serif;
  --code: 'Geist Mono', ui-monospace, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; scrollbar-color: #2b2627 transparent; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 6px; }
.ico { width: 20px; height: 20px; flex: none; }
.ico-sm { width: 16px; height: 16px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.mono { font-family: var(--code); }

/* ---------- type ---------- */
.display, .h2 {
  margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  line-height: .86; letter-spacing: .005em;
}
.display em, .h2 em { font-style: normal; color: var(--red); }
.h2 { font-size: clamp(46px, 5.4vw, 84px); }
.kicker, .eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #ddd5d3; }
.kicker::before, .eyebrow i { content: ''; width: 8px; height: 8px; flex: none; background: var(--red); transform: rotate(45deg); box-shadow: 0 0 14px rgba(229,36,63,.9); }
.kicker b { color: var(--red-hi); font-weight: 700; }
.lede { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 46ch; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 13px;
  font-weight: 700; font-size: 15.5px; letter-spacing: -.005em; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .3s, border-color .25s, color .25s;
}
.btn .ico, .btn .ico-sm { transition: transform .3s var(--ease); }
.btn:hover .ico-go { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-light { background: var(--text); color: #0b0a0a; }
.btn-light:hover { background: #fff; box-shadow: 0 10px 30px -12px rgba(255,255,255,.4); }
.btn-red { background: linear-gradient(180deg, #f0304b, var(--red)); color: #fff; box-shadow: 0 12px 30px -12px rgba(229,36,63,.85), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-red:hover { background: linear-gradient(180deg, #ff4a62, var(--red-hi)); box-shadow: 0 16px 38px -10px rgba(229,36,63,.9), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-red::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.25) 50%, transparent 65%); transform: translateX(-120%); }
.btn-red:hover::after { transform: translateX(120%); transition: transform .7s var(--ease); }
.btn-red.is-in { background: rgba(98,227,160,.1); color: var(--ok); box-shadow: inset 0 0 0 1px rgba(98,227,160,.35); }
.btn-red.is-in::after { display: none; }
.btn-dark, .btn-ghost { background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text); }
.btn-dark:hover, .btn-ghost:hover { border-color: var(--line-3); background: #231e1f; }
.btn-sm { --h: 42px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { pointer-events: none; opacity: .6; }
.btn.is-loading::before { content: ''; width: 15px; height: 15px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229,36,63,.55); } 70% { box-shadow: 0 0 0 7px rgba(229,36,63,0); } 100% { box-shadow: 0 0 0 0 rgba(229,36,63,0); } }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 9px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(10,9,9,.62); border: 1px solid rgba(255,255,255,.14); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tag .ico-sm { width: 13px; height: 13px; }
.tag-red { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 6px 18px -6px rgba(229,36,63,.8); }

/* ---------- announcement ---------- */
.announce { position: relative; z-index: 60; background: linear-gradient(90deg, #170a0d, #220b10 50%, #170a0d); border-bottom: 1px solid rgba(229,36,63,.2); font-size: 14px; }
.announce-in { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; padding-block: 6px; flex-wrap: wrap; text-align: center; }
.announce p { margin: 0; color: #e9d4d4; }
.announce .code { display: inline-flex; align-items: center; gap: 6px; font: 700 11.5px/1 var(--code); letter-spacing: .08em; color: #fff; padding: 5px 9px; border: 1px dashed rgba(229,36,63,.7); border-radius: 6px; background: rgba(229,36,63,.12); transition: background-color .2s; }
.announce .code:hover { background: rgba(229,36,63,.25); }
.announce .timer { font: 500 13px/1 var(--mono); color: var(--red-hi); font-variant-numeric: tabular-nums; }
.announce-x { position: absolute; right: 10px; top: 50%; translate: 0 -50%; padding: 6px; color: var(--dim); }
.announce-x:hover { color: var(--text); }

/* ---------- nav (floating bar) ---------- */
.nav { position: sticky; top: 10px; z-index: 50; margin-top: 10px; }
.nav-in {
  display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 8px 0 16px;
  border: 1px solid var(--line); border-radius: 15px; background: rgba(14,12,13,.72);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.nav.is-stuck .nav-in { border-color: var(--line-2); background: rgba(14,12,13,.88); box-shadow: 0 18px 40px -20px rgba(0,0,0,.9); }
.logo { display: flex; align-items: center; gap: 9px; flex: none; }
.logo img { width: 32px; height: 27px; object-fit: contain; }
.logo-word { font-weight: 800; font-family: var(--display); font-size: 27px; font-weight: 900; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.logo-word small { display: none; }
.nav-links { display: flex; gap: 2px; margin: 0 auto 0 4px; padding: 0; list-style: none; }
.nav-links a { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--muted); transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-links a[aria-current] { color: var(--text); }
.nav-links .tag-new { font: 700 13px/1 var(--mono); color: var(--red-hi); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.search-btn { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 11px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--muted); font-size: 14px; transition: border-color .2s, color .2s; }
.search-btn:hover { border-color: var(--line-3); color: var(--text); }
.search-btn kbd { font: 600 10px/1 var(--code); padding: 5px 6px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--dim); }
.icon-btn { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--muted); transition: color .2s, border-color .2s; }
.icon-btn:hover { color: var(--text); border-color: var(--line-3); }
.cart-btn .count { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 800; box-shadow: 0 0 0 3px var(--bg); }
.cart-btn .count[hidden] { display: none; }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.14) rotate(-6deg); } 60% { transform: scale(.96); } }
.login-btn { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 10px; background: var(--text); color: #0b0a0a; font-size: 14px; font-weight: 700; transition: background-color .2s; }
.login-btn:hover { background: #fff; }
.login-btn.is-in { background: var(--panel-2); color: var(--text); border: 1px solid var(--line-2); }
.login-btn.is-in .ico { color: var(--ok); }
.menu-btn { display: none; }
.mnav { position: fixed; inset: 0; z-index: 88; background: var(--bg); padding: 90px var(--gut) 32px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.mnav.is-open { opacity: 1; visibility: visible; }
.mnav a { font-weight: 800; font-family: var(--display); text-transform: uppercase; font-size: 48px; padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mnav a span { font: 600 12.5px var(--mono); color: var(--red); }
.mnav-x { position: absolute; top: 22px; right: var(--gut); }

.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
@keyframes float { 50% { transform: translateY(-8px); } }
.rise { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- sections ---------- */
.sec { padding-block: clamp(56px, 7vw, 92px); position: relative; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.sec-head .kicker { margin-bottom: 14px; }
.sec-head .lede { margin-top: 14px; }
.pill-link { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s, border-color .2s; }
.pill-link:hover { color: var(--text); border-color: var(--line-3); }

/* ---------- category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.cat {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 16px;
  height: 136px; padding: 16px 18px 18px; border-radius: 20px; text-align: left;
  background: #121011; box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .45s var(--ease), box-shadow .3s;
}
.cat > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) brightness(.42); transform: scale(1.1); transition: filter .6s, transform .9s var(--ease), opacity .4s; }
.cat::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(10,9,9,.95) 22%, rgba(10,9,9,.45)); transition: background .4s; }
.cat::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(240px circle at var(--mx) var(--my), rgba(229,36,63,.28), transparent 70%); opacity: 0; transition: opacity .35s; }
.cat:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-3), 0 20px 40px -24px #000; }
.cat:hover > img { filter: grayscale(.15) brightness(.62); transform: scale(1.02); }
.cat:hover::after { opacity: 1; }
.cat[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--red), 0 20px 46px -20px rgba(229,36,63,.75); }
.cat[aria-pressed="true"] > img { filter: saturate(1.15) brightness(.62); transform: scale(1); }
.cat[aria-pressed="true"]::before { background: linear-gradient(105deg, rgba(48,6,14,.94) 18%, rgba(229,36,63,.18)); }
.cat-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .3s, border-color .3s, box-shadow .3s; }
.cat[aria-pressed="true"] .cat-ico { background: var(--red); border-color: var(--red); box-shadow: 0 8px 20px -6px rgba(229,36,63,.95); }
.cat-txt b { display: block; font: 900 30px/.88 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.cat-txt small { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.cat-all { background: radial-gradient(90% 130% at 100% 100%, rgba(229,36,63,.4), transparent 70%), #151012; }
.cat-all::before { background: linear-gradient(105deg, rgba(10,9,9,.75) 15%, transparent 80%); }
.cat-all > .cat-m { inset: auto -14px -26px auto; width: 130px; height: auto; object-fit: contain; filter: none; opacity: .14; transform: rotate(-10deg); }
.cat-all:hover > .cat-m, .cat-all[aria-pressed="true"] > .cat-m { filter: none; opacity: .28; transform: rotate(-4deg) scale(1.05); }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  --mx: 50%; --my: 0px;
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  border-radius: 24px; background: linear-gradient(180deg, #181415, #110f10 70%);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .4s;
}
.card::before {
  content: ''; position: absolute; inset: 0; z-index: 3; padding: 1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgba(255,61,87,.95), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.card::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(460px circle at var(--mx) var(--my), rgba(229,36,63,.13), transparent 60%); opacity: 0; transition: opacity .4s; }
.card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 70px -36px rgba(229,36,63,.55); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; margin: 8px 8px 0; border-radius: 17px; overflow: hidden; background: #000; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.card:hover .card-media img { transform: scale(1.06); filter: brightness(1.08) saturate(1.08); }
.card-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); background: linear-gradient(180deg, rgba(0,0,0,.4), transparent 32%, transparent 72%, rgba(0,0,0,.35)); }
.card-tags { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: flex; gap: 6px; }
.stamp { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 7px 10px 5px; border-radius: 10px; background: var(--red); color: #fff; font: 900 24px/1 var(--display); letter-spacing: .02em; box-shadow: 0 10px 24px -8px rgba(229,36,63,.9); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.card-cat { display: inline-flex; align-items: center; gap: 7px; color: var(--red-hi); flex: none; }
.card-cat .ico-sm { width: 15px; height: 15px; }
.card-fw { color: var(--dim); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-title { margin: 14px 0 10px; font: 900 36px/.88 var(--display); text-transform: uppercase; letter-spacing: .005em; }
.card-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-desc { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; }
.card-price { display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.card-price small { font-size: 12.5px; font-weight: 700; color: var(--red-hi); letter-spacing: .02em; }
.card-price small:not(:has(s)) { color: var(--dim); }
.card-price small s { color: var(--dim); font-weight: 600; margin-right: 4px; }
.card-price b { font: 900 42px/.82 var(--display); letter-spacing: .01em; }
.add {
  position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 18px; border-radius: 14px; flex: none;
  background: linear-gradient(180deg, #f0304b, var(--red)); color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 12px 26px -12px rgba(229,36,63,.9), inset 0 1px 0 rgba(255,255,255,.22);
  transition: background-color .2s, color .2s, transform .25s var(--ease), box-shadow .25s;
}
.add:hover { background: linear-gradient(180deg, #ff4a62, var(--red-hi)); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(229,36,63,1), inset 0 1px 0 rgba(255,255,255,.25); }
.add:active { transform: scale(.96); }
.add.is-in { background: rgba(98,227,160,.1); color: var(--ok); box-shadow: inset 0 0 0 1px rgba(98,227,160,.35); }
.card-custom { justify-content: center; text-align: center; background: radial-gradient(70% 55% at 50% 30%, rgba(229,36,63,.2), transparent 70%), linear-gradient(180deg, #181415, #110f10); box-shadow: inset 0 0 0 1px var(--line-2); }
.cc-in { padding: 44px 30px; display: grid; justify-items: center; gap: 16px; }
.cc-in img { width: 66px; height: auto; filter: drop-shadow(0 10px 28px rgba(229,36,63,.7)); }
.cc-in h3 { margin: 4px 0 0; font: 900 42px/.86 var(--display); text-transform: uppercase; }
.cc-in h3 em { font-style: normal; color: var(--red); }
.cc-in p { margin: 0; color: var(--muted); font-size: 15px; max-width: 30ch; }
.card-custom .btn { position: relative; z-index: 2; }

.price { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.price b { font-family: var(--display); font-size: 32px; font-weight: 900; letter-spacing: .01em; line-height: .9; }
.price s { color: var(--dim); font-size: 15px; }

/* tier meter */
.meter { margin-top: 12px; }
.meter-msg { font-size: 14px; color: var(--muted); margin-bottom: 14px; min-height: 1.4em; }
.meter-msg b { color: var(--text); }
.meter-msg .hot { color: var(--red-hi); font-weight: 700; }
.meter-track { position: relative; height: 5px; border-radius: 5px; background: rgba(255,255,255,.08); }
.meter-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 5px; background: linear-gradient(90deg, var(--red-deep), var(--red-hi)); box-shadow: 0 0 12px rgba(229,36,63,.5); transition: width .7s var(--ease); }
.meter-mark { position: absolute; top: 50%; translate: -50% -50%; width: 13px; height: 13px; border-radius: 50%; background: var(--panel); border: 2px solid var(--line-3); transition: all .3s; }
.meter-mark.on { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 4px rgba(229,36,63,.2); }
.meter-mark span { position: absolute; top: 15px; left: 50%; translate: -50% 0; font: 700 13px var(--mono); color: var(--dim); white-space: nowrap; }
.meter-mark.on span { color: var(--red-hi); }
.meter-labels { height: 22px; }

/* ---------- footer ---------- */
.foot { position: relative; overflow: hidden; padding-top: 72px; background: #0b0909; border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; }
.foot-cta p { max-width: 40ch; margin: 18px 0 22px; font-size: 15px; color: var(--muted); }
.foot-social { display: flex; align-items: center; gap: 8px; }
.foot-up { display: inline-flex; align-items: center; gap: 8px; height: 38px; margin-left: 6px; padding: 0 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13.5px; font-weight: 600; color: var(--muted); transition: color .2s, box-shadow .2s; }
.foot-up .ico-sm { transform: rotate(-45deg); transition: transform .3s var(--ease); }
.foot-up:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--red-line); }
.foot-up:hover .ico-sm { transform: translateY(-3px) rotate(-45deg); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-cols h4 { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.foot-cols a { position: relative; display: block; width: fit-content; padding: 5px 0; font-size: 15px; color: var(--muted); transition: color .2s, transform .3s var(--ease); }
.foot-cols a::before { content: ''; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; background: var(--red); transform: translateY(-50%) rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.foot-cols a:hover { color: var(--text); transform: translateX(14px); }
.foot-cols a:hover::before { transform: translateY(-50%) rotate(45deg) scale(1); }
.foot-legal { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.foot-legal p { max-width: 70ch; margin: 0; }
.foot-pay { display: flex; flex-wrap: wrap; gap: 6px; }
.foot-pay span { padding: 4px 9px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 600; }
.foot-word { --mx: 50%; --my: 60%; position: relative; display: flex; justify-content: center; margin: 24px 0 -.07em; font: 900 clamp(120px, 27vw, 470px)/.74 var(--display); text-align: center; text-transform: uppercase; letter-spacing: .01em; color: transparent; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(229,36,63,.95), transparent 62%), linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); -webkit-background-clip: text; background-clip: text; user-select: none; }
/* once split into letters, each letter carries its own copy of the light */
.foot-word.split { background: none; }
.foot-word.split span { display: inline-block; color: transparent; background: radial-gradient(420px circle at calc(var(--mx) - var(--ox, 0px)) var(--my), rgba(229,36,63,.95), transparent 62%), linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); -webkit-background-clip: text; background-clip: text; transform: translateY(var(--ty, 0)); transition: transform .5s var(--ease); }
.foot-word.pre span { --ty: 60%; opacity: 0; }
.foot-word.in span { opacity: 1; transition: transform 1.1s var(--ease) calc(var(--i) * 80ms), opacity .9s ease calc(var(--i) * 80ms); }
.foot-word.ready span { transition: transform .5s var(--ease); }
.foot-word.ready span:hover, .foot-word.ready span.up { --ty: -7%; }

/* one section: the giant MYSTIC is the footer's background, and the logo, links and fine print sit on top of it */
.foot { isolation: isolate; padding: 72px 0 clamp(22px, 2.4vw, 32px); background: radial-gradient(60% 75% at 50% 52%, rgba(229,36,63,.12), transparent 72%), #0b0909; }
.foot > .wrap { position: relative; z-index: 1; }
.foot-legal { margin-top: clamp(72px, 9vw, 150px); border-top: 0; }
.foot-word { position: absolute; left: 0; right: 0; top: 50%; z-index: 0; margin: 0; translate: 0 -46%; pointer-events: none; }
/* outlined letters: a hairline drawing of the word, filled only where the red light passes */
.foot-word.split span { -webkit-text-stroke: 1.2px rgba(255,255,255,.1); background: radial-gradient(360px circle at calc(var(--mx) - var(--ox, 0px)) var(--my), rgba(229,36,63,.7), rgba(229,36,63,.12) 45%, transparent 68%), linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.008)); -webkit-background-clip: text; background-clip: text; }
.foot::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(11,9,9,.55), rgba(11,9,9,.12) 32%, rgba(11,9,9,.12) 68%, rgba(11,9,9,.55)); }

@media (max-width: 1080px) {
  .foot-top { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-legal { flex-direction: column; align-items: flex-start; }
}

/* ---------- drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.scrim.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 8px; right: 8px; bottom: 8px; z-index: 90; width: min(420px, calc(100% - 16px)); display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; transform: translateX(calc(100% + 16px)); transition: transform .45s var(--ease); box-shadow: 0 30px 80px -20px #000; }
.drawer.is-open { transform: none; }
.dr-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.dr-head h3 { margin: 0; font-weight: 800; font-family: var(--display); text-transform: uppercase; font-size: 32px; font-weight: 900; }
.dr-head h3 sup { font-size: 13px; color: var(--red); margin-left: 4px; }
.dr-meter { padding: 14px 18px 6px; border-bottom: 1px solid var(--line); }
.dr-items { flex: 1; overflow-y: auto; padding: 4px 18px; overscroll-behavior: contain; }
.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); animation: li-in .4s var(--ease); }
@keyframes li-in { from { opacity: 0; transform: translateX(14px); } }
.line-item img { width: 76px; aspect-ratio: 16/10; object-fit: cover; border-radius: 9px; }
.line-item b { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; }
.line-item span { font: 500 12.5px var(--mono); color: var(--dim); }
.line-item .r { text-align: right; display: grid; gap: 4px; justify-items: end; }
.line-item .rm { font-size: 13px; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
.line-item .rm:hover { color: var(--red-hi); }
.dr-empty { text-align: center; padding: 56px 10px; color: var(--muted); }
.dr-empty .ico { width: 36px; height: 36px; margin: 0 auto 14px; color: var(--dim); }
.dr-empty b { display: block; color: var(--text); font-size: 17px; margin-bottom: 6px; }
.dr-upsell { margin: 14px 0 6px; padding: 12px; border: 1px dashed var(--line-3); border-radius: 12px; }
.dr-upsell h4 { margin: 0 0 10px; font: 700 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.dr-upsell .line-item { border: 0; padding: 0; grid-template-columns: 60px 1fr auto; animation: none; }
.dr-upsell .line-item img { width: 60px; }
.dr-upsell .add { height: 34px; }
.dr-foot { padding: 14px 18px 18px; border-top: 1px solid var(--line); }
.coupon { display: flex; gap: 8px; margin-bottom: 14px; }
.coupon input { flex: 1; height: 38px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--panel); font: 700 12.5px var(--code); letter-spacing: .06em; text-transform: uppercase; }
.coupon input::placeholder { color: var(--dim); text-transform: none; letter-spacing: 0; font-family: var(--font); font-weight: 400; }
.coupon input:focus { outline: none; border-color: var(--red-line); }
.dr-rows { display: grid; gap: 7px; font-size: 14.5px; margin-bottom: 14px; }
.dr-rows div { display: flex; justify-content: space-between; color: var(--muted); }
.dr-rows .save { color: var(--red-hi); }
.dr-rows .tot { color: var(--text); font-weight: 800; font-size: 18px; padding-top: 9px; border-top: 1px dashed var(--line-2); }
.dr-note { margin: 10px 0 0; text-align: center; font-size: 11.5px; color: var(--dim); line-height: 1.6; }
.dr-note b { color: var(--muted); }
.fly { position: fixed; z-index: 200; object-fit: cover; border-radius: 12px; pointer-events: none; box-shadow: 0 20px 50px -10px rgba(229,36,63,.5); }

/* ---------- palette ---------- */
.pal { position: fixed; inset: 0; z-index: 95; display: grid; justify-items: center; align-items: start; padding: 14vh 16px 16px; background: rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.pal.is-open { opacity: 1; visibility: visible; }
.pal-box { width: min(600px, 100%); border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg-2); overflow: hidden; box-shadow: 0 40px 100px -20px #000; transform: translateY(-8px) scale(.98); transition: transform .3s var(--ease); }
.pal.is-open .pal-box { transform: none; }
.pal-in { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--dim); }
.pal-in input { flex: 1; height: 56px; background: none; border: 0; outline: none; font-size: 16px; color: var(--text); }
.pal-in kbd { font: 600 10px/1 var(--code); padding: 5px 7px; border: 1px solid var(--line-2); border-radius: 6px; }
.pal-list { max-height: 50vh; overflow-y: auto; padding: 8px; }
.pal-item { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 10px; width: 100%; text-align: left; }
.pal-item img { width: 60px; aspect-ratio: 16/10; object-fit: cover; border-radius: 7px; }
.pal-item .ph { width: 60px; height: 38px; border-radius: 7px; display: grid; place-items: center; background: var(--panel); color: var(--muted); }
.pal-item b { display: block; font-size: 15.5px; font-weight: 700; }
.pal-item span { font: 500 12.5px var(--mono); color: var(--dim); }
.pal-item .price { margin-left: auto; }
.pal-item .price b { font-size: 15.5px; color: var(--red-hi); }
.pal-item.is-active { background: var(--panel-2); box-shadow: inset 2px 0 0 var(--red); }
.pal-empty { padding: 28px; text-align: center; color: var(--dim); }

/* ---------- toasts ---------- */
.toasts { position: fixed; left: 16px; bottom: 16px; z-index: 85; display: grid; gap: 10px; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; width: min(340px, calc(100vw - 32px)); padding: 10px 14px 10px 10px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(19,17,18,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -12px rgba(0,0,0,.8); animation: toast-in .5s var(--ease); font-size: 14px; color: var(--muted); }
.toast b { color: var(--text); font-weight: 700; }
.toast.out { animation: toast-out .35s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.97); } }
.toast img { width: 50px; aspect-ratio: 16/10; object-fit: cover; border-radius: 7px; }
.toast .ti { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--red-soft); color: var(--red-hi); flex: none; }
.toast small { display: block; font-size: 11.5px; color: var(--dim); margin-top: 2px; }
.toast .cc { font: 700 10px var(--code); padding: 2px 5px; border-radius: 4px; background: var(--panel-2); color: var(--muted); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 96; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.65); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-box { width: min(440px, 100%); padding: 26px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--bg-2); position: relative; }
.modal-box h3 { margin: 0 0 10px; font-weight: 800; font-family: var(--display); text-transform: uppercase; font-size: 36px; font-weight: 900; }
.modal-box p { color: var(--muted); margin: 0 0 20px; }
.modal-box code { font: 600 12.5px var(--code); background: var(--panel); padding: 2px 6px; border-radius: 5px; color: var(--red-hi); }
.modal-x { position: absolute; top: 14px; right: 14px; }

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- catalog page ---------- */
.page-head { position: relative; padding-block: 64px 34px; overflow: hidden; }
.page-head::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 80% at 85% 0%, rgba(229,36,63,.2), transparent 70%); }
.ph-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.ph-top .lede { max-width: 40ch; margin-bottom: 12px; }
.page-head h1 { font-size: clamp(76px, 10.5vw, 176px); margin-top: 18px; }
.page-head h1 sup { font: 700 .14em var(--font); color: var(--red-hi); vertical-align: super; margin-left: .3em; letter-spacing: 0; }
.page-head .cats { margin: 44px 0 0; }
.toolbar { padding-block: 12px; position: sticky; top: 86px; z-index: 10; background: rgba(10,9,9,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.tb { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.tb-right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.field { position: relative; }
.field .ico { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--dim); pointer-events: none; }
.field input, .select { height: 46px; border-radius: 13px; border: 1px solid var(--line-2); background: var(--panel); font-size: 15px; transition: border-color .2s; }
.field input { width: 280px; padding: 0 14px 0 44px; }
.field input:hover, .select:hover { border-color: var(--line-3); }
.field input:focus, .select:focus { outline: none; border-color: var(--red-line); }
.select { padding: 0 38px 0 14px; font-weight: 600; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aaa3a1' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; background-size: 15px; }
.results-meta { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.empty { padding: 70px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: 20px; color: var(--muted); }

/* ---------- product page (shared bits; the page itself lives in product.css) ---------- */
.crumbs { display: flex; gap: 10px; align-items: center; padding-block: 22px; font: 600 12.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.crumbs a:hover { color: var(--text); }
.crumbs i { font-style: normal; color: var(--red); }
.buy-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }

/* full-size viewer */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 4vmin; background: rgba(6,5,5,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity .3s; cursor: zoom-out; }
.lightbox.is-open { opacity: 1; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 14px; box-shadow: 0 40px 100px -20px #000; transform: scale(.96); transition: transform .4s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox .icon-btn { position: absolute; top: 18px; right: 18px; }

.pdp-sec { padding-block: 56px; border-top: 1px solid var(--line); }
.pdp-sec:empty { display: none; }
.sticky-buy { position: fixed; left: 50%; bottom: 16px; z-index: 40; translate: -50% 0; display: flex; align-items: center; gap: 14px; padding: 8px; width: min(600px, calc(100% - 24px)); border: 1px solid var(--line-2); border-radius: 14px; background: rgba(19,17,18,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 50px -10px #000; transform: translateY(140%); transition: transform .45s var(--ease); }
.sticky-buy.is-on { transform: none; }
.sticky-buy img { width: 68px; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; }
.sticky-buy b { font-size: 15px; display: block; line-height: 1.25; font-weight: 700; }
.sticky-buy .price b { font-size: 15px; color: var(--red-hi); }
.sticky-buy .btn { margin-left: auto; }


/* ---------- success ---------- */
.done { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.done-badge { width: 76px; height: 76px; margin: 0 auto 26px; border-radius: 20px; background: var(--red); display: grid; place-items: center; box-shadow: 0 20px 60px -10px rgba(229,36,63,.7); animation: pop .7s var(--ease); }
.done-badge .ico { width: 34px; height: 34px; color: #fff; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .35s var(--ease) forwards; }
@keyframes pop { from { transform: scale(.4) rotate(-15deg); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h1 { font-size: clamp(60px, 8vw, 128px); }
.done-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 40px auto 32px; max-width: 860px; text-align: left; }
.step { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.step-n { font: 700 12.5px var(--mono); color: var(--red); }
.step h3 { margin: 12px 0 6px; font-size: 17px; font-weight: 800; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- motion extras: tilt, shine, quick look, sparks ---------- */
.cats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.card { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.card:hover { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.card.is-tilting { transition: transform .12s linear, box-shadow .4s; }
.card-custom:hover { transform: translateY(-6px); }
.card-media::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.2) 47%, rgba(255,255,255,.05) 53%, transparent 68%); transform: translateX(-130%); }
.card:hover .card-media::before { transform: translateX(130%); transition: transform 1.1s var(--ease); }
.qv {
  position: absolute; top: 20px; right: 20px; z-index: 4;
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px 0 11px; border-radius: 11px;
  background: rgba(10,9,9,.62); border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 13px; font-weight: 700;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .35s var(--ease), background-color .2s, border-color .2s;
}
.qv .ico-sm { width: 14px; height: 14px; color: var(--red-hi); }
.card:hover .qv, .qv:focus-visible { opacity: 1; transform: none; }
.qv:hover { background: var(--red); border-color: var(--red); }
.qv:hover .ico-sm { color: #fff; }
@media (hover: none) { .qv { display: none; } }

.spark { position: fixed; z-index: 210; border-radius: 50%; pointer-events: none; box-shadow: 0 0 10px rgba(255,61,87,.9); }
.spark-ring { position: fixed; z-index: 209; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--red-hi); pointer-events: none; }
.add.is-in, .btn-red.is-in { animation: added .5s var(--ease); }
@keyframes added { 0% { transform: scale(.9); } 50% { transform: scale(1.06); } 100% { transform: none; } }

.more-row { display: flex; justify-content: center; margin-top: 28px; }

/* quick look modal */
.modal-box.modal-qv { width: min(980px, 100%); padding: 0; display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; border-radius: 24px; background: linear-gradient(180deg, #181415, #0f0d0e); box-shadow: 0 50px 120px -30px #000, 0 0 0 1px var(--line-2); transform: translateY(14px) scale(.97); transition: transform .45s var(--ease); }
.modal.is-open .modal-qv { transform: none; }
.modal-qv .modal-x { z-index: 3; background: rgba(10,9,9,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.qv-media { position: relative; min-height: 100%; background: #000; }
.qv-media img, .qv-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.qv-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 60%, rgba(15,13,14,.9)); }
.qv-media:has(iframe)::after { display: none; }
.qv-play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
.qv-play span { display: none; }
.qv-play i { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 0 0 10px rgba(229,36,63,.25), 0 20px 50px -10px rgba(229,36,63,.9); transition: transform .35s var(--ease); animation: ring 2.4s infinite; }
.qv-play i .ico { width: 30px; height: 30px; margin-left: 4px; }
.qv-play:hover i { transform: scale(1.08); }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 10px rgba(229,36,63,.25), 0 20px 50px -10px rgba(229,36,63,.9); } 50% { box-shadow: 0 0 0 18px rgba(229,36,63,.08), 0 20px 50px -10px rgba(229,36,63,.9); } }
.qv-body { padding: 30px 30px 28px; display: flex; flex-direction: column; }
.qv-body h3 { margin: 18px 0 10px; font: 900 48px/.86 var(--display); text-transform: uppercase; }
.qv-body > p { margin: 0; color: var(--muted); font-size: 15.5px; }
.qv-feats { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.qv-feats li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.qv-feats li .ico-sm { color: var(--red-hi); margin-top: 2px; }
.qv-feats b { color: var(--text); }
.qv-buy { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 24px; }
.qv-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s; }
.qv-more:hover { color: var(--text); }
.qv-more:hover .ico-go { transform: translateX(3px); }

/* recently viewed */
#seen { padding-bottom: 110px; }
.seen-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.seen { display: grid; gap: 10px; padding: 6px 6px 12px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .3s; }
.seen:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--red-line); }
.seen img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 11px; }
.seen span { padding: 0 6px; }
.seen b { display: block; font: 900 19px/.95 var(--display); text-transform: uppercase; }
.seen small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--dim); }

@media (max-width: 1080px) {
  .seen-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .modal-box.modal-qv { display: block; max-height: calc(100vh - 32px); overflow-y: auto; }
  .qv-media { aspect-ratio: 16/9; min-height: 0; }
  .qv-media::after { background: linear-gradient(180deg, transparent 60%, rgba(15,13,14,.9)); }
}
@media (max-width: 680px) {
  .seen-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qv-body { padding: 22px 20px; }
  .qv-body h3 { font-size: 28px; }
  .qv-buy { flex-wrap: wrap; }
}

/* ---------- v6: calmer, company-grade homepage ---------- */
/* headings: clean sans, sentence case, second line in grey instead of red */
.display, .h2 { font-family: var(--font); font-weight: 700; text-transform: none; letter-spacing: -.04em; line-height: 1.02; }
.display em, .h2 em { color: #7d7674; }
.h2 { font-size: clamp(34px, 3.8vw, 54px); }
.kicker, .eyebrow { gap: 0; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--red-hi); }
.kicker::before, .eyebrow i { display: none; }
.sec { padding-block: clamp(60px, 6.5vw, 100px); }
.sec-head { margin-bottom: 36px; }
.sec-head .kicker { margin-bottom: 12px; }
.lede { font-size: 17.5px; }

/* other pages pick up the calmer heading scale */
.page-head h1 { font-size: clamp(48px, 6vw, 92px); }
.pd-sec .h2 { font-size: clamp(30px, 2.8vw, 42px); }
.done h1 { font-size: clamp(44px, 5vw, 76px); }

/* one type family everywhere; the condensed face is kept only for the logo and footer wordmark */
.logo-word, .foot-word { font-family: var(--brand); }
.logo-word { font-weight: 900; }
.mnav a { font-size: 34px; font-weight: 700; letter-spacing: -.03em; text-transform: none; }
.cat-txt b { font: 700 19px/1.15 var(--font); letter-spacing: -.02em; text-transform: none; }
.stamp { padding: 6px 9px; font: 700 14px/1 var(--font); letter-spacing: -.01em; }
.card-title { margin: 12px 0 8px; font: 700 22px/1.2 var(--font); letter-spacing: -.025em; text-transform: none; }
.card-price b { font: 700 28px/1 var(--font); letter-spacing: -.035em; }
.cc-in h3 { font: 700 28px/1.1 var(--font); letter-spacing: -.03em; text-transform: none; }
.cc-in h3 em { color: #7d7674; }
.price b { font-family: var(--font); font-size: 24px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.dr-head h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; text-transform: none; }
.modal-box h3 { font-size: 26px; font-weight: 700; letter-spacing: -.03em; text-transform: none; }
.qv-body h3 { font: 700 34px/1.08 var(--font); letter-spacing: -.035em; text-transform: none; }
.seen b { font: 700 15px/1.25 var(--font); letter-spacing: -.01em; text-transform: none; }


/* ---------- global motion layer: film grain, smooth scroll, page transitions ---------- */
body::after { content: ""; position: fixed; inset: -50%; z-index: 999; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation: grain 1.4s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(12px); } }
@keyframes blink { 50% { opacity: .3; } }
html.lenis, html.lenis body { height: auto; }
html.lenis, .lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
::view-transition-old(root) { animation: vt-out .32s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .7s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

/* ---------- v8: one vibe across the store ---------- */
:root { --bg: #070606; }

/* section heads: small tracked label with a red index, big tight sans title, second line in grey */
.sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.sh-label { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.sh-label b { display: inline-flex; align-items: center; gap: 12px; margin-right: 12px; font-weight: 700; letter-spacing: .08em; color: var(--red-hi); }
.sh-label b::after { content: ''; width: 28px; height: 1px; background: var(--line-3); }
.sh-title { margin: 22px 0 0; font: 600 clamp(42px, 5.4vw, 84px)/.98 var(--font); letter-spacing: -.055em; }
.sh-title em { font-style: normal; color: #5f5856; }
.sh-link { display: inline-flex; align-items: center; gap: 10px; flex: none; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); font-size: 15px; font-weight: 600; color: var(--muted); transition: color .3s, border-color .3s; }
.sh-link:hover { color: var(--text); border-color: var(--red-hi); }
.sh-link .ico-go { transition: transform .4s var(--ease-out); }
.sh-link:hover .ico-go { transform: translateX(4px); }

/* the older heading classes speak the same language */
.display, .h2 { font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.display em, .h2 em { color: #5f5856; }
.kicker, .eyebrow { gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.kicker::before { display: block; content: ''; width: 28px; height: 1px; background: var(--red-hi); transform: none; box-shadow: none; }

/* masked word rise (headings with data-split are cut into words by core.js) */
[data-split][data-reveal] { opacity: 1; transform: none; }
[data-split] .sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
[data-split] .sw > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--w, 0) * 55ms); }
[data-split].in .sw > span { transform: none; }

/* odometer digits */
.odo { display: inline-flex; height: 1em; overflow: hidden; line-height: 1; }
.odo-d { display: inline-flex; flex-direction: column; transition: transform 1.8s var(--ease-out); }
.odo-d span, .odo-sep { display: block; height: 1em; line-height: 1; }

/* catalog head */
.page-head { padding-block: clamp(56px, 7vw, 96px) 36px; }
.page-head .sh-title { font-size: clamp(44px, 5.4vw, 84px); }
.page-head .tabs { margin-top: clamp(32px, 4vw, 48px); }

/* category tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color .25s, box-shadow .25s, background-color .25s; }
.tab small { font-size: 12px; font-weight: 600; color: var(--dim); font-variant-numeric: tabular-nums; transition: color .25s; }
.tab:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-3); }
.tab[aria-pressed="true"] { background: var(--text); color: #0b0a0a; box-shadow: none; }
.tab[aria-pressed="true"] small { color: rgba(11,10,10,.5); }

/* review stars (home + product page) */
.rv-stars { display: inline-flex; gap: 2px; color: var(--gold); }

/* product cards: a clean image, everything else in the text below it */
.card-badge { padding: 4px 8px; border-radius: 7px; background: var(--red-soft); color: var(--red-hi); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.card-spec { margin: 12px 0 0; font-size: 12.5px; font-weight: 600; letter-spacing: .03em; color: var(--dim); }
.card-price small { font-variant-numeric: tabular-nums; }

/* keycaps */
.keycap, .ia kbd, .city-keys kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 6px; background: rgba(255,255,255,.07); box-shadow: inset 0 -2px 0 rgba(0,0,0,.45), inset 0 0 0 1px var(--line-2); font: 600 11.5px/1 var(--font); color: var(--text); }

/* [E] prompt that follows the mouse over anything you can open */
.ia { position: fixed; left: 0; top: 0; z-index: 75; display: flex; align-items: center; gap: 9px; height: 34px; padding: 0 12px 0 5px; border-radius: 10px; background: rgba(12,10,11,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2), 0 16px 32px -12px #000; font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; pointer-events: none; opacity: 0; scale: .8; transform-origin: 0 0; transition: opacity .2s, scale .35s var(--ease-out); }
.ia.on { opacity: 1; scale: 1; }
.ia kbd { width: 24px; height: 24px; background: var(--text); color: #0b0a0a; font-size: 12.5px; font-weight: 700; box-shadow: inset 0 -2px 0 rgba(0,0,0,.25); transition: transform .12s, background-color .12s, color .12s, box-shadow .12s; }
.ia.press kbd { transform: translateY(2px); background: var(--red); color: #fff; box-shadow: none; }

/* HUD cash beside the cart */
.cash { position: relative; display: none; align-items: center; height: 38px; padding: 0 6px 0 8px; font: 800 22px/1 var(--brand); letter-spacing: .03em; color: var(--text); font-variant-numeric: tabular-nums; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.cash.on { display: inline-flex; }
.cash b { font-weight: 800; }
.cash i { position: absolute; right: 6px; top: 100%; margin-top: 4px; font: 800 18px/1 var(--brand); font-style: normal; letter-spacing: .03em; color: var(--red-hi); text-shadow: 0 0 14px rgba(229,36,63,.6), 0 2px 8px #000; white-space: nowrap; opacity: 0; pointer-events: none; }
.cash i.neg { color: var(--muted); text-shadow: 0 2px 8px #000; }
.cash i.go { animation: cashPop 1.6s var(--ease-out) both; }
@keyframes cashPop { 0% { opacity: 0; transform: translateY(-10px); } 14% { opacity: 1; transform: none; } 72% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* toasts read like in-game notifications: red edge, timer bar, slide in from the right */
.toasts { left: auto; right: 16px; bottom: auto; top: 94px; justify-items: end; }
.toast { position: relative; overflow: hidden; width: min(360px, calc(100vw - 32px)); padding: 12px 16px 14px 14px; border: 0; border-radius: 14px; background: rgba(14,12,13,.94); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 48px -16px #000; animation: toast-in .6s var(--ease-out); }
.toast::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--red-hi); box-shadow: 0 0 12px var(--red); }
.toast::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--red-deep), var(--red-hi)); transform-origin: 0 50%; animation: toast-time var(--ms, 4200ms) linear both; }
.toast.out { animation: toast-out .4s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(48px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(48px) scale(.96); } }
@keyframes toast-time { to { transform: scaleX(0); } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links, .search-btn kbd, .search-btn span { display: none; }
  .search-btn { width: 38px; padding: 0; justify-content: center; }
  .menu-btn { display: grid; }
  .nav-actions { margin-left: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 8px; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 176px; height: 124px; scroll-snap-align: start; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .cash.on { display: none; }
  .toasts { top: auto; bottom: 12px; left: 12px; right: 12px; justify-items: stretch; transition: bottom .45s var(--ease); }
  body:has(.sticky-buy.is-on) .toasts { bottom: 92px; }
  .toast { width: auto; animation-name: toast-up; }
  .toast.out { animation-name: toast-down; }
  .sh { flex-direction: column; align-items: flex-start; }
  .nav { top: 8px; margin-top: 8px; }
  .nav-in { height: 58px; gap: 10px; padding: 0 6px 0 12px; }
  .nav-actions > a.icon-btn { display: none; }
  .login-btn { width: 38px; padding: 0; justify-content: center; }
  .login-btn span { display: none; }
  .announce { font-size: 13px; }
  .announce .timer { display: none; }
  .card-title { font-size: 21px; }
  .card-body { padding: 16px 16px 18px; }
  .add { padding: 0 16px; }
  .grid { grid-template-columns: 1fr; }
  .toolbar { position: static; }
  .field input { width: 100%; }
  .tb-right, .field { width: 100%; }
  .tb-right .select { flex: 1; }
  .done-steps { grid-template-columns: 1fr; }
  .sticky-buy .price s { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- lite: weak devices skip the expensive bits (grain, blur, endless loops) ---------- */
.lite body::after { display: none; }
.lite .nav-in, .lite .toast, .lite .ia, .lite .tag, .lite .qv, .lite .city-legend, .lite .city-card, .lite .pm-ed, .lite .pm-ctas .bn, .lite .pm-play span, .lite .mh-now { -webkit-backdrop-filter: none; backdrop-filter: none; }
.lite .mh-beams i, .lite .pm-beams i, .lite .pass-col, .lite .city-me i::before, .lite .city-ring.go::before, .lite .city-ring.go::after { animation: none; }
@keyframes toast-up { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes toast-down { to { opacity: 0; transform: translateY(18px) scale(.97); } }

/* mobile menu: links slide in one by one, and the two things people want are right there */
.mnav.is-open > a { animation: fadeup .6s var(--ease-out) both; }
.mnav.is-open > a:nth-of-type(2) { animation-delay: .05s; }
.mnav.is-open > a:nth-of-type(3) { animation-delay: .1s; }
.mnav.is-open > a:nth-of-type(4) { animation-delay: .15s; }
.mnav.is-open > a:nth-of-type(5) { animation-delay: .2s; }
.mnav-foot { display: grid; gap: 10px; margin-top: auto; padding-top: 28px; }
.mnav.is-open .mnav-foot { animation: fadeup .7s var(--ease-out) both .25s; }
.mnav-foot .btn { --h: 56px; width: 100%; font-size: 16px; }
.mnav-foot .btn-ghost { justify-content: flex-start; gap: 12px; color: var(--muted); font-weight: 600; }
.mnav-foot .btn-ghost kbd { display: none; }
.mnav .mnav-foot .btn { justify-content: center; padding: 0 22px; border-bottom: 0; font-family: var(--font); letter-spacing: -.005em; text-transform: none; }
.mnav .mnav-foot .btn-ghost { justify-content: flex-start; font-weight: 600; }

/* ---------- side webs: gray threads in the side gutters, drawn by webs() in core.js ---------- */
.webs { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
@media (max-width: 1199px) { .webs { display: none; } }

/* ---------- first paint: nothing that the scripts would hide or fill a moment later ---------- */
.announce:not(.on) { display: none; }
[data-docs][href="#"], .nav-links li:has(> [data-docs][href="#"]) { display: none; }
#pdp:empty { min-height: 100svh; }
#grid:empty { min-height: 70svh; }
