:root{
  --paper:#E4E9E5; --surface:#F2F5F2; --ink:#17211C; --muted:#55625B;
  --line:#C5CEC8; --gilt:#94733A; --ox:#7A2433; --ox-ink:#FFFFFF; --shadow:rgba(23,33,28,.28);
  color-scheme:light;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px); padding-bottom:env(safe-area-inset-bottom,0px);
}
@media (prefers-color-scheme:dark){:root{
  --paper:#111714; --surface:#19211D; --ink:#E3E8E3; --muted:#9BA7A0;
  --line:#2B3631; --gilt:#C9A962; --ox:#9B3445; --ox-ink:#FFFFFF; --shadow:rgba(0,0,0,.6);
  color-scheme:dark;}}
*,*::before,*::after{box-sizing:inherit}
html{scroll-padding-top:env(safe-area-inset-top,0px)}
body{margin:0;background:var(--paper);color:var(--ink);
  font:400 1.0625rem/1.6 "Source Sans 3",system-ui,sans-serif;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
a:focus-visible,button:focus-visible{outline:2px solid var(--gilt);outline-offset:3px}
.wrap{max-width:1120px;margin:0 auto;padding:0 1.25rem}
.fell{font-family:"IM Fell English",Georgia,serif;font-weight:400}

/* masthead */
.mast{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:1.25rem 0;border-bottom:1px solid var(--line)}
.mast .name{font-family:"IM Fell English",Georgia,serif;font-size:1.35rem;text-decoration:none}
.mast nav a{color:var(--muted);text-decoration:none;margin-left:1.25rem;font-size:.95rem}
.mast nav a:hover{color:var(--ink)}

/* hero */
.hero{padding:3.5rem 0 0}
.hero h1{font-family:"IM Fell English",Georgia,serif;font-weight:400;font-size:clamp(2.4rem,6.5vw,4.6rem);line-height:1.02;margin:0;max-width:14ch;letter-spacing:-.01em}
.hero p{max-width:58ch;color:var(--muted);font-size:1.15rem;margin:1.25rem 0 0}
.shelf{position:relative;margin-top:2.75rem;display:flex;align-items:flex-end;gap:0;overflow-x:auto;padding:0 0 0 .5rem;scrollbar-width:none}
.shelf::-webkit-scrollbar{display:none}
.shelf a{flex:0 0 auto;width:clamp(96px,13vw,150px);margin-right:-14px;transform-origin:bottom center;transition:transform .25s ease}
.shelf a:nth-child(odd){transform:rotate(-2deg)}
.shelf a:nth-child(3n){transform:rotate(1.5deg) translateY(-4px)}
.shelf a:hover{transform:translateY(-10px) rotate(0)}
.shelf img{height:auto;box-shadow:2px 6px 14px var(--shadow);border-radius:1px 3px 3px 1px}
.ledge{height:10px;background:var(--gilt);opacity:.85;margin-top:-2px;border-radius:1px}

/* catalogue */
.cat-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.5rem 1.5rem;margin:4rem 0 1.25rem}
.cat-head h2{font-family:"IM Fell English",Georgia,serif;font-weight:400;font-size:2rem;margin:0}
.cat-head .count{color:var(--muted)}
.filters{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.5rem;margin-bottom:2rem;scrollbar-width:thin}
.filters button{flex:0 0 auto;font:inherit;font-size:.95rem;color:var(--ink);background:transparent;border:1px solid var(--line);border-radius:999px;padding:.45rem 1rem;cursor:pointer}
.filters button[aria-pressed="true"]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:2.25rem 1.5rem}
@media (min-width:700px){.grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}}
.book{text-decoration:none;display:flex;flex-direction:column}
.book img{height:auto;box-shadow:2px 5px 12px var(--shadow);border-radius:1px 3px 3px 1px;background:var(--line)}
.book h3{font-family:"IM Fell English",Georgia,serif;font-weight:400;font-size:1.2rem;line-height:1.2;margin:.9rem 0 .2rem}
.book .by{color:var(--muted);font-size:.9rem}
.book .hook{font-size:.95rem;margin:.45rem 0 0;line-height:1.45}
.book.hide{display:none}
.tag{display:inline-block;font-size:.8rem;color:var(--gilt);margin-top:.35rem}

/* press note */
.note{margin:5rem 0 0;padding:2.5rem 0;border-top:1px solid var(--line);display:grid;gap:1.5rem}
@media (min-width:800px){.note{grid-template-columns:1fr 1.4fr;gap:3rem}}
.note h2{font-family:"IM Fell English",Georgia,serif;font-weight:400;font-size:1.9rem;margin:0;line-height:1.15}
.note p{margin:0 0 1rem;max-width:62ch}
.btn{display:inline-block;text-decoration:none;background:var(--ox);color:var(--ox-ink);padding:.7rem 1.2rem;border-radius:4px;font-weight:600}

/* book page */
.back{display:inline-block;margin:1.75rem 0 0;color:var(--muted);text-decoration:none}
.back:hover{color:var(--ink)}
.detail{display:grid;gap:2rem;margin:1.75rem 0 0}
@media (min-width:820px){.detail{grid-template-columns:minmax(240px,360px) 1fr;gap:3.5rem;align-items:start}
  .detail .cover{position:sticky;top:calc(1.5rem + env(safe-area-inset-top,0px))}}
.detail .cover img{width:100%;max-width:360px;height:auto;box-shadow:3px 10px 26px var(--shadow);border-radius:2px 4px 4px 2px}
.detail .kicker{color:var(--gilt);text-decoration:none;font-size:.95rem}
.detail h1{font-family:"IM Fell English",Georgia,serif;font-weight:400;font-size:clamp(2rem,4.5vw,3.2rem);line-height:1.05;margin:.4rem 0 0}
.detail .sub{font-family:"IM Fell English",Georgia,serif;font-style:italic;font-size:1.3rem;color:var(--muted);margin:.5rem 0 0;line-height:1.3}
.detail .author{margin:1rem 0 0;font-size:1.05rem}
.detail .author span{color:var(--muted)}
.lede{font-family:"IM Fell English",Georgia,serif;font-size:1.45rem;line-height:1.35;margin:2rem 0 0;max-width:34ch}
.buy{margin:2rem 0 0;border:1px solid var(--line);border-radius:6px;background:var(--surface);padding:1.25rem}
.buy h2{font-size:1rem;font-weight:600;margin:0 0 .75rem}
.buy h2 + .row{margin-top:0}
.row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.6rem;margin-bottom:1.1rem}
.row:last-child{margin-bottom:0}
.opt{display:flex;justify-content:space-between;align-items:center;gap:.5rem;text-decoration:none;border:1px solid var(--line);border-radius:4px;padding:.65rem .85rem;background:var(--paper)}
.opt:hover{border-color:var(--ink)}
.opt b{font-weight:600}
.opt.direct{background:var(--ox);color:var(--ox-ink);border-color:var(--ox)}
.opt.direct:hover{filter:brightness(1.1)}
.small{font-size:.85rem;color:var(--muted);margin:.25rem 0 0}
.prose{margin:2.25rem 0 0;max-width:64ch}
.prose p{margin:0 0 1.1rem}
.prose h3{font-family:"IM Fell English",Georgia,serif;font-weight:400;font-size:1.4rem;margin:2rem 0 .6rem}
.prose ul{padding-left:1.2rem;margin:0 0 1.2rem}
.prose li{margin:.35rem 0}
.related{margin:4.5rem 0 0;padding-top:2rem;border-top:1px solid var(--line)}
.related h2{font-family:"IM Fell English",Georgia,serif;font-weight:400;font-size:1.7rem;margin:0 0 1.5rem}

/* footer */
footer{margin-top:5rem;border-top:1px solid var(--line);padding:2rem 0 3rem;color:var(--muted);font-size:.95rem}
footer .cols{display:flex;flex-wrap:wrap;gap:1rem 2rem;justify-content:space-between}
footer a{text-decoration:none}
footer a:hover{color:var(--ink)}
footer .social a{margin-right:1rem}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
.mast{flex-wrap:wrap;align-items:center}
.mast .name{white-space:nowrap}
.mast nav a:first-child{margin-left:0}
@media (max-width:520px){.mast{flex-direction:column;align-items:flex-start;gap:.4rem}}
@media (max-width:819px){.detail .cover img{max-width:230px}}
.buy .small{margin:.1rem 0 0;line-height:1.5}
.buy .small a{color:var(--ink);text-decoration:underline;text-underline-offset:2px}
.buy h2.second{margin-top:1.6rem;padding-top:1.25rem;border-top:1px solid var(--line)}
.buy .small.first{margin:0 0 .75rem}
.buy .row + .small{margin-top:-.35rem}
footer .also{margin:1rem 0 0}
.mast .name{display:inline-flex;align-items:center;gap:.6rem}
.mast .name img{width:44px;height:auto}
.biglogo{width:min(260px,70%);height:auto;margin:0 0 1.5rem}
@media (min-width:700px){.filters{flex-wrap:wrap;overflow:visible}}
.book .frame{display:flex;align-items:flex-end;aspect-ratio:5/8}
.book .frame img{width:100%;height:auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.signup{margin:5rem 0 0;padding:2.25rem 1.5rem;background:var(--surface);border:1px solid var(--line);border-radius:8px}
.signup .row-form{display:grid;gap:1.25rem;align-items:center}
@media (min-width:860px){.signup .row-form{grid-template-columns:1fr 1.1fr;gap:2.5rem}}
.signup h2{font-family:"IM Fell English",Georgia,serif;font-weight:400;font-size:1.9rem;line-height:1.15;margin:0 0 .5rem}
.signup p{margin:0;color:var(--muted)}
.su-row{display:flex;flex-wrap:wrap;gap:.6rem}
.su-row .ml-field-group{flex:1 1 220px}
.su-row input{width:100%;font:inherit;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:4px;padding:.75rem .9rem}
.su-row input:focus{outline:2px solid var(--gilt);outline-offset:1px;border-color:var(--gilt)}
.su-row .ml-form-embedSubmit{flex:0 0 auto}
.su-row button{font:inherit;font-weight:600;background:var(--ox);color:var(--ox-ink);border:0;border-radius:4px;padding:.78rem 1.3rem;cursor:pointer;width:100%}
.su-row button:hover{filter:brightness(1.1)}
.su-fine{font-size:.85rem;margin-top:.7rem!important}
.su-fine a{color:var(--ink)}
.ml-error input{border-color:#C0392B!important}
.signup .row-success h2{margin-bottom:.4rem}
.related + .signup{margin-top:4rem}
footer .social{display:flex;flex-wrap:wrap;gap:.35rem 1rem}
footer .social a{margin-right:0}
:root{--gilt-text:#6E5424}
@media (prefers-color-scheme:dark){:root{--gilt-text:#C9A962}}
.tag,.detail .kicker{color:var(--gilt-text)}
