/* Wallpaper (v11, Joe "A maybe", Dec 4, 2026, 3:15 PM ET).
   Switch with ONE variable: WALLPAPER in nav_pass.py ("a", "b" or "c") sets the class wp-a / wp-b / wp-c on <html>.
   The texture is a still tile on the page edges only. Text always sits on the solid paper panel (main).
   No motion, no parallax. Out of print, the Menu panel, high contrast and forced colors. */
html.wp-a { --pss-wallpaper: url("../img/wallpaper-a-paper.svg"); --pss-wall-size: 256px; }
html.wp-b { --pss-wallpaper: url("../img/wallpaper-b-damask.svg"); --pss-wall-size: 240px; }
html.wp-c { --pss-wallpaper: url("../img/wallpaper-c-trellis.svg"); --pss-wall-size: 112px; }
html[class*="wp-"] body {
  background-color: #f5f0e6 !important;
  background-image: var(--pss-wallpaper) !important;
  background-size: var(--pss-wall-size) var(--pss-wall-size) !important;
  background-repeat: repeat !important;
  background-attachment: scroll !important;
}
@media (prefers-contrast: more), (forced-colors: active) {
  html[class*="wp-"] body { background-image: none !important; }
}
@media print {
  html[class*="wp-"] body { background: #fff !important; background-image: none !important; }
}
/* B and C have darker marks (forest text would drop under 4.5:1 on their darkest spots), so the header gets a solid paper wash with them. A passes as is (ink 12.6:1, forest 7.0:1, gold 4.6:1 at its darkest spot). */
html.wp-b .site-header, html.wp-c .site-header { background-color: #f5f0e6 !important; }
