*,*::before,*::after{box-sizing:border-box}
html{font-size:17px}
body{
  margin:0;background:#fff;color:#111;
  font-family:Avenir,"Avenir Next",Helvetica,Arial,sans-serif;
  font-weight:400;line-height:1.55;letter-spacing:.01em;
  text-transform:lowercase;-webkit-font-smoothing:antialiased;
}
a{color:#111;text-decoration:none;border-bottom:1px solid transparent}
a:hover{border-bottom-color:#111}
img{display:block;max-width:100%}

.wrap{max-width:1100px;margin:0 auto;padding:2.5rem 1.5rem 4rem}
header.site{padding:1.75rem 0 1.25rem;border-bottom:1px solid #111;margin-bottom:2rem}
header.site .brand{font-size:.95rem;letter-spacing:.04em;margin:0 0 .85rem}
nav{display:flex;flex-wrap:wrap;gap:.35rem 1.25rem;font-size:.95rem}
nav a{border-bottom:none}
nav a:hover,nav a.active{border-bottom:1px solid #111}

.intro{max-width:38rem;margin:0 0 2.5rem;font-size:1.05rem;line-height:1.65}
h1{font-size:1.35rem;font-weight:500;margin:0 0 1.75rem;letter-spacing:.02em}
h2{font-size:1.05rem;font-weight:500;margin:2.25rem 0 .9rem;padding-bottom:.4rem;border-bottom:1px solid #111;letter-spacing:.03em}

.shelf-row{display:flex;gap:1.1rem;overflow-x:auto;padding:.35rem 0 1.25rem;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.shelf-row::-webkit-scrollbar{height:4px}
.shelf-row::-webkit-scrollbar-thumb{background:#ccc}

.book-card{flex:0 0 auto;width:120px;scroll-snap-align:start}
.book-card .cover-wrap{width:120px;height:180px;background:#f4f4f4;border:1px solid #e5e5e5;overflow:hidden}
.book-card img{width:100%;height:100%;object-fit:cover}
.book-card .placeholder{width:100%;height:100%;display:flex;align-items:flex-end;padding:.55rem;font-size:.72rem;line-height:1.25;color:#555;background:#f3f3f3}
.book-card .title{margin:.45rem 0 0;font-size:.78rem;line-height:1.3}
.book-card .author{margin:.15rem 0 0;font-size:.7rem;color:#555;line-height:1.25}
.book-card a{border-bottom:none}
.dot{display:inline-block;width:6px;height:6px;background:#111;border-radius:50%;margin-right:.35rem;vertical-align:middle}

@media(max-width:640px){
  .book-card{width:110px}
  .book-card .cover-wrap{width:110px;height:165px}
  .wrap{padding:1.5rem 1rem 3rem}
}

.search-box{width:100%;max-width:28rem;border:none;border-bottom:1px solid #111;padding:.55rem 0;font:inherit;text-transform:lowercase;background:transparent;outline:none;margin-bottom:1.5rem}
.az-list{list-style:none;padding:0;margin:0}
.az-list li{padding:.55rem 0;border-bottom:1px solid #eee;display:flex;flex-wrap:wrap;gap:.25rem .75rem;align-items:baseline}
.az-list .t{flex:1 1 14rem}
.az-list .a{color:#555;font-size:.9rem}
.az-list .s{font-size:.8rem;color:#777}
.letter{margin:2rem 0 .5rem;font-size:1.1rem;font-weight:500}

.book-layout{display:grid;grid-template-columns:240px 1fr;gap:2.5rem;align-items:start}
@media(max-width:720px){.book-layout{grid-template-columns:1fr}}
.book-cover-lg{width:240px;height:360px;background:#f4f4f4;border:1px solid #e5e5e5;overflow:hidden}
.book-cover-lg img{width:100%;height:100%;object-fit:cover}
.book-cover-lg .placeholder{width:100%;height:100%;display:flex;align-items:flex-end;padding:1rem;font-size:.9rem;background:#f3f3f3;color:#555}
.meta{margin:.75rem 0;font-size:.95rem;color:#333}
.meta span{margin-right:1rem}
.meta.loc{color:#666;font-size:.9rem}
.blurb{max-width:34rem;margin:1.25rem 0}
.actions{margin-top:1.5rem;display:flex;flex-wrap:wrap;gap:1rem;font-size:.95rem}
.owner-note{border:1px solid #111;padding:1rem 1.1rem;margin:1.75rem 0;max-width:34rem}
.owner-note h3{margin:0 0 .5rem;font-size:.9rem}
.empty,.muted{color:#666}
footer.site{margin-top:3rem;padding-top:1rem;border-top:1px solid #eee;font-size:.8rem;color:#777}
