/* Zine: photocopy grain, paste-up cards with tape, typewriter chrome, cut-out headings, one spot
   colour (riso pink). The reading column (.prose) stays a plain serif on plain paper. Light only. */
:root{--paper:#efede6;--surface:#ffffff;--surface-2:#e4e1d8;--ink:#111;--ink-2:#2b2b2b;--muted:#555;--faint:#888;--line:#111;
  --field-line:#111;--accent:#111;--accent-ink:#fff;--spot:#ff3d8b;--spot-soft:#ffc2da;--lv-editing:#ff3d8b;--lv-drafting-line:#111;
  --ok:#111;--ok-bg:#fff;--info-bg:#ffe3ef;--warn-bg:#fff6a8;--warn-line:#111;--chip-bg:#fff;--chip-ink:#111;--highlight:#ffc2da;
  --font-ui:"American Typewriter","Courier Prime","Courier New",Courier,monospace;--font-figures:var(--font-ui);
  --font-display:Impact,"Haettenschweiler","Arial Narrow Bold","Franklin Gothic Bold",sans-serif;
  --font-body:Georgia,"Iowan Old Style",serif;--radius:0px;--h-weight:400;--shadow:none;
  --card-title-min:1.15rem;--card-title-fluid:7.2cqi;--card-title-max:1.55rem}

/* xerox grain over the page (decor only) */
.theme-zine{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.theme-zine .top{background:var(--ink);border:0}
.theme-zine .top .brand{color:#fff;font-family:var(--font-display);font-size:1.5rem;letter-spacing:.04em;text-transform:uppercase;
  background:var(--spot);color:var(--ink);padding:.05rem .5rem;transform:rotate(-2deg);display:inline-block}
.theme-zine .top nav a{color:#fff;text-transform:lowercase}
.theme-zine h1,.theme-zine h2,.theme-zine h3{font-family:var(--font-display);text-transform:uppercase;letter-spacing:.02em;line-height:1.05}
.theme-zine h2{display:inline-block;background:var(--ink);color:var(--paper);padding:.1rem .45rem;transform:rotate(-1deg);font-size:1.4rem}
.theme-zine .hero h1{font-size:3.4rem;line-height:.95}
.theme-zine .hero h1,.theme-zine .bookhead h1{text-decoration:underline;text-decoration-color:var(--spot);text-decoration-thickness:.32em;text-underline-offset:-.12em;text-decoration-skip-ink:none}
.theme-zine h2 a{color:inherit}
.theme-zine a{color:var(--ink);text-decoration-color:var(--spot);text-decoration-thickness:2px}

/* paste-up cards with tape */
.theme-zine .card,.theme-zine .tiers,.theme-zine .hero-panel,.theme-zine .statcard,.theme-zine .noteitem{border:2px solid var(--ink);position:relative;box-shadow:4px 4px 0 var(--ink)}
.theme-zine .card:nth-child(3n+1){transform:rotate(-.8deg)}.theme-zine .card:nth-child(3n+2){transform:rotate(.6deg)}.theme-zine .card:nth-child(3n){transform:rotate(-.3deg)}
.theme-zine .card:hover{transform:rotate(0);border-color:var(--ink)}
.theme-zine .card::before,.theme-zine .tiers::before,.theme-zine .hero-panel::before{content:"";position:absolute;top:-11px;left:50%;width:84px;height:22px;margin-left:-42px;
  background:rgba(255,236,140,.75);transform:rotate(-3deg);border-left:1px dashed rgba(0,0,0,.15);border-right:1px dashed rgba(0,0,0,.15)}
.theme-zine .tiers{transform:rotate(.4deg)}
.theme-zine .status{border:1.5px solid var(--ink);border-radius:0;font-family:var(--font-ui);letter-spacing:.04em}
.theme-zine .status.open{background:var(--spot);color:var(--ink)}
.theme-zine .btn{color:var(--accent-ink);text-decoration:none;border:2px solid var(--ink);box-shadow:3px 3px 0 var(--spot);border-radius:0;text-transform:lowercase}
.theme-zine .btn.alt{color:var(--ink);background:var(--surface)}
.theme-zine .btn:hover{transform:translate(1px,1px);box-shadow:2px 2px 0 var(--spot)}
.theme-zine .sparkwrap,.theme-zine .growth,.theme-zine .momentum{color:var(--ink)}
.theme-zine .chstrip .seg{border-radius:0}.theme-zine .chstrip .seg.editing{background:var(--spot)}
.theme-zine .tag.editing{color:var(--ink);background:var(--spot-soft);padding:0 .3rem}
.theme-zine .tag.published,.theme-zine .tag.free{color:var(--ink);text-decoration:underline wavy var(--spot)}
.theme-zine .outline li{border-left:3px solid var(--ink)}.theme-zine .outline li.drafting,.theme-zine .outline li.planned{border-left-style:dotted}
.theme-zine .outline li.editing{border-left-color:var(--spot)}
.theme-zine .foot{border-top:2px dashed var(--ink)}

/* the reading column stays clean */
.theme-zine .chapter .prose{background:var(--surface);padding:1.4rem 1.6rem;border:1px solid #ccc;font-family:var(--font-body)}
.theme-zine .chapter h1{font-size:2.4rem}
@media (max-width:760px){.theme-zine .hero h1{font-size:2.5rem}.theme-zine .chapter .prose{padding:1rem}}
