/* ============================================================
   Why inflammation v2 — editorial components, full-width.
   Matches the site's composition: wide .wrap grids, hairline
   dividers, light display type. Functional signal color
   (caution amber = the "watch" state) is the one accent.
   ============================================================ */

.iv2 { --sec-pad: clamp(72px,10vh,128px); }
.iv2 section { position: relative; }

/* numbered section opener (matches home) */
.iv2-open .eyebrow .n { color: var(--text-tertiary); }

/* ---- hero ---- */
.iv2-hero { padding: clamp(80px,13vh,150px) 0 clamp(48px,8vh,90px); }
.iv2-hero h1 .accent { color: var(--signal-caution); }

/* ---- two-faces comparison ---- */
.iv2-faces { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.iv2-faces.stack { grid-template-columns: 1fr; gap: 14px; }
.iv2-face {
  border: 1px solid var(--border-default); border-radius: var(--radius-lg);
  padding: 26px 26px 28px; background: var(--surface-page);
}
.iv2-face.warn { border-color: transparent; background: color-mix(in srgb, var(--signal-caution) 9%, var(--surface-page)); }
.iv2-face h4 {
  margin: 0 0 16px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-tertiary);
  display: flex; align-items: center; gap: 9px;
}
.iv2-face.warn h4 { color: var(--signal-caution); }
.iv2-face h4 .tick { width: 7px; height: 7px; border-radius: 50%; background: var(--signal-positive); }
.iv2-face.warn h4 .tick { background: var(--signal-caution); }
.iv2-face ul { list-style: none; margin: 0; padding: 0; }
.iv2-face li {
  font-size: 14.5px; line-height: 1.5; padding: 10px 0;
  border-top: 1px solid var(--border-subtle); color: var(--text-secondary);
}
.iv2-face li:first-child { border-top: 0; }
.iv2-face li b { color: var(--text-primary); font-weight: 600; }

/* ---- figure card ---- */
.iv2-fig-card {
  border: 1px solid var(--border-default); border-radius: var(--radius-lg);
  background: var(--surface-page); box-shadow: var(--shadow-sm);
  padding: 28px clamp(22px,3vw,40px) 26px;
}
.iv2-fig-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 22px;
}
.iv2-legend { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 22px; font-size: 13px; color: var(--text-secondary); }
.iv2-legend .k { display: inline-flex; align-items: center; gap: 9px; }
.iv2-legend .sw { width: 20px; height: 3px; border-radius: 2px; flex: none; }
.iv2-cap { font-size: 14px; line-height: 1.6; color: var(--text-tertiary); margin: 18px 0 0; max-width: 66ch; }

/* ---- big stake number ---- */
.iv2-bignum {
  font-variant-numeric: tabular-nums; font-weight: 200;
  font-size: clamp(110px,13vw,210px); line-height: 0.82; letter-spacing: -0.045em;
  color: var(--text-primary); margin: 0;
}
.iv2-bignum .slash { color: var(--signal-caution); }
.iv2-say {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(22px,2.6vw,30px); line-height: 1.34; letter-spacing: -0.01em;
  color: var(--text-primary); margin: 26px 0 0; max-width: 30ch;
}

/* ---- pull quote ---- */
.iv2-quote {
  margin: 0; padding-left: 30px; border-left: 3px solid var(--signal-caution);
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(26px,4vw,44px); line-height: 1.28; letter-spacing: -0.01em;
  color: var(--text-primary); max-width: 1000px;
}

/* ---- disease deep-dives ---- */
.iv2-dive { padding-top: 56px; margin-top: 56px; border-top: 1px solid var(--border-default); }
.iv2-dive:first-of-type { border-top: 0; margin-top: 44px; padding-top: 0; }
.iv2-dive .tag {
  display: block; margin-bottom: 12px; font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--signal-caution); font-weight: 500;
}
.iv2-dive h3 { margin: 0 0 18px; font-size: clamp(24px,2.8vw,32px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.16; color: var(--text-primary); }
.iv2-dive .dive-lead { font-size: 16px; line-height: 1.7; color: var(--text-secondary); margin: 0; }
.iv2-dive .dive-lead b { color: var(--text-primary); font-weight: 600; }

/* evidence block */
.iv2-ev {
  border: 1px solid var(--border-default); border-left: 3px solid var(--signal-caution);
  border-radius: var(--radius-lg); background: var(--surface-tint); padding: 26px clamp(22px,2.6vw,30px) 28px;
}
.iv2-ev-stats { display: flex; flex-wrap: wrap; gap: 24px 44px; }
.iv2-ev-stat .n {
  font-weight: 200; font-size: clamp(40px,4.6vw,56px); line-height: 1; letter-spacing: -0.02em;
  color: var(--text-primary); font-variant-numeric: tabular-nums;
}
.iv2-ev-stat .n .u { font-size: 0.45em; color: var(--signal-caution); margin-left: 2px; }
.iv2-ev-stat .c { display: block; margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--text-secondary); max-width: 22ch; }
.iv2-ev-note { margin: 22px 0 0; font-size: 15px; line-height: 1.65; color: var(--text-secondary); }
.iv2-ev-note b { color: var(--text-primary); font-weight: 600; }

/* ---- where it matters (dark) ---- */
.iv2-matters { background: var(--surface-inverse); color: var(--grey-250); }
.iv2-matters .rule { background: var(--signal-caution); }
.iv2-matters .eyebrow { color: var(--signal-caution); }
.iv2-matters h2 { color: var(--white); }
.iv2-apps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 56px 48px; margin-top: 60px; }
.iv2-app { border-top: 1px solid var(--paper-a12); padding-top: 22px; }
.iv2-app .head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 2.8em; margin-bottom: 14px; }
.iv2-app h3 { margin: 0; color: var(--white); font-size: 18px; line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; }
.iv2-app .stat { flex: none; font-weight: 200; font-size: 28px; line-height: 1; letter-spacing: -0.02em; color: var(--white); font-variant-numeric: tabular-nums; }
.iv2-app .dash { flex: none; width: 26px; height: 1px; background: var(--grey-500); transform: translateY(-0.4em); }
.iv2-app p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--grey-350); }
@media (max-width: 900px) { .iv2-apps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .iv2-apps { grid-template-columns: 1fr; } .iv2-app .head { min-height: 0; } }

/* ---- references ---- */
.iv2-refs ol { list-style: none; counter-reset: r; margin: 36px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.iv2-refs li {
  counter-increment: r; position: relative; padding: 18px 0 18px 46px;
  border-top: 1px solid var(--border-subtle); font-size: 13.5px; line-height: 1.6; color: var(--text-secondary);
}
.iv2-refs li::before {
  content: counter(r); position: absolute; left: 0; top: 18px;
  font-family: var(--font-mono); font-size: 12px; color: var(--signal-caution);
}
.iv2-refs li i { color: var(--text-primary); font-style: italic; }
.iv2-refs a { color: var(--signal-info); text-decoration: none; }
.iv2-refs a:hover { text-decoration: underline; }
@media (max-width: 760px) { .iv2-refs ol { grid-template-columns: 1fr; } }

/* superscript citation */
sup.iv2-ref { font-family: var(--font-mono); font-size: 0.6em; line-height: 0; }
sup.iv2-ref a { text-decoration: none; font-weight: 500; color: var(--signal-caution); padding: 0 0.1em; }
sup.iv2-ref a:hover { text-decoration: underline; }
