/* Paper texture for the Sir Adam build, backgrounds only. Approved by Jove 2026-10-26
   ([[2026-10-26-ronin-site-paper-texture]]), from the slice https://claude.ai/artifact/RzoySuTuaKYgekma5go5k7.
   Reference: brand-bible/references/ronin-hand-print-stone-board.webp.
   Rules: no colour token changes; nothing here touches type, wordmarks, line marks or photos.
   Loaded after each page's own style block. */
:root{--paper:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeDiffuseLighting lighting-color='%23fff' surfaceScale='1.4' diffuseConstant='1.05'%3E%3CfeDistantLight azimuth='225' elevation='58'/%3E%3C/feDiffuseLighting%3E%3CfeColorMatrix values='.32 0 0 0 .68  0 .32 0 0 .68  0 0 .32 0 .68  0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23t)'/%3E%3C/svg%3E");--ink-fill:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55  0 0 0 0 .52  0 0 0 0 .48  0 0 0 5 -3.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E")}

/* 1. Paper tooth, multiplied into every light surface (32% strength baked into the SVG). */
body,.block.blue,.block.salmon,[style*="background:var(--blue)"],[style*="background:var(--white)"],
.card,.shape,.quest,.step,.tribe,.cafe,.entry,.pack,.region.blue,.region.salmon,.region.paper,.plan.paper,.cov.paper,
.badge,.book,.fromtab,.socials span,.btn.light,.plan.ink .btn,.cov.ink .btn,footer input{background-image:var(--paper)!important;background-blend-mode:multiply}

/* 2. Solid ink fills: faint warm-grey mottling under the label, labels not filtered. */
.btn:not(.light),.contact,footer,.guildtab,.mapblock .pin,.plan.ink,.cov.ink,.pack.star{background-image:var(--ink-fill)}
.contact .btn{background-image:none}

/* 3. Letterpress deboss (Jove 2026-10-27), the treatment from the Wild site's decision
   ([[2026-10-27-wild-site-letterpress-deboss]]): a hairline of light on each letter's lower lip, a faint shade on its
   top, as if pressed into the paper. Neutral charcoal shade for the bone palette; ink colours unchanged.
   Every text on a parchment ground; never on photos, the header, the footer, the contact card, dark cards or dark buttons. */
body{text-shadow:0 1px 0 rgba(255,255,255,.7),0 -1px 0 rgba(28,26,23,.16)}
:is(h2,h3,.subnav a,.sv-k,.smp .cap,.sv-list span):not(:is(.hero,header.top,footer,.contact,.plan.ink,.cov.ink,.pack.star,.btn:not(.light)) *){text-shadow:0 1px 0 rgba(255,255,255,.85),0 -1px 0 rgba(28,26,23,.22)}
.hero,header.top,footer,.contact,.btn:not(.light),.guildtab,.plan.ink,.cov.ink,.pack.star,.photo,.survey,.mapblock .pin{text-shadow:none}
/* parchment chips and buttons that sit inside dark cards still press in */
.socials span,.plan.ink .btn,.cov.ink .btn,.hero .badge{text-shadow:0 1px 0 rgba(255,255,255,.7),0 -1px 0 rgba(28,26,23,.16)}
/* knockout type on ink panels (Jove, 27 Oct, from the moon-over-water print): light text is bare paper showing through the ink, same bone and grain as the ground, not a flat cream. Rōnin pages only (wild-home has #kitchen) */
body:not(:has(#kitchen)) :is(.contact,footer,.plan.ink,.cov.ink) :not(.btn,.btn *,.socials,.socials *,form,input,svg,svg *,hr,img,br),body:not(:has(#kitchen)) .contact .btn{color:transparent;background-color:var(--cream);background-image:var(--paper);background-blend-mode:multiply;-webkit-background-clip:text;background-clip:text}
