/* Peptide Curator — business-publication editorial styling.
   Genre conventions only: serif headlines, a single accent, a dense card grid,
   bylines and kickers. No third-party marks, wordmarks or trade dress. */

:root {
  --ink: #12100e;
  --body: #33302c;
  --muted: #6b6560;
  --hair: #e2ded8;
  --hair-strong: #cfc9c1;
  --paper: #ffffff;
  --wash: #f7f5f2;
  --accent: #a4161a;          /* deep crimson — deliberately not any masthead's red */
  --accent-ink: #ffffff;
  --gold: #8a6d1f;            /* second accent, for section numerals only */
  --good: #1b7f4b;
  --bad: #a4161a;
  --lift: 0 1px 2px rgba(18,16,14,.04), 0 8px 24px -12px rgba(18,16,14,.16);
  --lift-hi: 0 2px 4px rgba(18,16,14,.05), 0 14px 38px -14px rgba(18,16,14,.22);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
}
::selection { background: rgba(164,22,26,.14); }
/* Keyboard users get a visible ring; pointer users never see it. */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* Figures that sit in a column must line up. */
.stat-n, .bar-n, .dt-table td, .facts-grid dd, .vseg, .verdict-score b { font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ---------- masthead ---------- */
.topstrip {
  background: var(--ink); color: #fff;
  font-family: var(--sans); font-size: 11px; letter-spacing: .09em;
  text-transform: uppercase;
}
.topstrip .wrap { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.topstrip a { color: #cfc9c1; margin-left: 18px; }
.topstrip a:hover { color: #fff; }

.masthead { border-bottom: 3px solid var(--ink); position: relative; }
.masthead::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--hair-strong); }
.masthead .wrap { padding-top: 26px; padding-bottom: 18px; text-align: center; }
.wordmark {
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1;
  display: inline-block;
}
.wordmark span { color: var(--accent); }
.tagline {
  margin-top: 9px; font-size: 11.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
}

/* Sticky, so the sections stay reachable on a long data page. */
.mainnav { border-bottom: 1px solid var(--hair); background: rgba(255,255,255,.94);
           position: sticky; top: 0; z-index: 40; backdrop-filter: saturate(1.6) blur(8px); }
.mainnav .wrap {
  display: flex; gap: 26px; justify-content: center; flex-wrap: wrap;
  height: 46px; align-items: center;
}
.mainnav a {
  font-size: 12.5px; letter-spacing: .11em; text-transform: uppercase;
  font-weight: 600; color: var(--ink); padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.mainnav a { transition: color .14s, border-color .14s; }
.mainnav a:hover, .mainnav a[aria-current] { border-bottom-color: var(--accent); color: var(--accent); }

/* ---------- labels ---------- */
.kicker {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--accent); margin-bottom: 7px;
}
.byline { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.byline b { color: var(--ink); font-weight: 600; }

/* Paid content must be labelled clearly, not buried. */
.adlabel {
  display: inline-block; font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 700;
  background: var(--wash); color: var(--muted);
  border: 1px solid var(--hair-strong);
  padding: 3px 9px; border-radius: 2px; margin-bottom: 10px;
}

/* ---------- lead ---------- */
.lead { padding: 34px 0 30px; border-bottom: 1px solid var(--hair); }
.lead-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
.lead h1 {
  font-family: var(--serif); font-weight: 700; color: var(--ink);
  font-size: clamp(30px, 4.4vw, 50px); line-height: 1.1;
  letter-spacing: -.02em; margin: 0 0 14px;
}
.lead h1 a:hover { color: var(--accent); }
.standfirst { font-size: 19px; line-height: 1.55; color: var(--body); margin: 0; }
.lead figure { margin: 0; }
.lead figure .ph { aspect-ratio: 3 / 2; }

/* ---------- placeholder art ---------- */
.ph {
  background:
    linear-gradient(135deg, rgba(0,0,0,.05) 25%, transparent 25%) 0 0/22px 22px,
    linear-gradient(225deg, rgba(0,0,0,.05) 25%, transparent 25%) 0 0/22px 22px,
    var(--wash);
  border: 1px solid var(--hair);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}

/* ---------- article grid ---------- */
.section-head {
  display: flex; align-items: baseline; gap: 14px;
  margin: 34px 0 18px; padding-bottom: 9px; border-bottom: 2px solid var(--ink);
}
.section-head h2 {
  font-family: var(--serif); font-size: 22px; margin: 0; color: var(--ink);
  letter-spacing: -.01em;
}
.section-head span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 34px; }
.card .ph { aspect-ratio: 3 / 2; margin-bottom: 12px; }
.card h3 {
  font-family: var(--serif); font-size: 21px; line-height: 1.25;
  margin: 0 0 8px; color: var(--ink); letter-spacing: -.01em;
}
.card h3 a { transition: color .14s; }
.card h3 a:hover { color: var(--accent); }
.card img { transition: filter .2s; }
.card:hover img { filter: saturate(1.06) contrast(1.02); }
.card p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ---------- two column body ---------- */
.cols { display: grid; grid-template-columns: 1fr 320px; gap: 46px; margin: 40px 0 10px; }
.rail h4 {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin: 0 0 14px; color: var(--ink);
}
.rank { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--hair); }
.rank:last-child { border-bottom: 0; }
.rank .n {
  font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--hair-strong); font-weight: 700;
  min-width: 30px;
}
.rank h5 { margin: 0; font-size: 15.5px; line-height: 1.35; color: var(--ink); font-weight: 600; }
.rank h5 a:hover { color: var(--accent); }

/* ---------- article page ---------- */
.article { max-width: 720px; margin: 0 auto; padding: 34px 0 10px; }
.article h1 {
  font-family: var(--serif); font-size: clamp(32px, 4.8vw, 52px); line-height: 1.08;
  letter-spacing: -.025em; color: var(--ink); margin: 0 0 16px;
  font-weight: 700; text-wrap: balance;
}
.article .standfirst { font-size: 21px; line-height: 1.5; color: var(--body); margin-bottom: 20px; max-width: 68ch; text-wrap: pretty; }
.article .meta {
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  padding: 12px 0; margin-bottom: 26px; font-size: 13px; color: var(--muted);
}
.article p { margin: 0 0 18px; font-size: 18px; line-height: 1.72; }
.article h2 {
  font-family: var(--serif); font-size: 27px; color: var(--ink);
  margin: 34px 0 12px; letter-spacing: -.01em;
}
.article ul { padding-left: 22px; margin: 0 0 18px; }
.article li { margin: 7px 0; font-size: 18px; line-height: 1.65; }
/* A pull quote on a data page is the one place a sentence gets to be large. */
.pullquote {
  position: relative; margin: 36px 0; padding: 26px 0 26px 0;
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--hair-strong);
  font-family: var(--serif); font-size: clamp(21px, 2.7vw, 29px); line-height: 1.32;
  letter-spacing: -.015em; color: var(--ink); text-wrap: pretty;
}
.pullquote::before {
  content: ""; position: absolute; top: -2px; left: 0; width: 64px; height: 2px; background: var(--accent);
}
.cta {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 15px; letter-spacing: .02em;
  padding: 13px 26px; border-radius: 2px; margin: 6px 0 4px;
}
.cta { transition: transform .12s, box-shadow .12s, filter .12s; }
.cta:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: var(--lift); }
.disclosure {
  background: var(--wash); border: 1px solid var(--hair);
  padding: 14px 16px; font-size: 13px; color: var(--muted); line-height: 1.6; margin: 26px 0;
}

/* ---------- footer ---------- */
.site-foot { border-top: 3px solid var(--ink); margin-top: 50px; padding: 30px 0 46px; background: var(--wash); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; }
.foot-grid h5 {
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 10px; color: var(--ink);
}
.foot-grid a { display: block; font-size: 14px; color: var(--muted); padding: 3px 0; }
.foot-grid a:hover { color: var(--accent); }
.legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--hair-strong); }
.legal p { font-size: 12px; color: var(--muted); line-height: 1.65; margin: 0 0 8px; max-width: 92ch; }

@media (max-width: 900px) {
  .lead-grid, .cols, .grid { grid-template-columns: 1fr; }
  .grid { gap: 26px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cols { gap: 30px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .mainnav .wrap { justify-content: flex-start; overflow-x: auto; height: 44px; gap: 20px; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ---------------- review verdict card ----------------
   The credibility of a review site is whether it will say what it doesn't
   know. So "could not confirm" gets its own visual weight rather than being
   quietly omitted. */
.verdict {
  border: 1px solid var(--hair-strong);
  border-top: 4px solid var(--accent);
  background: var(--wash);
  padding: 22px 24px;
  margin: 0 0 28px;
}
.verdict-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px; flex-wrap: wrap; padding-bottom: 16px;
  border-bottom: 1px solid var(--hair-strong);
}
.verdict-label {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--muted);
}
.verdict-score { font-family: var(--serif); line-height: 1; margin-top: 6px; }
.verdict-score b { font-size: 42px; color: var(--ink); }
.verdict-score span { font-size: 19px; color: var(--muted); margin-left: 4px; }
.verdict-unk { font-size: 12.5px; color: var(--accent); margin-top: 6px; font-weight: 600; }
.verdict-meta { display: flex; gap: 30px; font-size: 12.5px; color: var(--muted); text-align: right; }
.verdict-meta b { color: var(--ink); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.verdict-meta a { color: var(--accent); text-decoration: underline; }
.verdict-text {
  font-family: var(--serif); font-size: 19px; line-height: 1.5;
  color: var(--ink); margin: 16px 0 4px;
}

.facts { width: 100%; border-collapse: collapse; margin: 14px 0 0; }
.facts tr { border-bottom: 1px solid var(--hair); }
.facts tr:last-child { border-bottom: 0; }
.facts td, .facts th { padding: 10px 0; vertical-align: top; text-align: left; }
.facts th { font-size: 15px; font-weight: 600; color: var(--ink); width: 40%; padding-right: 16px; }
.facts td:first-child { width: 30px; }
.facts .note { font-size: 14px; color: var(--muted); line-height: 1.5; }
.mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%; font-size: 12px; font-weight: 700;
}
.mark.yes { background: #1b7f4b; color: #fff; }
.mark.no  { background: var(--accent); color: #fff; }
.mark.unk { background: #c9a227; color: #fff; }
.facts-note { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; line-height: 1.55; }

@media (max-width: 640px) {
  .verdict { padding: 18px 16px; }
  .verdict-meta { text-align: left; gap: 20px; }
  .facts th { width: 50%; font-size: 14px; }
  .facts .note { font-size: 13px; }
}

/* ---------------- tier board ----------------
   Ported from peptidenugget.com's TierBoard.module.css so the two properties
   render the same object: same 92px tiles, same 6px gutters, same grade palette,
   same hue-rotated vial art. The only thing removed is the dragging — this board
   is the publication's ranking, so it is a published table, not a toy.

   It keeps the dark chassis on an otherwise light editorial page on purpose. The
   board is the artefact readers recognise from the other site; making it match
   the newsprint around it would throw away that recognition. */
.tierchrome { --tile: 92px; --label-w: 168px; --gap: 6px;
  --b-line: #333844; --b-panel: #1e2127; --b-panel2: #252932;
  --b-text: #e8eaed; --b-muted: #9aa1ad; --b-accent: #ff8080; --b-money: #3ddc84; }

.boardhead { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 30px 0 12px; }
.boardtitle { font-family: var(--serif); font-size: 26px; letter-spacing: -.02em; margin: 0; }

/* The one line a reader must not skim past, so it gets a tinted pill rather
   than quiet grey type — same treatment it gets on the other board. */
.callout {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px;
  background: linear-gradient(90deg, rgba(164,22,26,.10), rgba(164,22,26,.02));
  border: 1px solid rgba(164,22,26,.35); border-radius: 999px;
  font-size: 14px; color: var(--body);
}
.callout b { color: var(--accent); font-weight: 700; }
.callout .sep { color: var(--muted); }
.callout .tap { font-weight: 700; color: #1b7f4b; }

.tierboard {
  --tile: 92px; --label-w: 168px; --gap: 6px;
  border: 1px solid #333844; border-radius: 10px; overflow: hidden;
  background: #0f1114; margin: 0 0 30px;
}
.trow { display: flex; align-items: stretch; border-bottom: 1px solid #333844;
        min-height: calc(var(--tile) + var(--gap) * 2); }
.trow:last-child { border-bottom: 0; }
.tlabel {
  width: var(--label-w); flex: 0 0 var(--label-w);
  display: flex; align-items: center; justify-content: center; padding: 8px 10px;
}
.tlabel span {
  color: #14171a; font-weight: 700; font-size: 17px; text-align: center;
  width: 100%; word-break: break-word; line-height: 1.2;
  font-family: var(--sans, inherit);
}
.titems {
  flex: 1; display: flex; flex-wrap: wrap; gap: var(--gap); padding: var(--gap);
  align-content: flex-start; background: #1e2127;
  min-height: calc(var(--tile) + var(--gap) * 2);
}
.ttile {
  width: var(--tile); height: var(--tile); flex: 0 0 auto;
  border-radius: 7px; overflow: hidden; position: relative;
  background: #252932; border: 1px solid #333844;
  display: flex; align-items: center; justify-content: center; text-align: center;
  text-decoration: none; color: #e8eaed;
  transition: transform .08s, box-shadow .08s;
}
.ttile:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.45); z-index: 2; }
/* contain, not cover: the vial stays centred and never crops. */
.tvial { position: absolute; inset: 0; width: 100%; height: 100%;
         object-fit: contain; object-position: center; border: 0; }
.tname {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 4px;
  font-size: 10px; font-weight: 600; line-height: 1.15; word-break: break-word;
  background: linear-gradient(transparent, rgba(0,0,0,.88) 45%);
}
.tgo { position: absolute; top: 6px; right: 5px; font-size: 10px; line-height: 1;
       color: rgba(232,234,237,.32); }
.ttile:hover .tgo { color: #ff8080; }

.tierkey { list-style: none; padding: 0; margin: 0 0 8px; }
.tierkey li { display: flex; align-items: baseline; gap: 10px;
              font-size: 15.5px; line-height: 1.6; margin: 10px 0; color: var(--body); }
.tkey {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 26px; color: #14171a; font-weight: 700; font-size: 14px;
  border-radius: 4px;
}

/* Narrower label buys a whole extra tile per row at phone widths — the same
   trade the other board makes at the same breakpoint. */
@media (max-width: 640px) {
  .tierboard { --tile: 84px; --label-w: 56px; }
  .tlabel { padding: 6px 4px; }
  .tlabel span { font-size: 15px; }
  .boardhead { margin: 22px 0 10px; gap: 10px; }
  .boardtitle { font-size: 21px; }
  .callout { font-size: 13px; padding: 8px 12px; border-radius: 12px; }
}

/* Editorial art. Fixed ratio everywhere so a card grid can't go ragged while
   images load, and so a swapped-in photo never reflows the page. */
figure.art { margin: 0 0 22px; }
figure.art img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; display: block; border: 1px solid var(--hair); }
figure.art.wide { margin-bottom: 26px; }
figure.art.wide img { aspect-ratio: 21/9; }
.card img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; margin-bottom: 12px; border: 1px solid var(--hair); }
.lead figure img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }

/* ======================================================================
   INFOGRAPHIC PRIMITIVES
   Pair with lib/viz.js. A figure is always written as well as drawn — the
   bar is the fast read, the number is the fact.
   ====================================================================== */

/* ---- stat strip ---- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
         gap: 1px; background: var(--paper); border: 1px solid var(--hair-strong);
         margin: 24px 0 28px; }
.stat { background: var(--paper); padding: 18px 16px; outline: 1px solid var(--hair-strong); }
.stat-n { font-family: var(--serif); font-size: 40px; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.stat-l { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.stat-note { font-size: 13px; color: var(--body); margin-top: 6px; line-height: 1.45; }
.stat.good .stat-n { color: #1b7f4b; }
.stat.bad  .stat-n { color: var(--accent); }
.stat.flat .stat-n { color: var(--muted); }

/* ---- vote bar ---- */
.vote { margin: 18px 0 24px; }
.vbar { display: flex; height: 42px; border: 1px solid var(--hair-strong); overflow: hidden; }
.vseg { display: flex; align-items: center; justify-content: center; min-width: 26px;
        font-weight: 700; font-size: 15px; color: #fff; }
.vseg.vyes { background: #1b7f4b; }
.vseg.vno  { background: #a4161a; }
.vseg.vab  { background: #8a8f98; }
.vlegend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px;
           font-size: 13.5px; color: var(--body); align-items: center; }
.vlegend i { display: inline-block; width: 11px; height: 11px; margin-right: 6px; vertical-align: -1px; }
.vlegend i.vyes { background: #1b7f4b; } .vlegend i.vno { background: #a4161a; } .vlegend i.vab { background: #8a8f98; }
.vout { margin-left: auto; font-weight: 700; letter-spacing: .02em; }
.vout.passed { color: #1b7f4b; } .vout.failed { color: var(--accent); }
.vote.none { border: 1px dashed var(--hair-strong); padding: 16px; text-align: center; }
.vote-null { font-size: 14px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* ---- pipeline ---- */
.pipe { margin: 24px 0 28px; }
.pipe-steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
              list-style: none; padding: 0; margin: 0; gap: 0; }
.pstep { position: relative; padding: 0 10px; text-align: center; }
/* the connector, drawn behind the dot */
.pstep::before { content: ""; position: absolute; top: 17px; left: 0; right: 50%; height: 2px; background: var(--hair-strong); }
.pstep::after  { content: ""; position: absolute; top: 17px; left: 50%; right: 0; height: 2px; background: var(--hair-strong); }
.pstep:first-child::before, .pstep:last-child::after { display: none; }
.pstep.done::before, .pstep.done::after, .pstep.now::before { background: #1b7f4b; }
.pdot { position: relative; z-index: 1; width: 36px; height: 36px; margin: 0 auto 10px;
        border-radius: 50%; display: flex; align-items: center; justify-content: center;
        font-weight: 700; font-size: 15px; background: var(--paper);
        border: 2px solid var(--hair-strong); color: var(--muted); }
.pstep.done .pdot { background: #1b7f4b; border-color: #1b7f4b; color: #fff; }
.pstep.now  .pdot { background: var(--paper); border-color: var(--accent); color: var(--accent);
                    box-shadow: 0 0 0 4px rgba(164,22,26,.12); }
.plabel { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.pstate { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.pstep.now .pstate { color: var(--accent); font-weight: 700; }
.pipe-note { font-size: 14px; color: var(--body); margin: 16px 0 0; }

/* ---- fact grid ---- */
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
              gap: 1px; background: var(--paper); border: 1px solid var(--hair-strong);
              margin: 22px 0 26px; }
.fg { background: var(--paper); padding: 13px 15px; outline: 1px solid var(--hair-strong); }
.fg dt { font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.fg dd { margin: 5px 0 0; font-size: 16px; color: var(--ink); font-family: var(--serif); line-height: 1.3; }
.fg.wide { grid-column: 1 / -1; }
.fg.bad dd { color: var(--accent); }
.fg.good dd { color: #1b7f4b; }

/* ---- timeline ---- */
.tl { list-style: none; padding: 0; margin: 22px 0 26px; border-left: 2px solid var(--hair-strong); }
.tl-i { position: relative; padding: 0 0 22px 22px; }
.tl-i::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px;
                border-radius: 50%; background: var(--muted); border: 2px solid var(--paper); }
.tl-i.now::before { background: var(--accent); }
.tl-i.good::before { background: #1b7f4b; }
.tl-date { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.tl-body b { display: block; font-family: var(--serif); font-size: 18px; color: var(--ink); margin: 3px 0 4px; }
.tl-body p { margin: 0; font-size: 15px; color: var(--body); line-height: 1.55; }

/* ---- matrix ---- */
.mx-wrap { overflow-x: auto; margin: 22px 0 26px; }
.mx { border-collapse: collapse; width: 100%; min-width: 520px; }
.mx th, .mx td { border: 1px solid var(--hair); padding: 9px 10px; text-align: center; }
.mx thead th { background: var(--wash); font-size: 10.5px; letter-spacing: .07em;
               text-transform: uppercase; color: var(--muted); font-weight: 600; }
.mx tbody th { text-align: left; font-family: var(--serif); font-size: 15.5px;
               font-weight: 400; color: var(--ink); white-space: nowrap; }
.mk { font-weight: 700; font-size: 15px; }
.mk.y { color: #1b7f4b; } .mk.n { color: var(--accent); } .mk.u { color: var(--muted); }

/* ---- bar chart ---- */
.bars { margin: 22px 0 26px; }
.bar-row { display: grid; grid-template-columns: minmax(120px, 1.3fr) 3fr 44px;
           align-items: center; gap: 12px; padding: 7px 0; }
.bar-l { font-size: 15px; color: var(--ink); }
.bar-l a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hair-strong); }
.bar-l a:hover { color: var(--accent); border-color: var(--accent); }
.bar-t { background: var(--wash); height: 20px; border: 1px solid var(--hair); }
.bar-f { height: 100%; background: var(--ink); }
.bar-f.good { background: #1b7f4b; } .bar-f.bad { background: var(--accent); } .bar-f.flat { background: #b08900; }
.bar-n { font-size: 14px; font-weight: 700; color: var(--ink); text-align: right; }

/* ---- annotated art ---- */
.anno { margin: 24px 0 28px; }
.anno-img { position: relative; line-height: 0; }
.anno-img img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border: 1px solid var(--hair); }
.pin { position: absolute; transform: translate(-50%, -50%);
       width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff;
       display: flex; align-items: center; justify-content: center;
       font-size: 14px; font-weight: 700; line-height: 1;
       box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 2px 8px rgba(0,0,0,.35); }
.anno-key { margin: 16px 0 0; padding-left: 20px; }
.anno-key li { font-size: 15.5px; line-height: 1.6; color: var(--body); margin: 8px 0; }
.anno-key b { color: var(--ink); }

/* ---- data table ---- */
.dt { margin: 22px 0 30px; }
.dt-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 14px; }
.dt-search { flex: 1 1 240px; min-width: 0; padding: 10px 13px; font: inherit; font-size: 15px;
             border: 1px solid var(--hair-strong); background: var(--paper); color: var(--ink); }
.dt-search:focus { outline: none; border-color: var(--accent); }
.dt-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { --chip: var(--hair-strong);
        border: 1px solid var(--hair-strong); background: var(--paper); color: var(--body);
        padding: 7px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.chip span { color: var(--muted); font-size: 12px; margin-left: 3px; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip.on span { color: rgba(255,255,255,.6); }
.dt-scroll { overflow-x: auto; border: 1px solid var(--hair-strong); border-top: 3px solid var(--ink); }
.dt-table { border-collapse: collapse; width: 100%; min-width: 660px; }
.dt-table th, .dt-table td { padding: 11px 13px; text-align: left; border-bottom: 1px solid var(--hair); }
.dt-table thead th { background: var(--wash); font-size: 10.5px; letter-spacing: .07em;
                     text-transform: uppercase; color: var(--muted); font-weight: 600;
                     cursor: pointer; user-select: none; white-space: nowrap; position: sticky; top: 0; }
.dt-table thead th:hover { color: var(--ink); }
.dt-table thead th .sort { color: var(--accent); font-weight: 700; }
.dt-table tbody tr:hover { background: var(--wash); }
.dt-table td.num, .dt-table th.num { text-align: right; }
.dt-name { font-family: var(--serif); font-size: 17px; color: var(--ink); text-decoration: none;
            white-space: nowrap; display: inline-flex; align-items: center; }
.dt-name:hover { color: var(--accent); }
.dt-sub { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.dt-empty { text-align: center; padding: 28px; color: var(--muted); font-size: 15px;
            border: 1px solid var(--hair); border-top: 0; margin: 0; }

/* tier chip — the same letters as the board, small enough to sit in a cell */
.tchip { display: inline-flex; align-items: center; justify-content: center;
         min-width: 26px; height: 24px; padding: 0 7px; border-radius: 3px;
         font-weight: 700; font-size: 13px; color: #14171a; font-family: var(--serif); }

@media (max-width: 640px) {
  .stat-n { font-size: 32px; }
  .pipe-steps { grid-auto-flow: row; grid-auto-columns: auto; }
  /* Stacked, the connector has to run vertically or it draws across nothing. */
  .pstep { display: grid; grid-template-columns: 36px 1fr; gap: 0 14px; text-align: left; padding: 0 0 18px; }
  .pstep::before { top: 0; bottom: auto; left: 17px; right: auto; width: 2px; height: 8px; }
  .pstep::after  { top: 36px; left: 17px; right: auto; width: 2px; height: calc(100% - 36px); }
  .pdot { margin: 0; grid-row: span 2; }
  .plabel { align-self: center; }
  .pstep .pstate { grid-column: 2; }
  .bar-row { grid-template-columns: minmax(90px, 1.1fr) 2fr 40px; gap: 8px; }
  .bar-l { font-size: 14px; }
}

/* ---- data sheet chrome ---- */
/* A data sheet is wider than a column of prose — tables need the room. */
.article.sheet { max-width: 1040px; }
.sheet h1 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.vial { display: inline-block; vertical-align: middle; flex: 0 0 auto; }
.panel { margin: 34px 0 0; }
.panel > h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
              font-family: var(--sans, inherit); font-weight: 700; margin: 0 0 4px;
              padding-bottom: 9px; border-bottom: 2px solid var(--ink); }
.pnote { font-size: 14px; color: var(--muted); line-height: 1.6; margin: -8px 0 0; max-width: 72ch; }
.def { font-size: 16.5px; line-height: 1.65; color: var(--body); margin: 14px 0; max-width: 72ch; }
.u { font-size: 13px; color: var(--muted); font-family: var(--sans, inherit); }
.backlink { font-size: 14px; margin-top: 26px; }
.dt-name .vial { margin-right: 8px; vertical-align: -9px; }
/* Tier reads as one unit: chip then name, never broken across lines. */
.dt-table td:nth-child(2) { white-space: nowrap; }
.dt-tname { font-size: 12.5px; color: var(--muted); }
.dt-table th:nth-child(2), .dt-table td:nth-child(2) { width: 1%; }
.dt-table td:nth-child(5) { white-space: nowrap; }
.dt-table b.y { color: #1b7f4b; } .dt-table b.n { color: var(--accent); }
.dt-table .ab { color: var(--muted); font-size: 12.5px; }

/* compound cards on a research-area sheet */
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 18px 0 0; }
.ccard { display: flex; align-items: center; gap: 12px; padding: 12px 14px;
         border: 1px solid var(--hair-strong); text-decoration: none; background: var(--paper); transition: .12s; }
.ccard:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: 0 3px 10px rgba(0,0,0,.07); }
.cname { display: block; font-family: var(--serif); font-size: 17px; color: var(--ink); }
.csub { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 4px; }
.namelist { columns: 2; column-gap: 30px; padding-left: 20px; margin: 16px 0 0; }
.namelist li { font-size: 15.5px; color: var(--body); margin: 6px 0; break-inside: avoid; }
@media (max-width: 560px) { .namelist { columns: 1; } }

/* ---- big points (slide-style) ---- */
.pts { list-style: none; counter-reset: pt; padding: 0; margin: 20px 0 26px; }
.pts li { counter-increment: pt; position: relative; padding: 0 0 20px 52px; }
.pts li::before { content: counter(pt); position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 17px; font-weight: 700; }
.pt-h { font-family: var(--serif); font-size: 22px; line-height: 1.25; color: var(--ink); letter-spacing: -.01em; }
.pts li p { margin: 7px 0 0; font-size: 16px; line-height: 1.6; color: var(--body); max-width: 62ch; }

/* ---- contrast columns ---- */
.ct { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0 26px; }
.ct-col { border: 1px solid var(--hair-strong); border-top: 4px solid var(--hair-strong); padding: 16px 18px; }
.ct-col.yes { border-top-color: #1b7f4b; }
.ct-col.no  { border-top-color: var(--accent); }
.ct-h { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.ct-col.yes .ct-h { color: #1b7f4b; } .ct-col.no .ct-h { color: var(--accent); }
.ct-col ul { list-style: none; padding: 0; margin: 0; }
.ct-col li { font-size: 15.5px; line-height: 1.55; color: var(--body); padding: 7px 0 7px 22px; position: relative;
             border-bottom: 1px solid var(--hair); }
.ct-col li:last-child { border-bottom: 0; }
.ct-col li::before { position: absolute; left: 0; top: 7px; font-weight: 700; }
.ct-col.yes li::before { content: "\2713"; color: #1b7f4b; }
.ct-col.no  li::before { content: "\2717"; color: var(--accent); }
@media (max-width: 620px) { .ct { grid-template-columns: 1fr; gap: 12px; } .pt-h { font-size: 19px; } .pts li { padding-left: 44px; } }

/* ======================================================================
   DATA SHEET / DECK CHROME
   A sheet reads like a printed report: numbered sections, a rule under
   each heading, and generous air between them. The numeral is what makes
   a stack of panels feel authored rather than assembled.
   ====================================================================== */
.article.sheet { counter-reset: panel; }
.panel { margin: 46px 0 0; }
.panel > h2 {
  counter-increment: panel;
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink);
  margin: 0 0 18px; padding-bottom: 11px; border-bottom: 2px solid var(--ink);
}
.panel > h2::before {
  content: counter(panel, decimal-leading-zero);
  font-family: var(--serif); font-size: 15px; font-weight: 700;
  letter-spacing: 0; color: var(--gold); text-transform: none;
  border-right: 1px solid var(--hair-strong); padding-right: 12px;
}
.pnote {
  font-size: 14.5px; color: var(--muted); line-height: 1.65;
  margin: 18px 0 0; padding-left: 14px; border-left: 2px solid var(--hair-strong);
  max-width: 72ch;
}

/* Deck lead art sits wide and quiet — it sets tone, it is not the argument. */
.lead-art { margin: 4px 0 8px; }
.lead-art img { aspect-ratio: 2.4 / 1; }

/* ---- every-vote list ---- */
.votes { margin: 4px 0 0; }
.vrow {
  display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--hair);
}
.vrow:last-child { border-bottom: 0; }
.vrow .vote { margin: 0; }
.vrow .vbar { height: 30px; }
.vrow .vseg { font-size: 13.5px; }
.vrow .vlegend { margin-top: 7px; font-size: 12.5px; }
.vname {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--serif); font-size: 19px; color: var(--ink);
  transition: color .14s;
}
.vname:hover { color: var(--accent); }
@media (max-width: 640px) { .vrow { grid-template-columns: 1fr; gap: 10px; } }

/* ---- aside box ---- */
.callout-box {
  border: 1px solid var(--hair-strong); border-left: 4px solid var(--ink);
  background: var(--wash); padding: 20px 24px; margin: 34px 0;
}
.callout-box h3 {
  font-family: var(--sans); font-size: 11.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 9px; font-weight: 700;
}
.callout-box p {
  margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--ink);
}

/* ---- premium polish on the data primitives ---- */
.stat { transition: background .16s; }
.stats:hover .stat { background: var(--paper); }
.stat:hover { background: var(--wash); }
.vbar { box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.ccard, .ttile, .chip, .dt-table tbody tr { transition: all .14s ease; }
.ccard:hover { box-shadow: var(--lift); }
.pdot { transition: all .16s; }
.bar-f { transition: width .4s cubic-bezier(.4,0,.2,1); }

/* Section rules that run to the measure, not the viewport. */
.sheet .disclosure {
  border: 0; border-top: 2px solid var(--ink); background: none;
  padding: 16px 0 0; margin: 46px 0 0; font-size: 13.5px;
}
.sheet .disclosure b { color: var(--ink); }
.backlink { font-size: 14px; margin-top: 22px; color: var(--muted); }
.backlink a { color: var(--accent); border-bottom: 1px solid transparent; }
.backlink a:hover { border-bottom-color: var(--accent); }

@media (max-width: 640px) {
  .panel { margin: 34px 0 0; }
  .panel > h2 { font-size: 11.5px; gap: 9px; margin-bottom: 14px; }
  .lead-art img { aspect-ratio: 3 / 2; }
  .callout-box { padding: 16px 18px; }
  .callout-box p { font-size: 17px; }
}

/* ---- home dashboard ---- */
.dash { padding: 40px 0 8px; }
.dash-head { max-width: 780px; margin-bottom: 8px; }
.dash-head h1 {
  font-family: var(--serif); font-size: clamp(34px, 5.2vw, 58px); line-height: 1.05;
  letter-spacing: -.03em; color: var(--ink); margin: 0 0 16px; font-weight: 700; text-wrap: balance;
}
.dash-head .standfirst { font-size: 20px; line-height: 1.5; max-width: 64ch; }
.dash-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 8px; }
.cta.ghost { background: none; color: var(--ink); border: 1px solid var(--hair-strong); }
.cta.ghost:hover { border-color: var(--ink); background: var(--wash); filter: none; }
.hpanel { margin: 48px 0 0; }
.hpanel .pnote { margin-top: 16px; }
.hpanel .pnote a { color: var(--accent); border-bottom: 1px solid transparent; }
.hpanel .pnote a:hover { border-bottom-color: var(--accent); }

/* A compact read-only echo of the tier board — the artefact, at a glance. */
.hstrip { border: 1px solid #333844; background: #0f1114; overflow: hidden; }
.hstrip-row { display: flex; align-items: stretch; border-bottom: 1px solid #333844; }
.hstrip-row:last-child { border-bottom: 0; }
.hstrip-l { flex: 0 0 52px; display: flex; align-items: center; justify-content: center;
            font-family: var(--serif); font-weight: 700; font-size: 20px; color: #14171a; }
.hstrip-i { flex: 1; display: flex; flex-wrap: wrap; gap: 5px; padding: 8px; background: #1e2127; }
.hstrip-i a { display: block; width: 40px; height: 40px; border-radius: 5px;
              background: #252932; border: 1px solid #333844; overflow: hidden; transition: transform .1s; }
.hstrip-i a:hover { transform: translateY(-2px); }
.hstrip-i img { width: 100%; height: 100%; object-fit: contain; }
.hstrip-n { flex: 0 0 180px; display: flex; align-items: center; padding: 8px 14px;
            font-size: 12.5px; color: #9aa1ad; background: #1e2127; border-left: 1px solid #333844; }
@media (max-width: 720px) {
  .hstrip-n { display: none; }
  .hstrip-l { flex: 0 0 42px; font-size: 17px; }
  .dash { padding-top: 26px; }
  .hpanel { margin-top: 34px; }
}
