:root{color-scheme:light;--paper:#faf7ef;--ink:#202d26;--green:#16392e;--gold:#f7d789;--line:#d6d3c7;--muted:#4e5e53}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.55 system-ui,sans-serif}
.wrap{width:min(1120px,calc(100% - 2.5rem));margin-inline:auto}
a{color:inherit;text-underline-offset:.23em}
a:focus-visible,button:focus-visible{outline:3px solid #ae631c;outline-offset:4px}
header{border-bottom:1px solid #456052;background:var(--green);color:white}
.bar,nav,footer,.section-title{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.bar,footer{padding-block:1rem}
.brand{font:600 1.24rem Georgia,serif;text-decoration:none}
nav{font-size:.9rem}
.intro{background:var(--green);color:#fff;padding:clamp(2.6rem,6vw,5rem) 0}
.author,.genre{font-size:.875rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;margin:0;color:var(--muted)}
.author{color:var(--gold)}
h1,h2,h3{font-family:Georgia,serif;line-height:1.12;margin:0;font-weight:500}
h1{font-size:clamp(3rem,8vw,6.8rem);letter-spacing:-.055em;margin-top:.55rem}
h2{font-size:clamp(2rem,4.5vw,3rem)}
h3{font-size:1.7rem}
.lead{font-size:clamp(1.05rem,2vw,1.3rem);max-width:35rem;margin:1rem 0 1.6rem}
.button{display:inline-block;background:var(--gold);color:#252919;border:0;padding:.7rem 1.15rem;border-radius:.3rem;font:inherit;font-weight:700;text-decoration:none;cursor:pointer}
.button:hover{background:#ffe5a6}
.catalogue{padding-block:2.6rem 3.2rem}
.section-title{margin-bottom:1.2rem}
.section-title p{margin:0;font-weight:700}
.shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.3rem}
article{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:.4rem;overflow:hidden;background:#fffdf8}
.cover{height:clamp(245px,32vw,325px);display:grid;place-items:center;padding:1.3rem}
.ochre{background:#e9d6b6}.sage{background:#d9e1d2}.blue{background:#d5e1e5}
.cover img{display:block;object-fit:contain;width:auto;max-width:100%;height:100%;min-height:0;box-shadow:5px 9px 16px #17282345}
.details{padding:1.2rem;display:flex;flex-direction:column;flex:1}
.details h3{margin-top:.35rem}
.details p:not(.genre){margin:.6rem 0 1.2rem}
.select{color:var(--green);font-weight:700;margin-top:auto;align-self:flex-start}
@media(max-width:750px){.shelf{grid-template-columns:1fr}.cover{height:310px}}
@media(max-width:410px){.bar{align-items:flex-start}.bar nav{gap:.5rem;flex-wrap:wrap;justify-content:flex-end}}
