/* Plain bookish layout: white page, black type, the artwork carries the color. */
:root{
  --page:#fafaf8; --ink:#1a1c20; --muted:#5c6066; --rule:#deded9;
  --hero:#0a2f45;            /* matches the hero art's own background */
  --night:#041b28;           /* matches the bottom banner */
  --orange:#e8962e;          /* taken from the cover lettering; buttons only */
  --f-head:"Antonio","Arial Narrow",sans-serif;
  --f-body:"Newsreader",Georgia,"Times New Roman",serif;
  --gutter:20px;
  color-scheme:light;
}
@media (min-width:768px){:root{--gutter:48px}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--page);color:var(--ink);font:1.1875rem/1.6 var(--f-body)}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-underline-offset:3px}
:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.wrap{max-width:1160px;margin:0 auto;padding-left:max(var(--gutter),env(safe-area-inset-left,0px));padding-right:max(var(--gutter),env(safe-area-inset-right,0px))}
.skip{position:absolute;left:-999px;top:8px;background:var(--ink);color:#fff;padding:10px 14px;z-index:10}
.skip:focus{left:8px}
h1,h2,h3{font-family:var(--f-head);font-weight:700;line-height:1.1;margin:0;text-wrap:balance}
h1{font-size:clamp(2.6rem,5vw,3.75rem)}
h2{font-size:clamp(2rem,3.4vw,2.6rem)}
h3{font-size:clamp(2rem,3.4vw,2.6rem)}
p{margin:0}
.measure{max-width:34rem}

/* header */
.site-head{background:var(--page);border-bottom:1px solid var(--rule)}
.site-head .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 28px;min-height:64px;padding-block:6px}
.brand{font:700 1.6rem/1 var(--f-head);text-decoration:none;padding-block:10px}
.site-head nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:0 24px}
.site-head nav a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
.site-head nav a:hover{text-decoration:underline}

/* hero */
.hero{background:var(--hero);color:#fff;position:relative;overflow:hidden}
.hero-text{padding-block:48px 28px;display:flex;flex-direction:column;gap:20px;position:relative;z-index:1}
.hero-text p{max-width:30rem;color:#d6e0e5}
.hero picture img{width:100%;aspect-ratio:3/2;object-fit:cover;object-position:75% 50%}
@media (min-width:900px){
  .hero{min-height:540px}
  .hero picture{position:absolute;inset:0 0 0 auto;width:min(75%,1080px)}
  .hero picture img{height:100%;aspect-ratio:auto;object-position:70% 50%}
  .hero-text{padding-block:110px;max-width:32rem}
}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;background:var(--orange);color:var(--ink);font:600 1.05rem var(--f-body);text-decoration:none;border:0;border-radius:3px;cursor:pointer;align-self:flex-start}
.btn:hover{background:#f2a94b}
.btn[disabled]{opacity:.6;cursor:not-allowed}

/* books */
.section{padding-block:72px}
.section-head{margin-bottom:36px}
.feature{display:grid;gap:24px;padding-block:44px;border-top:1px solid var(--rule)}
.feature:first-of-type{border-top:0;padding-top:0}
.feature > *{min-width:0}
@media (min-width:768px){
  .feature{grid-template-columns:260px 1fr;gap:56px;align-items:center}
  .feature.flip{grid-template-columns:1fr 260px}
  .feature.flip > :first-child{order:2}
}
.cover-final{display:block;width:min(240px,70%)}
@media (min-width:768px){.cover-final{width:100%}}
.cover-final img{width:100%;aspect-ratio:2/3;box-shadow:0 2px 6px rgba(0,0,0,.25)}
.cover{aspect-ratio:2/3;width:min(240px,70%);background:var(--hero);color:#fff;padding:20px 16px;display:flex;flex-direction:column;justify-content:flex-end;gap:8px}
.cover .k{display:none}
.cover .t{font:700 1.8rem/1 var(--f-head)}
.cover .a{font-size:.9rem}
.feature .body{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.feature .body p{max-width:34rem}
.status{font-style:italic;color:var(--muted)}
.textlink{display:inline-flex;align-items:center;min-height:44px}
.actions{display:flex;flex-wrap:wrap;gap:8px 24px;align-items:center}

/* about */
.about{border-top:1px solid var(--rule)}
.about .wrap > div{display:flex;flex-direction:column;gap:16px}

/* mailing list */
.news{position:relative;overflow:hidden;background:var(--night) url(/img/news-banner-2000.jpg) right center/cover no-repeat;background-image:image-set(url(/img/news-banner-2000.webp) type("image/webp"),url(/img/news-banner-2000.jpg) type("image/jpeg"));color:#fff}
.news .wrap{position:relative;padding-block:72px;display:flex;flex-direction:column;gap:16px}
.news p{color:#d6e0e5;max-width:32rem}
.news form{display:flex;flex-direction:column;gap:8px;max-width:36rem}
.news .row{display:flex;flex-direction:column;gap:10px}
@media (min-width:600px){.news .row{flex-direction:row}}
.news input{flex:1;min-width:0;min-height:48px;font:1.05rem var(--f-body);padding:0 14px;border:1px solid transparent;border-radius:3px;background:#fff;color:var(--ink)}
.news input:disabled{background:#cfd6da}
.news .note{font-size:.95rem;color:#b5c3ca}
.news .note a{color:#fff}
@media (max-width:899px){.news{background-image:image-set(url(/img/news-banner-900.webp) type("image/webp"),url(/img/news-banner-900.jpg) type("image/jpeg"));background-position:72% center}.news::before{content:"";position:absolute;inset:0;background:rgba(4,27,40,.55)}}

/* book page */
.bookhead{display:grid;gap:28px;align-items:end;padding-block:56px 8px}
@media (min-width:768px){.bookhead{grid-template-columns:260px 1fr;gap:56px}}
.bookhead > *{min-width:0}
.bookhead > div{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.kicker{color:var(--muted)}
.blurb{display:flex;flex-direction:column;gap:18px;max-width:36rem}
.blurb .lede{font-size:1.15em}
dl.facts{display:grid;grid-template-columns:auto 1fr;gap:6px 24px;margin:12px 0 0;padding-top:18px;border-top:1px solid var(--rule)}
dl.facts dt{color:var(--muted)}
dl.facts dd{margin:0}

footer{background:var(--night);color:#b5c3ca}
footer .wrap{padding-block:20px 26px;font-size:.95rem}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
