/* ==========================================================================
   Silver Strike — Visual Systems
   Extends ../style.css (tokens, header, footer, buttons). Catalog-matched:
   Oswald display · Titillium Web body · JetBrains Mono labels · gold accents.
   ========================================================================== */

:root {
  --vs-gold-line: linear-gradient(90deg, var(--color-gold) 0 40px, transparent 40px);
  --vs-scrim-strong: linear-gradient(180deg, rgba(10,13,18,0.10) 0%, rgba(10,13,18,0.55) 45%, rgba(10,13,18,0.96) 100%);
  --vs-scrim-side: linear-gradient(90deg, rgba(10,13,18,0.94) 0%, rgba(10,13,18,0.78) 38%, rgba(10,13,18,0.25) 70%, rgba(10,13,18,0.05) 100%);
  --vs-text-shadow: 0 1px 2px rgba(0,0,0,0.65), 0 6px 24px rgba(0,0,0,0.55);
}

body.vs { overflow-x: hidden; }

/* --- shared primitives ------------------------------------------------- */
.vs-mono {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.vs-mono.muted { color: var(--color-text-muted); }

.vs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.vs-eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--color-gold);
}

.vs-title {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  color: var(--color-text);
}
.vs-title.xl { font-size: clamp(2.75rem, 1.4rem + 5.4vw, 5.75rem); }
.vs-title.lg { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.75rem); }
.vs-title.md { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
.vs-title em { font-style: normal; color: var(--color-gold); }

.vs-lede {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--color-text);
  max-width: 62ch;
}
.vs-copy { color: var(--color-text-muted); max-width: 68ch; }
.vs-copy p + p { margin-top: 1rem; }

.vs-section { padding: clamp(4rem, 8vw, 7.5rem) 0; position: relative; }
.vs-section.tight { padding: clamp(3rem, 5vw, 5rem) 0; }
.vs-section.offset { background: var(--color-surface); }
.vs-section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 60rem; }
.vs-section-head .vs-lede { margin-top: 0.25rem; }

/* corner-bracket frame (catalog stat tiles) */
.vs-bracket { position: relative; }
.vs-bracket::before, .vs-bracket::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
}
.vs-bracket::before { top: 0; left: 0; border-top: 1px solid var(--color-gold); border-left: 1px solid var(--color-gold); }
.vs-bracket::after  { bottom: 0; right: 0; border-bottom: 1px solid var(--color-gold); border-right: 1px solid var(--color-gold); }

/* --- hero ---------------------------------------------------------------- */
.vs-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: #05070a;
}
.vs-hero-media { position: absolute; inset: 0; z-index: -2; }
.vs-hero-media video, .vs-hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.04);
}
.vs-hero-scrim { position: absolute; inset: 0; z-index: -1; background: var(--vs-scrim-strong); }
.vs-hero-scrim::after {
  content: ""; position: absolute; inset: 0;
  background: var(--vs-scrim-side);
  opacity: 0.9;
}
.vs-hero-grid { position: absolute; inset: 0; z-index: -1; opacity: 0.18; pointer-events: none;
  background-image: linear-gradient(rgba(201,162,74,0.25) 1px, transparent 1px), linear-gradient(90deg, rgba(201,162,74,0.25) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse at 20% 80%, #000 0%, transparent 65%);
}
.vs-hero-inner { position: relative; padding-block: clamp(6rem, 12vh, 9rem) clamp(2.5rem, 5vh, 4rem); display: grid; gap: 1.1rem; }
.vs-hero-inner .vs-title { text-shadow: var(--vs-text-shadow); max-width: 14ch; }
.vs-hero-inner .vs-lede { text-shadow: var(--vs-text-shadow); color: #eef2f6; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem); max-width: 60ch; }
.vs-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.vs-hero-foot {
  margin-top: clamp(1.5rem, 4vh, 3rem);
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: rgba(43,51,63,0.6);
  border: 1px solid rgba(43,51,63,0.8);
  backdrop-filter: blur(10px);
}
.vs-stat {
  padding: 1rem 1.1rem;
  background: rgba(10,13,18,0.82);
  display: grid; gap: 0.2rem;
}
.vs-stat b { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); line-height: 1; color: var(--color-text); letter-spacing: 0.01em; white-space: nowrap; }
.vs-stat span { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-text-muted); }
.vs-stat small { font-family: var(--font-mono); font-size: 0.68rem; color: var(--color-gold); letter-spacing: 0.08em; }

.vs-scroll-cue {
  position: absolute; right: clamp(1rem, 4vw, 3rem); bottom: 2rem;
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-text-muted);
  writing-mode: vertical-rl;
}
.vs-scroll-cue::after { content: ""; width: 1px; height: 56px; background: linear-gradient(180deg, var(--color-gold), transparent); animation: vs-cue 2.2s ease-in-out infinite; }
@keyframes vs-cue { 0%,100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4 } 50% { transform: scaleY(1); opacity: 1 } }

@media (max-width: 1100px) { .vs-hero-foot { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } }
@media (min-width: 760px) { .vs .footer-links a { white-space: nowrap; } }

/* --- marquee strip ----------------------------------------------------- */
.vs-marquee { border-top: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); background: var(--color-surface); overflow: hidden; padding: 0.9rem 0; }
.vs-marquee-track { display: flex; gap: 3rem; width: max-content; animation: vs-marquee 48s linear infinite; }
.vs-marquee:hover .vs-marquee-track { animation-play-state: paused; }
.vs-marquee-track span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-text-muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.vs-marquee-track span::after { content: "◆"; color: var(--color-gold); font-size: 0.5rem; }
@keyframes vs-marquee { to { transform: translateX(-50%); } }

/* --- applications mosaic ----------------------------------------------- */
.vs-mosaic {
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(140px, 18vw, 260px);
}
.vs-tile {
  position: relative; overflow: hidden; display: block;
  border: 1px solid var(--color-divider);
  background: var(--color-surface-offset);
  color: inherit; text-decoration: none;
  isolation: isolate;
}
.vs-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter 0.6s ease; filter: saturate(0.95) brightness(0.92); }
.vs-tile:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(1); }
.vs-tile-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,13,18,0) 35%, rgba(10,13,18,0.55) 65%, rgba(10,13,18,0.94) 100%); }
.vs-tile-cap { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: grid; gap: 0.2rem; text-shadow: var(--vs-text-shadow); }
.vs-tile-cap b { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; font-size: var(--text-lg); line-height: 1.05; color: #fff; }
.vs-tile-cap span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-gold); }
.vs-tile-corner { position: absolute; top: 0.75rem; right: 0.75rem; width: 14px; height: 14px; border-top: 1px solid var(--color-gold); border-right: 1px solid var(--color-gold); opacity: 0; transition: opacity 0.3s; }
.vs-tile:hover .vs-tile-corner { opacity: 1; }
.span-6 { grid-column: span 6; } .span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; } .span-8 { grid-column: span 8; } .span-5 { grid-column: span 5; } .span-7 { grid-column: span 7; }
.row-2 { grid-row: span 2; }
@media (max-width: 900px) {
  .vs-mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(150px, 30vw, 240px); }
  .span-8, .span-7, .span-6, .span-5 { grid-column: span 6; } .span-4, .span-3 { grid-column: span 3; }
  .row-2 { grid-row: span 1; }
}
@media (max-width: 560px) { .vs-mosaic .span-3, .vs-mosaic .span-4 { grid-column: span 6; } }

/* --- series rail --------------------------------------------------------- */
.vs-series { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--color-divider); border: 1px solid var(--color-divider); }
.vs-series-card {
  position: relative; display: grid; grid-template-rows: auto 1fr; min-height: 300px;
  background: var(--color-surface); color: inherit; text-decoration: none; overflow: hidden; isolation: isolate;
}
.vs-series-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.38; filter: saturate(0.6); transition: opacity 0.6s ease, transform 1.4s var(--ease-out), filter 0.6s; z-index: -1; }
.vs-series-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,13,18,0.35) 0%, rgba(10,13,18,0.75) 55%, rgba(10,13,18,0.98) 100%); }
.vs-series-card:hover img { opacity: 0.62; transform: scale(1.05); filter: saturate(1); }
.vs-series-num { padding: 1.1rem 1.25rem 0; font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 300; line-height: 1; color: var(--color-gold); letter-spacing: 0.02em; text-shadow: var(--vs-text-shadow); }
.vs-series-body { align-self: end; padding: 1.25rem; display: grid; gap: 0.4rem; text-shadow: var(--vs-text-shadow); }
.vs-series-body b { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: var(--text-lg); line-height: 1.05; letter-spacing: 0.03em; color: #fff; }
.vs-series-body p { font-size: var(--text-sm); color: #d5dbe2; line-height: 1.45; }
.vs-series-body span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-gold); }
.vs-series-card .arrow { position: absolute; top: 1.1rem; right: 1.1rem; width: 34px; height: 34px; border: 1px solid rgba(201,162,74,0.5); display: grid; place-items: center; color: var(--color-gold); transition: background 0.3s, transform 0.3s; }
.vs-series-card:hover .arrow { background: var(--color-gold); color: #0a0d12; transform: translate(2px,-2px); }
@media (max-width: 1000px) { .vs-series { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .vs-series { grid-template-columns: 1fr; } .vs-series-card { min-height: 220px; } }

/* --- motion / movies ----------------------------------------------------- */
.vs-reel { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.75rem; }
.vs-reel .vs-movie:first-child { grid-row: span 2; }
.vs-movie { position: relative; overflow: hidden; border: 1px solid var(--color-divider); background: #05070a; aspect-ratio: 16/9; isolation: isolate; }
.vs-reel .vs-movie:first-child { aspect-ratio: auto; min-height: 420px; }
.vs-movie video, .vs-movie img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vs-movie-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,13,18,0.05) 40%, rgba(10,13,18,0.85) 100%); }
.vs-movie-cap { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; display: flex; justify-content: space-between; align-items: end; gap: 1rem; text-shadow: var(--vs-text-shadow); }
.vs-movie-cap b { display: block; font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; font-size: var(--text-lg); color: #fff; line-height: 1.05; }
.vs-movie-cap span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-gold); }
.vs-movie-cap a { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,0.4); padding: 0.5rem 0.75rem; backdrop-filter: blur(6px); background: rgba(10,13,18,0.45); white-space: nowrap; }
.vs-movie-cap a:hover { border-color: var(--color-gold); color: var(--color-gold); }
.vs-movie .live { position: absolute; top: 0.9rem; left: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; background: rgba(10,13,18,0.55); padding: 0.35rem 0.6rem; backdrop-filter: blur(6px); }
.vs-movie .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-gold); box-shadow: 0 0 0 0 rgba(201,162,74,0.6); animation: vs-pulse 1.8s infinite; }
@keyframes vs-pulse { to { box-shadow: 0 0 0 10px rgba(201,162,74,0); } }
@media (max-width: 900px) { .vs-reel { grid-template-columns: 1fr; } .vs-reel .vs-movie:first-child { grid-row: auto; aspect-ratio: 16/9; min-height: 0; } }

/* pixel-canvas motion panel */
.vs-pixels { position: relative; border: 1px solid var(--color-divider); background: #05070a; overflow: hidden; min-height: 320px; display: grid; }
.vs-pixels canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.vs-pixels-copy { position: relative; align-self: end; padding: 1.5rem; display: grid; gap: 0.5rem; max-width: 40ch; text-shadow: var(--vs-text-shadow); background: linear-gradient(180deg, transparent, rgba(5,7,10,0.85) 40%); }
.vs-pixels-copy b { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; font-size: var(--text-lg); color: #fff; }
.vs-pixels-copy p { font-size: var(--text-sm); color: #d5dbe2; }
.vs-pixels-copy #pixel-readout { text-transform: none; letter-spacing: 0.06em; font-size: 0.72rem; color: var(--color-gold); }

/* --- explorer ------------------------------------------------------------ */
.vs-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; position: sticky; top: 64px; z-index: 5; padding: 0.75rem 0; background: linear-gradient(180deg, var(--color-bg) 80%, transparent); }
.vs-chip {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-text-muted); background: transparent; border: 1px solid var(--color-border); padding: 0.55rem 0.85rem; cursor: pointer;
  transition: all var(--transition-interactive);
}
.vs-chip:hover { color: var(--color-text); border-color: var(--color-silver-active); }
.vs-chip[aria-pressed="true"] { color: #0a0d12; background: var(--color-gold); border-color: var(--color-gold); }
.vs-filters .sep { width: 1px; height: 22px; background: var(--color-border); margin: 0 0.25rem; }
.vs-search { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; border: 1px solid var(--color-border); padding: 0.4rem 0.75rem; min-width: 220px; }
.vs-search input { background: transparent; border: 0; outline: 0; color: var(--color-text); font-size: var(--text-sm); width: 100%; }
.vs-search input::placeholder { color: var(--color-text-faint); }
.vs-count { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 1rem; }

.vs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; }
.vs-card {
  position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--color-surface);
  border: 1px solid var(--color-divider); color: inherit; text-decoration: none; overflow: hidden; isolation: isolate;
  transition: border-color 0.3s, transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.vs-card:hover { border-color: var(--color-gold); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vs-card.is-hidden { display: none; }
.vs-card-media { position: relative; aspect-ratio: 4/3; background: #f3f4f6; overflow: hidden; }
.vs-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.vs-card:hover .vs-card-media img { transform: scale(1.05); }
.vs-card-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -60px 60px -40px rgba(10,13,18,0.35); pointer-events: none; }
.vs-card-tag { position: absolute; top: 0.75rem; left: 0.75rem; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; background: rgba(10,13,18,0.85); padding: 0.35rem 0.6rem; border-left: 2px solid var(--color-gold); }
.vs-card-body { padding: 1.1rem 1.2rem 1.25rem; display: grid; gap: 0.45rem; align-content: start; }
.vs-card-num { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--color-gold); }
.vs-card-title { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; font-size: var(--text-lg); line-height: 1.05; }
.vs-card-copy { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.45; }
.vs-card-specs { margin-top: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; color: var(--color-text-muted); border-top: 1px solid var(--color-divider); padding-top: 0.7rem; }
.vs-card-specs b { color: var(--color-text); font-weight: 500; }
.vs-card .go { position: absolute; right: 1rem; bottom: 1rem; width: 30px; height: 30px; border: 1px solid var(--color-border); display: grid; place-items: center; color: var(--color-gold); transition: all 0.3s; }
.vs-card:hover .go { background: var(--color-gold); border-color: var(--color-gold); color: #0a0d12; }
.vs-empty { display: none; padding: 3rem; text-align: center; color: var(--color-text-muted); border: 1px dashed var(--color-border); }
.vs-grid.is-empty + .vs-empty { display: block; }

/* --- technology primer --------------------------------------------------- */
.vs-tech { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--color-divider); border: 1px solid var(--color-divider); }
.vs-tech-item { padding: 1.5rem; background: var(--color-bg); display: grid; gap: 0.5rem; align-content: start; }
.vs-tech-item b { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 500; font-size: var(--text-lg); }
.vs-tech-item p { font-size: var(--text-sm); color: var(--color-text-muted); }

@media (max-width: 900px) { .vs-tech { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vs-tech { grid-template-columns: 1fr; } }

/* --- catalog band -------------------------------------------------------- */
.vs-catalog { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--color-divider); background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-offset) 100%); position: relative; overflow: hidden; }
.vs-catalog::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border: 1px solid rgba(201,162,74,0.25); transform: rotate(45deg); pointer-events: none; }
.vs-catalog-cover { position: relative; box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); transform: rotate(-2deg); transition: transform 0.6s var(--ease-out); }
.vs-catalog:hover .vs-catalog-cover { transform: rotate(0deg) translateY(-4px); }
.vs-catalog-body { display: grid; gap: 1rem; position: relative; }
.vs-catalog-body .vs-hero-actions { margin-top: 0.25rem; }
@media (max-width: 760px) { .vs-catalog { grid-template-columns: 1fr; } .vs-catalog-cover { max-width: 240px; } }

/* --- CTA band ------------------------------------------------------------ */
.vs-cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(4rem, 10vw, 8rem) 0; text-align: center; }
.vs-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(0.8); }
.vs-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(10,13,18,0.82) 0%, rgba(10,13,18,0.94) 70%); }
.vs-cta .inner { display: grid; gap: 1.25rem; justify-items: center; text-shadow: var(--vs-text-shadow); }
.vs-cta .vs-hero-actions { justify-content: center; }

/* ==========================================================================
   PRODUCT DETAIL
   ========================================================================== */
.vs-crumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-text-muted); padding-top: calc(64px + 1.5rem); }
.vs-crumbs a { color: var(--color-text-muted); text-decoration: none; }
.vs-crumbs a:hover { color: var(--color-gold); }
.vs-crumbs i { font-style: normal; color: var(--color-text-faint); }
.vs-crumbs b { color: var(--color-gold); font-weight: 500; }

.vs-phero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.vs-phero-copy { display: grid; gap: 1.1rem; }
.vs-phero-copy .vs-title { max-width: 16ch; }
.vs-phero-media { position: relative; aspect-ratio: 4/3; background: #f4f5f7; border: 1px solid var(--color-divider); overflow: hidden; }
.vs-phero-media img { width: 100%; height: 100%; object-fit: contain; background: #f4f5f7; cursor: zoom-in; }
.vs-phero-media::before { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(10,13,18,0.06); pointer-events: none; z-index: 1; }
.vs-phero-media .pn { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; background: rgba(10,13,18,0.86); padding: 0.4rem 0.65rem; border-left: 2px solid var(--color-gold); }
.vs-phero-media .corner { position: absolute; top: 0.9rem; right: 0.9rem; width: 18px; height: 18px; border-top: 1px solid var(--color-gold); border-right: 1px solid var(--color-gold); z-index: 2; }
@media (max-width: 900px) { .vs-phero { grid-template-columns: 1fr; } .vs-phero-media { order: -1; } }

.vs-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: 0.5rem; }
.vs-stats .vs-stat { background: var(--color-surface); border: 1px solid var(--color-divider); padding: 0.9rem 1rem; }
.vs-stats .vs-stat b { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
@media (max-width: 480px) { .vs-stats { grid-template-columns: 1fr 1fr; } }

.vs-overview { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.vs-overview .vs-copy { font-size: var(--text-base); max-width: 68ch; color: var(--color-text); }
.vs-overview .vs-copy p { color: var(--color-text-muted); }
.vs-overview .vs-copy p:first-child { color: var(--color-text); font-size: var(--text-lg); line-height: 1.5; }
.vs-highlights { display: grid; gap: 0.6rem; border-left: 1px solid var(--color-divider); padding-left: 1.25rem; }
.vs-highlights li { position: relative; list-style: none; padding-left: 1.25rem; font-size: var(--text-sm); color: var(--color-text); line-height: 1.5; }
.vs-highlights li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border: 1px solid var(--color-gold); }
@media (max-width: 860px) { .vs-overview { grid-template-columns: 1fr; } }

.vs-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--color-divider); border: 1px solid var(--color-divider); counter-reset: feat; }
.vs-feature { position: relative; background: var(--color-bg); padding: 1.5rem 1.5rem 1.6rem; display: grid; gap: 0.6rem; align-content: start; counter-increment: feat; transition: background 0.3s; }
.vs-feature:hover { background: var(--color-surface); }
.vs-feature::before { content: counter(feat, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--color-gold); }
.vs-feature h3 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; font-size: var(--text-lg); line-height: 1.1; }
.vs-feature p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.55; }
.vs-feature p + p { margin-top: 0.4rem; }

.vs-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
@media (max-width: 900px) { .vs-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .vs-gallery { grid-template-columns: 1fr; } }
.vs-gallery figure { position: relative; margin: 0; aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--color-divider); background: #f4f5f7; cursor: zoom-in; }
.vs-gallery img { width: 100%; height: 100%; object-fit: contain; background: #f4f5f7; transition: transform 1s var(--ease-out); }
.vs-gallery figure:hover img { transform: scale(1.04); }
.vs-gallery figcaption { position: absolute; left: 0.75rem; bottom: 0.75rem; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; background: rgba(10,13,18,0.86); padding: 0.35rem 0.6rem; border-left: 2px solid var(--color-gold); }

/* specs */
.vs-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.vs-tab { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); background: transparent; border: 1px solid var(--color-border); padding: 0.6rem 0.9rem; cursor: pointer; }
.vs-tab[aria-selected="true"] { color: #0a0d12; background: var(--color-gold); border-color: var(--color-gold); }
.vs-unit-note { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 0.9rem; display: flex; gap: 0.6rem; align-items: center; }
.vs-unit-note::before { content: ""; width: 8px; height: 8px; background: var(--color-gold); }
.vs-table-wrap { overflow-x: auto; border: 1px solid var(--color-divider); -webkit-overflow-scrolling: touch; scrollbar-color: var(--color-border) transparent; }
.vs-table-wrap[hidden] { display: none; }
.vs-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 640px; font-size: var(--text-sm); }
.vs-table thead th { position: sticky; top: 0; z-index: 2; background: #161b23; color: var(--color-gold); font-family: var(--font-mono); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; text-align: left; padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--color-gold); white-space: nowrap; }
.vs-table th:first-child, .vs-table td:first-child { position: sticky; left: 0; z-index: 1; background: var(--color-surface); min-width: 210px; max-width: 260px; border-right: 1px solid var(--color-divider); }
.vs-table thead th:first-child { z-index: 3; background: #161b23; }
.vs-table td { padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--color-divider); color: var(--color-text); vertical-align: top; line-height: 1.4; }
.vs-table td:first-child, .vs-table tbody th { color: var(--color-text-muted); font-size: 0.8rem; text-align: left; font-weight: 500; }
.vs-table tbody th { padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--color-divider); vertical-align: top; line-height: 1.4; }
.vs-table tbody tr:nth-child(odd) th { background: var(--color-surface); }
.vs-table tbody tr:hover th { background: #171c25; }
.vs-table tr.pn th { color: var(--color-text-muted); }
.vs-table tbody tr:nth-child(odd) td { background: rgba(255,255,255,0.015); }
.vs-table tbody tr:nth-child(odd) td:first-child { background: var(--color-surface); }
.vs-table tbody tr:hover td { background: rgba(201,162,74,0.06); }
.vs-table tbody tr:hover td:first-child { background: #171c25; }
.vs-table tr.pn td { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--color-gold); }
.vs-table td .imp { color: var(--color-text-muted); }
.vs-table td.center { text-align: left; }
.vs-table-note { margin-top: 0.75rem; font-size: var(--text-xs); color: var(--color-text-faint); }

/* related */
.vs-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.75rem; }

/* next/prev */
.vs-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--color-divider); border: 1px solid var(--color-divider); }
.vs-pager a { display: grid; gap: 0.3rem; padding: 1.25rem 1.5rem; background: var(--color-bg); color: inherit; text-decoration: none; transition: background 0.3s; }
.vs-pager a:hover { background: var(--color-surface); }
.vs-pager a:last-child { text-align: right; }
.vs-pager a span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-text-muted); }
.vs-pager a b { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; font-weight: 500; font-size: var(--text-lg); }

/* lightbox */
.vs-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(5,7,10,0.94); display: none; place-items: center; padding: 2rem; cursor: zoom-out; }
.vs-lightbox.is-open { display: grid; }
.vs-lightbox img { max-width: min(1400px, 94vw); max-height: 88vh; width: auto; height: auto; object-fit: contain; box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); }
.vs-lightbox button { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border: 1px solid var(--color-border); background: rgba(10,13,18,0.8); color: #fff; cursor: pointer; font-size: 1.25rem; }

/* sticky quote bar on detail */
.vs-quotebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; transform: translateY(110%); transition: transform 0.5s var(--ease-out); background: rgba(10,13,18,0.92); backdrop-filter: blur(12px); border-top: 1px solid var(--color-divider); }
.vs-quotebar.is-on { transform: translateY(0); }
.vs-quotebar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.7rem; padding-bottom: 0.7rem; }
.vs-quotebar .meta { display: grid; gap: 0.1rem; min-width: 0; }
.vs-quotebar .meta span { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-gold); }
.vs-quotebar .meta b { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; font-weight: 500; font-size: var(--text-base); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .vs-quotebar .meta { display: none; } .vs-quotebar .container { justify-content: center; } }

/* --- nav active state and header on vs pages ------------------------------ */
.vs .site-header { background: rgba(10,13,18,0.72); backdrop-filter: blur(14px); }
.vs .main-nav a.is-active { color: var(--color-gold); }

/* reveal */
.vs .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); animation: none !important; }
.vs .reveal.is-visible { opacity: 1; transform: none; }
.vs .reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.vs .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.vs .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.06s; }
.vs .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.12s; }
.vs .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.18s; }
.vs .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.24s; }
.vs .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.30s; }
.vs .reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.36s; }
.vs .reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.42s; }
@media (prefers-reduced-motion: reduce) {
  .vs .reveal, .vs .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .vs-marquee-track { animation: none; }
}

/* --- spec table refinements --- */
.vs-table td[colspan] { text-align: left; color: var(--color-text); }
@media (max-width: 700px) {
  .vs-table th:first-child, .vs-table tbody th, .vs-table td:first-child { min-width: 118px; max-width: 150px; width: 150px; font-size: 0.72rem; padding-inline: 0.6rem; }
  .vs-table td { font-size: 0.8rem; padding: 0.55rem 0.7rem; }
}
