:root {
  --ink: #1c2430;
  --muted: #5b6573;
  --paper: #f7f4ee;
  --card: #fffdf8;
  --line: #d9d2c5;
  --accent: #8a5a22;
  --accent-dark: #6b4418;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
.wrap { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.site-header .wrap, footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}
.brand { margin: 0; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .95rem; }
.brand a { color: inherit; text-decoration: none; }
nav { display: flex; gap: 1rem; flex-wrap: wrap; }
nav a, footer a { color: var(--accent-dark); }
.hero { padding: 3rem 0 2rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--muted); }
h1 { font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.25; margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 44rem; }
.books, .about, .legal { padding: 1rem 0 3rem; }
.note { color: var(--muted); max-width: 46rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
}
.card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #eee;
}
.card h3 { margin: .85rem 0 .35rem; font-size: 1.15rem; }
.byline { margin: 0 0 .6rem; color: var(--muted); font-size: .95rem; }
.price { font-size: 1.25rem; font-weight: 700; margin: auto 0 .8rem; }
.save { font-size: .85rem; font-weight: 400; color: var(--muted); }
.btn {
  display: inline-block;
  text-align: center;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: .7rem 1rem;
  border-radius: 8px;
  font-family: system-ui, sans-serif;
  font-weight: 600;
}
.btn:hover { background: var(--accent-dark); }
.featured { box-shadow: 0 8px 24px rgba(28,36,48,.08); }
.legal h1 { margin-bottom: .4rem; }
footer {
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: .95rem;
}
.fine { color: var(--muted); font-size: .85rem; width: 100%; }
