/* What We Hand Over — author site. Plain CSS, no build step. */
:root{
  --ink:#17181c; --ink-2:#212228; --ink-3:#2c2e35;
  --cream:#f6efe2; --cream-dim:#cfc8bb; --muted:#b0aba2;
  --coral:#ff5f3c; --paper:#fbf7ef; --text:#1d1e22; --text-dim:#4a4b52;
  --serif:"Fraunces",Georgia,"Times New Roman",serif;
  --sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --max:68rem;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ink);color:var(--cream);font:400 1.0625rem/1.65 var(--sans)}
img{max-width:100%;height:auto;display:block}
a{color:var(--coral);text-underline-offset:.18em}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--coral);outline-offset:3px;border-radius:2px}
.skip{position:absolute;left:-999px;top:0;background:var(--coral);color:var(--ink);padding:.6rem 1rem;font-weight:600;z-index:10}
.skip:focus{left:1rem;top:1rem}
.wrap{max-width:var(--max);margin:0 auto;padding:0 1.25rem}

/* Header */
.site-header{border-bottom:1px solid var(--ink-3)}
.site-header .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1.5rem;padding-top:1rem;padding-bottom:1rem}
.brand{font:600 1.15rem/1.2 var(--serif);color:var(--cream);text-decoration:none;letter-spacing:.01em}
.brand span{color:var(--coral)}
.nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.25rem 1.25rem}
.nav a{color:var(--cream-dim);text-decoration:none;font-size:.95rem;font-weight:500;padding:.25rem 0;border-bottom:2px solid transparent}
.nav a:hover,.nav a[aria-current="page"]{color:var(--cream);border-bottom-color:var(--coral)}

/* Hero */
.hero{padding:3.5rem 0 4rem}
.hero .wrap{display:grid;gap:2.5rem;align-items:center;grid-template-columns:1fr}
@media (min-width:760px){.hero .wrap{grid-template-columns:minmax(16rem,22rem) 1fr;gap:4rem}}
.cover{width:100%;max-width:22rem;margin:0 auto;box-shadow:0 1.5rem 3rem rgba(0,0,0,.55),0 0 0 1px rgba(246,239,226,.08);border-radius:3px}
.eyebrow{font:600 .78rem/1 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--coral);margin:0 0 1rem}
h1,h2,h3{font-family:var(--serif);font-weight:700;line-height:1.12;margin:0 0 .75rem}
.hero h1{font-size:clamp(2.4rem,6vw,4rem);letter-spacing:-.01em}
.hero h1 em{font-style:italic;font-weight:600}
.subtitle{font:400 clamp(1.15rem,2.4vw,1.45rem)/1.35 var(--sans);color:var(--cream-dim);margin:0 0 1.5rem}
.tagline{display:inline-block;font:600 1.05rem/1.3 var(--sans);background:var(--coral);color:var(--ink);padding:.5rem .85rem;margin:0 0 1.75rem}
.byline{font:600 .9rem/1 var(--sans);letter-spacing:.16em;text-transform:uppercase;margin:0 0 1.75rem}
.byline::before{content:"";display:block;width:2.5rem;height:3px;background:var(--coral);margin-bottom:.9rem}

.notice{border:1px solid var(--ink-3);background:var(--ink-2);padding:1rem 1.25rem;border-radius:4px;max-width:34rem}
.notice strong{color:var(--cream)}
.notice p{margin:.25rem 0}
.placeholder{display:inline-block;border:2px dashed var(--coral);color:var(--coral);padding:.55rem 1rem;font-weight:600;font-size:.95rem;margin-top:.6rem;border-radius:3px}
.placeholder-note{font-size:.8rem;color:var(--muted);margin-top:.4rem}

/* Light content sections */
.section-light{background:var(--paper);color:var(--text)}
.section-light a{color:#b8341a}
.section-light h2,.section-light h3{color:var(--ink)}
.prose{max-width:40rem;margin:0 auto;padding:3.5rem 0}
.prose h2{font-size:clamp(1.6rem,3.5vw,2.2rem)}
.prose .lede{font:600 clamp(1.25rem,2.6vw,1.55rem)/1.35 var(--serif);color:var(--ink);margin:0 0 1.5rem}
.prose ul.tools{padding-left:1.1rem}
.prose ul.tools li{margin:.35rem 0}
.prose ul.tools li::marker{color:var(--coral)}
.pull{font:italic 600 1.2rem/1.4 var(--serif);border-left:4px solid var(--coral);padding-left:1rem;margin:1.75rem 0}

/* About */
.about-grid{display:grid;gap:2rem;grid-template-columns:1fr;align-items:start}
@media (min-width:700px){.about-grid{grid-template-columns:13rem 1fr;gap:3rem}}
.photo-placeholder{aspect-ratio:4/5;width:100%;max-width:13rem;border:2px dashed #b8341a;display:flex;align-items:center;justify-content:center;text-align:center;font-size:.85rem;color:var(--text-dim);background:#f1eadc;padding:1rem;border-radius:4px}
.author-photo{display:block;width:100%;max-width:13rem;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:50%;border:4px solid var(--coral);box-shadow:0 6px 18px rgba(23,24,28,.18)}
@media (max-width:699px){.author-photo{max-width:11rem}}
.facts{list-style:none;padding:0;margin:1.5rem 0}
.facts li{padding:.6rem 0;border-top:1px solid #e3dccd}
.facts li:last-child{border-bottom:1px solid #e3dccd}

/* References */
.page-head{padding:3rem 0 2rem}
.page-head h1{font-size:clamp(2rem,5vw,3rem)}
.page-head p{color:var(--cream-dim);margin:.25rem 0}
.checked{display:inline-block;font-weight:600;color:var(--ink);background:var(--coral);padding:.2rem .6rem;font-size:.9rem;margin-top:.5rem}
.edition-note{background:#f1eadc;border-left:4px solid var(--coral);padding:1.25rem 1.5rem;margin:0 0 2.5rem;border-radius:0 4px 4px 0}
.edition-note h2{font-size:1.35rem}
.edition-note p{margin:.6rem 0}
.toc{list-style:none;columns:2 14rem;gap:2rem;padding-left:0;margin:0 0 2.5rem;font-size:.95rem}
.toc li{break-inside:avoid;margin:.15rem 0}
.refs{max-width:46rem;margin:0 auto;padding:3rem 0 3.5rem}
.chapter{margin:0 0 2.75rem;scroll-margin-top:1rem}
.chapter h2{font-size:clamp(1.35rem,3vw,1.75rem);padding-bottom:.4rem;border-bottom:2px solid var(--coral)}
.chapter .src{font-size:.75rem;color:var(--text-dim);margin:-.25rem 0 .75rem}
.chapter .none{color:var(--text-dim);font-style:italic}
ol.notes{padding-left:2.1rem;margin:0}
ol.notes li{margin:0 0 1rem;font-size:.95rem;line-height:1.6;overflow-wrap:anywhere;scroll-margin-top:1rem}
ol.notes li::marker{font-weight:700;color:#b8341a}
ol.notes li:target{background:#fde3da;outline:6px solid #fde3da}
.verify{background:#fff1c2;color:#5a4300;font-size:.85em;padding:0 .2rem;border-radius:2px}
.to-top{font-size:.85rem}

/* Footer */
.site-footer{border-top:1px solid var(--ink-3);padding:2rem 0;color:var(--muted);font-size:.875rem}
.site-footer p{margin:.25rem 0}
.site-footer a{color:var(--cream-dim)}

@media print{
  body{background:#fff;color:#000}
  .site-header,.site-footer,.skip,.toc,.to-top{display:none}
  .section-light{background:#fff}
  a{color:#000}
}
