/* print.css — shared print stylesheet for the M.A. Smith Painting audit
   Phase 7 requirement: secondary print stylesheet only, WeasyPrint-equivalent
   print view retained; watermark "PAYDIRT · DRAFT" diagonal, masked on the
   opaque cover/welcome sections so it doesn't collide with cover typography. */

@media print {
  @page { margin: 0.75in; }

  body {
    background: #fff !important;
    color: #1a1a1a !important;
    font-size: 11pt;
    line-height: 1.45;
  }

  /* kill on-screen decoration that wastes toner / breaks across pages */
  .no-print, .sticky-mobile-bar, .glow-blob, video, .scroll-reveal-js { display: none !important; }

  a[href]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; }

  section { page-break-inside: avoid; break-inside: avoid; }
  h1, h2, h3 { page-break-after: avoid; break-after: avoid; }
  table { page-break-inside: avoid; }

  /* diagonal watermark, repeated, low-contrast — masked (opacity dropped further)
     on .cover and .welcome (opaque, brand-forward sections) so it never reads
     as noise across the two sections meant to look clean in a client's hands */
  body::before {
    content: "PAYDIRT \00B7 DRAFT";
    position: fixed;
    top: 45%;
    left: 8%;
    width: 140%;
    transform: rotate(-32deg);
    font-family: Oswald, "Arial Narrow", sans-serif;
    font-size: 62pt;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(184, 147, 90, 0.14); /* Paydirt gold, low opacity */
    z-index: 9999;
    pointer-events: none;
    text-align: center;
  }
  .cover body::before,
  .cover.masked::before,
  section.cover::before,
  section.welcome::before {
    color: rgba(184, 147, 90, 0.035); /* near-invisible on opaque cover/welcome */
  }
}
