/* ──────────────────────────────────────────────────────────────────────
   DIB articles — shared styles for Articles.html (index) and Article.html (reader).
   Mirrors index.html tokens exactly (nav-bg values synced).
   ────────────────────────────────────────────────────────────────────── */

:root {
  --display: 'Sora', system-ui, sans-serif;
  --body:    'Inter', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  --accent:      #F0EEE9;
  --accent-dim:  rgba(240, 238, 233, 0.18);
  --accent-glow: rgba(240, 238, 233, 0.55);
  --accent-soft: rgba(240, 238, 233, 0.08);

  --bg:             #05060a;
  --bg-2:           #0a0d14;
  --bg-3:           #11151f;
  --line:           rgba(255, 255, 255, 0.08);
  --line-strong:    rgba(255, 255, 255, 0.16);
  --fg:             #f1f3f8;
  --fg-dim:         #a3a8b5;
  --fg-faint:       #6b7180;
  --nav-bg:         rgba(5, 6, 10, 0.55);
  --menu-bg:        rgba(10, 13, 20, 0.95);
  --btn-primary-fg: #000;
  --secondary-glow: rgba(120, 80, 255, 0.06);

  /* ── Modular type scale ─────────────────────────────── */
  --text-caption: 12.8px; --text-caption-lh: 1.4;  --text-caption-wt: 500;
  --text-small:   14px;   --text-small-lh:   1.55; --text-small-wt:   400;
  --text-body:    16px;   --text-body-lh:    1.6;  --text-body-wt:    400;
  --text-lead:    20px;   --text-lead-lh:    1.55; --text-lead-wt:    400;
  --text-h3:      25px;   --text-h3-lh:      1.25; --text-h3-wt:      500;
  --text-h2:      31px;   --text-h2-lh:      1.2;  --text-h2-wt:      500;
  --text-h1:      48px;   --text-h1-lh:      1.1;  --text-h1-wt:      500;
  --text-display: clamp(56px, 8vw, 92px); --text-display-lh: 1.05; --text-display-wt: 500;
}

[data-theme="light"] {
  --accent:      #272E3D;
  --accent-dim:  rgba(39, 46, 61, 0.18);
  --accent-glow: rgba(39, 46, 61, 0.55);
  --accent-soft: rgba(39, 46, 61, 0.08);
  --bg:             #f6f7fb;
  --bg-2:           #ffffff;
  --bg-3:           #eef0f6;
  --line:           rgba(10, 12, 24, 0.08);
  --line-strong:    rgba(10, 12, 24, 0.18);
  --fg:             #0c0e18;
  --fg-dim:         #4a5060;
  --fg-faint:       #8a90a0;
  --nav-bg:         rgba(246, 247, 251, 0.7);
  --menu-bg:        rgba(255, 255, 255, 0.96);
  --btn-primary-fg: #fff;
  --secondary-glow: rgba(120, 80, 255, 0.04);
}

/* ── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}
body {}
a { color: inherit; text-decoration: none; }
.display { font-family: var(--display); letter-spacing: -0.02em; }
.mono    { font-family: var(--mono); }
::selection { background: var(--accent-dim); color: var(--fg); }

/* ── Reveal-on-scroll ──────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.2,0.7,0.2,1),
              transform 0.8s cubic-bezier(0.2,0.7,0.2,1);
}
.reveal.in      { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.06s; }
.reveal.delay-2 { transition-delay: 0.12s; }
.reveal.delay-3 { transition-delay: 0.18s; }
.reveal.delay-4 { transition-delay: 0.24s; }
.reveal.delay-5 { transition-delay: 0.30s; }
.reveal.delay-6 { transition-delay: 0.36s; }
.motion-low  .reveal { transition-duration: 0.4s; transform: translateY(8px); }
.motion-high .reveal { transition-duration: 1.0s; transform: translateY(32px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Nav ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: var(--nav-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 20px;
  letter-spacing: 0.02em; white-space: nowrap;
}
.nav__mark { height: 24px; width: auto; display: flex; align-items: center; }
.nav__logo-img { height: 24px; width: auto; display: block; }
[data-theme="light"] .nav__logo-img { filter: invert(1); }
.nav__links { display: flex; gap: 28px; font-size: 13px; color: var(--fg-dim); }
.nav__links a { transition: color 0.18s ease; }
.nav__links a:hover { color: var(--fg); }
.nav__links .nav__links-current { color: var(--accent); font-weight: 500; cursor: default; }
.nav__right { display: flex; align-items: center; gap: 8px; }
.nav__pop { position: relative; }

.nav__icon-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--fg-dim);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  cursor: pointer; transition: all 0.18s ease;
}
.nav__icon-btn:hover { color: var(--fg); border-color: var(--accent); }
.nav__icon-btn[aria-expanded="true"] { color: var(--accent); border-color: var(--accent); }
.nav__color-dot {
  width: 14px; height: 14px; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 0 8px var(--accent-glow);
}
.nav__theme-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.nav__theme-icon.is-light { color: #ffd66b; }
.nav__theme-icon.is-dark  { color: #ffce47; }
.nav__icon-btn--appear:hover .nav__theme-icon { transform: rotate(45deg) scale(1.1); }

.nav__cta {
  font-family: var(--display); font-size: 13px; font-weight: 600;
  padding: 9px 18px;
  background: var(--accent); border: 1px solid var(--accent); border-radius: 999px;
  color: var(--btn-primary-fg);
  transition: all 0.2s ease; cursor: pointer;
  white-space: nowrap;
}
.nav__cta:hover { box-shadow: 0 0 24px var(--accent-glow); transform: translateY(-1px); }

@keyframes navmenu {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav__menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 180px; padding: 6px;
  background: var(--menu-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong); border-radius: 12px;
  display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  animation: navmenu 0.18s ease;
  z-index: 60;
}
.nav__menu--appear { min-width: 220px; padding: 12px; display: block; }
.nav__flag { font-size: 14px; line-height: 1; }
.nav__code { font-weight: 600; }
.nav__menu-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border: 0; background: transparent;
  color: var(--fg-dim); cursor: pointer; border-radius: 6px;
  font-family: var(--body); font-size: 13px; text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav__menu-item:hover { background: rgba(255,255,255,0.05); color: var(--fg); }
.nav__menu-item.on    { color: var(--accent); background: var(--accent-soft); }
.nav__menu-code {
  margin-left: auto; font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.12em; color: var(--fg-faint);
}
.nav__theme-row {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 10px; margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.nav__appear-label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-faint);
}
.nav__theme-btns { display: flex; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; }
.nav__theme-opt {
  padding: 4px 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  background: transparent; border: 0; color: var(--fg-dim); cursor: pointer;
  transition: all 0.15s ease;
}
.nav__theme-opt.on { background: var(--accent); color: var(--bg); font-weight: 600; }
.nav__theme-opt:not(.on):hover { color: var(--fg); background: rgba(255,255,255,0.06); }
.nav__swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 10px; }
.nav__swatch {
  aspect-ratio: 1; border-radius: 50%; border: 0;
  cursor: pointer; padding: 0; transition: transform 0.15s ease;
}
.nav__swatch:hover { transform: scale(1.1); }
.nav__custom {
  display: flex; align-items: center; gap: 8px; padding: 8px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; color: var(--fg-dim); cursor: pointer;
}
.nav__custom input[type="color"] {
  width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 8px;
  background: transparent; cursor: pointer; padding: 0;
}
.nav__custom input[type="color"]::-webkit-color-swatch-wrapper { padding: 2px; }
.nav__custom input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 6px; }
.nav__custom-hex { margin-left: auto; text-transform: uppercase; letter-spacing: 0.1em; }
.nav__glow-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 2px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; color: var(--fg-dim);
}
.nav__glow-slider { flex: 1; accent-color: var(--accent); cursor: pointer; }
.nav__glow-val { min-width: 28px; text-align: right; font-family: var(--mono); font-size: 11px; color: var(--fg-faint); }
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav { padding: 14px 20px; }
  .nav__right .nav__cta { display: none; }
}

/* ── Container ─────────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* ── Eyebrow ───────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono); font-size: var(--text-caption);
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--accent);
}

/* ── Shared button ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 14px; font-weight: 500;
  padding: 14px 22px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--fg);
  cursor: pointer; transition: all 0.25s ease;
}
.btn--primary { background: var(--accent); color: var(--btn-primary-fg); border-color: var(--accent); }
.btn--primary:hover { box-shadow: 0 0 32px var(--accent-glow); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn .arrow { width: 16px; height: 16px; transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Hatched placeholder ───────────────────────────────────────────── */
.ph {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 12px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0, rgba(255,255,255,.025) 1px, transparent 1px, transparent 8px),
    linear-gradient(180deg, var(--bg-3), var(--bg-2));
}
[data-theme="light"] .ph {
  background:
    repeating-linear-gradient(135deg, rgba(10,12,24,.03) 0, rgba(10,12,24,.03) 1px, transparent 1px, transparent 8px),
    linear-gradient(180deg, var(--bg-3), var(--bg-2));
}
.ph::after {
  content: attr(data-cap);
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-faint);
}
.ph::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, var(--accent-dim), transparent 55%);
  mix-blend-mode: screen; pointer-events: none;
}
.ph__icon {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); opacity: 0.7;
}
.ph .tl, .ph .tr, .ph .bl, .ph .br {
  position: absolute; width: 14px; height: 14px; pointer-events: none;
  border-color: var(--accent); opacity: 0.35;
}
.ph .tl { top: 10px; left: 10px;  border-top: 1px solid; border-left: 1px solid; }
.ph .tr { top: 10px; right: 10px; border-top: 1px solid; border-right: 1px solid; }
.ph .bl { bottom: 10px; left: 10px;  border-bottom: 1px solid; border-left: 1px solid; }
.ph .br { bottom: 10px; right: 10px; border-bottom: 1px solid; border-right: 1px solid; }

/* ══════════════════════════════════════════════════════════════════════
   ARTICLES INDEX (Articles.html)
   ════════════════════════════════════════════════════════════════════ */
.b-hero {
  position: relative; overflow: hidden;
  padding: clamp(64px, 8vw, 120px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.b-hero__inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 32px;
  position: relative; z-index: 2;
}
.b-hero__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; margin-bottom: 40px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-faint);
}
.b-hero__split {
  display: grid; grid-template-columns: 2fr 1fr;
  gap: clamp(32px, 5vw, 60px); align-items: end;
}
@media (max-width: 720px) {
  .b-hero__split { grid-template-columns: 1fr; gap: 24px; }
}
.b-hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(52px, 7.5vw, 100px);
  line-height: 0.95; letter-spacing: -0.035em;
  margin: 0; max-width: 20ch;
  text-wrap: balance;
}
.b-hero h1 em {
  font-style: normal; font-weight: 300;
  color: var(--accent);
  text-shadow: 0 0 36px var(--accent-glow);
}
.b-hero__sub {
  margin: 0; max-width: 42ch;
  font-size: clamp(15px, 1.5vw, 19px); line-height: 1.6;
  color: var(--fg-dim);
}

/* ── Toolbar (search / filter / sort) ───────────────────────────────── */
.b-toolbar {
  position: sticky; top: 61px; z-index: 30;
  background: var(--nav-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.b-toolbar__row {
  max-width: 1280px; margin: 0 auto;
  padding: 18px 32px;
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 20px; align-items: center;
}
.b-search {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-strong); border-radius: 999px;
  transition: all 0.2s ease;
}
.b-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.b-search svg { color: var(--fg-faint); flex-shrink: 0; }
.b-search input {
  flex: 1; background: transparent; border: 0; outline: none;
  color: var(--fg); font-family: var(--body); font-size: var(--text-small);
  min-width: 0;
}
.b-search input::placeholder { color: var(--fg-faint); }

.b-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.b-pill {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent;
  color: var(--fg-dim); cursor: pointer;
  transition: all 0.18s ease;
}
.b-pill:hover { color: var(--fg); border-color: var(--accent); }
.b-pill.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.b-pill--disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }
.b-pill__count { margin-left: 6px; opacity: 0.6; }

.b-sort {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--fg-faint);
}
.b-sort__btns { display: flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.b-sort__btn {
  padding: 7px 14px; background: transparent; border: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--fg-dim); cursor: pointer; transition: all 0.15s ease;
}
.b-sort__btn.on { background: var(--accent); color: var(--btn-primary-fg); }
.b-sort__btn:not(.on):hover { color: var(--fg); background: rgba(255,255,255,0.04); }

@media (max-width: 900px) {
  .b-toolbar__row { grid-template-columns: 1fr; gap: 12px; padding: 16px 20px; }
  .b-toolbar { top: 56px; }
}

/* ── Index content area ────────────────────────────────────────────── */
.b-content { padding: clamp(40px, 5vw, 72px) 32px 80px; }
.b-content__inner { max-width: 1280px; margin: 0 auto; }
@media (max-width: 720px) { .b-content { padding: 32px 20px 64px; } }

/* ── Empty state ───────────────────────────────────────────────────── */
.b-empty {
  text-align: center; padding: 80px 24px;
  border: 1px dashed var(--line-strong); border-radius: 14px;
  color: var(--fg-faint);
}
.b-empty h3 {
  font-family: var(--display); font-weight: 500;
  font-size: var(--text-h3); color: var(--fg); margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.b-empty p { margin: 0; font-size: var(--text-small); }

/* ══════════════════════════════════════════════════════════════════════
   LAYOUT A — Featured + Grid (default)
   ════════════════════════════════════════════════════════════════════ */
.b-featured {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 32px; margin-bottom: 48px;
}
.b-featured__visual {
  border-radius: 16px; overflow: hidden;
  min-height: 480px;
}
.b-featured__body {
  display: flex; flex-direction: column; justify-content: center;
  gap: 20px;
}
.b-featured__meta {
  display: flex; gap: 14px; align-items: center;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-faint);
}
.b-featured__meta .tag {
  color: var(--accent);
  padding: 4px 10px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--accent);
}
.b-featured h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05; letter-spacing: -0.025em;
  margin: 0;
}
.b-featured__excerpt {
  font-size: var(--text-body); line-height: var(--text-body-lh); color: var(--fg-dim);
  margin: 0; max-width: 50ch;
}
.b-featured__byline {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; color: var(--fg-faint);
}
.b-featured__byline strong { color: var(--fg-dim); font-weight: 500; }
.b-featured__cta {
  margin-top: 8px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 14px; font-weight: 500;
  padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: var(--btn-primary-fg);
  transition: all 0.25s ease;
  width: max-content;
}
.b-featured__cta:hover { box-shadow: 0 0 32px var(--accent-glow); }
.b-featured__cta .arrow { width: 16px; height: 16px; transition: transform 0.25s ease; }
.b-featured__cta:hover .arrow { transform: translateX(3px); }
@media (max-width: 900px) {
  .b-featured { grid-template-columns: 1fr; gap: 24px; }
  .b-featured__visual { min-height: 280px; }
}

/* ── Grid (3-up cards) ─────────────────────────────────────────────── */
.b-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) { .b-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .b-grid { grid-template-columns: 1fr; gap: 18px; } }

.b-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 18px;
  background: var(--bg-2); border: 1.5px solid var(--line);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 3px 16px rgba(255,255,255,0.02);
  transition: all 0.3s cubic-bezier(0.2,0.7,0.2,1);
  position: relative;
}
[data-theme="light"] .b-card {
  border-color: rgba(10,12,24,0.22);
  box-shadow: 0 2px 6px rgba(0,0,0,0.064);
}
.b-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 24px var(--accent-soft);
}
[data-theme="light"] .b-card:hover {
  box-shadow: 0 16px 40px rgba(10,12,24,0.08), 0 0 24px var(--accent-soft);
}
.b-card__visual {
  aspect-ratio: 16 / 10;
  border-radius: 10px; overflow: hidden;
}
.b-card__meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-faint);
}
.b-card__meta .tag { color: var(--accent); }
.b-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--fg-faint); }
.b-card h3 {
  font-family: var(--display); font-weight: 500;
  font-size: var(--text-lead); line-height: 1.2; letter-spacing: -0.015em;
  margin: 0;
}
.b-card__excerpt {
  font-size: var(--text-small); line-height: var(--text-small-lh); color: var(--fg-dim);
  margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.b-card__byline {
  margin-top: auto;
  display: flex; align-items: center; gap: 10px;
  padding-top: 14px; border-top: 1px solid var(--line);
  font-size: var(--text-caption); color: var(--fg-faint);
}
.b-card__byline strong { color: var(--fg-dim); font-weight: 500; font-family: var(--body); }

/* ══════════════════════════════════════════════════════════════════════
   LAYOUT B — Uniform Card Grid
   ════════════════════════════════════════════════════════════════════ */
.b-uniform { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1100px) { .b-uniform { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .b-uniform { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════════════
   LAYOUT C — Editorial List
   ════════════════════════════════════════════════════════════════════ */
.b-list { border-top: 1px solid var(--line); }
.b-list__row {
  display: grid; grid-template-columns: 100px 1.4fr 200px 100px;
  gap: 32px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.b-list__row:hover {
  background: linear-gradient(90deg, var(--accent-soft), transparent);
  padding-left: 16px;
}
.b-list__row .idx {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; color: var(--accent);
}
.b-list__row h3 {
  font-family: var(--display); font-weight: 500;
  font-size: var(--text-h3); line-height: 1.2; letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.b-list__row p {
  font-size: var(--text-small); line-height: var(--text-small-lh); color: var(--fg-dim);
  margin: 0; max-width: 56ch;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.b-list__row .meta {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-faint);
  display: flex; flex-direction: column; gap: 6px;
}
.b-list__row .meta strong { color: var(--accent); font-weight: 400; }
.b-list__row .dur {
  text-align: right;
  font-family: var(--mono); font-size: 11px;
  color: var(--fg-faint); letter-spacing: 0.14em;
}
@media (max-width: 900px) {
  .b-list__row { grid-template-columns: 60px 1fr; gap: 12px 20px; }
  .b-list__row .meta, .b-list__row .dur {
    grid-column: 2 / -1; text-align: left;
    flex-direction: row; gap: 16px;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   LAYOUT D — Magazine (hero + 2-up + grid)
   ════════════════════════════════════════════════════════════════════ */
.b-magazine { display: flex; flex-direction: column; gap: 48px; }
.b-mag-hero {
  position: relative; overflow: hidden;
  border-radius: 18px; border: 1px solid var(--line);
  aspect-ratio: 16 / 7;
  display: grid; grid-template-rows: 1fr auto;
  transition: border-color 0.3s cubic-bezier(0.2,0.7,0.2,1),
              box-shadow 0.3s cubic-bezier(0.2,0.7,0.2,1),
              transform 0.3s cubic-bezier(0.2,0.7,0.2,1);
}
[data-theme="light"] .b-mag-hero {
  border-color: rgba(10,12,24,0.22);
}
.b-mag-hero:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 24px var(--accent-soft);
}
[data-theme="light"] .b-mag-hero:hover {
  box-shadow: 0 16px 40px rgba(10,12,24,0.08), 0 0 24px var(--accent-soft);
}
.b-mag-hero__visual { position: absolute; inset: 0; }
.b-mag-hero__body {
  position: relative; z-index: 2;
  padding: 80px 36px 32px;
  align-self: end;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 55%, transparent 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  mask-image: linear-gradient(to top, black 0%, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 0%, black 50%, transparent 100%);
}
.b-mag-hero__body h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1; letter-spacing: -0.025em;
  margin: 14px 0 12px; max-width: 22ch;
}
.b-mag-hero__body p {
  margin: 0; max-width: 60ch; color: rgba(255,255,255,0.75); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.b-mag-hero__body .b-featured__meta .tag {
  color: #fff;
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
}

.b-mag-twoup { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .b-mag-twoup { grid-template-columns: 1fr; } }
.b-mag-twoup .b-card { padding: 22px; }
.b-mag-twoup .b-card__visual { aspect-ratio: 16 / 9; }
.b-mag-twoup .b-card h3 { font-size: var(--text-h3); }

/* ── Magazine hero → card layout on mobile ─────────────────────────── */
@media (max-width: 1024px) {
  .b-mag-hero {
    aspect-ratio: unset;
    display: flex; flex-direction: column;
  }
  .b-mag-hero__visual {
    position: relative;
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
  }
  .b-mag-hero__body {
    position: relative;
    padding: 18px;
    background: var(--bg-2);
    color: var(--fg);
    backdrop-filter: none; -webkit-backdrop-filter: none;
    mask-image: none; -webkit-mask-image: none;
  }
  .b-mag-hero__body h2 {
    font-size: var(--text-h2);
    color: var(--fg);
  }
  .b-mag-hero__body p { color: var(--fg-dim); }
  .b-mag-hero__body .b-featured__meta { color: var(--fg-faint); }
  .b-mag-hero__body .b-featured__meta .tag {
    color: var(--accent);
    background: var(--accent-soft);
    border-color: var(--accent);
  }
}

/* ══════════════════════════════════════════════════════════════════════
   ARTICLE PAGE (Article.html)
   ════════════════════════════════════════════════════════════════════ */
.a-hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 6vw, 96px) 32px clamp(32px, 4vw, 48px);
}
.a-hero__inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.a-hero__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-faint); margin-bottom: 32px;
  transition: color 0.2s ease;
}
.a-hero__back:hover { color: var(--accent); }
.a-hero__meta {
  display: flex; gap: 14px; align-items: center;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-faint); margin-bottom: 22px;
}
.a-hero__meta .tag {
  color: var(--accent);
  padding: 4px 10px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--accent);
}
.a-hero h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.0; letter-spacing: -0.03em;
  margin: 0; max-width: 18ch;
}

.a-byline {
  display: flex; align-items: center; gap: 24px;
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.a-byline__author { display: flex; align-items: center; gap: 12px; }
.a-byline__author-text { display: flex; flex-direction: column; gap: 2px; }
.a-byline__name { font-family: var(--body); font-weight: 500; font-size: var(--text-small); color: var(--fg); }
.a-byline__role {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-faint);
}
.a-byline__stats {
  display: flex; gap: 24px;
  margin-left: auto;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-faint);
}
.a-byline__stats .stat strong {
  color: var(--fg-dim); font-weight: 500; font-family: var(--body);
  display: block; font-size: var(--text-small); letter-spacing: 0; text-transform: none;
}
.a-byline__share { display: flex; gap: 8px; }
.a-share-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.02);
  color: var(--fg-dim); cursor: pointer;
  display: grid; place-items: center;
  transition: all 0.18s ease;
}
.a-share-btn:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

/* ── Inline reference links ────────────────────────────────────────── */
sup .a-ref {
  font-size: 0.72em; font-family: var(--mono);
  color: var(--accent); text-decoration: none;
  padding: 0 1px;
}
sup .a-ref:hover { text-decoration: underline; }

/* ── References section ─────────────────────────────────────────────── */
.a-references {
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.a-references__label {
  font-size: 10px; font-family: var(--mono);
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--fg-dim); margin: 0 0 14px;
}
.a-references ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 7px;
  counter-reset: ref-counter;
}
.a-references ol li {
  counter-increment: ref-counter;
  display: grid; grid-template-columns: 20px 1fr; gap: 8px;
  font-size: var(--text-caption); line-height: 1.55;
  color: var(--fg-dim); font-family: var(--mono);
}
.a-references ol li::before {
  content: counter(ref-counter) ".";
  color: var(--fg-faint); text-align: right; padding-top: 1px;
}
.a-references ol li a {
  color: var(--fg-dim); text-decoration: underline;
  text-underline-offset: 3px; word-break: break-all;
}
.a-references ol li a:hover { color: var(--accent); }

/* ── Article body ──────────────────────────────────────────────────── */
.a-feature {
  max-width: 1100px; margin: 0 auto;
  padding: 0 32px;
}
.a-feature__visual {
  margin-top: 15px;
  aspect-ratio: 16 / 9;
  border-radius: 16px; overflow: hidden;
  position: relative; z-index: 3;
}
@media (max-width: 720px) {
  .a-feature__visual { margin-top: -24px; aspect-ratio: 4 / 3; }
}

.a-body {
  max-width: 1050px; margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) 32px clamp(64px, 8vw, 120px);
  font-size: 18px; line-height: 1.75;
  text-align: justify; hyphens: auto;
  color: var(--fg);
}
.a-lang-notice {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; margin-bottom: 32px;
  border: 1px solid var(--line-strong); border-left: 3px solid var(--accent);
  border-radius: 8px; background: var(--accent-soft);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.03em;
  color: var(--fg-dim); line-height: 1.5;
}
.a-body p { margin: 0 0 1.4em; color: var(--fg-dim); }
.a-body .a-lede {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(20px, 2.2vw, 26px); line-height: 1.5;
  color: var(--fg); letter-spacing: -0.01em;
  margin: 0 0 2em;
}
.a-body h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15; letter-spacing: -0.02em;
  margin: 2.4em 0 0.8em; color: var(--fg);
}
.a-body h2::before {
  content: '§ ';
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.7em;
  vertical-align: 0.15em;
  margin-right: 0.3em;
  opacity: 0.6;
}
.a-body strong { color: var(--fg); font-weight: 600; }
.a-body a { color: var(--accent); border-bottom: 1px solid var(--accent-dim); transition: border-color 0.2s ease; }
.a-body a:hover { border-bottom-color: var(--accent); }
.a-body ul { padding: 0; margin: 0 0 1.6em; list-style: none; }
.a-body ul li {
  position: relative; padding-left: 24px;
  margin-bottom: 0.5em; color: var(--fg-dim);
}
.a-body ul li::before {
  content: ''; position: absolute;
  left: 2px; top: 0.7em;
  width: 8px; height: 1px;
  background: var(--accent);
}

/* Pull quote */
.a-quote {
  margin: 2.4em -32px;
  padding: 32px 40px;
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  position: relative;
}
.a-quote p {
  font-family: var(--display); font-weight: 300; font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4; letter-spacing: -0.015em;
  color: var(--fg); margin: 0;
}
.a-quote cite {
  display: block; margin-top: 16px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-style: normal; color: var(--fg-faint);
}
.a-quote::before {
  content: '\201C';
  position: absolute; top: -10px; right: 24px;
  font-family: var(--display); font-size: 120px;
  line-height: 1; color: var(--accent); opacity: 0.15;
  pointer-events: none;
}
@media (max-width: 720px) { .a-quote { margin: 2em 0; padding: 24px; } }

/* Figure */
.a-figure { margin: 2.4em -48px; }
@media (max-width: 720px) { .a-figure { margin: 2em 0; } }
.a-figure__cap {
  margin-top: 14px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-faint);
  text-align: center;
}

/* Code block */
.a-code {
  margin: 2em 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
}
.a-code__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-3);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-faint);
}
.a-code__head .dots { display: flex; gap: 6px; }
.a-code__head .dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.a-code pre {
  margin: 0; padding: 18px 20px;
  font-family: var(--mono); font-size: 13px; line-height: 1.65;
  color: var(--fg);
  overflow-x: auto;
  tab-size: 2;
}
.a-code pre .kw  { color: var(--accent); }
.a-code pre .str { color: hsl(160 60% 65%); }
.a-code pre .com { color: var(--fg-faint); font-style: italic; }
.a-code pre .num { color: hsl(30 80% 65%); }
.a-code pre .fn  { color: hsl(280 60% 75%); }

/* Callout */
.a-callout {
  margin: 2em -16px;
  padding: 24px 28px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: var(--accent-soft);
  position: relative;
}
.a-callout::before {
  content: '⌬';
  position: absolute; top: 16px; right: 20px;
  color: var(--accent); font-size: 18px; opacity: 0.5;
}
.a-callout h4 {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 10px;
  font-weight: 500;
}
.a-callout p { margin: 0; color: var(--fg); font-size: var(--text-body); line-height: var(--text-body-lh); }
@media (max-width: 720px) { .a-callout { margin: 2em 0; } }

/* ── Related articles ───────────────────────────────────────────────── */
.a-related {
  max-width: 1280px; margin: 0 auto;
  padding: 64px 32px 80px;
  border-top: 1px solid var(--line);
}
.a-related__head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 32px; margin-bottom: 40px; flex-wrap: wrap;
}
.a-related__head h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 0;
}

/* ── Footer ────────────────────────────────────────────────────────── */
.b-footer {
  border-top: 1px solid var(--line);
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-faint);
}
.b-footer a { transition: color 0.2s ease; }
.b-footer a:hover { color: var(--accent); }

/* ── Reading progress bar (article) ────────────────────────────────── */
.a-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 51;
  height: 2px; background: transparent;
  pointer-events: none;
}
.a-progress__bar {
  height: 100%; width: 0%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width 0.15s ease-out;
}

/* ── Reader layout variants ─────────────────────────────────────────── */
.reader-wide .a-body { max-width: 980px; font-size: 19px; }
.reader-narrow .a-body { max-width: 640px; font-size: 17px; }
.reader-dense .a-body { font-size: 16px; line-height: 1.65; }
.reader-dense .a-body h2 { margin: 1.8em 0 0.6em; }
.reader-immersive .a-feature__visual { aspect-ratio: 21 / 9; margin-top: -64px; }
.reader-immersive .a-hero h1 { font-size: clamp(48px, 7vw, 100px); }

/* ── Accessibility ──────────────────────────────────────────────────── */
.sr-only {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* ══════════════════════════════════════════════════════════════════════
   VR COST-REDUCTION VISUALS — article-embedded charts, stat cards, icons
   All colours via site tokens; light/dark handled by the cascade.
   ════════════════════════════════════════════════════════════════════ */
.vr-viz-scope {
  /* Map local aliases to site tokens so a single variable change
     re-themes all visuals. No light-mode override block needed —
     when [data-theme="light"] flips --bg-2, --fg, etc., these follow. */
  --vr-surface:       var(--bg-2);
  --vr-border:        var(--line);
  --vr-border-strong: var(--line-strong);
  --vr-text:          var(--fg);
  --vr-text-muted:    var(--fg-dim);
  --vr-text-dim:      var(--fg-faint);
  --vr-accent:        var(--accent);
  /* VR data series = fg; bright on dark bg, dark on light bg — always readable */
  --vr-series:        var(--fg);
  /* Traditional series = faint; always dim relative to the mode */
  --vr-trad:          var(--fg-faint);
  /* Label text rendered *inside* a coloured bar fill.
     var(--bg) is dark in dark-mode (on a light bar) and
     light in light-mode (on a dark bar) — correct both ways. */
  --vr-label:         var(--bg);

  color: var(--vr-text);
  font-family: var(--body);
}

/* ── Chart figure ─────────────────────────────────────────────────── */
.viz {
  margin: 3rem 0;
  padding: 1.75rem;
  background: var(--vr-surface);
  border: 1px solid var(--vr-border);
  border-radius: 16px;
}
.viz__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vr-text-dim);
  margin: 0 0 6px;
}
.viz__title {
  font-size: var(--text-lead);
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--vr-text);
  letter-spacing: -0.01em;
}
.viz__sub {
  font-size: var(--text-small);
  line-height: var(--text-small-lh);
  color: var(--vr-text-muted);
  margin: 0 0 1.4rem;
  max-width: 60ch;
}
.viz__source {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--vr-text-dim);
  margin: 1.2rem 0 0;
}
.viz svg { display: block; width: 100%; height: auto; }
.viz text { font-family: var(--body); }

/* ── Stat cards ───────────────────────────────────────────────────── */
.vr-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--vr-border);
  border: 1px solid var(--vr-border);
  border-radius: 16px;
  overflow: hidden;
  margin: 3rem 0;
}
.vr-stat {
  background: var(--vr-surface);
  padding: 1.5rem 1.4rem;
}
.vr-stat__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vr-text-dim);
  margin: 0 0 12px;
}
.vr-stat__row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.vr-stat__vr {
  font-size: var(--text-h2);
  font-weight: 500;
  color: var(--vr-text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.vr-stat__vs {
  font-size: 12px;
  color: var(--vr-text-dim);
  font-family: var(--mono);
}
.vr-stat__trad {
  font-size: var(--text-body);
  color: var(--vr-trad);
  text-decoration: line-through;
  text-decoration-color: var(--vr-border-strong);
}
.vr-stat__note {
  font-size: var(--text-caption);
  color: var(--vr-text-muted);
  margin: 10px 0 0;
  line-height: 1.45;
}
.vr-stat__tag {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--vr-accent);
  border: 1px solid var(--vr-border-strong);
  border-radius: 999px;
  padding: 3px 9px;
}

/* ── Section icons ────────────────────────────────────────────────── */
.vr-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 3rem 0;
}
.vr-icon-card {
  background: var(--vr-surface);
  border: 1px solid var(--vr-border);
  border-radius: 14px;
  padding: 1.3rem;
  text-align: center;
}
.vr-icon-card svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  display: block;
}
.vr-icon-card__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vr-text-muted);
  margin: 0;
}
.vr-icon-stroke {
  stroke: var(--vr-text-muted);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vr-icon-accent {
  stroke: var(--vr-accent);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 600px) {
  .viz { padding: 1.25rem; }
  .vr-stat__vr { font-size: 26px; }
  .vr-icons { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════════════
   PARTICLE VFX VISUALS — division-of-labor cards & icon classes
   Shares .vr-viz-scope, .viz, .viz__* with the VR visuals above.
   ════════════════════════════════════════════════════════════════════ */
.pv-cond {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.pv-cond-card {
  background: var(--vr-surface);
  border: 1px solid var(--vr-border);
  border-radius: 14px;
  padding: 1.4rem;
}
.pv-cond-card svg {
  width: 38px; height: 38px;
  margin: 0 0 14px;
  display: block;
}
.pv-cond-card h4 {
  font-size: var(--text-small); font-weight: 500;
  margin: 0 0 8px; color: var(--vr-text);
}
.pv-cond-card ul { margin: 0; padding-left: 1.1em; }
.pv-cond-card li {
  font-size: var(--text-caption); line-height: 1.6;
  color: var(--vr-text-muted); margin-bottom: 4px; text-align: left;
}
.pv-tag {
  display: block; margin-bottom: 6px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--vr-accent);
}
.pv-icn-s {
  stroke: var(--vr-text-muted); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.pv-icn-a {
  stroke: var(--vr-accent); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* ══════════════════════════════════════════════════════════════════════
   VR SAFETY TRAINING VISUALS — incident cost charts, iceberg, condition cards
   Shares .vr-viz-scope, .viz, .viz__*, .pv-cond, .pv-cond-card with above.
   ════════════════════════════════════════════════════════════════════ */
.sv-n {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; color: var(--vr-text-dim);
  display: block; margin-bottom: 6px;
}
.pv-cond-card p { font-size: var(--text-caption); line-height: 1.5; color: var(--vr-text-muted); margin: 0; text-align: left; }

/* ══════════════════════════════════════════════════════════════════════
   GAUSSIAN SPLATTING VISUALS — anatomy, NeRF comparison, pipeline, limit cards
   Shares .vr-viz-scope, .viz, .viz__*, .pv-cond, .pv-cond-card with above.
   ════════════════════════════════════════════════════════════════════ */
.gs-tag {
  display: block; margin-bottom: 6px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--vr-text-dim);
}
.gs-card-hi {
  border-color: var(--vr-border-strong) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, var(--vr-surface) 100%) !important;
}
.gs-card-hi .gs-tag { color: var(--vr-accent); }
