/* =========================================================
   NorthStar Alpurez — CLI x comic x streetwear
   ========================================================= */
:root {
  --bg: #0b0b0a;
  --panel: #121211;
  --panel-2: #191917;
  --line: #2b2b27;
  --fg: #efede6;
  --dim: #8b897f;
  --acid: #c6ff00;
  --flame: #ff4b1f;
  --camo: #6b7a4f;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --display: "Bungee", "Impact", sans-serif;
  --acid-ink: #c6ff00;      /* acid when used as text (needs contrast in light mode) */
  --input: #070707;         /* input / terminal wells */
  --art-a: #232320;         /* product art backdrop */
  --art-b: #111110;
  --scan: rgba(255,255,255,.025);
  --sticker: #1a1b16;       /* sticker-wall background ink (tone-on-tone) */
  --tile: 1080px;           /* sticker tile display size */
  --shadow: 6px 6px 0 var(--acid);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
body.camo-mode { --sticker: #1b2015; --acid: #a9b97a; --acid-ink: #a9b97a; --flame: #8a6d45; --bg: #10120d; --panel: #161a12; --line: #333a2a; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { overflow-x: clip; }
.hero > *, .split > *, .grid > *, .pm > * { min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 15px/1.6 var(--mono);
  -webkit-font-smoothing: antialiased;
  transition: background .4s;
}
body.is-loading, body.no-scroll { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--acid); color: #000; }
:focus-visible { outline: 2px dashed var(--acid-ink); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; }
.dim { color: var(--dim); }
.acid { color: var(--acid-ink); }
.err { color: var(--flame); }
.small { font-size: 13px; }
kbd { border: 1px solid var(--line); border-bottom-width: 3px; padding: 0 5px; border-radius: 3px; font: inherit; font-size: 11px; color: var(--fg); }

/* sticker wall: brand stickers in one colour, behind everything */
.sticker-bg {
  position: fixed; left: 0; right: 0; top: 0; height: calc(100% + var(--tile));
  z-index: -1; pointer-events: none;
  background: var(--sticker);
  -webkit-mask: url("../assets/stickers/tile.png") 0 0 / var(--tile) var(--tile) repeat;
          mask: url("../assets/stickers/tile.png") 0 0 / var(--tile) var(--tile) repeat;
  will-change: transform;
}
html.theme-anim .sticker-bg { transition: background-color .35s; }

/* subtle CRT scanlines */
.scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 90;
  background: repeating-linear-gradient(to bottom, var(--scan) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

/* =================== LOADER =================== */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: #050505;
  display: grid; place-items: center; overflow: hidden;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px);
  background-size: 7px 7px;
  clip-path: inset(0 0 0 0);
  transition: clip-path .8s cubic-bezier(.8, 0, .2, 1) .15s;
}
.loader.is-out { clip-path: inset(0 0 100% 0); }
.loader.is-out .loader__stage { transform: scale(1.15) translateY(-40px); opacity: 0; filter: blur(4px); }
.loader__stage { display: grid; justify-items: center; gap: 18px; transition: transform .6s var(--ease), opacity .5s, filter .5s; width: min(92vw, 560px); }

.loader__skull { position: relative; width: min(74vw, 420px); aspect-ratio: 892 / 592; }
.skull { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.skull--main {
  animation:
    skullIn 1s steps(14) both,
    fly 1.1s ease-in-out 1s infinite alternate,
    glitch 2.6s steps(1) 1.2s infinite;
}
.skull--r, .skull--g { opacity: 0; animation: trail 1.1s ease-in-out 1s infinite alternate; }
.skull--r { --tx: 26px; --o: .28; animation-delay: 1.08s; filter: drop-shadow(0 0 0 var(--flame)) sepia(1) saturate(8) hue-rotate(-25deg); }
.skull--g { --tx: 56px; --o: .12; animation-delay: 1.16s; }

@keyframes skullIn {
  0% { clip-path: inset(0 0 0 100%); opacity: 0; }
  10% { opacity: 1; }
  100% { clip-path: inset(0 0 0 0); opacity: 1; }
}
@keyframes fly {
  from { transform: translate(0, -6px) rotate(-2deg); }
  to { transform: translate(-10px, 6px) rotate(1deg); }
}
@keyframes trail {
  from { opacity: var(--o); transform: translate(var(--tx), -2px) rotate(-2deg); }
  to { opacity: calc(var(--o) * .6); transform: translate(calc(var(--tx) - 6px), 8px) rotate(1deg); }
}
@keyframes glitch {
  0%, 100% { filter: none; }
  10% { filter: drop-shadow(5px 0 0 var(--flame)) drop-shadow(-5px 0 0 var(--acid)); }
  12% { filter: none; }
  48% { filter: drop-shadow(-3px 2px 0 var(--flame)) drop-shadow(3px -2px 0 var(--acid)); }
  51% { filter: none; }
  80% { filter: drop-shadow(8px 0 0 var(--acid)); opacity: .7; }
  82% { filter: none; opacity: 1; }
}
.loader__lines span {
  position: absolute; left: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55));
  animation: streak 1s linear infinite;
}
.loader__lines span:nth-child(1) { top: 22%; width: 28vw; animation-duration: .9s; }
.loader__lines span:nth-child(2) { top: 31%; width: 14vw; animation-duration: .6s; animation-delay: .2s; }
.loader__lines span:nth-child(3) { top: 40%; width: 36vw; animation-duration: 1.2s; animation-delay: .5s; background: linear-gradient(90deg, transparent, var(--flame)); }
.loader__lines span:nth-child(4) { top: 47%; width: 20vw; animation-duration: .7s; animation-delay: .1s; }
.loader__lines span:nth-child(5) { top: 55%; width: 30vw; animation-duration: 1s; animation-delay: .35s; background: linear-gradient(90deg, transparent, var(--acid)); }
.loader__lines span:nth-child(6) { top: 63%; width: 12vw; animation-duration: .55s; animation-delay: .6s; }
.loader__lines span:nth-child(7) { top: 72%; width: 24vw; animation-duration: .85s; animation-delay: .15s; }
.loader__lines span:nth-child(8) { top: 81%; width: 18vw; animation-duration: .75s; animation-delay: .45s; }
@keyframes streak { from { transform: translateX(-40vw); } to { transform: translateX(110vw); } }

.loader__log {
  margin: 0; width: 100%; min-height: 8.2em; font: 13px/1.6 var(--mono); color: var(--dim); white-space: pre;
}
.loader__bar { width: 100%; font-size: 13px; display: flex; justify-content: space-between; color: var(--acid-ink); }
.loader__bar b { color: var(--fg); }
.loader__skip { background: none; border: 0; color: var(--dim); font-size: 12px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* =================== TOPBAR =================== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px dashed var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.brand__logo { height: 26px; width: auto; transition: transform .3s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.1); }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; padding: 6px 8px; color: var(--dim); transition: color .15s, background .15s; }
.nav a:hover { color: #000; background: var(--acid); }
.nav a.is-active { color: var(--acid-ink); }
.topbar__actions { display: flex; gap: 8px; }
.btn-term, .btn-cart, .btn-theme {
  background: var(--panel); border: 1px solid var(--line); padding: 6px 12px; border-radius: 0;
  transition: border-color .15s, color .15s;
}
.btn-theme { white-space: nowrap; }
.btn-term:hover, .btn-cart:hover, .btn-theme:hover { border-color: var(--acid); color: var(--acid-ink); }
.btn-cart.bump { animation: bump .45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.25) rotate(-4deg); background: var(--acid); color: #000; } }

/* =================== GENERIC =================== */
.prompt { margin: 0 0 6px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prompt::after { content: "_"; color: var(--acid-ink); animation: blink 1s steps(1) infinite; margin-left: 2px; }
.btn {
  display: inline-block; text-decoration: none; padding: 12px 18px;
  background: var(--panel); color: var(--fg); border: 2px solid var(--fg);
  font-weight: 800; letter-spacing: .02em;
  box-shadow: 4px 4px 0 var(--fg);
  transition: transform .12s, box-shadow .12s, background .12s, color .12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--fg); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--fg); }
.btn--acid { background: var(--acid); color: #000; border-color: #000; box-shadow: 4px 4px 0 var(--fg); }
.btn--sm { padding: 6px 12px; font-size: 13px; box-shadow: 3px 3px 0 var(--fg); }
.btn--block { width: 100%; text-align: center; }
.btn:disabled { opacity: .4; pointer-events: none; }
.linkish { background: none; border: 0; padding: 0; color: var(--acid-ink); text-decoration: underline; }

.panel { position: relative; background: var(--panel); border: 2px solid var(--line); }
.panel__bar {
  display: flex; align-items: center; gap: 6px; padding: 8px 12px;
  border-bottom: 2px solid var(--line); background: var(--panel-2); font-size: 12px; color: var(--dim);
}
.panel__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.panel__bar i:nth-child(1) { background: var(--flame); }
.panel__bar i:nth-child(2) { background: #ffc21a; }
.panel__bar i:nth-child(3) { background: var(--acid); }
.panel__bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel__bar .x { margin-left: auto; background: none; border: 0; color: var(--dim); }
.panel__bar .x:hover { color: var(--flame); }
.panel--halftone {
  background-color: var(--panel);
  background-image: radial-gradient(rgba(198,255,0,.18) 1.2px, transparent 1.6px);
  background-size: 9px 9px;
}

/* =================== HERO =================== */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center;
  padding: clamp(40px, 8vw, 100px) clamp(16px, 4vw, 40px) clamp(40px, 6vw, 80px);
  max-width: 1320px; margin: 0 auto;
}
.hero__title { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 6.6vw, 104px); line-height: .9; margin: 12px 0 20px; letter-spacing: -.01em; }
.hero__title span { display: block; }
.outline { color: transparent; -webkit-text-stroke: 2px var(--fg); }
.hero__sub { max-width: 44ch; color: var(--dim); margin: 0 0 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 32px 0 0; font-size: 13px; border-top: 1px dashed var(--line); padding-top: 16px; }
.blink-dot { animation: blink 1.4s steps(1) infinite; }

.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none;
}
.glitch::before { color: var(--flame); transform: translate(3px, 0); clip-path: inset(0 0 60% 0); mix-blend-mode: screen; animation: gl1 3s steps(1) infinite; }
.glitch::after { color: var(--acid-ink); transform: translate(-3px, 0); clip-path: inset(55% 0 0 0); mix-blend-mode: screen; animation: gl2 2.4s steps(1) infinite; }
@keyframes gl1 { 0%, 92%, 100% { opacity: 0; } 93% { opacity: 1; clip-path: inset(10% 0 60% 0); } 96% { opacity: 1; clip-path: inset(40% 0 30% 0); transform: translate(6px, 0); } }
@keyframes gl2 { 0%, 88%, 100% { opacity: 0; } 89% { opacity: 1; clip-path: inset(60% 0 10% 0); } 94% { opacity: 1; clip-path: inset(20% 0 55% 0); transform: translate(-6px, 0); } }

.hero__art { perspective: 900px; }
.hero__art .panel { box-shadow: 10px 10px 0 var(--fg); }
.hero__logo-wrap { position: relative; aspect-ratio: 4 / 3; transition: transform .25s var(--ease); transform-style: preserve-3d; }
.hero__logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .35s var(--ease); }
.hero__logo--camo { opacity: 0; transform: scale(.97); }
/* camo swap: tap/click/enter toggles (.is-camo); mouse users also get a hover preview */
.hero__logo-wrap { cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* only swap once the camo gif is loaded (.camo-ready), otherwise the NS logo stays */
.hero__logo-wrap.camo-ready.is-camo .hero__logo--camo, .camo-mode .camo-ready .hero__logo--camo { opacity: 1; transform: scale(1); }
.hero__logo-wrap.camo-ready.is-camo .hero__logo--base, .camo-mode .camo-ready .hero__logo--base { opacity: 0; }
@media (hover: hover) {
  .hero__logo-wrap.camo-ready:hover .hero__logo--camo { opacity: 1; transform: scale(1); }
  .hero__logo-wrap.camo-ready:hover .hero__logo--base { opacity: 0; }
}
.hero__logo-wrap.camo-loading.is-camo { cursor: progress; }
.hero__logo-wrap.camo-loading.is-camo + .bubble::before { content: "loading camo... "; }
.bubble .on-touch { display: none; }
.hero__logo-wrap.auto-sway { animation: sway 7s ease-in-out infinite; }
@keyframes sway {
  0%, 100% { transform: rotateY(-7deg) rotateX(3deg); }
  50% { transform: rotateY(7deg) rotateX(-3deg); }
}
@media (hover: none) {
  .bubble .on-hover { display: none; }
  .bubble .on-touch { display: inline; }
}
.bubble {
  position: absolute; top: 56px; right: -14px; background: #fff; color: #000; padding: 8px 12px; font-size: 12px;
  border: 2px solid #000; border-radius: 14px; transform: rotate(4deg); box-shadow: 3px 3px 0 #000;
}
.bubble::after { content: ""; position: absolute; left: 18px; bottom: -11px; border: 6px solid transparent; border-top: 8px solid #000; }
.sticker {
  position: absolute; font-family: var(--display); font-size: 13px; padding: 6px 10px; border: 2px solid #000; box-shadow: 3px 3px 0 #000;
}
.sticker--1 { left: -12px; bottom: 34px; background: var(--acid); color: #000; transform: rotate(-7deg); }
.sticker--2 { right: 22px; bottom: -14px; background: var(--flame); color: #000; transform: rotate(5deg); }

/* marquee */
.marquee { overflow: hidden; border-block: 2px solid var(--fg); background: var(--acid); color: #000; transform: rotate(-1.2deg); margin: 10px -10px; }
.marquee__track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(16px, 2.2vw, 24px); padding: 10px 0; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =================== SECTIONS =================== */
.section { max-width: 1320px; margin: 0 auto; padding: clamp(60px, 9vw, 120px) clamp(16px, 4vw, 40px) 0; opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.section.in { opacity: 1; transform: none; }
.section__head { display: flex; align-items: flex-end; gap: 18px; margin-bottom: 28px; border-bottom: 1px dashed var(--line); padding-bottom: 18px; }
.section__head > div { min-width: 0; }
.section__num { font-family: var(--display); font-size: clamp(48px, 7vw, 84px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--acid-ink); }
.section h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 4.4vw, 52px); line-height: 1; text-transform: lowercase; }

/* filters */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.chip { background: none; border: 1px solid var(--line); padding: 6px 12px; color: var(--dim); }
.chip:hover { color: var(--fg); border-color: var(--fg); }
.chip.is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.filters__count { margin-left: auto; font-size: 12px; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(5, 1fr); } }
.card {
  position: relative; background: var(--panel); border: 2px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s;
  animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--i) * 50ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.card:hover, .card:has(.card__hit:focus-visible) { transform: translate(-4px, -4px); box-shadow: var(--shadow); border-color: var(--fg); }
.card__hit:focus-visible { outline: none; }
.card:active { transform: translate(2px, 2px); box-shadow: none; transition-duration: .06s; }
.card__hit { position: absolute; inset: 0; z-index: 3; background: none; border: 0; }
.card__art { position: relative; aspect-ratio: 1; background: radial-gradient(circle at 50% 45%, var(--art-a), var(--art-b) 70%); overflow: hidden; }
.card__art svg, .card__art img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.card:hover .card__art svg, .card:hover .card__art img { transform: scale(1.06) rotate(-2deg); }
.card__tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; padding: 2px 7px; background: var(--fg); color: var(--bg); font-weight: 800; text-transform: uppercase; }
.tag--hot { background: var(--flame); animation: blink 1.2s steps(1) infinite; }
.card__over {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  background: rgba(0,0,0,.66); font-family: var(--display); font-size: 30px; color: var(--flame);
}
.card__over small { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.card.is-out .card__art svg, .card.is-out .card__art img { filter: grayscale(1) brightness(.6); }
.card__info { flex: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 12px 14px 6px; }
.card__info h3 { font-size: 14px; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__price { color: var(--acid-ink); font-weight: 800; display: grid; justify-items: end; line-height: 1.25; white-space: nowrap; }
.card__price .usd, .pm__price .usd { color: var(--dim); font-weight: 500; font-size: .82em; }
/* front / back product photos: front shows, back fades in on hover (mouse) or via the modal toggle */
.card__art .art-back, .pm__art .art-back { position: absolute; inset: 0; opacity: 0; transition: opacity .35s var(--ease), transform .4s var(--ease); }
.card__art .art-front, .pm__art .art-front { transition: opacity .35s var(--ease), transform .4s var(--ease); }
.cart__thumb .art-back { display: none; }
/* product view: front and back share one box (both layered), so flipping never moves the shirt */
.pm__art .art-front { position: absolute; inset: 0; }
.pm__art { min-height: 380px; }
/* flip state: .show-back (tap the front|back tag or swipe, works everywhere) */
.card.show-back .card__art .art-back { opacity: 1; }
.card.show-back .card__art .art-front { opacity: 0; }
.card__side {
  position: absolute; right: 8px; bottom: 8px; z-index: 4; display: flex;
  border: 1px solid var(--line); background: var(--panel);
}
.card__side button {
  background: none; border: 0; padding: 2px 6px; font: 700 10px var(--mono); color: var(--dim);
  cursor: pointer; transition: background .15s, color .15s;
}
.card:not(.show-back) .card__side [data-flip="front"], .card.show-back .card__side [data-flip="back"] { color: #000; background: var(--acid); }
/* laptops: hovering shows the back too */
@media (hover: hover) {
  .card:hover .card__art .art-back { opacity: 1; }
  .card:hover .card__art .art-front { opacity: 0; }
  .card:hover .card__side [data-flip="front"] { color: var(--dim); background: transparent; }
  .card:hover .card__side [data-flip="back"] { color: #000; background: var(--acid); }
}
/* phones: bigger tap targets */
@media (hover: none) {
  .card__side { right: 6px; bottom: 6px; }
  .card__side button { padding: 6px 10px; font-size: 11px; }
}
.pm__art.show-back .art-back { opacity: 1; }
.pm__art.show-back .art-front { opacity: 0; }
.pm__sides { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.pm__sides .chip { background: var(--panel); }
.pm__sides .chip.is-on { background: var(--fg); color: var(--bg); }
.pm__art .art-front, .pm__art .art-back { user-select: none; -webkit-user-drag: none; }
.hp { display: flex; align-items: center; gap: 8px; padding: 4px 14px 14px; font-size: 11px; }
.hp__bar { flex: 1; height: 8px; border: 1px solid var(--line); background: var(--input); position: relative; }
.hp__bar i { position: absolute; inset: 0 auto 0 0; background: repeating-linear-gradient(90deg, var(--acid) 0 6px, transparent 6px 8px); }
.hp__bar i.low { background: repeating-linear-gradient(90deg, var(--flame) 0 6px, transparent 6px 8px); }

/* split layouts */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.note { border: 1px dashed var(--line); padding: 22px; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(2px); }
.note h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; color: var(--acid-ink); }
.note p { margin: 0 0 10px; }
.steps { margin: 0 0 16px; padding-left: 22px; }
.steps li { margin-bottom: 6px; color: var(--dim); }
.steps b { color: var(--fg); }

/* terminal panel (track) */
.term { background: var(--input); border: 2px solid var(--line); box-shadow: var(--shadow); }
.term__body { padding: 18px; font-size: 14px; }
.term__body label { display: block; margin-bottom: 10px; font-size: 12px; }
.term__input { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.term__input input { flex: 1; min-width: 0; background: none; border: 0; color: var(--fg); font: inherit; text-transform: uppercase; outline: none; caret-color: var(--acid-ink); }
.term__out { min-height: 96px; padding-top: 12px; }
.term__out p { margin: 0 0 6px; }
.track__bar { margin: 12px 0 !important; white-space: nowrap; overflow: hidden; }
.track__list { list-style: none; padding: 0; margin: 0; }
.track__list li { color: var(--dim); padding: 2px 0; }
.track__list li.done { color: var(--fg); }
.track__list li.now { color: var(--acid-ink); font-weight: 800; animation: blink 1.2s steps(1) infinite; }

/* forms */
.form__body { display: grid; gap: 14px; padding: 20px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.form__body label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 12px; color: var(--dim); }
.form__body label > input:not([type="radio"]):not([type="checkbox"]), .form__body label > select, .form__body label > textarea { flex-basis: 100%; }
.severity label { flex-wrap: nowrap; align-items: center; }
.form__body label > .dim { opacity: .75; }
.severity { font-size: 12px; color: var(--dim); }
input, select, textarea {
  width: 100%; background: var(--input); color: var(--fg); border: 1px solid var(--line); padding: 10px 12px; font: 14px var(--mono); border-radius: 0;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--acid); box-shadow: 3px 3px 0 var(--acid); }
input:not([type="radio"]):not([type="checkbox"]), select { height: 44px; }
select { cursor: pointer; }
/* after the visitor has interacted: flag invalid fields in flame */
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: var(--flame); }
textarea { resize: vertical; }
.severity { border: 1px solid var(--line); padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; }
.severity legend { padding: 0 6px; }
.severity label { display: flex; align-items: center; gap: 6px; color: var(--fg); font-size: 13px; }
.severity input { width: auto; accent-color: var(--acid); }
.form.panel { box-shadow: var(--shadow); }
.tickets h3 { margin-top: 20px; }
.ticket { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; border-top: 1px dashed var(--line); padding: 8px 0; font-size: 13px; }
.ticket__st { margin-left: auto; font-size: 11px; background: var(--acid); color: #000; padding: 1px 6px; font-weight: 800; }

/* ideas */
.split--ideas { grid-template-columns: 1fr 1.2fr; }
.rate { display: flex; align-items: center; gap: 4px; font-size: 12px; }
.rate button { background: none; border: 0; font-size: 22px; color: var(--line); padding: 0 2px; transition: transform .1s, color .1s; }
.rate button:hover { transform: scale(1.2); }
.rate button.is-on { color: #ffc21a; text-shadow: 0 0 10px rgba(255,194,26,.45); }
/* hover preview: light up to the star under the cursor */
@media (hover: hover) {
  .rate:hover button { color: #ffc21a; }
  .rate button:hover ~ button { color: var(--line); text-shadow: none; }
}
/* light mode: thin dark edge so yellow reads on the pale background */
html[data-theme="light"] .rate button.is-on, html[data-theme="light"] .rate:hover button { -webkit-text-stroke: 1px #8a6400; }
html[data-theme="light"] .rate button:hover ~ button { -webkit-text-stroke: 0; }
.board__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.board__head h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--acid-ink); }
.board__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.idea {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px; background: #fff; color: #000;
  border: 2px solid #000; box-shadow: 5px 5px 0 var(--fg); transform: rotate(var(--r));
  transition: transform .2s var(--ease);
}
.idea:hover { transform: rotate(0) scale(1.01); }
.idea p { margin: 0 0 4px; font-weight: 600; }
.idea .dim { color: #666; }
.vote { display: grid; justify-items: center; min-width: 48px; background: #000; color: #fff; border: 0; padding: 6px; font-size: 12px; }
.vote b { font-size: 15px; }
.vote.is-on { background: var(--acid); color: #000; }

/* =================== FOOTER =================== */
.footer { margin-top: clamp(80px, 12vw, 160px); border-top: 2px solid var(--fg); }
.footer__big {
  font-family: var(--display); font-size: clamp(28px, 7.4vw, 124px); line-height: .9; white-space: nowrap; overflow: hidden;
  color: transparent; -webkit-text-stroke: 1.5px var(--line); padding: 24px clamp(16px, 4vw, 40px) 0; text-align: center;
}
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 32px clamp(16px, 4vw, 40px); max-width: 1320px; margin: 0 auto; }
.footer h4 { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.footer a { display: block; text-decoration: none; padding: 2px 0; width: fit-content; }
.footer a:hover { color: var(--acid-ink); }
.footer a::before { content: "→ "; color: var(--dim); }
.statusbar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; background: var(--acid); color: #000; font-size: 12px; font-weight: 800; padding: 6px clamp(16px, 4vw, 40px); }

/* =================== OVERLAYS =================== */
.modal, .drawer, .console {
  position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.72); backdrop-filter: blur(3px);
  display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s;
}
.modal.is-open, .drawer.is-open, .console.is-open { opacity: 1; }
.modal__box, .console__box {
  width: min(920px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--panel); border: 2px solid var(--fg);
  box-shadow: 10px 10px 0 var(--acid); transform: translateY(18px) scale(.98); transition: transform .25s var(--ease);
}
.modal__box--narrow { width: min(620px, 100%); }
.is-open .modal__box, .is-open .console__box { transform: none; }
.pm { display: grid; grid-template-columns: 1fr 1fr; }
.pm__art { position: relative; cursor: pointer; background: radial-gradient(circle at 50% 45%, var(--art-a), var(--art-b) 70%); border-right: 2px solid var(--line); }
.pm__art svg, .pm__art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pm__info { padding: 24px; display: grid; gap: 12px; align-content: start; }
.pm__buy { display: grid; gap: 12px; }
.row-buy { display: flex; gap: 12px; align-items: stretch; }
.row-buy .btn { flex: 1; text-align: center; }
.pm__info h3 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.05; }
.pm__price { font-size: 20px; color: var(--acid-ink); font-weight: 800; margin: 0; display: flex; align-items: baseline; gap: 10px; }
.pm__desc { color: var(--dim); margin: 0; }
.pm__info .hp { padding: 0; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size { min-width: 46px; padding: 8px 10px; background: none; border: 1px solid var(--line); }
.size:hover { border-color: var(--fg); }
.size.is-on { background: var(--acid); color: #000; border-color: var(--acid); font-weight: 800; }
.size:disabled { opacity: .3; text-decoration: line-through; }
.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); width: fit-content; }
.qty button { background: none; border: 0; width: 34px; height: 34px; }
.qty button:hover { background: var(--fg); color: var(--bg); }
.qty span { min-width: 30px; text-align: center; }
.qty--sm button { width: 32px; height: 32px; }

.drawer { place-items: stretch end; padding: 0; }
.drawer__box { width: min(440px, 100%); height: 100%; background: var(--panel); border-left: 2px solid var(--fg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s var(--ease); }
.drawer.is-open .drawer__box { transform: none; }
.drawer__body { padding: 18px; display: flex; flex-direction: column; gap: 16px; overflow: auto; flex: 1; }
.cart { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cart .empty pre { color: var(--dim); margin: 20px 0; }
.cart__item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; border-bottom: 1px dashed var(--line); padding-bottom: 12px; }
.cart__thumb { background: var(--art-a); aspect-ratio: 1; }
.cart__thumb svg, .cart__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cart__meta { display: grid; gap: 4px; font-size: 13px; }
.cart__item .x { background: none; border: 0; color: var(--dim); font-size: 12px; padding: 10px 4px; }
.cart__item .x:hover { color: var(--flame); }
.cart__sum { display: grid; gap: 4px; font-size: 14px; margin-top: auto; }
.cart__sum > div { display: flex; justify-content: space-between; }
.cart__sum .total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; font-weight: 800; font-size: 16px; }
.cart__sum p { margin: 6px 0 0; }

.receipt { padding: 22px; }
.receipt pre { margin: 0 0 16px; font: 14px/1.7 var(--mono); white-space: pre-wrap; }
.receipt__btns { display: flex; gap: 12px; }

.console { place-items: end center; }
.console__box { width: min(760px, 100%); background: var(--input); display: flex; flex-direction: column; height: min(460px, 80vh); }
.console__out { flex: 1; overflow: auto; padding: 14px 16px; font-size: 13.5px; }
.console__out > div { margin-bottom: 4px; }
.console__out pre { margin: 0; font: inherit; color: var(--dim); overflow-x: auto; }
.console__in { display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding: 10px 16px; font-size: 13.5px; }
.console__in input { flex: 1; background: none; border: 0; padding: 0; box-shadow: none !important; caret-color: var(--acid-ink); }

/* toasts */
.toasts { position: fixed; left: 50%; top: 76px; transform: translateX(-50%); z-index: 400; display: grid; gap: 10px; justify-items: center; pointer-events: none; }
.toast {
  background: #fff; color: #000; border: 2px solid #000; border-radius: 18px; padding: 10px 16px; font-size: 13px;
  box-shadow: 4px 4px 0 var(--acid); animation: pop .35s cubic-bezier(.3, 1.6, .5, 1) both; max-width: 90vw;
}
.toast b { font-family: var(--display); font-weight: 400; color: var(--flame); margin-right: 6px; -webkit-text-stroke: .5px #000; }
.toast.is-out { animation: popOut .3s forwards; }
@keyframes pop { from { transform: scale(.4) rotate(-8deg); opacity: 0; } }
@keyframes popOut { to { transform: translateY(-16px) scale(.8); opacity: 0; } }

/* =================== WALLPAPERS =================== */
.walls__top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: end; margin-bottom: 28px; }
.walls__status p { margin: 0 0 10px; }
.walls__status .tag { vertical-align: 2px; margin-right: 6px; }
.loadbar { height: 14px; border: 1px solid var(--fg); padding: 2px; margin-bottom: 8px; max-width: 520px; }
.loadbar i {
  display: block; height: 100%; width: var(--p);
  background: repeating-linear-gradient(90deg, var(--acid) 0 8px, transparent 8px 11px);
  animation: loadpulse 1.6s steps(2) infinite;
}
@keyframes loadpulse { 50% { opacity: .55; } }
.walls__notify label { display: block; margin-bottom: 8px; color: var(--dim); }
.walls__row { display: flex; gap: 10px; }
.walls__row input {
  flex: 1; min-width: 0; background: var(--input); color: var(--fg); border: 1px solid var(--line);
  padding: 10px 12px; font: inherit;
}
.walls__row input:focus { outline: none; border-color: var(--acid); }

.walls { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.wall { position: relative; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.wall:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow); }
.wall:has(.wall__lock) .wall__art { cursor: pointer; }
.wall__lock.rattle { animation: rattle .5s var(--ease); }
@keyframes rattle {
  0%, 100% { transform: translateX(-50%) rotate(-4deg); }
  20% { transform: translateX(-50%) rotate(8deg) scale(1.12); }
  40% { transform: translateX(-50%) rotate(-10deg) scale(1.12); }
  60% { transform: translateX(-50%) rotate(6deg); }
  80% { transform: translateX(-50%) rotate(-6deg); }
}
.wall .panel__bar span { font-size: 11px; }
.wall__art { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--input); isolation: isolate; }
.wall__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* placeholder patterns, all drawn from the theme accent so they follow dark / light / neon */
.wall__art::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; }
.wall__art[data-v="0"]::before { background: repeating-conic-gradient(from 0deg at 50% 48%, var(--acid) 0 5deg, transparent 5deg 18deg); opacity: .28; }
.wall__art[data-v="1"]::before { background: radial-gradient(var(--acid) 1.3px, transparent 1.8px) 0 0 / 9px 9px; opacity: .35; }
.wall__art[data-v="2"]::before { background: repeating-linear-gradient(135deg, var(--acid) 0 2px, transparent 2px 14px); opacity: .3; }
.wall__art[data-v="3"]::before { background: linear-gradient(var(--acid) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, var(--acid) 1px, transparent 1px) 0 0 / 22px 22px; opacity: .22; }
.wall__art[data-v="4"]::before { background: radial-gradient(circle at 50% 55%, var(--acid), transparent 62%); opacity: .4; }
.wall__art[data-v="5"]::before { background: repeating-linear-gradient(0deg, var(--acid) 0 1px, transparent 1px 5px); opacity: .25; }
.wall__logo {
  position: absolute; inset: 26% 10% 22%; background: var(--fg);
  -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
  opacity: .85; transition: opacity .3s var(--ease);
}
.wall:hover .wall__logo { opacity: 1; }
.wall__clock { position: absolute; top: 7%; left: 0; right: 0; text-align: center; line-height: 1; }
.wall__clock b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); color: var(--fg); }
.wall__clock small { font-size: 10px; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }
.wall__lock {
  position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%) rotate(-4deg);
  background: var(--acid); color: #000; border: 2px solid #000; box-shadow: 3px 3px 0 #000;
  font-family: var(--display); font-size: 12px; padding: 3px 9px; white-space: nowrap;
}
.wall__info { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 12px 4px; }
.wall__info h3 { font-size: 13px; line-height: 1.3; }
.wall__dl { display: flex; gap: 6px; padding: 6px 12px 12px; margin-top: auto; }
.wall__dl .btn { flex: 1; padding: 6px 4px; font-size: 11px; text-align: center; box-shadow: none; }
.wall__dl .btn[disabled] { opacity: .5; cursor: not-allowed; }

/* =================== THEMES =================== */
html[data-theme="light"] {
  --bg: #e5e6eb; --panel: #f3f4f7; --panel-2: #d8d9df; --line: #c2c4cb;
  --fg: #454649; --dim: #6f7176;
  /* --acid fills buttons/badges; --acid-ink is the darker pink for text on the light bg (readable contrast) */
  --acid: #ff5ab0; --acid-ink: #c2187a; --flame: #e2401a;
  --input: #ffffff; --art-a: #dcdde3; --art-b: #c8cad1;
  --scan: rgba(0,0,0,.02);
  --sticker: #d9dae0;
  --shadow: 6px 6px 0 #454649;
  color-scheme: light;
}
html[data-theme="light"] .brand__logo { filter: invert(1); }
html[data-theme="light"] .glitch::before, html[data-theme="light"] .glitch::after { mix-blend-mode: multiply; }
html[data-theme="light"] .panel--halftone { background-image: radial-gradient(rgba(255,90,176,.35) 1.2px, transparent 1.6px); }
html[data-theme="light"] .hero__art .panel { box-shadow: 10px 10px 0 var(--fg); }
html[data-theme="light"] .term, html[data-theme="light"] .form.panel { box-shadow: 6px 6px 0 var(--fg); }

html[data-theme="neon"] {
  --bg: #08031a; --panel: #100827; --panel-2: #180d38; --line: #3a2272;
  --fg: #f5f0ff; --dim: #a193d2;
  --acid: #00f0ff; --acid-ink: #00f0ff; --flame: #ff2bd6;
  --input: #05020f; --art-a: #22104d; --art-b: #0a0420;
  --scan: rgba(255,255,255,.035);
  --sticker: #170a37;
  --shadow: 0 0 0 2px #00f0ff, 0 0 26px rgba(0,240,255,.5);
}
html[data-theme="neon"] body {
  background-image:
    linear-gradient(rgba(255,43,214,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,43,214,.07) 1px, transparent 1px);
  background-size: 44px 44px;
}
html[data-theme="neon"] .hero__title .glitch,
html[data-theme="neon"] .section h2 { text-shadow: 0 0 10px rgba(255,43,214,.85), 0 0 34px rgba(255,43,214,.45); }
html[data-theme="neon"] .outline { -webkit-text-stroke-color: var(--acid); text-shadow: 0 0 16px rgba(0,240,255,.55); }
html[data-theme="neon"] .section__num { filter: drop-shadow(0 0 8px rgba(0,240,255,.8)); }
html[data-theme="neon"] .brand__logo { filter: drop-shadow(0 0 6px rgba(0,240,255,.9)); }
html[data-theme="neon"] .btn { box-shadow: 4px 4px 0 var(--flame); }
html[data-theme="neon"] .btn:hover { box-shadow: 6px 6px 0 var(--flame), 0 0 22px rgba(255,43,214,.5); }
html[data-theme="neon"] .btn--acid { box-shadow: 0 0 0 2px #000, 0 0 22px rgba(0,240,255,.7); }
html[data-theme="neon"] .btn--acid:hover { box-shadow: 0 0 0 2px #000, 0 0 34px rgba(0,240,255,.95); }
html[data-theme="neon"] .hero__art .panel { box-shadow: 10px 10px 0 var(--flame), 0 0 40px rgba(255,43,214,.35); }
html[data-theme="neon"] .panel--halftone { background-image: radial-gradient(rgba(0,240,255,.22) 1.2px, transparent 1.6px); }
html[data-theme="neon"] .hero__logo--base { filter: hue-rotate(110deg) saturate(1.4); } /* lime gif -> cyan */
html[data-theme="neon"] .marquee,
html[data-theme="neon"] .statusbar { background: linear-gradient(90deg, #ff2bd6, #7a5cff 50%, #00f0ff); }
html[data-theme="neon"] .card:hover { box-shadow: 0 0 0 2px var(--acid), 0 0 30px rgba(0,240,255,.45); }
html[data-theme="neon"] .idea { box-shadow: 5px 5px 0 var(--flame); }
html[data-theme="neon"] .toast { box-shadow: 4px 4px 0 var(--flame); }
html[data-theme="neon"] .modal__box, html[data-theme="neon"] .console__box { box-shadow: 0 0 0 2px var(--acid), 0 0 50px rgba(0,240,255,.35); }

/* smooth theme switch (not on first paint) */
html.theme-anim body, html.theme-anim .panel, html.theme-anim .card, html.theme-anim .topbar, html.theme-anim .term,
html.theme-anim input, html.theme-anim select, html.theme-anim textarea { transition: background-color .35s, color .35s, border-color .35s; }

/* mobile tab bar */
.tabbar { display: none; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .walls { grid-template-columns: repeat(3, 1fr); }
  .walls__top { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .brand__name { display: none; }   /* logo only, so the 6-link nav fits on tablets */
  .nav a { padding: 6px 5px; }
}
@media (max-width: 900px) {
  .hero, .split, .split--ideas { grid-template-columns: 1fr; }
  .hero__art { max-width: 560px; width: 100%; margin-inline: auto; }
  .pm { grid-template-columns: 1fr; }
  .pm__art { border-right: 0; border-bottom: 2px solid var(--line); max-height: 46vh; height: 46vh; min-height: 0; }
}
@media (max-width: 680px) {
  body { font-size: 14px; padding-bottom: 64px; }
  :root { --tile: 720px; }
  .nav { display: none; }
  .btn-cart { display: none; }
  .btn-theme { padding: 6px 10px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(7, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--panel); border-top: 2px solid var(--fg); padding-bottom: env(safe-area-inset-bottom);
  }
  .tabbar a, .tabbar button {
    display: grid; justify-items: center; gap: 2px; padding: 9px 2px 8px; font-size: 11px; color: var(--dim);
    text-decoration: none; background: none; border: 0; border-right: 1px solid var(--line);
  }
  .tabbar > :last-child { border-right: 0; }
  .tabbar b { font-family: var(--display); font-weight: 400; font-size: 15px; color: var(--fg); line-height: 1; }
  .tabbar .is-active, .tabbar .is-active b { color: var(--acid-ink); }
  .tabbar b.tab-mono { font-family: var(--mono); font-weight: 800; font-size: 14px; letter-spacing: -.05em; }
  .tabbar .tab-cart { background: var(--acid); color: #000; }
  .tabbar .tab-cart b { color: #000; }
  .tabbar .tab-cart.bump { animation: bump .45s var(--ease); }
  .toasts { top: 64px; width: calc(100% - 32px); }
  .toast { font-size: 12px; padding: 8px 12px; width: 100%; }

  /* 2-up product grid */
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  /* wallpapers: swipe row on phones */
  .walls {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * clamp(16px, 4vw, 40px)); padding: 0 clamp(16px, 4vw, 40px) 10px;
    scroll-padding: 0 clamp(16px, 4vw, 40px);
  }
  .walls::-webkit-scrollbar { display: none; }
  .wall { scroll-snap-align: start; }
  .wall:hover { transform: none; box-shadow: none; }
  .wall:active { transform: translate(-3px, -3px); box-shadow: var(--shadow); }
  .wall .panel__bar span { display: none; }
  .walls__row { flex-direction: column; }
  .tabbar a, .tabbar button { font-size: 10px; }
  .card .panel__bar { padding: 6px 8px; }
  .card .panel__bar span { display: none; }
  .card__info { flex-direction: column; gap: 2px; padding: 10px 10px 2px; }
  .card__info h3 { font-size: 12.5px; }
  .card__price { font-size: 13px; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
  .card .hp { padding: 4px 10px 10px; font-size: 10px; }
  .card .hp .dim:first-child { display: none; }
  .tag { font-size: 9.5px; padding: 1px 5px; }
  .card__tags { top: 6px; left: 6px; gap: 4px; }
  .card__over { font-size: 20px; }
  .card:hover { transform: none; box-shadow: none; }
  .card:active { transform: translate(-3px, -3px); box-shadow: var(--shadow); }
  .card:active .card__art img, .card:active .card__art svg { transform: scale(1.05) rotate(-2deg); }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .filters__count { display: none; }

  .section { padding-top: 56px; }
  .section__head { gap: 12px; margin-bottom: 20px; }
  .section__num { font-size: 44px; }
  .hero { padding-top: 32px; }
  .hero__stats { margin-top: 22px; }
  .hero__art .panel { box-shadow: 6px 6px 0 var(--fg); }

  /* product modal -> bottom sheet with sticky buy bar */
  .modal { place-items: end stretch; padding: 0; }
  .modal__box { max-height: 92vh; width: 100%; box-shadow: none; border-width: 2px 0 0; transform: translateY(40px); }
  .pm__art { height: 30vh; max-height: none; display: grid; place-items: center; }
  .pm__art svg { height: 30vh; width: auto; }
  /* front + back photos share the same centred box, so flipping never shifts the shirt */
  .pm__art { overflow: hidden; }
  .pm__art img { position: absolute; inset: 8px 0 52px; width: 100%; height: calc(100% - 60px); object-fit: contain; }
  .pm__info { padding: 16px 16px 0; gap: 10px; }
  .pm__info h3 { font-size: 22px; }
  .pm__buy { position: sticky; bottom: 0; background: var(--panel); padding: 12px 0 16px; border-top: 1px dashed var(--line); }
  .console { padding: 0; }
  .console__box { height: 70vh; box-shadow: none; }
  .console__out, .console__in { font-size: 12.5px; }
  .drawer__box { width: 100%; border-left: 0; }
  .brand__name { display: none; }
  .row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  input, select, textarea { font-size: 16px; } /* stops iOS zoom on focus */
  .bubble { right: 6px; top: 46px; }
  .topbar { padding: 10px 14px; }
  .hero__cta .btn { flex: 1; text-align: center; white-space: nowrap; padding: 12px 10px; font-size: 13.5px; }
  .prompt { font-size: 11.5px; }
  .sticker--1 { left: 6px; }
  .sticker--2 { right: 10px; }
  .marquee { margin: 10px 0; }
}

/* note: animations run for everyone, including devices with "reduce motion" on (brand decision). */
