/* 
  Print stylesheet (DESIGN_ROADMAP θ4).
  Long-form pages (methodology, about, articles, colophons) should print like a Harper's reprint.
  Drops nav/footer chrome, mode tabs, interactive affordances.
  Comfortable type (Fraunces/Source Serif/IBM Plex Mono).
  Black ink on white; inserts URL + LAST REVIEWED stamp in footer.
  Test: open a methodology or long article placeholder, print-to-PDF.
  To use: <link rel="stylesheet" href="/print.css" media="print"> in heads (or @import in output for build).
  WCAG n/a (print); austere voice in the stamp language.
*/

@media print {
  /* Kill chrome */
  nav, 
  .mode-tabs, 
  .rail-top, 
  header[role="banner"], 
  footer:not(.editorial-colophon), 
  .editorial-colophon .sh-network, /* keep the 3-col colophon but simplify */
  button, 
  [data-interactive], 
  .evidence-pin, 
  script, 
  .cursor-block,
  .hamburger,
  [onclick] {
    display: none !important;
  }

  /* Paper + ink */
  :root {
    --paper: #fff;
    --paper-2: #fff;
    --paper-3: #f5f5f5;
    --ink: #111;
    --ink-2: #222;
    --ink-soft: #444;
    --ink-faint: #666;
    --rule: #ccc;
    --accent: #b6321c; /* keep for any stamps/pulls */
  }

  html, body {
    background: #fff !important;
    color: #111 !important;
    font-size: 11pt;
    line-height: 1.55;
  }

  /* Typography for print comfort */
  h1, .display-h1, .masthead h1, .fraunces-display {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 900;
    font-size: 18pt;
    line-height: 1.15;
    margin-bottom: 0.4em;
  }

  h2, .sec-head, .display-h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
    font-size: 14pt;
    margin-top: 1.2em;
    margin-bottom: 0.3em;
  }

  .serif, p, .prose-body, .methodology-body, .longform {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 10.5pt;
    line-height: 1.6;
  }

  .mono, .tabular-nums, code, .editorial-colophon {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 9pt;
  }

  /* Drop decorative rules, keep content */
  .section-border, .card, .reveal {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }

  /* Keep the editorial colophon but make it print-tear-sheet */
  .editorial-colophon {
    border-top: 1px solid #ccc !important;
    background: #f9f9f9 !important;
    padding-top: 12pt;
    font-size: 8.5pt;
  }

  /* Insert print footer with URL + stamp */
  @page {
    margin: 0.6in;
  }

  body::after {
    content: "Printed from " attr(data-url) " · LAST REVIEWED " attr(data-last-reviewed) " · SH";
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 8pt;
    color: #666;
    margin-top: 24pt;
    border-top: 0.5pt solid #ccc;
    padding-top: 6pt;
    text-align: center;
    letter-spacing: 0.5px;
  }

  /* Hide motion/JS affordances */
  .bar-fill, .count-up, .evidence-pin {
    transition: none !important;
    animation: none !important;
  }
}
