:root{
  --ink:#0b2545; --ink-2:#13315c; --text:#1d2433; --muted:#4a5568;
  --bg:#f7f8fa; --card:#ffffff; --line:#e2e6ee; --accent:#0f7f78; --accent-ink:#ffffff;
  --radius:14px; --max:1080px;
  --font: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);font-size:1.0625rem;line-height:1.65;color:var(--text);background:var(--bg)}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent);text-underline-offset:.18em}
a:hover{color:var(--ink)}
a:focus-visible,.btn:focus-visible{outline:3px solid #f2b705;outline-offset:3px;border-radius:6px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 1.25rem}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:-999px;top:0;background:#fff;padding:.5rem 1rem;z-index:10}
.skip:focus{left:1rem;top:1rem}

/* header */
.site-header{background:var(--ink);color:#fff}
.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}
.wordmark{color:#fff;text-decoration:none;font-weight:700;letter-spacing:.14em;text-transform:uppercase;font-size:.85rem}
.wordmark:hover{color:#c9f2ee}
.site-nav a{color:#d6e4f5;font-size:.95rem;text-decoration:none}
.site-nav a:hover{color:#fff;text-decoration:underline}

/* hero */
.hero{background:linear-gradient(180deg,var(--ink) 0%,var(--ink-2) 100%);color:#fff;padding:3.5rem 0 4rem}
.hero h1{margin:0 0 .75rem;font-size:clamp(2.1rem,6vw,3.6rem);line-height:1.1;letter-spacing:-.01em}
.hero .subhead{margin:0;max-width:40ch;font-size:clamp(1.1rem,2.4vw,1.4rem);color:#dbe7f5;line-height:1.45}
.hero-author{display:flex;flex-direction:column;align-items:flex-start;gap:1.5rem}
.hero-author .avatar{width:132px;height:132px;border-radius:50%;border:3px solid rgba(255,255,255,.85)}
@media(min-width:768px){.hero-author{flex-direction:row;align-items:center;gap:2rem}.hero-author .avatar{width:168px;height:168px}}

section{padding:3rem 0}
.prose > *{max-width:68ch}
.prose p{margin:0 0 1.1rem}
.blurb{font-size:1.15rem}
h2,h3{color:var(--ink);line-height:1.25}
h2{font-size:1.5rem;margin:0 0 1rem}
h3{font-size:1.35rem;margin:0 0 .4rem}

/* books */
.books{display:grid;gap:1.5rem}
.book{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem;display:grid;gap:1.5rem}
.book .cover{width:100%;max-width:280px;border-radius:6px;box-shadow:0 12px 30px rgba(11,37,69,.22)}
.book .hook{font-weight:600;color:var(--ink-2);margin:0 0 .75rem}
.book .desc{margin:0 0 1.25rem;color:var(--text);max-width:68ch}
.book-feature{grid-template-columns:1fr}
@media(min-width:768px){.book-feature{grid-template-columns:240px 1fr;align-items:center;padding:2rem}.book .cover{max-width:240px}}
@media(min-width:1280px){.book-feature{grid-template-columns:280px 1fr;gap:2.5rem}.book .cover{max-width:280px}}
.btn{display:inline-block;background:var(--accent);color:var(--accent-ink);text-decoration:none;font-weight:700;padding:.8rem 1.4rem;border-radius:999px;line-height:1.2}
.btn:hover{background:var(--ink);color:#fff}
.badge{display:inline-block;border:2px solid var(--line);color:var(--muted);font-weight:700;padding:.45rem 1rem;border-radius:999px;font-size:.95rem}
.more{background:transparent;border:1px dashed #c3cad6;border-radius:var(--radius);padding:1.5rem}
.more p{margin:0 0 .75rem}
.more p:last-child{margin:0}
.link-strong{font-weight:700}

.about{border-top:1px solid var(--line)}

/* author links */
.link-list{list-style:none;margin:0;padding:0;display:grid;gap:.85rem}
.link-list li{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1rem 1.25rem}
.link-list .label{display:block;font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:700;margin-bottom:.15rem}
@media(min-width:768px){.link-list{grid-template-columns:repeat(3,1fr)}}

/* footer */
.site-footer{background:var(--ink);color:#c8d5e6;padding:2rem 0;font-size:.92rem}
.site-footer p{margin:0;max-width:70ch}

/* 404 */
.notfound{min-height:55vh;display:flex;align-items:center}
.notfound h1{font-size:4rem;margin:0 0 .5rem;color:var(--ink)}
