/* =============================================================
   pages/veloque.css — VELOQUE Luxury E-Commerce case study
   Shared across all 4 VELOQUE pages.
   Dark grayscale system. Same typography as the rest of the
   portfolio (Geist / Work Sans / Geist Mono — no Playfair).
   Apple-inspired spacing: generous, full-bleed, quiet.
   ============================================================= */

/* ── VELOQUE Design Tokens ──────────────────────────────────── */
:root {
  /* Surfaces */
  --vq-bg:          #000000;
  /* Lifted from #0A0A0A (≈4% white) to #141414 (≈8% white) so the
     stat tiles and other card surfaces have a perceptible step away
     from the pure-black page background without losing the dark
     editorial mood. */
  --vq-bg-soft:     #141414;
  --vq-surface:     #111111;
  --vq-surface-2:   #161616;
  --vq-surface-3:   #1C1C1C;

  /* Borders */
  --vq-border:      rgba(255, 255, 255, 0.08);
  --vq-border-2:    rgba(255, 255, 255, 0.14);
  --vq-border-strong: rgba(255, 255, 255, 0.22);

  /* Text */
  --vq-text:        #FFFFFF;
  --vq-text-soft:   #F5F5F5;
  --vq-text-mid:    #C8C8C8;
  --vq-text-muted:  #8A8A8A;
  --vq-text-dim:    #6B6B6B;

  /* Accents (white only — no gold, no purple) */
  --vq-accent:        #FFFFFF;
  --vq-accent-dim:    rgba(255, 255, 255, 0.12);
  --vq-accent-border: rgba(255, 255, 255, 0.32);

  /* Spacing (Apple-inspired) */
  --vq-section-pad:   clamp(96px, 14vh, 200px);
  --vq-page-pad-x:    clamp(24px, 8vw, 160px);
  --vq-read-max:      820px;
}

/* ── Page-level background override ─────────────────────────── */
body.veloque-page,
body.veloque-page .main {
  background: var(--vq-bg);
}

/* ── Hero — cinematic full-bleed ──────────────────────────── */
.vq-hero {
  position: relative;
  width: 100%;
  background: var(--vq-bg);
  overflow: hidden;
}

.vq-hero__image-wrap {
  position: relative;
  width: 100%;
  /* Shorter image — the title needs to land inside the first
     viewport, not after a full screen of cinema. */
  height: 55vh;
  min-height: 380px;
  overflow: hidden;
}

.vq-hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.vq-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.20) 0%,
    transparent 35%,
    rgba(0, 0, 0, 0.55) 78%,
    #000 100%
  );
  pointer-events: none;
}

.vq-hero__text {
  /* Tighter top padding so the title sits within the first viewport
     immediately after the shortened image; the bottom keeps enough
     breathing room before the case-study content begins. */
  padding: clamp(40px, 6vh, 80px) var(--vq-page-pad-x) clamp(56px, 8vh, 96px);
  background: var(--vq-bg);
  max-width: 1280px;
}

.vq-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
  margin-bottom: 24px;
}

.vq-hero__title {
  font-family: var(--font-headings);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--vq-text);
  line-height: 1.02;
  margin-bottom: 32px;
}

.vq-hero__title em {
  font-style: normal;
  color: var(--vq-text-mid);
  font-weight: 400;
}

.vq-hero__desc {
  font-family: var(--font-text);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  color: var(--vq-text-mid);
  line-height: 1.6;
  max-width: var(--vq-read-max);
}

/* ── Scroll cue — bottom-right of the hero ──────────────────
   A small "Scroll ↓" hint anchored to the bottom-right of the
   hero block. Animation runs in two layers:
   – the whole element gently fades 0.45 → 1 → 0.45,
   – the arrow nudges 6px downward and back.
   Both use ease-in-out timing so the motion is subtle, not
   distracting. Hidden when the user requests reduced motion. */
.vq-hero__scroll {
  position:       absolute;
  right:          clamp(20px, 3vw, 40px);
  bottom:         clamp(20px, 3.5vh, 40px);
  display:        inline-flex;
  align-items:    center;
  gap:            12px;
  font-family:    var(--font-mono);
  font-size:      11px;
  font-weight:    400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color:          var(--vq-text-muted);
  pointer-events: none;
  user-select:    none;
  z-index:        2;
  animation:      vq-scroll-fade 2.6s ease-in-out infinite;
}

.vq-hero__scroll-arrow {
  display:    inline-flex;
  align-items: center;
  font-size:  16px;
  color:      var(--vq-text);
  animation:  vq-scroll-nudge 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes vq-scroll-fade {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 1;    }
}

@keyframes vq-scroll-nudge {
  0%, 100% { transform: translateY(0);   }
  50%      { transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .vq-hero__scroll,
  .vq-hero__scroll-arrow { animation: none; }
}

/* ── Veloque detail wrapper ───────────────────────────────── */
.vq-detail {
  padding: clamp(64px, 10vh, 120px) var(--vq-page-pad-x) clamp(96px, 14vh, 200px);
  background: var(--vq-bg);
  max-width: 1280px;
}

/* ── Back link override ───────────────────────────────────── */
.vq-detail .project-detail__back {
  color: var(--vq-text-muted);
  margin-bottom: 32px;
}
.vq-detail .project-detail__back:hover {
  color: var(--vq-text);
}

/* ── Tags ─────────────────────────────────────────────────── */
.vq-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vq-text-soft);
  /* Dark-gray fill so the pill reads as a distinct chip against
     the pure-black page background (was transparent, almost
     invisible). Border softened since the fill now does the work. */
  background: var(--vq-bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 6px 12px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.vq-tag:hover {
  color: var(--vq-text);
  background: #1c1c1c;
  border-color: var(--vq-border-2);
}

.vq-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

/* ── Info chips ───────────────────────────────────────────── */
.vq-info-row {
  display: flex;
  flex-wrap: wrap;
  /* Tighter gap now that each chip is a framed card; the card
     padding gives them their own breathing room. */
  gap: 16px;
  margin-bottom: 80px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--vq-border);
}

.vq-info-chip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* Dark-gray frame so each metadata block stands out as a chip
     against the pure-black page background. */
  background: var(--vq-bg-soft);
  border: 1px solid var(--vq-border);
  border-radius: 12px;
  padding: 20px 24px;
  min-width: 220px;
  flex: 1 1 220px;
}

.vq-info-chip__label {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
}

.vq-info-chip__value {
  font-family: var(--font-text);
  font-size: var(--fs-15);
  font-weight: 500;
  color: var(--vq-text);
}

/* ── Chapter navigation strip ─────────────────────────────── */
.vq-chapters {
  display: flex;
  gap: 1px;
  margin-bottom: 96px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.10);
}

.vq-chapter-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 22px;
  background: #F5F0EB;
  text-decoration: none;
  transition: background 0.25s ease;
  position: relative;
}

.vq-chapter-link:hover {
  background: #EAE4DC;
}

.vq-chapter-link:hover .vq-chapter-link__title {
  color: #0A0A0A;
}

.vq-chapter-link--active {
  background: #0A0A0A;
  border: none;
}

.vq-chapter-link--active::after {
  display: none;
}

.vq-chapter-link--active .vq-chapter-link__num {
  color: #C9A96E;
}

.vq-chapter-link--active .vq-chapter-link__title {
  color: #FFFFFF;
}

.vq-chapter-link--active .vq-chapter-link__sub {
  color: rgba(255, 255, 255, 0.45);
}

.vq-chapter-link__num {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8A8A8A;
}

.vq-chapter-link__title {
  font-family: var(--font-headings);
  font-size: var(--fs-15);
  font-weight: 500;
  color: #0A0A0A;
  transition: color 0.2s;
  letter-spacing: -0.01em;
}

.vq-chapter-link__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #6B6B6B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Section primitives ───────────────────────────────────── */
.vq-section {
  margin-bottom: clamp(96px, 14vh, 180px);
}

.vq-section__label {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
  margin-bottom: 24px;
}

.vq-section__title {
  font-family: var(--font-headings);
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 600;
  color: var(--vq-text);
  line-height: 1.05;
  margin-bottom: 40px;
  letter-spacing: -0.025em;
  max-width: 980px;
}

.vq-section__title em {
  font-style: normal;
  color: var(--vq-text-muted);
  font-weight: 400;
}

.vq-section__body {
  font-family: var(--font-text);
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 400;
  color: var(--vq-text-mid);
  line-height: 1.7;
  max-width: var(--vq-read-max);
  margin-bottom: 20px;
}

.vq-section__body strong {
  color: var(--vq-text);
  font-weight: 500;
}

.vq-section__body a {
  color: var(--vq-text);
  text-decoration: underline;
  text-decoration-color: var(--vq-border-strong);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
}

.vq-section__body a:hover {
  text-decoration-color: var(--vq-text);
}

.vq-section__body em {
  font-style: italic;
  color: var(--vq-text);
}

/* Sub-heading inside a vq-section (between section title and body blocks) */
.vq-subhead {
  font-family: var(--font-headings);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  color: var(--vq-text);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-top: 56px;
  margin-bottom: 18px;
  max-width: var(--vq-read-max);
}

/* Brand analysis block — labelled prose group within vq-section */
.vq-brand-block {
  max-width: var(--vq-read-max);
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--vq-border);
}

.vq-brand-block:first-of-type {
  margin-top: 24px;
}

.vq-brand-block .vq-section__label {
  margin-bottom: 16px;
  color: var(--vq-text-mid);
}

.vq-brand-block .vq-section__body {
  margin-bottom: 14px;
}
.vq-brand-block .vq-section__body:last-child {
  margin-bottom: 0;
}

/* ── Divider ──────────────────────────────────────────────── */
.vq-divider {
  border: none;
  border-top: 1px solid var(--vq-border);
  margin: clamp(80px, 10vh, 140px) 0;
}

/* ── Stat strip ───────────────────────────────────────────── */
.vq-stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--vq-border);
  border: 1px solid var(--vq-border);
  border-radius: 12px;
  overflow: hidden;
  margin: 48px 0;
}

.vq-stat {
  background: var(--vq-bg-soft);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vq-stat__value {
  font-family: var(--font-headings);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  color: var(--vq-text);
  line-height: 1;
  letter-spacing: -0.04em;
}

.vq-stat__label {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
}

/* ── Tech innovation cards ────────────────────────────────── */
.vq-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.vq-tech-card {
  background: var(--vq-surface);
  border: 1px solid var(--vq-border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.25s;
}
.vq-tech-card:hover {
  border-color: var(--vq-border-strong);
}

.vq-tech-card__label {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
}

.vq-tech-card__title {
  font-family: var(--font-headings);
  font-size: var(--fs-20);
  font-weight: 600;
  color: var(--vq-text);
  letter-spacing: -0.01em;
}

.vq-tech-card__block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vq-tech-card__block-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vq-text-dim);
}

.vq-tech-card__block-text {
  font-family: var(--font-text);
  font-size: var(--fs-14);
  color: var(--vq-text-mid);
  line-height: 1.6;
}

.vq-tech-card__block-text--solution {
  color: var(--vq-text);
}

.vq-tech-card__research {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vq-text-mid);
  border: 1px solid var(--vq-border-2);
  border-radius: 999px;
  padding: 4px 10px;
  margin-top: 4px;
  align-self: flex-start;
}

/* ── Persona matrix table ─────────────────────────────────── */
.vq-matrix-wrap {
  overflow-x: auto;
  margin-top: 40px;
  border: 1px solid var(--vq-border);
  border-radius: 12px;
}

.vq-matrix {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-text);
  font-size: var(--fs-13);
}

.vq-matrix thead th {
  background: var(--vq-surface-2);
  color: var(--vq-text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--vq-border);
  white-space: nowrap;
}

.vq-matrix thead th:first-child {
  min-width: 180px;
}

.vq-matrix tbody tr {
  border-bottom: 1px solid var(--vq-border);
  transition: background 0.15s;
}

.vq-matrix tbody tr:last-child {
  border-bottom: none;
}

.vq-matrix tbody tr:hover {
  background: var(--vq-surface);
}

.vq-matrix tbody td {
  padding: 16px 20px;
  color: var(--vq-text-mid);
  vertical-align: middle;
}

.vq-matrix tbody td:first-child {
  color: var(--vq-text);
  font-weight: 500;
  font-size: var(--fs-14);
}

.vq-matrix td .vq-check {
  color: var(--vq-text);
  font-size: 14px;
}

.vq-matrix td .vq-dash {
  color: var(--vq-text-dim);
  font-size: 14px;
}

/* ── Color swatches ───────────────────────────────────────── */
.vq-swatch-group {
  margin-bottom: 56px;
}

.vq-swatch-group__label {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
  margin-bottom: 20px;
}

.vq-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.vq-swatch {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vq-swatch__color {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  border: 1px solid var(--vq-border);
  flex-shrink: 0;
}

.vq-swatch__name {
  font-family: var(--font-text);
  font-size: var(--fs-13);
  font-weight: 500;
  color: var(--vq-text);
}

.vq-swatch__hex {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--vq-text-muted);
  letter-spacing: 0.05em;
}

/* ── Standalone figure with caption ───────────────────────────
   Single contained image + visible caption beneath it. Use when
   an image needs an explanatory line of text instead of living
   inside a `.vq-img-pair` grid. */
.vq-figure {
  display:        flex;
  flex-direction: column;
  gap:            12px;
  margin:         32px 0;
}

.vq-figure > img,
.vq-figure > video {
  width:         100%;
  height:        auto;
  display:       block;
  border-radius: 12px;
  border:        1px solid var(--vq-border);
}

.vq-figure__caption {
  font-family:    var(--font-mono);
  font-size:      var(--fs-12);
  font-weight:    400;
  letter-spacing: 0.04em;
  line-height:    1.5;
  color:          var(--vq-text-muted);
  text-align:     left;
  margin:         0;
}

/* ── Standard image ───────────────────────────────────────── */
.vq-img {
  width: 100%;
  display: block;
  border-radius: 12px;
  margin: 48px 0;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: 1px solid var(--vq-border);
}

.vq-img--tall {
  aspect-ratio: 4/3;
}

.vq-img--wide {
  aspect-ratio: 21/9;
}

/* ── Contained image / video block ────────────────────────────
   Used to be edge-to-edge (`width: 100vw` + negative margin trick)
   in the Apple-style. We swapped to a contained block that stays
   inside the case study reading column (.vq-detail max 1280px),
   so every image holds the same proportion as the design-system
   and store-UI mockups in this case study (≈ 70-85% of the
   viewport width, never edge-to-edge).
   Aspect ratio is preserved by `width: 100%; height: auto` on the
   media, so the wrapper takes whatever height the source dictates
   — no fixed aspect ratio enforced. */
.vq-bleed {
  width:        100%;
  max-width:    100%;
  margin:       0 auto;
  display:      block;
  overflow:     hidden;
  background:   var(--vq-bg);
}

.vq-bleed img,
.vq-bleed video {
  width:      100%;
  height:     auto;
  display:    block;
  object-fit: contain;
}

/* Variant: cover-cropped, used for editorial photography. Cap the
   height so a portrait photo never blows past one viewport. */
.vq-bleed--cover img {
  object-fit: cover;
  max-height: 680px;
  width:      100%;
}

/* Variant: contained on a soft surface (product mockups, logos).
   Now that the parent block is already contained, the internal
   padding only needs to give the artwork some breathing room. */
.vq-bleed--surface {
  background: var(--vq-bg-soft);
  padding:    clamp(24px, 4vh, 56px) clamp(16px, 3vw, 48px);
}

.vq-bleed--surface img {
  max-width: 100%;
  margin:    0 auto;
}

/* Annotation block between bleed images (Apple-style centered caption) */
.vq-annotation {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(64px, 10vh, 128px) 24px;
  text-align: center;
}

.vq-annotation__num {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
  margin-bottom: 16px;
}

.vq-annotation__title {
  font-family: var(--font-headings);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: var(--vq-text);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.vq-annotation__body {
  font-family: var(--font-text);
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--vq-text-mid);
  line-height: 1.65;
}

/* ── Big quote / declaration moment (Apple-style) ─────────── */
.vq-declaration {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(96px, 14vh, 200px) 24px;
  text-align: center;
}

.vq-declaration__text {
  font-family: var(--font-headings);
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 500;
  color: var(--vq-text);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.vq-declaration__text em {
  font-style: normal;
  color: var(--vq-text-muted);
  font-weight: 400;
}

.vq-declaration__caption {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
}

/* ── Side-by-side feature split (Apple-style) ─────────────── */
.vq-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  margin: clamp(80px, 10vh, 160px) 0;
}

.vq-split--reverse { direction: rtl; }
.vq-split--reverse > * { direction: ltr; }

.vq-split__media {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--vq-bg-soft);
  border: 1px solid var(--vq-border);
}

.vq-split__media img,
.vq-split__media video {
  width: 100%;
  height: auto;
  display: block;
}

.vq-split__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vq-split__label {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
}

.vq-split__title {
  font-family: var(--font-headings);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  color: var(--vq-text);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.vq-split__body {
  font-family: var(--font-text);
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--vq-text-mid);
  line-height: 1.7;
  max-width: 520px;
}

/* ── Horizontal scroll-snap carousel (Apple-style) ────────── */
.vq-carousel-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: clamp(80px, 10vh, 160px) 0 clamp(64px, 8vh, 128px);
  background: var(--vq-bg-soft);
  border-top: 1px solid var(--vq-border);
  border-bottom: 1px solid var(--vq-border);
}

.vq-carousel-header {
  max-width: 1280px;
  margin: 0 auto 56px;
  padding: 0 var(--vq-page-pad-x);
}

.vq-carousel-header .vq-section__label,
.vq-carousel-header .vq-section__title {
  margin-bottom: 16px;
}

.vq-carousel-header .vq-section__body {
  margin-bottom: 0;
}

.vq-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--vq-page-pad-x);
  padding: 16px var(--vq-page-pad-x) 32px;
  scrollbar-width: thin;
  scrollbar-color: var(--vq-border-strong) transparent;
}

.vq-carousel::-webkit-scrollbar {
  height: 6px;
}
.vq-carousel::-webkit-scrollbar-track {
  background: transparent;
}
.vq-carousel::-webkit-scrollbar-thumb {
  background: var(--vq-border-strong);
  border-radius: 3px;
}

.vq-carousel-item {
  flex: 0 0 auto;
  width: clamp(280px, 38vw, 540px);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vq-carousel-item__media {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  background: var(--vq-surface);
  border: 1px solid var(--vq-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vq-carousel-item__media--wide {
  aspect-ratio: 16/10;
}

.vq-carousel-item__media--square {
  aspect-ratio: 1/1;
}

.vq-carousel-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vq-carousel-item__media--contain img {
  object-fit: contain;
  padding: 32px;
}

.vq-carousel-item__caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px;
}

.vq-carousel-item__label {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
}

.vq-carousel-item__title {
  font-family: var(--font-headings);
  font-size: var(--fs-16);
  font-weight: 500;
  color: var(--vq-text);
  letter-spacing: -0.01em;
}

.vq-carousel-item__sub {
  font-family: var(--font-text);
  font-size: var(--fs-13);
  color: var(--vq-text-muted);
  line-height: 1.5;
}

/* ── Platform cards ───────────────────────────────────────── */
.vq-platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.vq-platform-card {
  background: var(--vq-surface);
  border: 1px solid var(--vq-border);
  border-radius: 12px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s;
}
.vq-platform-card:hover {
  border-color: var(--vq-border-strong);
}

.vq-platform-card__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  filter: grayscale(1) brightness(2);
  opacity: 0.85;
}

.vq-platform-card__name {
  font-family: var(--font-headings);
  font-size: var(--fs-20);
  font-weight: 600;
  color: var(--vq-text);
  letter-spacing: -0.01em;
}

.vq-platform-card__role {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
}

.vq-platform-card__body {
  font-family: var(--font-text);
  font-size: var(--fs-14);
  color: var(--vq-text-mid);
  line-height: 1.65;
}

/* ── CRO numbered manifesto ───────────────────────────────── */
.vq-manifesto {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}

.vq-manifesto__item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 40px 0;
  border-bottom: 1px solid var(--vq-border);
}

.vq-manifesto__item:last-child {
  border-bottom: none;
}

.vq-manifesto__num {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  font-weight: 400;
  color: var(--vq-text-muted);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  letter-spacing: 0.1em;
  padding-top: 6px;
}

.vq-manifesto__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vq-manifesto__title {
  font-family: var(--font-headings);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600;
  color: var(--vq-text);
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.vq-manifesto__body {
  font-family: var(--font-text);
  font-size: var(--fs-15);
  color: var(--vq-text-mid);
  line-height: 1.65;
  max-width: 720px;
}

/* ── UX decisions block ───────────────────────────────────── */
.vq-decisions {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}

.vq-decision {
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--vq-border);
}

.vq-decision:last-child {
  border-bottom: none;
}

.vq-decision__num {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  color: var(--vq-text-muted);
  letter-spacing: 0.1em;
  padding-top: 4px;
}

.vq-decision__question {
  font-family: var(--font-headings);
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--vq-text);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.vq-decision__rationale {
  font-family: var(--font-text);
  font-size: var(--fs-15);
  color: var(--vq-text-mid);
  line-height: 1.65;
}

.vq-decision__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vq-text-mid);
  border: 1px solid var(--vq-border-2);
  border-radius: 999px;
  padding: 4px 10px;
  margin-top: 12px;
  align-self: flex-start;
}

/* ── Sitemap tree ─────────────────────────────────────────── */
.vq-sitemap-wrap {
  background: var(--vq-surface);
  border: 1px solid var(--vq-border);
  border-radius: 12px;
  padding: 40px;
  margin-top: 32px;
  overflow-x: auto;
}

.vq-sitemap-wrap pre {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  color: var(--vq-text-mid);
  line-height: 1.7;
  margin: 0;
  white-space: pre;
}

.vq-sitemap-wrap pre .vq-tree-highlight {
  color: var(--vq-text);
}

/* ── Packaging cards ──────────────────────────────────────── */
.vq-packaging-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.vq-packaging-card {
  background: var(--vq-surface);
  border: 1px solid var(--vq-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.vq-packaging-card:hover {
  border-color: var(--vq-border-strong);
}

.vq-packaging-card__image-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.vq-packaging-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.vq-packaging-card:hover .vq-packaging-card__image-wrap img {
  transform: scale(1.04);
}

.vq-packaging-card__body {
  padding: 24px;
}

.vq-packaging-card__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
  margin-bottom: 8px;
}

.vq-packaging-card__title {
  font-family: var(--font-headings);
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--vq-text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.vq-packaging-card__desc {
  font-family: var(--font-text);
  font-size: var(--fs-13);
  color: var(--vq-text-mid);
  line-height: 1.6;
}

/* ── Timeline / Process steps ─────────────────────────────── */
.vq-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
  border-left: 1px solid var(--vq-border-2);
  padding-left: 36px;
}

.vq-timeline__step {
  position: relative;
  padding-bottom: 48px;
}

.vq-timeline__step:last-child {
  padding-bottom: 0;
}

.vq-timeline__step::before {
  content: '';
  position: absolute;
  left: -42px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--vq-text);
  border: 2px solid var(--vq-bg);
}

.vq-timeline__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
  margin-bottom: 6px;
}

.vq-timeline__title {
  font-family: var(--font-headings);
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--vq-text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.vq-timeline__body {
  font-family: var(--font-text);
  font-size: var(--fs-14);
  color: var(--vq-text-mid);
  line-height: 1.65;
}

/* ── Strategic pillar cards ───────────────────────────────── */
.vq-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.vq-pillar {
  background: var(--vq-surface);
  border: 1px solid var(--vq-border);
  border-radius: 12px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.25s;
}
.vq-pillar:hover {
  border-color: var(--vq-border-strong);
}

.vq-pillar__num {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: 0.2em;
  color: var(--vq-text-muted);
  line-height: 1;
}

.vq-pillar__title {
  font-family: var(--font-headings);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  color: var(--vq-text);
  letter-spacing: -0.02em;
}

.vq-pillar__body {
  font-family: var(--font-text);
  font-size: var(--fs-14);
  color: var(--vq-text-mid);
  line-height: 1.7;
}

/* ── Brand mark closing block (Apple-style giant wordmark) ── */
.vq-brandmark {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: var(--vq-bg);
  padding: clamp(120px, 18vh, 220px) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  border-top: 1px solid var(--vq-border);
  border-bottom: 1px solid var(--vq-border);
}

.vq-brandmark__wordmark {
  font-family: var(--font-headings);
  font-size: clamp(72px, 14vw, 200px);
  font-weight: 600;
  color: var(--vq-text);
  letter-spacing: -0.04em;
  line-height: 1;
}

.vq-brandmark__sub {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
}

/* ── User flow table ──────────────────────────────────────── */
.vq-flow-table-wrap {
  overflow-x: auto;
  margin-top: 32px;
  border: 1px solid var(--vq-border);
  border-radius: 12px;
}

.vq-flow-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-text);
  font-size: var(--fs-13);
}

.vq-flow-table thead th {
  background: var(--vq-surface-2);
  color: var(--vq-text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--vq-border);
}

.vq-flow-table tbody tr {
  border-bottom: 1px solid var(--vq-border);
}

.vq-flow-table tbody tr:last-child {
  border-bottom: none;
}

.vq-flow-table tbody tr:hover {
  background: var(--vq-surface);
}

.vq-flow-table tbody td {
  padding: 16px 20px;
  color: var(--vq-text-mid);
  vertical-align: top;
  line-height: 1.6;
}

.vq-flow-table tbody td:first-child {
  color: var(--vq-text);
  font-weight: 500;
}

/* ── Design token display ─────────────────────────────────── */
.vq-tokens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.vq-token {
  background: var(--vq-surface);
  border: 1px solid var(--vq-border);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vq-token__name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--vq-text);
}

.vq-token__value {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--vq-text-muted);
}

/* ── CTA footer ───────────────────────────────────────────── */
.vq-cta {
  background: var(--vq-surface);
  border: 1px solid var(--vq-border);
  border-radius: 16px;
  padding: clamp(48px, 8vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-top: clamp(80px, 10vh, 160px);
  flex-wrap: wrap;
}

.vq-cta__title {
  font-family: var(--font-headings);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  color: var(--vq-text);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.vq-cta__sub {
  font-family: var(--font-text);
  font-size: var(--fs-15);
  color: var(--vq-text-mid);
  margin-top: 12px;
  max-width: 540px;
  line-height: 1.55;
}

.vq-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.vq-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-text);
  font-size: var(--fs-14);
  font-weight: 600;
  color: #000;
  background: var(--vq-text);
  border: 1px solid var(--vq-text);
  border-radius: 999px;
  padding: 14px 26px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.vq-btn-primary:hover {
  background: transparent;
  color: var(--vq-text);
}

.vq-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-text);
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--vq-text);
  background: transparent;
  border: 1px solid var(--vq-border-strong);
  border-radius: 999px;
  padding: 14px 26px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.vq-btn-secondary:hover {
  border-color: var(--vq-text);
  background: var(--vq-accent-dim);
}

/* ── Image pair grid ──────────────────────────────────────── */
.vq-img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.vq-img-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--vq-border);
  display: block;
  aspect-ratio: 4/3;
}

/* ── Quote / highlight (now subtle, no gold) ──────────────── */
.vq-highlight {
  background: transparent;
  border: none;
  border-left: 2px solid var(--vq-text);
  padding: 8px 0 8px 28px;
  margin: 40px 0;
  font-family: var(--font-headings);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  font-style: normal;
  color: var(--vq-text);
  line-height: 1.35;
  letter-spacing: -0.015em;
  max-width: 820px;
}

/* ── Sub-page back link context ───────────────────────────── */
.vq-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
  text-decoration: none;
  margin-bottom: 56px;
  transition: color 0.2s;
}

.vq-breadcrumb:hover {
  color: var(--vq-text);
}

.vq-breadcrumb i {
  font-size: 14px;
}

/* ── Brand book index (table-of-contents style) ───────────── */
.vq-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--vq-border);
  border: 1px solid var(--vq-border);
  border-radius: 12px;
  overflow: hidden;
  margin: 48px 0;
}

.vq-index__item {
  background: var(--vq-bg-soft);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  transition: background 0.2s;
}
.vq-index__item:hover {
  background: var(--vq-surface-2);
}

.vq-index__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
}

.vq-index__title {
  font-family: var(--font-headings);
  font-size: var(--fs-15);
  font-weight: 500;
  color: var(--vq-text);
  letter-spacing: -0.01em;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .vq-decision {
    grid-template-columns: 48px 1fr;
  }

  .vq-decision__rationale {
    grid-column: 2;
  }

  .vq-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .vq-split--reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .vq-hero__image-wrap {
    height: 64vh;
    min-height: 380px;
  }

  .vq-chapters {
    flex-direction: column;
  }

  .vq-chapter-link--active::after {
    display: none;
  }

  .vq-stat-strip {
    grid-template-columns: 1fr 1fr;
  }

  .vq-tech-grid,
  .vq-platform-grid,
  .vq-pillars {
    grid-template-columns: 1fr;
  }

  .vq-decision {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .vq-decision__num {
    display: none;
  }

  .vq-img-pair {
    grid-template-columns: 1fr;
  }

  .vq-cta {
    padding: 40px 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .vq-manifesto__item {
    gap: 20px;
  }

  .vq-manifesto__num {
    width: 36px;
  }

  .vq-info-row {
    gap: 32px;
  }

  .vq-bleed--surface {
    padding: 40px 16px;
  }

  .vq-carousel-item {
    width: 78vw;
  }
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .vq-packaging-card:hover .vq-packaging-card__image-wrap img {
    transform: none;
  }
}

/* =============================================================
   UX-UI page — scoped components (D1–D6 + supporting blocks)
   These rules are used ONLY by /projects/veloque/ux-ui.
   Gold accent token is local to this page section.
   ============================================================= */

/* Local gold accent — already echoed in chapter active state */
:root {
  --vq-gold:        #C9A96E;
  --vq-gold-soft:   rgba(201, 169, 110, 0.18);
  --vq-gold-dim:    rgba(201, 169, 110, 0.45);
}

/* Numbered editorial list (Sections 04, 10) — gold numerals */
.vq-numbered {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vq-numbered__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--vq-border);
}

.vq-numbered__item:last-child { border-bottom: none; }

.vq-numbered__num {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: 0.18em;
  color: var(--vq-gold);
  padding-top: 4px;
}

.vq-numbered__body {
  font-family: var(--font-text);
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--vq-text-mid);
  line-height: 1.65;
}

.vq-numbered__body strong {
  color: var(--vq-text);
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-headings);
  font-size: clamp(17px, 1.3vw, 20px);
  letter-spacing: -0.01em;
}

/* Eight-takeaway grid (Section 02) */
.vq-takeaway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.vq-takeaway {
  background: var(--vq-surface);
  border: 1px solid var(--vq-border);
  border-top: 1px solid var(--vq-gold-dim);
  border-radius: 12px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s, transform 0.25s;
}

.vq-takeaway:hover {
  border-color: var(--vq-border-strong);
  border-top-color: var(--vq-gold);
}

.vq-takeaway__num {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vq-gold);
}

.vq-takeaway__title {
  font-family: var(--font-headings);
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--vq-text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.vq-takeaway__finding {
  font-family: var(--font-text);
  font-size: var(--fs-14);
  color: var(--vq-text-mid);
  line-height: 1.65;
}

.vq-takeaway__response {
  font-family: var(--font-text);
  font-size: var(--fs-14);
  color: var(--vq-text-soft);
  line-height: 1.65;
  padding-top: 12px;
  border-top: 1px solid var(--vq-border);
}

.vq-takeaway__response::before {
  content: '→ ';
  color: var(--vq-gold);
  font-weight: 600;
}

@media (max-width: 768px) {
  .vq-takeaway-grid { grid-template-columns: 1fr; }
}

/* ── D1 — Brand Benchmarking Matrix ─────────────────────────── */
.vq-bench {
  margin-top: 48px;
  border: 1px solid var(--vq-border);
  border-radius: 16px;
  background: var(--vq-bg-soft);
  overflow: hidden;
}

.vq-bench__head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--vq-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.vq-bench__title {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
}

.vq-bench__hint {
  font-family: var(--font-text);
  font-size: var(--fs-13);
  color: var(--vq-text-dim);
}

.vq-bench__plot {
  position: relative;
  aspect-ratio: 16 / 11;
  padding: 56px 80px 80px 80px;
}

.vq-bench__grid {
  position: absolute;
  inset: 56px 80px 80px 80px;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  background:
    linear-gradient(to right, transparent 49.6%, rgba(255,255,255,0.06) 49.7%, rgba(255,255,255,0.06) 50.3%, transparent 50.4%),
    linear-gradient(to bottom, transparent 49.6%, rgba(255,255,255,0.06) 49.7%, rgba(255,255,255,0.06) 50.3%, transparent 50.4%);
}

.vq-bench__axis {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
  pointer-events: none;
}

.vq-bench__axis--x-left  { bottom: 36px; left: 80px; }
.vq-bench__axis--x-right { bottom: 36px; right: 80px; }
.vq-bench__axis--y-top   { top: 22px; left: 50%; transform: translateX(-50%); }
.vq-bench__axis--y-bot   { bottom: 36px; left: 50%; transform: translateX(-50%); }
.vq-bench__axis--x-label { bottom: 10px; left: 50%; transform: translateX(-50%); color: var(--vq-text-dim); letter-spacing: 0.32em; }
.vq-bench__axis--y-label {
  top: 50%;
  left: 10px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  color: var(--vq-text-dim);
  letter-spacing: 0.32em;
  white-space: nowrap;
}

.vq-bench__nodes {
  position: absolute;
  inset: 56px 80px 80px 80px;
}

.vq-bench__node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  background: var(--vq-surface);
  border: 1px solid var(--vq-border-2);
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: var(--fs-13);
  font-weight: 500;
  color: var(--vq-text-mid);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, z-index 0s;
  z-index: 2;
}

.vq-bench__node::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vq-text-mid);
  flex-shrink: 0;
  transition: background 0.2s, box-shadow 0.2s;
}

.vq-bench__node:hover,
.vq-bench__node[aria-expanded="true"],
.vq-bench__node:focus-visible {
  background: var(--vq-bg);
  border-color: var(--vq-border-strong);
  color: var(--vq-text);
  z-index: 5;
  outline: none;
}

.vq-bench__node--gold {
  border-color: var(--vq-gold-dim);
  color: var(--vq-text);
  background: rgba(201, 169, 110, 0.06);
}
.vq-bench__node--gold::before {
  background: var(--vq-gold);
  box-shadow: 0 0 0 4px var(--vq-gold-soft);
}
.vq-bench__node--gold:hover,
.vq-bench__node--gold[aria-expanded="true"] {
  border-color: var(--vq-gold);
}

.vq-bench__card {
  position: absolute;
  inset: auto auto 24px 24px;
  max-width: min(420px, calc(100% - 48px));
  background: var(--vq-surface);
  border: 1px solid var(--vq-border-2);
  border-radius: 12px;
  padding: 22px 24px;
  z-index: 6;
  display: none;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.vq-bench__card.is-open { display: block; }

.vq-bench__card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vq-gold);
  margin-bottom: 8px;
}

.vq-bench__card-name {
  font-family: var(--font-headings);
  font-size: var(--fs-20);
  font-weight: 600;
  color: var(--vq-text);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.vq-bench__card-body {
  font-family: var(--font-text);
  font-size: var(--fs-14);
  color: var(--vq-text-mid);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .vq-bench__plot {
    aspect-ratio: 1 / 1.1;
    padding: 48px 28px 64px 48px;
  }
  .vq-bench__grid,
  .vq-bench__nodes {
    inset: 48px 28px 64px 48px;
  }
  .vq-bench__axis--x-left  { left: 48px; bottom: 28px; }
  .vq-bench__axis--x-right { right: 28px; bottom: 28px; }
  .vq-bench__axis--y-label { left: 6px; }
  .vq-bench__node { font-size: 11px; padding: 4px 10px 4px 6px; }
  .vq-bench__card { left: 12px; right: 12px; max-width: none; }
}

/* ── D2 — Wireframe Testing Slider ──────────────────────────── */
.vq-wf {
  margin-top: 48px;
}

.vq-wf__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.vq-wf__tab {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
  background: transparent;
  border: 1px solid var(--vq-border-2);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.vq-wf__tab:hover { color: var(--vq-text); border-color: var(--vq-border-strong); }

.vq-wf__tab.is-active {
  color: #0A0A0A;
  background: var(--vq-text);
  border-color: var(--vq-text);
}

.vq-wf__tab--win.is-active {
  color: #0A0A0A;
  background: var(--vq-gold);
  border-color: var(--vq-gold);
}

.vq-wf__stage {
  position: relative;
  background: var(--vq-bg-soft);
  border: 1px solid var(--vq-border);
  border-radius: 16px;
  overflow: hidden;
}

.vq-wf__panel {
  display: none;
  padding: 28px;
}

.vq-wf__panel.is-active { display: block; }

.vq-wf__panel--win { border-top: 2px solid var(--vq-gold); padding-top: 26px; }

.vq-wf__media {
  position: relative;
  background: var(--vq-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--vq-border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.vq-wf__media img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 70vh;
  object-fit: contain;
}

.vq-wf__panel--win .vq-wf__media {
  border-color: var(--vq-gold-dim);
  box-shadow: 0 0 0 1px var(--vq-gold-soft);
}

.vq-wf__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0A0A0A;
  background: var(--vq-gold);
  padding: 8px 14px;
  border-radius: 999px;
  z-index: 2;
}

.vq-wf__caption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.vq-wf__caption-name {
  font-family: var(--font-headings);
  font-size: 18px;
  font-weight: 600;
  color: var(--vq-text);
  letter-spacing: -0.01em;
}

.vq-wf__caption-sub {
  font-family: var(--font-text);
  font-size: var(--fs-13);
  color: var(--vq-text-muted);
  margin-top: 4px;
  max-width: 480px;
}

.vq-wf__pref {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
}

.vq-wf__pref strong {
  color: var(--vq-text);
  font-weight: 600;
}

.vq-wf__panel--win .vq-wf__pref strong {
  color: var(--vq-gold);
}

/* ── D3 — Collapsible Sitemap Tree ──────────────────────────── */
.vq-tree {
  margin-top: 32px;
  background: var(--vq-surface);
  border: 1px solid var(--vq-border);
  border-radius: 12px;
  padding: 28px clamp(20px, 4vw, 40px);
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  color: var(--vq-text-mid);
  overflow-x: auto;
}

.vq-tree__root {
  font-family: var(--font-headings);
  font-size: 18px;
  font-weight: 600;
  color: var(--vq-text);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.vq-tree__list,
.vq-tree__sublist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vq-tree__sublist {
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid var(--vq-gold-dim);
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.2s ease, margin 0.3s, padding 0.3s;
}

.vq-tree__node[aria-expanded="false"] > .vq-tree__sublist {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.vq-tree__node[aria-expanded="true"] > .vq-tree__sublist {
  max-height: 1200px;
  opacity: 1;
  margin-top: 6px;
  margin-bottom: 8px;
}

.vq-tree__node {
  margin: 6px 0;
  position: relative;
}

.vq-tree__row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 0;
  cursor: default;
  position: relative;
}

.vq-tree__node--toggle > .vq-tree__row {
  cursor: pointer;
  padding-right: 4px;
}

.vq-tree__node--toggle > .vq-tree__row::before {
  content: '+';
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--vq-gold-dim);
  border-radius: 4px;
  color: var(--vq-gold);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.vq-tree__node--toggle[aria-expanded="true"] > .vq-tree__row::before {
  content: '−';
  background: var(--vq-gold);
  color: #0A0A0A;
  border-color: var(--vq-gold);
}

.vq-tree__node--toggle > .vq-tree__row:hover {
  color: var(--vq-text);
}

.vq-tree__name {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: 0.04em;
  color: inherit;
}

.vq-tree__node--root > .vq-tree__row > .vq-tree__name {
  color: var(--vq-text);
  font-weight: 500;
}

.vq-tree__why {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--font-text);
  font-size: var(--fs-12);
  color: var(--vq-text-dim);
  letter-spacing: 0;
  font-style: italic;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}

.vq-tree__node:hover > .vq-tree__row > .vq-tree__why,
.vq-tree__node:focus-within > .vq-tree__row > .vq-tree__why {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .vq-tree__why { display: none; }
}

/* ── D4 — Platform Architecture Diagram ─────────────────────── */
.vq-arch {
  margin-top: 48px;
  background: var(--vq-bg-soft);
  border: 1px solid var(--vq-border);
  border-radius: 16px;
  padding: clamp(32px, 6vw, 64px);
  position: relative;
  overflow: hidden;
}

.vq-arch__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.vq-arch__node {
  background: var(--vq-surface);
  border: 1px solid var(--vq-border-2);
  border-radius: 12px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}

.vq-arch__node--source { border-top: 2px solid var(--vq-gold); }
.vq-arch__node--frontend { border-top: 2px solid var(--vq-text); }
.vq-arch__node--backend  { border-top: 2px solid var(--vq-text-mid); }
.vq-arch__node--app      { border-top: 2px solid var(--vq-gold-dim); }

.vq-arch__node:hover { border-color: var(--vq-border-strong); transform: translateY(-2px); }

.vq-arch__role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vq-gold);
}

.vq-arch__name {
  font-family: var(--font-headings);
  font-size: 18px;
  font-weight: 600;
  color: var(--vq-text);
  letter-spacing: -0.01em;
}

.vq-arch__purpose {
  font-family: var(--font-text);
  font-size: var(--fs-13);
  color: var(--vq-text-mid);
  line-height: 1.55;
}

.vq-arch__limit {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vq-text-dim);
  padding-top: 10px;
  border-top: 1px solid var(--vq-border);
}

.vq-arch__limit::before {
  content: '⚠ ';
  color: var(--vq-gold);
}

/* Animated CSS pulse connectors between cards */
.vq-arch__flow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.vq-arch__flow svg {
  width: 100%;
  height: 100%;
  display: block;
}

.vq-arch__flow path {
  fill: none;
  stroke: var(--vq-gold-dim);
  stroke-width: 1.2;
  stroke-dasharray: 4 8;
  animation: vq-arch-flow 3s linear infinite;
}

@keyframes vq-arch-flow {
  to { stroke-dashoffset: -24; }
}

@media (max-width: 1100px) {
  .vq-arch__grid { grid-template-columns: 1fr 1fr; }
  .vq-arch__flow { display: none; }
}

@media (max-width: 600px) {
  .vq-arch__grid { grid-template-columns: 1fr; }
}

/* ── D5 — Annotated UI Walkthrough ──────────────────────────── */
.vq-walk {
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 10vh, 120px);
  margin-top: 56px;
}

.vq-walk__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vq-walk__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.vq-walk__title-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 720px;
}

.vq-walk__num {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--vq-gold);
}

.vq-walk__title {
  font-family: var(--font-headings);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  color: var(--vq-text);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.vq-walk__caption {
  font-family: var(--font-text);
  font-size: var(--fs-15);
  color: var(--vq-text-mid);
  line-height: 1.65;
  max-width: 720px;
}

.vq-walk__toggle {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vq-text);
  background: transparent;
  border: 1px solid var(--vq-border-strong);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.vq-walk__toggle:hover { border-color: var(--vq-gold); color: var(--vq-gold); }

.vq-walk__toggle[aria-pressed="true"] {
  background: var(--vq-gold);
  border-color: var(--vq-gold);
  color: #0A0A0A;
}

.vq-walk__media-wrap {
  position: relative;
  background: var(--vq-bg-soft);
  border: 1px solid var(--vq-border);
  border-radius: 16px;
  overflow: hidden;
}

.vq-walk__media-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.vq-walk__pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vq-walk__item.is-on .vq-walk__pins { opacity: 1; pointer-events: auto; }

.vq-walk__pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid var(--vq-gold);
  color: var(--vq-text);
  font-family: var(--font-text);
  font-size: 12px;
  line-height: 1.4;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  max-width: 280px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.vq-walk__pin-num {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--vq-gold);
  color: #0A0A0A;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.vq-walk__notes {
  display: none;
  margin-top: 8px;
  padding: 0;
  list-style: none;
}

.vq-walk__notes li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--vq-border);
  font-family: var(--font-text);
  font-size: var(--fs-14);
  color: var(--vq-text-mid);
  line-height: 1.6;
}

.vq-walk__notes li:last-child { border-bottom: none; }

.vq-walk__notes li::before {
  content: counter(walk-note);
  counter-increment: walk-note;
  display: inline-flex;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--vq-gold);
  color: #0A0A0A;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.vq-walk__notes { counter-reset: walk-note; }

@media (max-width: 768px) {
  .vq-walk__pins { display: none; }
  .vq-walk__notes { display: block; }
  .vq-walk__toggle { display: none; }
}

/* ── D6 — Information Hierarchy Demo ────────────────────────── */
.vq-hier {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--vq-bg-soft);
  border: 1px solid var(--vq-border);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 48px);
}

.vq-hier__card {
  background: var(--vq-surface);
  border: 1px solid var(--vq-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 360px;
}

.vq-hier__product {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1A1A1A 0%, #232323 100%);
  border-radius: 8px;
  border: 1px solid var(--vq-border);
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.vq-hier__product::after {
  content: '';
  position: absolute;
  inset: 24%;
  background: radial-gradient(circle at 30% 30%, rgba(201, 169, 110, 0.12), transparent 60%);
  border-radius: 50%;
}

.vq-hier__name {
  font-family: var(--font-headings);
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--vq-text);
  letter-spacing: -0.01em;
}

.vq-hier__units {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.vq-hier__unit {
  font-family: var(--font-text);
  font-size: var(--fs-13);
  color: var(--vq-text-mid);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px solid var(--vq-border);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s;
}

.vq-hier__unit.is-on { opacity: 1; transform: none; }
.vq-hier__unit.is-overload { color: var(--vq-gold); }

.vq-hier__unit-label { color: var(--vq-text); font-weight: 500; }

.vq-hier__controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vq-hier__readout {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.vq-hier__readout-num {
  font-family: var(--font-headings);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 600;
  color: var(--vq-text);
  letter-spacing: -0.04em;
  line-height: 1;
}

.vq-hier__readout-label {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vq-text-muted);
}

.vq-hier__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--vq-border-2);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.vq-hier__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--vq-gold);
  border: 2px solid var(--vq-bg);
  box-shadow: 0 0 0 1px var(--vq-gold);
  cursor: pointer;
  transition: transform 0.15s;
}

.vq-hier__slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--vq-gold);
  border: 2px solid var(--vq-bg);
  box-shadow: 0 0 0 1px var(--vq-gold);
  cursor: pointer;
}

.vq-hier__slider:active::-webkit-slider-thumb { transform: scale(1.1); }

.vq-hier__scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--vq-text-dim);
  margin-top: -8px;
}

.vq-hier__callout {
  font-family: var(--font-text);
  font-size: var(--fs-14);
  color: var(--vq-text-mid);
  line-height: 1.6;
  border-left: 2px solid var(--vq-gold);
  padding: 4px 0 4px 18px;
  min-height: 64px;
  transition: color 0.25s;
}

.vq-hier__callout.is-overload { color: var(--vq-text); }

/* ── E-commerce shop card variant ────────────────────────────
   Light-neutral surface so the card reads like a real Veloque
   product card. Image at the top, name + price highlighted with
   editorial weight, then progressive specs, ending in a Buy /
   Cart / Favourites action row that only appears when the slider
   hits its max value. */
.vq-hier__card--shop {
  background:    #F2F1F0;          /* brand "Light luxury Neutals" */
  color:         #181818;
  border:        1px solid rgba(0, 0, 0, 0.08);
  padding:       0;                /* image goes edge-to-edge */
  gap:           0;
  overflow:      hidden;
  min-height:    0;
}

.vq-hier__media {
  width:         100%;
  aspect-ratio:  4 / 3;
  overflow:      hidden;
  background:    #E8E6E3;
}
.vq-hier__media img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
}

.vq-hier__body {
  padding:        24px 24px 28px;
  display:        flex;
  flex-direction: column;
}

/* All progressively-revealed elements share the same hidden-by-
   default treatment; JS adds `.is-on` to reveal in order. */
.vq-hier__hl-name,
.vq-hier__hl-price,
.vq-hier__hl-desc,
.vq-hier__spec,
.vq-hier__buy {
  opacity:    0;
  transform:  translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s;
}
.vq-hier__hl-name.is-on,
.vq-hier__hl-price.is-on,
.vq-hier__hl-desc.is-on,
.vq-hier__spec.is-on,
.vq-hier__buy.is-on { opacity: 1; transform: none; }

/* Overload colour cue carries over from the original spec rule */
.vq-hier__hl-name.is-overload,
.vq-hier__hl-price.is-overload,
.vq-hier__hl-desc.is-overload,
.vq-hier__spec.is-overload,
.vq-hier__buy.is-overload { color: var(--vq-gold); }

/* Hero typography for name + price: bigger, semibold, high
   contrast against the light card surface. */
.vq-hier__hl-name {
  font-family:    var(--font-headings);
  font-size:      22px;
  font-weight:    600;
  letter-spacing: -0.01em;
  color:          #181818;
  margin:         0;
}

.vq-hier__hl-price {
  font-family:    var(--font-headings);
  font-size:      20px;
  font-weight:    600;
  color:          #181818;
  margin:         6px 0 0;
  display:        flex;
  align-items:    baseline;
  gap:            12px;
}
.vq-hier__hl-price-amount {
  letter-spacing: -0.01em;
}
.vq-hier__hl-price-tag {
  font-family:    var(--font-mono);
  font-size:      10px;
  font-weight:    400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color:          #6B6B6B;
}

.vq-hier__hl-desc {
  font-family: var(--font-text);
  font-size:   14px;
  line-height: 1.55;
  color:       #3B3B3B;
  margin:      16px 0 0;
}

/* Specs — quiet supporting info */
.vq-hier__specs {
  list-style:     none;
  margin:         18px 0 0;
  padding:        0;
  display:        flex;
  flex-direction: column;
}
.vq-hier__spec {
  font-family:     var(--font-text);
  font-size:       13px;
  display:         flex;
  justify-content: space-between;
  gap:             12px;
  padding:         9px 0;
  border-bottom:   1px solid rgba(0, 0, 0, 0.07);
}
.vq-hier__spec-label { color: #6B6B6B; font-weight: 400; }
.vq-hier__spec-value { color: #181818; font-weight: 500; }

/* Action row — only revealed when the slider hits its max value
   (the 12th unit). Primary buy button flexes to fill, two icon
   buttons stay square next to it. */
.vq-hier__buy {
  display:    flex;
  gap:        8px;
  margin-top: 22px;
}
.vq-hier__buy-btn {
  flex:           1;
  height:         48px;
  background:     #181818;
  color:          #FAFAFA;
  border:         none;
  border-radius:  6px;
  font-family:    var(--font-text);
  font-size:      14px;
  font-weight:    600;
  letter-spacing: 0.04em;
  cursor:         pointer;
  transition:     background 0.2s, transform 0.15s;
}
.vq-hier__buy-btn:hover  { background: #63103d; }      /* brand burdeos */
.vq-hier__buy-btn:active { transform: translateY(1px); }

.vq-hier__icon-btn {
  width:           48px;
  height:          48px;
  flex-shrink:     0;
  background:      transparent;
  border:          1px solid rgba(0, 0, 0, 0.18);
  border-radius:   6px;
  color:           #181818;
  cursor:          pointer;
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  font-size:       18px;
  transition:      background 0.2s, border-color 0.2s;
}
.vq-hier__icon-btn:hover {
  background:   rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.32);
}
.vq-hier__callout strong { color: var(--vq-gold); font-weight: 600; }

@media (max-width: 900px) {
  .vq-hier { grid-template-columns: 1fr; }
}

/* ── Decisions ↔ source table (Section 11) ──────────────────── */
.vq-source-table-wrap {
  overflow-x: auto;
  margin-top: 40px;
  border: 1px solid var(--vq-border);
  border-radius: 12px;
}

.vq-source-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-text);
  font-size: var(--fs-14);
  min-width: 720px;
}

.vq-source-table thead th {
  background: var(--vq-surface-2);
  color: var(--vq-text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--vq-border);
  white-space: nowrap;
}

.vq-source-table tbody tr {
  border-bottom: 1px solid var(--vq-border);
  transition: background 0.15s;
}

.vq-source-table tbody tr:last-child { border-bottom: none; }
.vq-source-table tbody tr:hover { background: var(--vq-surface); }

.vq-source-table tbody td {
  padding: 18px 22px;
  color: var(--vq-text-mid);
  vertical-align: top;
  line-height: 1.6;
}

.vq-source-table tbody td:first-child {
  color: var(--vq-text);
  font-weight: 500;
  font-family: var(--font-headings);
  letter-spacing: -0.005em;
  width: 32%;
}

.vq-source-table tbody td:last-child {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vq-gold);
  white-space: nowrap;
  width: 22%;
}

/* ── Two-column intro / split (Sections 03, 06, 12) ─────────── */
.vq-twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  margin-top: 32px;
  align-items: start;
}

.vq-twocol > * { max-width: none; }

@media (max-width: 900px) {
  .vq-twocol { grid-template-columns: 1fr; gap: 24px; }
}

.vq-twocol__col-title {
  font-family: var(--font-headings);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  color: var(--vq-text);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

/* Inline call-out button (Framer prototype) */
.vq-prototype-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0A0A0A;
  background: var(--vq-gold);
  border-radius: 999px;
  padding: 12px 22px;
  text-decoration: none !important;
  border: 1px solid var(--vq-gold);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  margin-top: 20px;
}

.vq-prototype-link:hover {
  background: transparent;
  color: var(--vq-gold);
}

.vq-prototype-link i { font-size: 14px; }

/* Token list (Section 07) */
.vq-token-list {
  background: var(--vq-surface);
  border: 1px solid var(--vq-border);
  border-radius: 12px;
  padding: 28px clamp(20px, 3vw, 36px);
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  color: var(--vq-text-mid);
  line-height: 1.85;
  white-space: pre;
  overflow-x: auto;
}

.vq-token-list strong {
  color: var(--vq-gold);
  font-weight: 500;
}

/* Pull quote (Section 02 / 04 / 12) */
.vq-pull {
  font-family: var(--font-headings);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  color: var(--vq-text);
  letter-spacing: -0.015em;
  line-height: 1.3;
  border-left: 2px solid var(--vq-gold);
  padding: 8px 0 8px 28px;
  margin: 56px 0;
  max-width: 920px;
  font-style: italic;
}

.vq-pull em {
  font-style: italic;
  color: var(--vq-text-mid);
  font-weight: 400;
}
