/* Hit Piece — one stylesheet for every generated page.
   Palette: newsprint cream, ink, and one red. Red means "accusation": the wordmark
   underline, the verdict needle, crossed-out claims, the Post's own words when we
   challenge them. Nothing else gets to be red. */
:root {
  --paper: #f6f3ec; --panel: #fffefb; --ink: #1c1c1a; --muted: #6a675f; --rule: #cfc8ba;
  --red: #a82d25; --red-ink: #7d1f19; --wash: #f4e5df; --mark: #fff1a8;
  --green: #2f7d4f; --amber: #b8860b; --orange: #c9591e; --dark-red: #4a0f0d;
  --width: 1180px; --serif: Georgia, "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.55; }
a { color: inherit; }
img { max-width: 100%; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.wrap { max-width: var(--width); margin: 0 auto; padding: 0 20px; }
h1, h2, h3, .sans { font-family: var(--sans); letter-spacing: -0.015em; line-height: 1.08; }
h1 { font-weight: 900; font-size: clamp(38px, 6vw, 76px); margin: 0 0 18px; }
h2 { font-weight: 800; font-size: clamp(26px, 3.2vw, 40px); margin: 0 0 14px; }
h3 { font-weight: 800; font-size: 22px; margin: 0 0 8px; }
.kicker { font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin: 0 0 12px; }
.lede { font-size: 22px; line-height: 1.45; max-width: 760px; }
.muted { color: var(--muted); }
.btn { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 15px; background: var(--ink); color: #fff; padding: 12px 18px; text-decoration: none; border: 2px solid var(--ink); border-radius: 3px; }
.btn.red { background: var(--red); border-color: var(--red); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn + .btn { margin-left: 10px; }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 44px 0; }

/* Header */
.site-head { background: var(--panel); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.wordmark { font-family: var(--sans); font-weight: 900; font-size: 30px; letter-spacing: -0.04em; text-decoration: none; position: relative; }
.wordmark i { font-style: normal; color: var(--red); }
.wordmark::after { content: ""; position: absolute; left: 6px; right: 14px; bottom: -3px; height: 3px; background: var(--red); transform: rotate(-1.5deg); }
.nav a { font-family: var(--sans); font-weight: 700; font-size: 15px; text-decoration: none; margin-left: 22px; }
.nav a.active { border-bottom: 2px solid var(--red); }
.tagline { background: var(--ink); color: #f6f3ec; font-family: var(--sans); font-weight: 800; font-size: 14px; letter-spacing: 0.02em; }
.tagline .wrap { height: 36px; display: flex; align-items: center; gap: 14px; }
.tagline b { color: #ff8b80; }

/* Home hero */
.hero { padding: 64px 0 40px; }
.hero h1 { max-width: 900px; }
.hero h1 em { font-style: italic; font-family: var(--serif); font-weight: 400; }
.hero .lede { margin: 0 0 26px; }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 40px 0 0; }
.promise { border-top: 4px solid var(--red); padding-top: 14px; }
.promise h3 { font-size: 34px; margin-bottom: 6px; }
.promise p { margin: 0; color: var(--muted); font-size: 17px; }

/* Verdict card */
.verdict { background: var(--panel); border: 1px solid var(--rule); border-top: 6px solid var(--red); padding: 26px 28px; box-shadow: 0 8px 30px rgba(28,28,26,.08); }
.verdict-grid { display: grid; grid-template-columns: 330px 1fr; gap: 34px; align-items: start; }
.gauge { width: 100%; height: auto; display: block; }
.band-name { font-family: var(--sans); font-weight: 900; font-size: 42px; letter-spacing: -0.03em; text-transform: uppercase; line-height: 1; margin: 6px 0 4px; }
.band-def { color: var(--muted); font-size: 16px; margin: 0; }
.band-legend { list-style: none; padding: 0; margin: 14px 0 0; display: flex; gap: 6px; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.band-legend li { flex: 1; padding-top: 6px; border-top: 4px solid; color: var(--muted); }
.band-legend li.on { color: var(--ink); }
.reasons { margin: 0; padding: 0; list-style: none; }
.reasons li { padding: 9px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 44px 1fr; gap: 10px; }
.reasons li:first-child { border-top: 0; }
.reasons .pn { font-family: var(--sans); font-weight: 800; color: var(--red); font-size: 14px; padding-top: 3px; }
.reasons a { text-decoration: none; }
.reasons a:hover { text-decoration: underline; }
.counts { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.counts details { border-top: 1px solid var(--rule); padding: 6px 0; }
.counts summary { cursor: pointer; }
.counts summary b { color: var(--ink); font-family: var(--sans); }
.counts p { margin: 6px 0 0 18px; }
.counts a { font-family: var(--sans); font-weight: 700; text-decoration: none; margin-right: 8px; }
.verdict-note { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.verdict-note a { color: var(--muted); }

/* Trick badges */
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.badge { font-family: var(--sans); font-weight: 700; font-size: 13px; text-decoration: none; padding: 5px 11px 5px 9px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--panel); white-space: nowrap; }
.badge::before { content: "●"; color: var(--red); margin-right: 6px; font-size: 10px; vertical-align: 2px; }
.badge:hover { background: var(--ink); color: #fff; }
.badge.sm { font-size: 12px; padding: 3px 9px 3px 8px; }

/* Illustrations */
.illo { margin: 0; }
.illo img { display: block; width: 100%; height: auto; border-radius: 4px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center; }
.hero-grid .promises { grid-column: 1 / -1; }
.review-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; }
.motive-head { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: end; }
.motive-head h2 { margin: 0; }
@media (max-width: 900px) {
  .hero-grid, .review-grid, .motive-head { grid-template-columns: 1fr; }
  .hero-illo { order: 2; }
}

/* Home sections */
.section { padding: 48px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.exhibit { background: var(--panel); border: 1px solid var(--rule); padding: 22px 24px; }
.exhibit .orig { font-family: var(--sans); font-weight: 800; font-size: 24px; margin: 0 0 8px; }
.exhibit .orig del { color: var(--red); text-decoration-thickness: 3px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--rule); padding: 20px 22px; display: flex; flex-direction: column; }
.card .said { font-family: var(--sans); font-weight: 800; font-size: 19px; margin: 0 0 10px; }
.card .said del { color: var(--red); }
.card .actually { margin: 0 0 14px; }
.card .actually b { color: var(--green); font-family: var(--sans); }
.card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.card .foot button { font: 700 13px var(--sans); background: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px 10px; cursor: pointer; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how .n { font-family: var(--sans); font-weight: 900; font-size: 40px; color: var(--red); line-height: 1; }
.dark { background: var(--ink); color: #f6f3ec; }
.dark .kicker { color: #ff8b80; }
.dark .muted { color: #c9c5bb; }
.dark a.btn { background: #f6f3ec; color: var(--ink); border-color: #f6f3ec; }
.dark a.btn.ghost { background: transparent; color: #f6f3ec; }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cta { background: var(--panel); border: 1px solid var(--rule); padding: 24px; }
.cta p { color: var(--muted); }

/* Review page */
.crumbs { font-family: var(--sans); font-size: 13px; color: var(--muted); padding: 16px 0 0; }
.crumbs a { text-decoration: none; }
.review-head { padding: 26px 0 30px; }
.review-head h1 { font-size: clamp(34px, 4.6vw, 58px); max-width: 980px; }
.review-head .lede { max-width: 860px; }
.meta { font-family: var(--sans); font-size: 13px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.exhibit.small { margin: 26px 0 0; border-left: 5px solid var(--red); }
.exhibit.small .kicker { margin-bottom: 6px; }
.exhibit.small .orig { font-size: 21px; }
.motive { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.motive .who { background: var(--panel); border: 1px solid var(--rule); padding: 16px; }
.motive .role { font-family: var(--sans); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--red); margin: 0 0 4px; }
.motive .name { font-family: var(--sans); font-weight: 800; font-size: 19px; margin: 0 0 6px; }
.motive .name a { text-decoration: none; border-bottom: 2px solid var(--red); }
.motive p { font-size: 15px; margin: 0; color: var(--muted); }
.sixty { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--rule); }
.sixty > div { padding: 22px 24px; }
.sixty .want { background: var(--wash); }
.sixty .true { background: var(--panel); }
.sixty h3 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.sixty .want h3 { color: var(--red); }
.sixty .true h3 { color: var(--green); }
.srcs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.srcs a { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--red); }
.srcs a::after { content: " ↗"; color: var(--red); }

/* Paragraph-by-paragraph reader */
.reader-bar { position: sticky; top: 66px; z-index: 15; background: var(--panel); border: 1px solid var(--rule); padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.reader-bar .legend { font-size: 13px; color: var(--muted); }
.reader-bar del { color: var(--red); }
.reader-bar mark { background: var(--mark); }
.toggle { display: inline-flex; border: 2px solid var(--ink); border-radius: 3px; overflow: hidden; }
.toggle button { font: 700 14px var(--sans); background: var(--panel); color: var(--ink); border: 0; padding: 8px 14px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 26px 0; border-top: 1px solid var(--rule); }
.row:target { background: var(--wash); box-shadow: 0 0 0 12px var(--wash); }
.sec-head { font-family: var(--sans); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 30px 0 6px; }
.orig-p { position: relative; margin: 0; padding-left: 44px; font-size: 18px; }
.orig-p .pn { position: absolute; left: 0; top: 2px; font: 800 13px var(--sans); color: var(--muted); text-decoration: none; }
.orig-p del { color: var(--red); text-decoration-thickness: 2px; }
.orig-p mark { background: var(--mark); padding: 0 2px; }
.orig-p .framing-term { text-decoration: underline dotted var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; color: inherit; }
.orig-p .person-link { color: inherit; text-decoration: underline; text-decoration-color: var(--rule); }
.caption { font-size: 13px; color: var(--muted); margin: 10px 0 0 44px; }
.right .kicker { margin-bottom: 6px; }
.note { background: var(--panel); border: 1px solid var(--rule); border-left: 5px solid var(--red); padding: 16px 18px; }
.note h3 { font-size: 21px; margin-bottom: 8px; }
.note p { margin: 0 0 10px; font-size: 16.5px; }
.note .badges { margin: 4px 0 8px; }
.note details, .rewrite details { margin-top: 6px; font-size: 14px; }
.note summary, .rewrite summary { cursor: pointer; font: 700 13px var(--sans); color: var(--muted); }
.rewrite { background: var(--panel); border: 1px solid var(--rule); padding: 16px 18px; }
.rewrite .kind { font: 700 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.rewrite p.copy { margin: 6px 0 8px; font-size: 17px; }
.rewrite .why p { font-size: 14px; margin: 6px 0; color: var(--muted); }
.quiet { font-size: 14px; color: var(--muted); padding-left: 4px; }
body.view-rewrite .note, body.view-rewrite .quiet { display: none; }
body.view-explain .rewrite { display: none; }
body.view-explain .row.no-note .right { display: flex; align-items: flex-start; }
.jump { margin: 18px 0 0; }
.jump summary { cursor: pointer; font: 700 15px var(--sans); }
.jump ul { columns: 2; margin: 10px 0 0; padding-left: 20px; font-size: 15px; }
.scope { background: var(--panel); border: 1px solid var(--rule); padding: 22px 26px; font-size: 15px; color: var(--muted); }
.scope h2 { font-size: 20px; color: var(--ink); }
.corrections { padding-left: 18px; }
.corrections li { margin: 6px 0; }
.people-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.people-strip a { font-family: var(--sans); font-size: 14px; text-decoration: none; background: var(--panel); border: 1px solid var(--rule); padding: 8px 12px; }
.people-strip a b { display: block; font-size: 15px; }
.people-strip a span { color: var(--muted); font-size: 12px; }

/* Tricks page */
.trick { border-top: 1px solid var(--rule); padding: 26px 0; display: grid; grid-template-columns: 260px 1fr; gap: 30px; }
.trick h2 { font-size: 28px; }
.trick .spot { font-family: var(--sans); font-size: 14px; font-weight: 700; margin-top: 12px; }
.trick .spot b { color: var(--green); }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); background: var(--panel); margin-top: 60px; padding: 30px 0 40px; font-size: 14px; color: var(--muted); }
.site-foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
.site-foot a { margin-left: 16px; }

@media (max-width: 900px) {
  body { font-size: 17px; }
  .site-head .wrap { height: auto; min-height: 54px; flex-wrap: wrap; gap: 4px 12px; padding-top: 8px; padding-bottom: 8px; }
  .wordmark { font-size: 24px; white-space: nowrap; }
  .nav { display: flex; gap: 14px; overflow-x: auto; white-space: nowrap; width: 100%; -webkit-overflow-scrolling: touch; }
  .nav a { margin-left: 0; font-size: 13px; }
  .site-head { position: static; }
  .reader-bar { top: 0; z-index: 21; }
  .promises, .cards, .how, .motive, .two-col, .cta-row, .sixty, .verdict-grid, .row, .trick { grid-template-columns: 1fr; }
  .verdict { padding: 20px 18px; }
  .band-name { font-size: 32px; }
  .jump ul { columns: 1; }
  .orig-p { padding-left: 34px; }
  .caption { margin-left: 34px; }
  .hero { padding: 40px 0 24px; }
  .promise h3 { font-size: 28px; }
  .btn + .btn { margin-left: 0; margin-top: 10px; }
}
@media print { .site-head, .tagline, .reader-bar, .site-foot { display: none; } .row { break-inside: avoid; } }

/* People, organizations, standards
   Generated by render_people.py. A verdict badge always sits next to a piece,
   never next to a person's name on its own. */
.small { font-size: 14px; }
.text-link { font-family: var(--sans); font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--red); }
.section.tight { padding: 26px 0 0; }
.band-badge { display: inline-flex; align-items: center; gap: 6px; font: 800 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--band-text); border: 2px solid var(--band); border-radius: 999px; padding: 2px 10px 2px 8px; background: var(--panel); white-space: nowrap; vertical-align: 1px; }
.band-badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--band); }
.tally { font: 800 16px var(--sans); margin: 4px 0 10px; }
.rate-note { font-size: 15px; color: var(--muted); border-left: 4px solid var(--rule); padding: 2px 0 2px 12px; margin: 10px 0 0; max-width: 760px; }
.rate-note b { color: var(--ink); font-family: var(--sans); }
.profile-hero { padding: 22px 0 28px; }
.profile-hero .lede { margin: 0 0 12px; }
.profile-hero .srcs { margin: 0 0 14px; }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; align-items: start; }
.appear { background: var(--panel); border: 1px solid var(--rule); border-top: 5px solid var(--ink); padding: 22px 24px; margin-bottom: 18px; }
.appear .kicker { margin-bottom: 4px; }
.appear-role { font: 700 14px var(--sans); color: var(--muted); margin: 0 0 8px; }
.appear-role b { color: var(--ink); }
.appear h3 { font-size: 26px; margin-bottom: 10px; }
.appear h3 a { text-decoration: none; }
.appear h3 a:hover { text-decoration: underline; }
.appear h4 { font: 800 18px var(--sans); margin: 14px 0 6px; }
.appear-verdict { font: 700 14px var(--sans); margin: 0 0 8px; }
.appear-orig { font-size: 14px; margin: 0 0 10px; }
.appear > p { margin: 0 0 10px; }
.jump-links { display: flex; flex-direction: column; gap: 0; margin: 6px 0 16px; }
.jump-links a { font: 700 15px var(--sans); text-decoration: none; padding: 9px 0; border-top: 1px solid var(--rule); }
.jump-links a:hover { color: var(--red); }
.appear-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.profile-aside { display: flex; flex-direction: column; gap: 14px; }
.aside-box { background: var(--panel); border: 1px solid var(--rule); padding: 18px 20px; font-size: 16px; }
.aside-box h2 { font-size: 20px; margin-bottom: 8px; }
.aside-box h2 a { text-decoration: none; border-bottom: 2px solid var(--red); }
.aside-box p { margin: 0 0 10px; }
.related-person { display: block; font: 800 16px var(--sans); text-decoration: none; padding: 9px 0; border-top: 1px solid var(--rule); }
.related-person:first-of-type { border-top: 0; }
.related-person small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.people-group { padding: 26px 0 8px; }
.group-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; border-top: 3px solid var(--ink); padding-top: 12px; margin-bottom: 14px; }
.group-head h2 { font-size: 26px; margin: 0; }
.group-head p { margin: 0; font-size: 15px; }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ptile { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--rule); padding: 16px 18px; text-decoration: none; }
.ptile:hover { border-color: var(--ink); }
.ptile .kicker { margin-bottom: 4px; }
.ptile h3 { font-size: 22px; margin-bottom: 6px; }
.ptile p { font-size: 15px; color: var(--muted); margin: 0 0 12px; }
.ptile-meta { font: 700 13px var(--sans); margin-top: auto; }
.ptile-bands { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.std-jumps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.std-jumps a { font: 700 13px var(--sans); text-decoration: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px 11px; background: var(--panel); }
.std-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: start; margin-top: 18px; }
.std-list { list-style: none; margin: 0; padding: 0; }
.std { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--rule); scroll-margin-top: 80px; }
.std:target { background: var(--wash); box-shadow: 0 0 0 12px var(--wash); }
.std-n { font: 900 28px var(--sans); color: var(--red); line-height: 1; padding-top: 3px; }
.std h2 { font-size: 22px; margin-bottom: 6px; }
.std p { margin: 0; font-size: 17px; }
.std-side { background: var(--ink); color: #f6f3ec; padding: 22px 24px; position: sticky; top: 84px; font-size: 16px; }
.std-side h2 { font-size: 20px; margin: 18px 0 6px; }
.std-side h2:first-child { margin-top: 0; }
.std-side p { margin: 0 0 10px; }
.std-side a { color: #fff; }
.std-side .muted { color: #c9c5bb; }
.examples article { background: var(--panel); border: 1px solid var(--rule); padding: 18px 20px; }
.examples h3 { font-size: 19px; }
.examples p { margin: 0; font-size: 16px; }
.plain-details { border-top: 1px solid var(--rule); padding: 12px 0; font-size: 16px; }
.plain-details summary { cursor: pointer; font: 700 15px var(--sans); }
.plain-details p { margin: 8px 0; color: var(--muted); }
@media (max-width: 900px) {
  .profile-layout, .std-layout, .profile-grid { grid-template-columns: 1fr; }
  .std-side { position: static; }
  .std { grid-template-columns: 40px 1fr; }
  .std-n { font-size: 22px; }
  .appear { padding: 18px 16px; }
  .appear h3 { font-size: 22px; }
}
