:root{--bg:#faf6ef;--ink:#2b2420;--muted:#6f6358;--accent:#8a4b2a;--line:#e4d9c8;--card:#fffdf8}
*{box-sizing:border-box}
html{font-size:20px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Georgia,"Iowan Old Style","Palatino Linotype",Palatino,"Times New Roman",serif;line-height:1.7;-webkit-text-size-adjust:100%}
main{max-width:38rem;margin:0 auto;padding:1.5rem 1.1rem 3rem}
a{color:var(--accent)}
nav.top{display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;justify-content:center;padding:.8rem 1rem;border-bottom:1px solid var(--line);font-size:.85rem;background:var(--card)}
nav.top a{text-decoration:none}nav.top a:first-child{font-weight:bold;margin-right:auto}
h1{font-size:2rem;line-height:1.2;margin:.3rem 0 1rem;font-weight:normal}
h2{font-weight:normal;font-size:1.35rem;margin:2rem 0 .5rem}
.kicker{color:var(--muted);font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;margin:0}
.story p{margin:0 0 1.1em}.story img{max-width:100%;height:auto;border-radius:4px}
.story b u,.story u b{text-decoration:none;font-weight:bold;display:inline-block;margin-top:.6em}
nav.pn{display:grid;grid-template-columns:1fr auto 1fr;gap:1rem;margin-top:2.5rem;padding-top:1rem;border-top:1px solid var(--line);font-size:.85rem}
nav.pn a[rel=next]{text-align:right}
.toc{list-style:none;padding:0}.toc ul{padding-left:1.1rem}.toc li{margin:.25rem 0}.toc small{color:var(--muted)}
.note,.draft{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:.2rem 1.1rem;margin:2rem 0;font-size:.9rem}
.draft{border:2px dashed #c0712f}.draft .tag{color:#a3501c;font-weight:bold;font-size:.75rem;letter-spacing:.08em}
.hero{display:flex;gap:1.5rem;align-items:center;flex-wrap:wrap}.hero img{width:180px;height:auto;border-radius:6px;box-shadow:0 2px 10px #0002}
.hero div{flex:1 1 14rem}.lede{color:var(--muted)}
.btn{display:inline-block;background:var(--accent);color:#fff;text-decoration:none;padding:.4rem .9rem;border-radius:6px;margin:.2rem 0;font-size:.9rem}.btn.alt{background:none;color:var(--accent);border:1px solid var(--accent)}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:1rem}figure{margin:0}figure img{width:100%;height:auto;border-radius:4px}figcaption,.muted{color:var(--muted);font-size:.8rem}
video{width:100%;height:auto;background:#000;border-radius:6px}
@media (max-width:480px){html{font-size:18px}h1{font-size:1.6rem}.hero img{width:100%;max-width:240px;margin:0 auto}}

.site-foot{text-align:center;font-size:.85em;color:#666;padding:1.5em 1em 2em}

/* format fixes: author's typed line breaks need room for ~90-character lines, as in the full-width original */
main:has(.story.lines){max-width:50rem}
.story.lines{font-size:.9rem}
.story p.tight{margin:0}
/* editor's notes (outside the story text) */
.ednotes{margin:2.5rem 0 0;padding:.6rem 1.2rem 1rem;background:#f3efe6;border:1px solid var(--line);border-left:4px solid var(--muted);border-radius:6px;font-size:.85rem;line-height:1.55}
.ednotes h2{font-size:1.1rem;margin:.6rem 0 .3rem}.ednotes .disc{color:var(--muted);font-size:.8rem;margin:0 0 .8rem}
.ednotes ol{padding-left:1.2rem;margin:0}.ednotes li{margin:.0 0 .8rem}
.conf{display:inline-block;font-size:.68rem;letter-spacing:.06em;text-transform:uppercase;padding:0 .4rem;border-radius:3px;margin-right:.4rem;color:#fff}
.conf.high{background:#8a4b2a}.conf.medium{background:#9a7a3a}.conf.low{background:#7a7a7a}.conf.spelling{background:#5f7a8a}
.obit{margin:2rem 0;padding-bottom:1rem;border-bottom:1px solid var(--line)}.obit-photo{float:right;width:150px;height:auto;margin:0 0 .8rem 1rem;border-radius:4px}.obit::after{content:"";display:block;clear:both}
.gb{list-style:none;padding:0}.gb-entry{border-bottom:1px solid var(--line);padding:.4rem 0}.gb-entry p{margin:.2rem 0}
.gb-form textarea{width:100%;font:inherit;padding:.5rem;border:1px solid var(--line);border-radius:6px;background:#fff}.gb-form label{display:block;font-weight:bold;margin:.5rem 0}
.gb-form button{border:0;cursor:pointer;font:inherit}
.addendum{background:var(--card);border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:6px;padding:.2rem 1rem;margin:1rem 0}.addendum h3{margin:.6rem 0 .2rem;font-size:1rem}

.scans{display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:1rem;align-items:start}figure.scan{margin:1rem 0}figure.scan img{width:100%;height:auto;border:1px solid var(--line)}figure.scan figcaption{font-size:.85rem;color:var(--muted)}
.yt{position:relative;aspect-ratio:16/9;width:100%}.yt iframe{position:absolute;inset:0;width:100%;height:100%;border:0}figure.video{margin:1rem 0}figure.video figcaption{font-size:.85rem;color:var(--muted)}

/* Thelmer stories: Word documents, one paragraph per typed line, spacing kept */
.story.worddoc p{margin:0;white-space:pre-wrap;tab-size:4}
.story.worddoc{font-size:.95rem}
.redact{background:#f3ead6;border-bottom:1px dotted #8a4b2a;font-style:italic;white-space:nowrap}
.ednote{background:#f3efe6;border:1px solid var(--line);border-left:4px solid var(--muted);border-radius:6px;padding:.1rem 1rem;margin:.8rem 0;font-size:.85rem;white-space:normal}
.ed p{margin:0 0 1em}.missing{border:2px dashed #c0712f;border-radius:8px;padding:.6rem 1.1rem}
.ednotes ol li{margin-bottom:.8rem}
