/* ============================================================
   RESHORE BRIDGE — ARTICLE / INTEL CSS
   Canonical system: .art-* (NODE_06 compliant)
   Legacy aliases: .article-* kept for non-intel pages
   ============================================================ */

/* ── Reading Progress Bar ─────────────────────────────────── */
.art-progress-bar {
  position: fixed;
  top: var(--nav-h, 64px);
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-300));
  z-index: 999;
  transition: width 0.1s linear;
}

/* ── Reading Progress Badge ───────────────────────────────── */
.art-progress-badge {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  background: var(--brand-800);
  color: #fff;
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 998;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.art-progress-badge.is-visible { opacity: 1; }

/* ── Reading Progress Milestone ───────────────────────────── */
.art-progress-milestone {
  background: var(--brand-800);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-10);
  margin-block: var(--sp-10);
  position: relative;
  overflow: hidden;
}
.art-progress-milestone::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--brand-300);
}
.art-progress-milestone__label {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-300);
  margin-bottom: var(--sp-3);
}
.art-progress-milestone__title {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: var(--sp-3);
}
.art-progress-milestone__body {
  font-size: var(--text-base);
  color: rgba(255,255,255,.7);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: var(--sp-5);
}
.art-progress-milestone__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--brand-300);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.art-progress-milestone__cta:hover { color: #fff; }

/* ── Article Hero ─────────────────────────────────────────── */
.art-hero {
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-800) 100%);
  padding-top: calc(var(--nav-h, 64px) + var(--sp-16));
  padding-bottom: var(--sp-16);
}
.art-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.45);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}
.art-hero__breadcrumb a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
}
.art-hero__breadcrumb a:hover { color: rgba(255,255,255,.85); }
.art-hero__breadcrumb span { color: rgba(255,255,255,.25); }
.art-hero__label {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-300);
  margin-bottom: var(--sp-4);
}
.art-hero__h1 {
  font-family: var(--font-head);
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-6xl));
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 780px;
  margin-bottom: var(--sp-5);
}
.art-hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.6);
  line-height: 1.72;
  max-width: 640px;
}
.art-hero__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-8);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.4);
  letter-spacing: 0.04em;
}
.art-hero__meta strong { color: rgba(255,255,255,.7); }
.art-hero__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-top: var(--sp-8);
  display: block;
}

/* ── Article Layout ───────────────────────────────────────── */
.art-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--sp-12);
  padding-block: var(--sp-16);
  align-items: start;
}

/* ── Article Content ──────────────────────────────────────── */
.art-content {}
.art-content p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-4);
  max-width: 720px;
}
.art-content h2 {
  font-family: var(--font-head);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-4);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--color-border);
}
.art-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.art-content h3 {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}
.art-content ul, .art-content ol {
  margin-bottom: var(--sp-5);
  padding-left: var(--sp-6);
}
.art-content ul { list-style: disc; }
.art-content ol { list-style: decimal; }
.art-content li {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-2);
  max-width: 720px;
}
.art-content a {
  color: var(--brand-700);
  text-decoration: underline;
  text-decoration-color: var(--brand-200);
  text-underline-offset: 2px;
}
.art-content a:hover { text-decoration-color: var(--brand-700); }
.art-content strong { font-weight: 700; color: var(--color-text); }

/* ── Audit Matrix 2×2 ─────────────────────────────────────── */
.art-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-block: var(--sp-8);
}
.art-matrix__cell {
  background: var(--st-100);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
.art-matrix__cell--accent {
  background: var(--brand-50);
  border-color: var(--brand-200);
}
.art-matrix__label {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: var(--sp-2);
}
.art-matrix__val {
  font-family: var(--font-head);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--brand-800);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.art-matrix__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── Image Slots ──────────────────────────────────────────── */
.art-img-slot {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--st-100);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-block: var(--sp-8);
  overflow: hidden;
  display: block;
}
.art-img-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.art-img-slot--wide { aspect-ratio: 21/9; }
.art-img-slot--square { aspect-ratio: 1/1; }

/* ── Infographic SVG ──────────────────────────────────────── */
.art-infographic {
  width: 100%;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  margin-block: var(--sp-8);
}
.art-infographic__title {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: var(--sp-4);
}
.art-infographic svg { width: 100%; height: auto; display: block; }

/* ── Case Simulation ──────────────────────────────────────── */
.case-sim {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  margin-block: var(--sp-8);
}
.case-sim__header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.case-sim__badge {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-100);
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-full);
  padding: var(--sp-1) var(--sp-3);
}
.case-sim__title {
  font-family: var(--font-head);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--brand-900);
}
.case-sim__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.case-sim__metric {
  background: #fff;
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
}
.case-sim__metric-val {
  font-family: var(--font-head);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--brand-700);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 2px;
}
.case-sim__metric-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.case-sim__body {
  font-size: var(--text-sm);
  color: var(--brand-900);
  line-height: 1.75;
}

/* ── Regulatory Callout ───────────────────────────────────── */
.reg-callout {
  background: var(--brand-900);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-8);
  margin-block: var(--sp-8);
}
.reg-callout__label {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-300);
  margin-bottom: var(--sp-3);
}
.reg-callout__text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.75);
  line-height: 1.75;
}
.reg-callout__cite {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.4);
  margin-top: var(--sp-3);
}

/* ── Interactive Tool Wrapper ─────────────────────────────── */
.art-tool {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  margin-block: var(--sp-10);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.art-tool__label {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: var(--sp-2);
}
.art-tool__title {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-6);
}

/* Slider inputs (SIM type) */
.slider-group { margin-bottom: var(--sp-5); }
.slider-group label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-2);
  letter-spacing: 0.04em;
}
.slider-group label span {
  color: var(--brand-700);
  font-size: var(--text-sm);
  font-weight: 700;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--brand-700);
  height: 4px;
  cursor: pointer;
}
.sim-output {
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  margin-top: var(--sp-6);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  text-align: center;
}
.sim-output__num {
  font-family: var(--font-head);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--brand-700);
  letter-spacing: -0.02em;
  display: block;
}
.sim-output__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
  display: block;
}
.sim-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  margin-top: var(--sp-4);
  line-height: 1.6;
}

/* ── Decision Tree (DT type) ──────────────────────────────── */
.dt-tree { margin-top: var(--sp-4); }
.dt-question {
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--sp-4);
  line-height: 1.4;
}
.dt-options {
  display: flex;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  flex-wrap: wrap;
}
.dt-btn {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-full);
  border: 2px solid var(--brand-700);
  background: transparent;
  color: var(--brand-700);
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast);
  letter-spacing: 0.04em;
}
.dt-btn:hover, .dt-btn.is-active {
  background: var(--brand-700);
  color: #fff;
}
.dt-node { display: none; }
.dt-node.is-active { display: block; animation: fadeIn .25s ease; }
.dt-result {
  background: var(--brand-800);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-6);
  margin-top: var(--sp-4);
}
.dt-result__label {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-300);
  margin-bottom: var(--sp-2);
}
.dt-result__text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.8);
  line-height: 1.7;
}
.dt-reset {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--brand-500);
  background: none;
  border: none;
  cursor: pointer;
  margin-top: var(--sp-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0;
}
.dt-reset:hover { color: var(--brand-700); }

/* ── Eligibility Quiz (QZ type) ───────────────────────────── */
.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: fadeIn .25s ease; }
.quiz-q {
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--sp-5);
  line-height: 1.4;
}
.quiz-opts {
  display: flex;
  gap: var(--sp-3);
}
.quiz-btn {
  flex: 1;
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border);
  background: var(--st-100);
  color: var(--color-text);
  cursor: pointer;
  transition: border-color var(--dur-fast), background var(--dur-fast), color var(--dur-fast);
  letter-spacing: 0.04em;
}
.quiz-btn:hover {
  border-color: var(--brand-500);
  background: var(--brand-50);
  color: var(--brand-800);
}
.quiz-btn--yes:hover, .quiz-btn--yes.is-selected {
  border-color: #16a34a;
  background: #f0fdf4;
  color: #15803d;
}
.quiz-btn--no:hover, .quiz-btn--no.is-selected {
  border-color: #dc2626;
  background: #fef2f2;
  color: #b91c1c;
}
.quiz-progress {
  display: flex;
  gap: var(--sp-1);
  margin-bottom: var(--sp-5);
}
.quiz-pip {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  background: var(--color-border);
  transition: background var(--dur-fast);
}
.quiz-pip.is-done { background: var(--brand-500); }
.quiz-result {
  background: var(--brand-800);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  text-align: center;
  animation: fadeIn .35s ease;
}
.quiz-result__icon {
  font-size: 2rem;
  margin-bottom: var(--sp-3);
}
.quiz-result__verdict {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--sp-3);
}
.quiz-result__body {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}
.quiz-reset {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--brand-300);
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.quiz-reset:hover { color: #fff; }

/* ── Risk/Comparison Matrix Toggle (RM/CM type) ───────────── */
.art-compare {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-block: var(--sp-8);
}
.art-compare__tabs {
  display: flex;
  background: var(--st-100);
  border-bottom: 1px solid var(--color-border);
}
.art-compare__tab {
  flex: 1;
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--sp-3) var(--sp-4);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: background var(--dur-fast), color var(--dur-fast);
  border-right: 1px solid var(--color-border);
}
.art-compare__tab:last-child { border-right: none; }
.art-compare__tab.is-active {
  background: #fff;
  color: var(--brand-700);
}
.art-compare__panel { display: none; }
.art-compare__panel.is-active { display: block; animation: fadeIn .2s ease; }
.art-compare table {
  width: 100%;
  border-collapse: collapse;
}
.art-compare th {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-50);
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--brand-100);
}
.art-compare td {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--color-border);
  line-height: 1.6;
  vertical-align: top;
}
.art-compare tr:last-child td { border-bottom: none; }
.art-compare td strong {
  font-weight: 700;
  color: var(--color-text);
}
.art-compare td .chip {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.chip--green { background: #dcfce7; color: #15803d; }
.chip--red   { background: #fee2e2; color: #b91c1c; }
.chip--blue  { background: var(--brand-100); color: var(--brand-700); }
.chip--gray  { background: var(--st-200); color: var(--sv-600); }

/* ── FAQ Accordion ────────────────────────────────────────── */
.faq {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-block: var(--sp-10);
}
.faq__header {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-700);
  padding: var(--sp-5) var(--sp-6);
  background: var(--brand-50);
  border-bottom: 1px solid var(--brand-100);
}
.faq__item {
  border-bottom: 1px solid var(--color-border);
}
.faq__item:last-child { border-bottom: none; }
/* .faq__btn is the canonical button class (also aliased to .faq__q) */
.faq__btn, .faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  background: none;
  border: none;
  text-align: left;
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  line-height: 1.4;
  transition: color var(--dur-fast);
}
.faq__btn:hover, .faq__q:hover { color: var(--brand-700); }
.faq__btn-icon, .faq__q-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: transform var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.faq__item.is-open .faq__btn-icon,
.faq__item.is-open .faq__q-icon {
  transform: rotate(45deg);
  border-color: var(--brand-500);
  color: var(--brand-700);
}
/* Answer panel — supports both open class (legacy) and max-height (new) */
.faq__answer, .faq__a {
  display: none;
  overflow: hidden;
}
.faq__answer.open,
.faq__item.is-open .faq__answer,
.faq__item.is-open .faq__a { display: block; animation: fadeIn .25s ease; }
.faq__answer p, .faq__a p,
.faq__answer-inner, .faq__a-inner {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  padding: 0 var(--sp-6) var(--sp-6);
  max-width: 680px;
}
.faq__answer a, .faq__a a {
  color: var(--brand-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Article Aside ────────────────────────────────────────── */
.art-aside {
  position: sticky;
  top: calc(var(--nav-h, 64px) + var(--sp-8));
}
.aside-card {
  background: var(--st-100);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-6);
}
.aside-card__title {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: var(--sp-4);
}
.aside-card__stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.aside-stat-num {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--brand-700);
  display: block;
  letter-spacing: -0.02em;
}
.aside-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: block;
}
.aside-toc { list-style: none; padding: 0; }
.aside-toc li { margin-bottom: var(--sp-2); }
.aside-toc a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  line-height: 1.5;
  display: block;
  padding: var(--sp-1) 0;
  border-left: 2px solid transparent;
  padding-left: var(--sp-3);
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.aside-toc a:hover, .aside-toc a.is-active {
  color: var(--brand-700);
  border-color: var(--brand-500);
}

/* ── Author Block ─────────────────────────────────────────── */
.art-author {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-6);
  background: var(--st-100);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-block: var(--sp-10);
}
.art-author__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: var(--text-lg);
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.art-author__name {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}
.art-author__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ── Outbound Authority Link ──────────────────────────────── */
.art-authority {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-5);
  margin-block: var(--sp-6);
  text-decoration: none;
}
.art-authority__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--brand-600);
  margin-top: 1px;
}
.art-authority__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.art-authority__text strong {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--brand-700);
  display: block;
  margin-bottom: 2px;
}

/* ── Animation keyframe ───────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .art-layout { grid-template-columns: 1fr; }
  .art-aside { position: static; }
  .art-layout > .art-aside { order: -1; }
}
@media (max-width: 768px) {
  .art-progress-milestone { padding: var(--sp-6) var(--sp-6) var(--sp-6) var(--sp-8); }
  .art-matrix { grid-template-columns: 1fr; }
  .case-sim__grid { grid-template-columns: 1fr 1fr; }
  .sim-output { grid-template-columns: 1fr; }
  .quiz-opts { flex-direction: column; }
  .dt-options { flex-direction: column; }
}
@media (max-width: 480px) {
  .art-progress-badge { bottom: var(--sp-3); right: var(--sp-3); }
  .case-sim__grid { grid-template-columns: 1fr; }
  .art-compare__tabs { flex-direction: column; }
  .art-compare__tab { border-right: none; border-bottom: 1px solid var(--color-border); }
}

/* ============================================================
   LEGACY .article-* ALIASES (non-intel pages)
   ============================================================ */
.article-hero        { background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-800) 100%); padding-top: calc(var(--nav-h, 64px) + var(--sp-16)); padding-bottom: var(--sp-16); }
.article-hero__breadcrumb { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--text-xs); color: rgba(255,255,255,.45); margin-bottom: var(--sp-6); flex-wrap: wrap; }
.article-hero__breadcrumb a { color: rgba(255,255,255,.55); text-decoration: none; }
.article-hero__breadcrumb a:hover { color: rgba(255,255,255,.85); }
.article-hero__breadcrumb span { color: rgba(255,255,255,.25); }
.article-hero__label { font-family: var(--font-head); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-300); margin-bottom: var(--sp-4); }
.article-hero__h1   { font-family: var(--font-head); font-size: clamp(var(--text-3xl), 4.5vw, var(--text-6xl)); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; color: #fff; max-width: 780px; margin-bottom: var(--sp-5); }
.article-hero__sub  { font-size: var(--text-lg); color: rgba(255,255,255,.6); line-height: 1.72; max-width: 640px; }
.article-hero__meta { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-8); font-size: var(--text-xs); color: rgba(255,255,255,.4); letter-spacing: 0.04em; }
.article-hero__meta strong { color: rgba(255,255,255,.7); }
.article-layout     { display: grid; grid-template-columns: 1fr 320px; gap: var(--sp-12); padding-block: var(--sp-16); align-items: start; }
.article-body p     { font-size: var(--text-base); line-height: 1.8; color: var(--color-text-muted); margin-bottom: var(--sp-4); max-width: 720px; }
.article-body h2    { font-family: var(--font-head); font-size: var(--text-2xl); font-weight: 700; letter-spacing: -0.02em; color: var(--color-text); margin-top: var(--sp-12); margin-bottom: var(--sp-4); padding-top: var(--sp-8); border-top: 1px solid var(--color-border); }
.article-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.article-body h3    { font-family: var(--font-head); font-size: var(--text-xl); font-weight: 700; color: var(--color-text); margin-top: var(--sp-8); margin-bottom: var(--sp-3); }
.article-body ul, .article-body ol { margin-bottom: var(--sp-5); padding-left: var(--sp-6); }
.article-body ul    { list-style: disc; }
.article-body ol    { list-style: decimal; }
.article-body li    { font-size: var(--text-base); color: var(--color-text-muted); line-height: 1.75; margin-bottom: var(--sp-2); max-width: 720px; }
.article-body a     { color: var(--brand-700); text-decoration: underline; text-decoration-color: var(--brand-200); text-underline-offset: 2px; }
.article-body a:hover { text-decoration-color: var(--brand-700); }
.article-body strong { font-weight: 700; color: var(--color-text); }
.article-aside      { position: sticky; top: calc(var(--nav-h, 64px) + var(--sp-8)); }
.interactive-block  { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--sp-8); margin-block: var(--sp-10); }
.interactive-block__label { font-family: var(--font-head); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-600); margin-bottom: var(--sp-2); }
.interactive-block__title { font-family: var(--font-head); font-size: var(--text-xl); font-weight: 700; margin-bottom: var(--sp-6); letter-spacing: -0.01em; }
@media (max-width: 1024px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }
@media (max-width: 640px) { .case-sim__grid { grid-template-columns: 1fr 1fr; } .sim-output { grid-template-columns: 1fr; } }
