/* ══════════════════════════════════════════════════════════════════
   Shared stylesheet for /articles/.

   Article-specific rules only. Tokens, the reset, .btn and the nav live in
   ../css/base.css, which every page here links first.

   The legal pages are deliberately dark; articles are deliberately light.
   A 1,500-word read wants a light field, and the contrast between the two
   sections is useful: black means policy, chalk means reading.
   ══════════════════════════════════════════════════════════════════ */

/* Tokens, reset, .btn and the nav all live in ../css/base.css, which every
   article page links first. Only the article-specific line-height differs. */
body{line-height:1.75}

/* ── article shell ─────────────────────────────────────────────── */
.article{max-width:var(--prose);margin:0 auto;padding:3.5rem 1.5rem 4rem}
.article--wide{max-width:52rem}

.article-label{
  font-family:var(--font-s);font-size:13px;color:var(--gold-ink);margin-bottom:.9rem;
}
.article h1{
  font-family:var(--font-d);font-weight:400;line-height:.98;letter-spacing:.02em;
  text-transform:uppercase;font-size:clamp(2.2rem,7vw,3.4rem);margin-bottom:1rem;
}
.article-deck{
  font-size:1.2rem;line-height:1.55;color:var(--ink-soft);margin-bottom:1.6rem;
}

.byline{
  display:flex;align-items:center;gap:.85rem;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  padding:.9rem 0;margin-bottom:2.4rem;
}
.byline img{width:44px;height:44px;border-radius:50%;object-fit:cover;flex-shrink:0}
.byline__who{font-weight:600;font-size:.95rem;line-height:1.3}
.byline__meta{
  font-family:var(--font-b);font-size:.78rem;letter-spacing:.06em;
  text-transform:uppercase;color:var(--ink-soft);margin-top:.15rem;
}

.article p{margin-bottom:1.2rem}
.article h2{
  font-family:var(--font-d);font-weight:400;font-size:clamp(1.6rem,4.5vw,2.1rem);
  letter-spacing:.04em;text-transform:uppercase;line-height:1.02;
  margin:2.8rem 0 1rem;
}
.article h3{
  font-family:var(--font-d);font-weight:400;font-size:1.25rem;letter-spacing:.05em;
  text-transform:uppercase;margin:2rem 0 .6rem;
}
.article a{color:var(--gold-ink);text-decoration:underline;text-underline-offset:2px}
.article strong{font-weight:600}
.article ul{margin:0 0 1.2rem;padding-left:0;list-style:none}
.article ul li{position:relative;padding:.15rem 0 .15rem 1.15rem;line-height:1.7}
.article ul li::before{content:'—';position:absolute;left:0;color:var(--gold-ink);font-weight:600}

/* ── pull quote ────────────────────────────────────────────────── */
.pull{
  border-left:3px solid var(--gold);padding-left:1.4rem;margin:2rem 0;
}
.pull p{font-size:1.15rem;font-style:italic;line-height:1.6;margin-bottom:0}

/* ── method / caveat note ──────────────────────────────────────── */
.note{
  background:var(--chalk-2);border:1px solid var(--line);
  padding:1.15rem 1.35rem;margin:2rem 0;font-size:.97rem;line-height:1.7;
}
.note h3{margin:0 0 .5rem;font-size:1.05rem}
/* A note that opens a section before the article's first h2 takes an h2, so
   the outline doesn't jump from h1 to h3. Styled to match .note h3. */
.note h2{margin:0 0 .5rem;font-size:1.05rem;letter-spacing:.05em;line-height:inherit}
.note p:last-child{margin-bottom:0}

/* ── the data table ────────────────────────────────────────────── */
.figures{
  width:100%;border-collapse:collapse;margin:1.2rem 0 .6rem;
  border-top:3px solid var(--gold);background:#fff;
  font-variant-numeric:tabular-nums;
}
.figures caption{
  caption-side:top;text-align:left;padding:0 0 .7rem;
  font-family:var(--font-b);font-size:.86rem;line-height:1.55;color:var(--ink-soft);
}
.figures th,.figures td{
  padding:.7rem .85rem;border-bottom:1px solid var(--line);vertical-align:top;text-align:left;
}
.figures thead th{
  font-family:var(--font-d);font-weight:400;font-size:.95rem;letter-spacing:.1em;
  text-transform:uppercase;color:var(--gray);border-bottom:1px solid var(--line);
}
.figures tbody th{
  font-family:var(--font-d);font-weight:400;font-size:1.1rem;letter-spacing:.08em;
  color:var(--gray);width:4.5rem;white-space:nowrap;
}
.figures .amt{
  font-weight:600;white-space:nowrap;text-align:right;width:5.5rem;
}
.figures .amt--flat{color:var(--ink-soft);font-weight:400}
.figures .what{font-size:.94rem;line-height:1.55;color:var(--ink-soft)}
.figures tbody tr:last-child th,
.figures tbody tr:last-child td{border-bottom:none}
.figures-source{font-size:.82rem;color:var(--ink-soft);margin-bottom:2rem}

@media(max-width:560px){
  .figures .what{display:none}          /* the annotations repeat in prose below */
  .figures th,.figures td{padding:.6rem .5rem}
}

/* ── closing call to action ────────────────────────────────────── */
.endcap{
  background:var(--black);color:var(--chalk);
  padding:2rem 1.75rem;margin:3rem 0 0;
}
.endcap h2{color:var(--chalk);margin:0 0 .6rem;font-size:1.65rem}
.endcap p{color:#B4B2A9;margin-bottom:1.2rem}
.endcap a.btn{
  display:inline-block;font-family:var(--font-d);font-size:1.2rem;letter-spacing:.1em;
  background:var(--gold);color:var(--black);text-decoration:none;
  padding:.8rem 1.8rem;transition:background .15s;
}
.endcap a.btn:hover{background:var(--chalk);text-decoration:none}

/* ── index listing ─────────────────────────────────────────────── */
/* a.card, not .card: `.article a` above sets an underline at the same
   specificity, and a bare .card would lose to it — the whole card would
   render underlined. */
a.card{
  display:block;border-top:1px solid var(--line);padding:1.5rem 0;
  text-decoration:none;color:inherit;
}
a.card:hover{text-decoration:none}
.card:last-of-type{border-bottom:1px solid var(--line)}
.card h2{
  font-family:var(--font-d);font-weight:400;font-size:1.6rem;letter-spacing:.03em;
  text-transform:uppercase;line-height:1.05;margin:0 0 .4rem;color:var(--ink);
}
.card:hover h2{color:var(--gold-ink)}
.card p{color:var(--ink-soft);margin:0;font-size:.98rem;line-height:1.6}
.card .card__meta{
  font-size:.76rem;letter-spacing:.07em;text-transform:uppercase;
  color:var(--ink-soft);margin-top:.5rem;
}

/* ── footer ────────────────────────────────────────────────────── */
.page-footer{
  border-top:1px solid var(--line);margin-top:3.5rem;
  padding:1.6rem 1.5rem 3rem;text-align:center;
}
.page-footer p{font-size:.82rem;color:var(--ink-soft);margin:0}
.page-footer a{color:var(--ink-soft);text-decoration:underline}
.page-footer a:hover{color:var(--gold-ink)}

a:focus-visible{outline:2px solid var(--gold-ink);outline-offset:3px}
