/* ============== tokens ============== */
:root {
  /* Noir — deep obsidian + cyan glow (default) */
  --bg: #04070E;
  --bg-2: #070C18;
  --surface: rgba(13, 22, 40, 0.55);
  --surface-2: rgba(20, 32, 56, 0.65);
  --line: rgba(120, 200, 255, 0.12);
  --line-strong: rgba(120, 200, 255, 0.28);
  --text: #E8F4FF;
  --text-soft: #8CA5C4;
  --text-dim: #5A7296;

  --neon: #00E5FF;          /* electric cyan */
  --neon-2: #4A9EFF;        /* fluorescent blue */
  --neon-3: #7C5CFF;        /* ultraviolet accent */
  --neon-glow: 0 0 24px rgba(0, 229, 255, 0.6), 0 0 48px rgba(0, 229, 255, 0.25);
  --neon-glow-sm: 0 0 12px rgba(0, 229, 255, 0.4);

  --display: 'Space Grotesk', 'Syne', sans-serif;
  --body: 'Space Grotesk', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', 'JetBrains Mono', ui-monospace, monospace;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 999px;
}

/* alt palettes (still dark-neon, shifted hue) */
[data-palette="voltage"] {
  --bg: #040815; --bg-2: #080F20;
  --neon: #3EF0FF; --neon-2: #1E7CFF; --neon-3: #B84FFF;
  --neon-glow: 0 0 24px rgba(62, 240, 255, 0.65), 0 0 48px rgba(30, 124, 255, 0.25);
}
[data-palette="abyss"] {
  --bg: #02050C; --bg-2: #05091A;
  --neon: #55D1FF; --neon-2: #2B61FF; --neon-3: #0FFFC4;
  --neon-glow: 0 0 24px rgba(85, 209, 255, 0.5), 0 0 48px rgba(15, 255, 196, 0.18);
}
[data-palette="vapor"] {
  --bg: #06040F; --bg-2: #0C0820;
  --neon: #00FFF0; --neon-2: #FF3EE8; --neon-3: #7C5CFF;
  --neon-glow: 0 0 24px rgba(0, 255, 240, 0.55), 0 0 48px rgba(255, 62, 232, 0.2);
}

/* type pairings */
[data-type="space-plex"] { --display: 'Space Grotesk', sans-serif; --body: 'Space Grotesk', sans-serif; --mono: 'IBM Plex Mono', monospace; }
[data-type="syne-plex"]  { --display: 'Syne', sans-serif;          --body: 'Space Grotesk', sans-serif; --mono: 'IBM Plex Mono', monospace; }
[data-type="mono-all"]   { --display: 'IBM Plex Mono', monospace;  --body: 'IBM Plex Mono', monospace;  --mono: 'IBM Plex Mono', monospace; }

/* ============== reset ============== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* atmospheric background: deep gradient + scanlines + grid + floating glow */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(74, 158, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 80% at 90% 80%, rgba(124, 92, 255, 0.15), transparent 60%),
    radial-gradient(ellipse 100% 60% at 50% 110%, rgba(0, 229, 255, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
body::after {
  /* subtle grid */
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(120, 200, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120, 200, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 30%, transparent 85%);
}
.scanlines {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 2px, rgba(0, 229, 255, 0.015) 2px, rgba(0, 229, 255, 0.015) 3px);
  mix-blend-mode: overlay;
}

/* ============== layout ============== */
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 32px; position: relative; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.eyebrow {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--neon);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--neon); box-shadow: var(--neon-glow-sm);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ============== nav ============== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 16px 0;
  transition: padding 240ms ease, background 240ms ease, backdrop-filter 240ms ease, border-color 240ms;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(4, 7, 14, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav-logo {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text);
}
.nav-logo-img {
  height: 28px; width: auto;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.35));
  transition: filter 200ms;
}
.nav-logo:hover .nav-logo-img { filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.6)); }
.nav-logo .dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--neon); box-shadow: var(--neon-glow-sm);
  transform: translateY(-10px);
}
.nav.scrolled .nav-logo-img { height: 24px; }
.nav-links {
  display: flex; gap: 2px; justify-content: center;
  padding: 4px; border-radius: var(--r-pill);
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
}
.nav-link {
  padding: 8px 16px; border-radius: var(--r-pill);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-soft);
  transition: color 160ms ease, background 160ms ease;
}
.nav-link:hover { color: var(--neon); }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.nav-search {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill);
  color: var(--text-soft); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 160ms;
}
.nav-search:hover { color: var(--neon); }
.nav-cart {
  position: relative; padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--neon); color: #00131A; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform 160ms ease, box-shadow 160ms;
  box-shadow: var(--neon-glow-sm);
}
.nav-cart:hover { transform: translateY(-1px); box-shadow: var(--neon-glow); }
.nav-cart .count {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  background: #00131A; color: var(--neon);
  padding: 2px 6px; border-radius: 999px;
  min-width: 18px; text-align: center;
}
@media (max-width: 900px) { .nav-links, .nav-search { display: none; } .nav-inner { grid-template-columns: 1fr auto; } }

/* ============== hero ============== */
.hero { position: relative; padding-top: 160px; padding-bottom: 120px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end;
  position: relative; z-index: 2;
}
.hero-title {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(56px, 9vw, 148px);
  line-height: 0.92; letter-spacing: -0.03em;
  margin: 24px 0 28px;
  color: var(--text);
}
.hero-title .glow {
  color: var(--neon);
  text-shadow: 0 0 24px rgba(0, 229, 255, 0.55), 0 0 48px rgba(0, 229, 255, 0.25);
  font-weight: 400;
}
.hero-title .outline {
  -webkit-text-stroke: 1.5px var(--neon-2);
  color: transparent;
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  max-width: 460px;
  font-size: 15.5px; line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 36px;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--r-sm);
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  transition: transform 160ms ease, background 160ms, color 160ms, border-color 160ms, box-shadow 200ms;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--neon); color: #00131A;
  box-shadow: var(--neon-glow-sm);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--neon-glow); }
.btn-ghost {
  border-color: var(--line-strong); color: var(--text);
  background: rgba(13, 22, 40, 0.4); backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--neon); color: var(--neon); }
.btn-arrow { transition: transform 200ms ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-soft);
}
.badge .bd-num { color: var(--neon); font-weight: 600; }

/* hero visual */
.hero-visual {
  position: relative; aspect-ratio: 4 / 5; min-height: 440px;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(13, 22, 40, 0.8) 0%, rgba(7, 12, 24, 0.9) 100%);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.15),
    0 40px 80px -20px rgba(0, 0, 0, 0.6),
    inset 0 0 60px rgba(0, 229, 255, 0.05);
}
.hero-visual::before {
  /* tech frame */
  content: ''; position: absolute; inset: 14px; border: 1px solid var(--line); border-radius: calc(var(--r-xl) - 8px);
  pointer-events: none; z-index: 5;
}
.hero-visual .corner {
  position: absolute; width: 18px; height: 18px; border: 2px solid var(--neon); z-index: 6; pointer-events: none;
}
.hero-visual .corner.tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.hero-visual .corner.tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.hero-visual .corner.bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.hero-visual .corner.br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.hero-visual .tag {
  position: absolute; top: 26px; left: 26px; right: 26px;
  display: flex; justify-content: space-between; z-index: 4;
  color: var(--text-soft);
}
.hero-visual .tag .live {
  color: var(--neon); display: inline-flex; align-items: center; gap: 6px;
}
.hero-visual .tag .live::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--neon); box-shadow: var(--neon-glow-sm);
  animation: pulse 1.4s ease-in-out infinite;
}
.hero-visual .spec {
  position: absolute; bottom: 26px; left: 26px; right: 26px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; z-index: 4;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.spec-item {
  padding: 14px 16px;
  background: rgba(7, 12, 24, 0.85);
  backdrop-filter: blur(12px);
}
.spec-item .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); }
.spec-item .v { font-family: var(--display); font-size: 22px; font-weight: 400; color: var(--neon); margin-top: 4px; letter-spacing: -0.01em; }

.water-wrap { position: absolute; inset: 0; z-index: 1; }
.water-wrap svg { width: 100%; height: 100%; }
.drop {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--neon), transparent 65%);
  filter: blur(1px); opacity: 0.7;
  animation: drift 12s ease-in-out infinite;
  box-shadow: 0 0 12px var(--neon);
}
@keyframes drift {
  0%, 100% { transform: translate(0,0) scale(1); opacity: .7; }
  50% { transform: translate(8px,-12px) scale(1.1); opacity: 1; }
}
.bottle {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%);
  width: 40%; height: 64%; z-index: 2;
  filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.35));
}

/* hero variants */
[data-hero="stack"] .hero-grid { grid-template-columns: 1fr; gap: 40px; }
[data-hero="stack"] .hero-visual { aspect-ratio: 16 / 7; min-height: 360px; }
[data-hero="stack"] .hero-title { font-size: clamp(72px, 13vw, 220px); }
[data-hero="split"] .hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
[data-hero="split"] .hero-visual { aspect-ratio: auto; min-height: 560px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr !important; gap: 36px; align-items: start; }
  .hero-visual { aspect-ratio: 4/3 !important; min-height: 380px; }
}

/* ============== sections ============== */
.section { padding: 120px 0; position: relative; }
.section-head {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end;
  margin-bottom: 56px;
}
.section-title {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(40px, 5vw, 72px); line-height: 1;
  letter-spacing: -0.025em;
  margin: 12px 0 0; max-width: 860px;
  color: var(--text);
}
.section-title .glow { color: var(--neon); text-shadow: 0 0 24px rgba(0, 229, 255, 0.4); }
.section-title .outline { -webkit-text-stroke: 1.2px var(--neon-2); color: transparent; font-style: italic; }
.section-note { max-width: 340px; color: var(--text-soft); font-size: 14px; }
@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}

/* ============== products ============== */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .products { grid-template-columns: 1fr; } }

.pcard {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 300ms cubic-bezier(.2,.8,.2,1), border-color 300ms, box-shadow 300ms, background 300ms;
  display: flex; flex-direction: column;
}
.pcard:hover {
  transform: translateY(-6px);
  border-color: var(--neon);
  background: var(--surface-2);
  box-shadow: 0 20px 50px -20px rgba(0, 229, 255, 0.35), 0 0 0 1px rgba(0, 229, 255, 0.2);
}
.pcard-media {
  aspect-ratio: 4/5; position: relative;
  background:
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(0, 229, 255, 0.2), transparent 60%),
    linear-gradient(170deg, rgba(13, 22, 40, 0.9), rgba(7, 12, 24, 0.95));
  overflow: hidden;
}
.pcard-media::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(120, 200, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120, 200, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 90%);
}
.pcard-media.alt-a { background:
  radial-gradient(ellipse 90% 70% at 50% 110%, rgba(124, 92, 255, 0.28), transparent 60%),
  linear-gradient(170deg, rgba(13, 22, 40, 0.9), rgba(7, 12, 24, 0.95)); }
.pcard-media.alt-b { background:
  radial-gradient(ellipse 90% 70% at 50% 110%, rgba(74, 158, 255, 0.3), transparent 60%),
  linear-gradient(170deg, rgba(13, 22, 40, 0.9), rgba(7, 12, 24, 0.95)); }
.pcard-media.alt-c { background:
  radial-gradient(ellipse 90% 70% at 50% 110%, rgba(0, 229, 255, 0.22), transparent 60%),
  linear-gradient(170deg, rgba(13, 22, 40, 0.9), rgba(7, 12, 24, 0.95)); }

.pcard-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; border-top: 1px solid var(--line); }
.pcard-name { font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; color: var(--text); }
.pcard-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.pcard-price { font-family: var(--mono); font-size: 13px; color: var(--neon); font-weight: 500; }
.pcard-sub { color: var(--text-soft); font-size: 13px; }

.pcard-add {
  position: absolute; right: 14px; bottom: 14px;
  width: 42px; height: 42px; border-radius: var(--r-sm);
  background: var(--neon); color: #00131A;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(8px);
  transition: opacity 220ms, transform 220ms, box-shadow 220ms;
  z-index: 3;
  box-shadow: var(--neon-glow-sm);
}
.pcard:hover .pcard-add { opacity: 1; transform: translateY(0); }
.pcard-add:hover { box-shadow: var(--neon-glow); }

.pcard-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 10px; border-radius: var(--r-sm);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(7, 12, 24, 0.8); backdrop-filter: blur(8px);
  color: var(--text-soft);
  border: 1px solid var(--line);
}
.pcard-tag.new { background: var(--neon); color: #00131A; border-color: var(--neon); box-shadow: var(--neon-glow-sm); }

/* ============== diagram ============== */
.diag-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  max-width: 680px; margin: 0 0 18px;
  padding: 6px; border-radius: var(--r-lg);
  background: rgba(4, 7, 14, 0.6); border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.diag-tab {
  padding: 14px 16px; border-radius: var(--r-md);
  text-align: left;
  display: flex; flex-direction: column; gap: 4px;
  color: var(--text-soft);
  transition: background 200ms, color 200ms, box-shadow 200ms;
  border: 1px solid transparent;
}
.diag-tab:hover { color: var(--text); background: rgba(0, 229, 255, 0.04); }
.diag-tab.active {
  color: var(--text);
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--neon);
  box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.08), var(--neon-glow-sm);
}
.diag-tab-num {
  font-family: var(--display); font-weight: 400; font-size: 22px;
  letter-spacing: -0.01em;
  color: inherit;
}
.diag-tab.active .diag-tab-num { color: var(--neon); text-shadow: 0 0 14px rgba(0, 229, 255, 0.4); }
.diag-tab-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
}
.diag-tab-label { color: var(--text-dim); }
.diag-tab.active .diag-tab-label { color: var(--neon-2); }
.diag-tab-tagline { color: var(--text-soft); }

.diag-note {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--text-soft);
  margin: 0 0 36px; max-width: 720px;
}
.diag-note .mono { color: var(--neon); margin-right: 8px; }

.diagram-section {
  margin: 0 32px; padding: 120px 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(74, 158, 255, 0.08), transparent 70%),
    rgba(7, 12, 24, 0.5);
  backdrop-filter: blur(18px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
}
@media (max-width: 720px) { .diagram-section { margin: 0 16px; padding: 70px 0; } }

.diagram-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 960px) { .diagram-wrap { grid-template-columns: 1fr; gap: 40px; } }
.diagram-canvas {
  position: relative; aspect-ratio: 4/3;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0, 229, 255, 0.08), transparent 70%),
    rgba(4, 7, 14, 0.6);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 60px rgba(0, 229, 255, 0.06);
  position: sticky;
  top: 100px;
}
.diagram-canvas::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(120, 200, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120, 200, 255, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}
.diagram-stages { display: flex; flex-direction: column; gap: 0; align-self: start; }
.dstage {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 20px; align-items: center;
  padding: 14px 12px;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: background 200ms;
  min-height: 64px;
}
.dstage:last-child { border-bottom: 1px solid var(--line); }
.dstage .num { font-family: var(--mono); font-size: 11px; color: var(--text-dim); letter-spacing: 0.16em; }
.dstage .title { font-family: var(--display); font-size: 22px; font-weight: 400; letter-spacing: -0.01em; color: var(--text-soft); transition: color 200ms, text-shadow 200ms; }
.dstage .chev { color: var(--text-dim); opacity: 0.5; transition: opacity 200ms, transform 200ms, color 200ms; }
.dstage:hover .title, .dstage.active .title { color: var(--neon); text-shadow: 0 0 20px rgba(0, 229, 255, 0.4); }
.dstage:hover .num, .dstage.active .num { color: var(--neon); }
.dstage.active .chev { opacity: 1; transform: rotate(90deg); color: var(--neon); }
.dstage-desc {
  grid-column: 2 / span 2;
  max-height: 0; overflow: hidden;
  color: var(--text-soft); font-size: 13px; line-height: 1.55;
  transition: max-height 260ms ease, margin 260ms ease, opacity 200ms ease;
  opacity: 0;
}
.dstage.active .dstage-desc { max-height: 90px; margin-top: 6px; opacity: 1; }

/* ============== locator ============== */
.locator-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 0;
  background: rgba(7, 12, 24, 0.7); backdrop-filter: blur(18px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 540px;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.8), inset 0 0 80px rgba(0, 229, 255, 0.04);
}
.locator-left { padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; border-right: 1px solid var(--line); }
.locator-title {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(40px, 5vw, 60px); margin: 0; letter-spacing: -0.025em; line-height: 1;
  color: var(--text);
}
.locator-title .glow { color: var(--neon); text-shadow: 0 0 20px rgba(0, 229, 255, 0.4); }
/* single-store card */
.store-card {
  background: rgba(4,7,14,0.6);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 22px;
  display: flex; flex-direction: column; gap: 18px;
}
.store-card-head { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.store-card-head .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(0,229,255,0.2), 0 0 14px var(--neon);
  animation: pulse 2s ease-in-out infinite;
}
.store-card-head .name { font-family: var(--display); font-size: 20px; font-weight: 500; color: var(--text); line-height: 1.2; }
.store-card-head .sub {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim); margin-top: 4px;
}
.store-addr {
  font-size: 13.5px; color: var(--text-soft); line-height: 1.5;
  padding-left: 24px; border-left: 1px solid var(--line);
}
.store-hours {
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--line); padding-top: 14px;
}
.hrow {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 7px 0; border-bottom: 1px dashed rgba(120,200,255,0.08);
}
.hrow:last-child { border-bottom: 0; }
.hrow .d {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim);
}
.hrow .t { font-family: var(--mono); font-size: 12.5px; color: var(--text); letter-spacing: 0.04em; }
.store-services { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.store-services li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-soft);
}
.store-services svg { color: var(--neon); flex-shrink: 0; }
.store-cta {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 16px; border-radius: var(--r-sm);
  background: var(--neon); color: #00131A;
  font-family: var(--mono); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  box-shadow: var(--neon-glow-sm);
  transition: box-shadow 160ms, transform 160ms;
}
.store-cta:hover { box-shadow: var(--neon-glow); transform: translateY(-1px); }

/* map iframe frame */
.map-frame { min-height: 520px; padding: 14px; }
.map-iframe {
  position: absolute; inset: 14px;
  width: calc(100% - 28px); height: calc(100% - 28px);
  border: 0; border-radius: var(--r-md);
  filter: invert(0.92) hue-rotate(180deg) saturate(0.8) brightness(0.95) contrast(1.05);
  mix-blend-mode: normal;
}
.map-overlay-top, .map-overlay-bot {
  position: absolute; z-index: 2;
  left: 24px; right: 24px;
  display: flex; justify-content: space-between; align-items: center;
  pointer-events: none;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text);
}
.map-overlay-top { top: 24px; }
.map-overlay-bot { bottom: 24px; }
.map-overlay-top span, .map-overlay-bot span {
  background: rgba(4,7,14,0.82); backdrop-filter: blur(6px);
  padding: 6px 10px; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
}
.pulse-dot { display: inline-flex; align-items: center; gap: 8px; color: var(--neon) !important; }
.pulse-dot span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--neon); box-shadow: 0 0 8px var(--neon);
  animation: pulse 1.6s ease-in-out infinite;
  padding: 0 !important; border: 0 !important; backdrop-filter: none !important;
}

.locator-search {
  display: flex; align-items: center; gap: 0;
  background: rgba(4, 7, 14, 0.6);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 4px;
}
.locator-search input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: var(--text); font: inherit;
  padding: 12px 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
}
.locator-search input::placeholder { color: var(--text-dim); text-transform: uppercase; }
.locator-search button {
  padding: 10px 18px; border-radius: calc(var(--r-sm) - 2px);
  background: var(--neon); color: #00131A;
  font-family: var(--mono); font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: var(--neon-glow-sm);
}
.locator-list { display: flex; flex-direction: column; gap: 2px; }
.store-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 14px 14px; border-radius: var(--r-sm);
  transition: background 200ms;
  cursor: pointer;
}
.store-row:hover { background: rgba(0, 229, 255, 0.06); }
.store-row .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--neon-2);
  box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.2);
}
.store-row .name { font-family: var(--display); font-size: 17px; font-weight: 500; color: var(--text); }
.store-row .addr { color: var(--text-soft); font-size: 12.5px; margin-top: 2px; font-family: var(--mono); letter-spacing: 0.04em; }
.store-row .dist { font-family: var(--mono); font-size: 11px; color: var(--neon); letter-spacing: 0.1em; }
.store-row.active { background: rgba(0, 229, 255, 0.1); }
.store-row.active .dot { background: var(--neon); box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.25), 0 0 12px var(--neon); }

.locator-right {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 40% 30%, rgba(74, 158, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 60% at 70% 70%, rgba(124, 92, 255, 0.08), transparent 60%),
    linear-gradient(160deg, rgba(7, 12, 24, 0.9), rgba(4, 7, 14, 1));
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(120, 200, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120, 200, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 95%);
}
.map-pin {
  position: absolute;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--neon-2);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(74, 158, 255, 0.2), 0 0 12px var(--neon-2);
  transition: all 220ms;
  cursor: pointer;
}
.map-pin.active {
  background: var(--neon);
  box-shadow: 0 0 0 6px rgba(0, 229, 255, 0.25), 0 0 24px var(--neon);
  transform: translate(-50%, -50%) scale(1.3);
}
.map-pin::after {
  content: ''; position: absolute; inset: -8px;
  border-radius: 50%; border: 1px solid var(--neon-2);
  opacity: 0; animation: ping 2s ease-out infinite;
}
.map-pin.active::after { border-color: var(--neon); }
@keyframes ping {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}
.map-label {
  position: absolute; transform: translate(-50%, -220%);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--r-sm);
  background: var(--neon); color: #00131A;
  white-space: nowrap;
  opacity: 0; transition: opacity 200ms;
  pointer-events: none;
  box-shadow: var(--neon-glow-sm);
  font-weight: 600;
}
.map-pin.active + .map-label { opacity: 1; }
.map-compass {
  position: absolute; bottom: 20px; right: 20px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--text-dim); text-transform: uppercase;
}

@media (max-width: 900px) {
  .locator-grid { grid-template-columns: 1fr; }
  .locator-left { padding: 32px; border-right: 0; border-bottom: 1px solid var(--line); }
  .locator-right { min-height: 420px; }
  .map-frame { min-height: 420px; }
}

/* ============== footer ============== */
.footer { padding: 100px 0 40px; border-top: 1px solid var(--line); margin-top: 80px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.news-card {
  background: var(--surface); backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative; overflow: hidden;
}
.news-card::after {
  content: ''; position: absolute; right: -80px; bottom: -80px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.2) 10%, transparent 70%);
}
.news-title { font-family: var(--display); font-weight: 400; font-size: 30px; margin: 10px 0 8px; letter-spacing: -0.015em; color: var(--text); }
.news-title .glow { color: var(--neon); text-shadow: 0 0 16px rgba(0, 229, 255, 0.4); }
.news-sub { color: var(--text-soft); font-size: 13.5px; margin: 0 0 22px; position: relative; z-index: 1; }
.news-form { display: flex; gap: 8px; position: relative; z-index: 1; }
.news-form input {
  flex: 1; background: rgba(4, 7, 14, 0.6); border: 1px solid var(--line-strong); outline: 0;
  padding: 13px 16px; border-radius: var(--r-sm);
  font-family: var(--mono); font-size: 12px; color: var(--text); letter-spacing: 0.04em;
}
.news-form input::placeholder { color: var(--text-dim); }
.news-form button {
  padding: 13px 20px; border-radius: var(--r-sm);
  background: var(--neon); color: #00131A;
  font-family: var(--mono); font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: var(--neon-glow-sm);
  transition: box-shadow 160ms;
}
.news-form button:hover { box-shadow: var(--neon-glow); }

.fcol h4 {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--neon); font-weight: 500; margin: 12px 0 16px;
}
.fcol ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fcol a { font-size: 14px; color: var(--text-soft); transition: color 160ms; }
.fcol a:hover { color: var(--neon); }

.footer-base {
  display: flex; justify-content: space-between; align-items: end;
  margin-top: 80px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim);
}
.footer-wordmark {
  user-select: none;
  margin: 60px 0 -28px;
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  gap: clamp(8px, 2vw, 24px);
}
.footer-wordmark img {
  width: 100%; max-width: 1200px; height: auto;
  display: block;
  filter: drop-shadow(0 0 40px rgba(0, 229, 255, 0.35)) drop-shadow(0 0 80px rgba(74, 158, 255, 0.15));
}
.footer-wordmark .glow-dot {
  width: clamp(14px, 2.4vw, 32px);
  height: clamp(14px, 2.4vw, 32px);
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 30px var(--neon), 0 0 60px rgba(0, 229, 255, 0.4);
  margin-bottom: clamp(20px, 4vw, 60px);
  flex-shrink: 0;
  animation: pulse 2.2s ease-in-out infinite;
}

/* ============== what we do ============== */
.wwd-section { padding: 120px 0; }
.wwd-head { text-align: center; margin-bottom: 60px; }
.wwd-head .eyebrow { justify-content: center; }
.wwd-title {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(40px, 6vw, 88px);
  letter-spacing: -0.025em; line-height: 1;
  color: var(--text);
  margin: 16px 0 20px;
}
.wwd-title .glow { color: var(--neon); text-shadow: 0 0 24px rgba(0, 229, 255, 0.5); }
.wwd-rule {
  width: 80px; height: 1px;
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon);
  margin: 0 auto;
}

.wwd-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 900px) { .wwd-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wwd-grid { grid-template-columns: 1fr; } }

.wwd-card {
  position: relative;
  padding: 32px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 80% 60% at 80% 100%, rgba(0, 229, 255, 0.06), transparent 60%),
    linear-gradient(160deg, rgba(13, 22, 40, 0.7), rgba(7, 12, 24, 0.55));
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 280px;
  transition: transform 300ms cubic-bezier(.2,.8,.2,1), border-color 300ms, box-shadow 300ms;
}
.wwd-card::before {
  /* subtle water ripple pattern */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(74, 158, 255, 0.08) 0%, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(0, 229, 255, 0.06) 0%, transparent 35%);
  opacity: 0.6;
}
.wwd-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon);
  box-shadow: 0 20px 50px -20px rgba(0, 229, 255, 0.3), 0 0 0 1px rgba(0, 229, 255, 0.2);
}
.wwd-card.soon { opacity: 0.85; }

.wwd-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: rgba(4, 7, 14, 0.8);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  position: relative; z-index: 1;
  box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.08);
}

.wwd-card-title {
  font-family: var(--display); font-weight: 500;
  font-size: 20px; letter-spacing: -0.005em;
  margin: 0 0 12px; color: var(--text);
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.wwd-badge {
  font-family: var(--mono); font-size: 9px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 7px; border-radius: var(--r-sm);
  background: rgba(124, 92, 255, 0.15); color: var(--neon-3);
  border: 1px solid rgba(124, 92, 255, 0.4);
}
.wwd-desc {
  color: var(--text-soft); font-size: 13.5px; line-height: 1.6;
  margin: 0; position: relative; z-index: 1;
}
.wwd-num {
  position: absolute; top: 24px; right: 28px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  color: var(--text-dim);
}

/* ============== shop slider ============== */
.shop-section { position: relative; }
.shop-head-right { display: flex; flex-direction: column; gap: 18px; align-items: flex-end; }
@media (max-width: 720px) { .shop-head-right { align-items: flex-start; } }
.shop-mode {
  display: inline-flex; gap: 2px; padding: 4px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line); backdrop-filter: blur(14px);
}
.shop-mode-btn {
  padding: 7px 14px; border-radius: var(--r-pill);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-soft); transition: color 160ms, background 160ms;
}
.shop-mode-btn:hover { color: var(--text); }
.shop-mode-btn.active { background: var(--neon); color: #00131A; box-shadow: var(--neon-glow-sm); }

.shop-stage { display: flex; flex-direction: column; gap: 18px; }

.shop-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #04070E;
  border: 1px solid var(--line-strong);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.12),
    0 60px 120px -40px rgba(0, 0, 0, 0.8),
    inset 0 0 80px rgba(0, 229, 255, 0.04);
}
.shop-frame::before {
  /* vignette + scanline lift */
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(4,7,14,0.75) 100%),
    repeating-linear-gradient(to bottom, transparent 0, transparent 2px, rgba(0, 229, 255, 0.03) 2px, rgba(0, 229, 255, 0.03) 3px);
}
.shop-frame .corner {
  position: absolute; width: 22px; height: 22px; border: 2px solid var(--neon);
  z-index: 6; pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.6));
}
.shop-frame .corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.shop-frame .corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.shop-frame .corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.shop-frame .corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

.shop-hud {
  position: absolute; top: 28px; left: 28px; right: 28px;
  display: flex; justify-content: space-between; z-index: 4;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}
.shop-hud .live { color: var(--neon); display: inline-flex; align-items: center; gap: 8px; }
.shop-hud .live::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #FF3B6B; box-shadow: 0 0 10px #FF3B6B;
  animation: pulse 1.2s ease-in-out infinite;
}

.shop-track {
  position: absolute; inset: 0;
  display: flex;
  transition: transform 720ms cubic-bezier(.65, .05, .15, 1);
  will-change: transform;
}
.shop-slide {
  flex: 0 0 100%; height: 100%;
  position: relative;
}
.shop-slide img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.shop-caption {
  position: absolute; left: 32px; bottom: 44px; z-index: 5;
  max-width: 520px;
}
.shop-caption .cap-title {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(28px, 3.6vw, 48px);
  letter-spacing: -0.02em; line-height: 1;
  color: var(--text);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}
.shop-caption .cap-note {
  margin-top: 10px;
  color: rgba(232, 244, 255, 0.85);
  font-size: 14px; max-width: 460px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.shop-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(4, 7, 14, 0.6); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  z-index: 6;
  transition: background 160ms, color 160ms, border-color 160ms, box-shadow 160ms, transform 200ms;
}
.shop-nav:hover {
  color: var(--neon); border-color: var(--neon);
  background: rgba(0, 229, 255, 0.1);
  box-shadow: var(--neon-glow-sm);
}
.shop-nav.prev { left: 20px; }
.shop-nav.next { right: 20px; }
.shop-nav.prev:hover { transform: translateY(-50%) translateX(-2px); }
.shop-nav.next:hover { transform: translateY(-50%) translateX(2px); }

.shop-progress {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  height: 2px; background: rgba(0, 229, 255, 0.08);
}
.shop-progress-bar {
  height: 100%; background: var(--neon);
  box-shadow: var(--neon-glow-sm);
  transition: width 500ms cubic-bezier(.2, .8, .2, 1);
}

.shop-thumbs {
  display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px;
}
@media (max-width: 900px) { .shop-thumbs { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 520px) { .shop-thumbs { grid-template-columns: repeat(4, 1fr); } }

.shop-thumb {
  position: relative; aspect-ratio: 1/1;
  border-radius: var(--r-sm); overflow: hidden;
  border: 1px solid var(--line);
  transition: border-color 160ms, transform 160ms, box-shadow 160ms;
  padding: 0; cursor: pointer;
}
.shop-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.6) saturate(0.9);
  transition: filter 200ms;
}
.shop-thumb .thumb-num {
  position: absolute; top: 6px; left: 8px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em;
  color: rgba(232, 244, 255, 0.75);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
.shop-thumb:hover { border-color: var(--line-strong); }
.shop-thumb:hover img { filter: brightness(0.85); }
.shop-thumb.active {
  border-color: var(--neon);
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.25), var(--neon-glow-sm);
}
.shop-thumb.active img { filter: brightness(1) saturate(1.05); }
.shop-thumb.active .thumb-num { color: var(--neon); }

/* mosaic mode */
.shop-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 160px;
  gap: 10px;
}
.mos-tile {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 300ms cubic-bezier(.2,.8,.2,1), border-color 300ms, box-shadow 300ms;
}
.mos-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms ease, filter 300ms;
  filter: brightness(0.85);
}
.mos-tile:hover { border-color: var(--neon); box-shadow: var(--neon-glow-sm); transform: translateY(-2px); }
.mos-tile:hover img { transform: scale(1.06); filter: brightness(1.02); }
.mos-tile figcaption {
  position: absolute; inset: auto 0 0 0; padding: 14px;
  display: flex; flex-direction: column; gap: 4px;
  background: linear-gradient(to top, rgba(4,7,14,0.95), transparent);
  color: var(--text);
}
.mos-tile figcaption .mono { color: var(--neon); font-size: 9.5px; }
.mos-tile figcaption .t { font-family: var(--display); font-size: 17px; font-weight: 400; letter-spacing: -0.005em; }
/* varied sizes for visual rhythm */
.mos-tile.mos-0 { grid-column: span 3; grid-row: span 2; }
.mos-tile.mos-1 { grid-column: span 3; grid-row: span 1; }
.mos-tile.mos-2 { grid-column: span 2; grid-row: span 2; }
.mos-tile.mos-3 { grid-column: span 2; grid-row: span 1; }
.mos-tile.mos-4 { grid-column: span 2; grid-row: span 2; }
.mos-tile.mos-5 { grid-column: span 2; grid-row: span 1; }

@media (max-width: 900px) {
  .shop-mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 140px; }
  .mos-tile.mos-0, .mos-tile.mos-2, .mos-tile.mos-4 { grid-column: span 2; grid-row: span 2; }
  .mos-tile.mos-1, .mos-tile.mos-3, .mos-tile.mos-5 { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
  .shop-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .mos-tile { grid-column: span 1 !important; grid-row: span 1 !important; }
  .shop-caption { left: 20px; bottom: 30px; }
  .shop-hud { top: 18px; left: 18px; right: 18px; }
  .shop-nav { width: 40px; height: 40px; }
  .shop-nav.prev { left: 10px; } .shop-nav.next { right: 10px; }
}

/* ============== tweaks panel ============== */
.tweaks {
  position: fixed; bottom: 22px; right: 22px; z-index: 100;
  background: rgba(7, 12, 24, 0.85);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(0, 229, 255, 0.08);
  padding: 18px;
  width: 300px;
  font-family: var(--body);
}
.tweaks h5 {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  margin: 0 0 14px; color: var(--neon); font-weight: 500;
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks h5 .close { cursor: pointer; color: var(--text-dim); }
.tweak-group { margin-bottom: 16px; }
.tweak-group:last-child { margin-bottom: 0; }
.tweak-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 8px;
}
.tweak-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tweak-chip {
  flex: 1; min-width: 0;
  padding: 8px 10px; border-radius: var(--r-sm);
  border: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(4, 7, 14, 0.6);
  color: var(--text-soft);
  cursor: pointer;
  transition: border-color 160ms, color 160ms, background 160ms, box-shadow 160ms;
  text-align: center;
  white-space: nowrap;
}
.tweak-chip:hover { border-color: var(--line-strong); color: var(--text); }
.tweak-chip.active { border-color: var(--neon); color: var(--neon); box-shadow: inset 0 0 12px rgba(0, 229, 255, 0.15); }
.swatch-row { display: flex; gap: 8px; }
.swatch {
  flex: 1; aspect-ratio: 1/1;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  cursor: pointer; position: relative;
  transition: transform 160ms, border-color 160ms, box-shadow 160ms;
}
.swatch:hover { transform: translateY(-2px); }
.swatch.active { border-color: var(--neon); box-shadow: 0 0 16px rgba(0, 229, 255, 0.35); }
