:root {
  --ink: #241f21; --muted: #6c6468; --line: #e4dee1; --bg: #fdfcfc;
  --accent: #8c2f4e; --accent-ink: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.6 Georgia, "Times New Roman", serif; color: var(--ink);
  background: var(--bg); }
main { max-width: 1080px; margin: 0 auto; padding: 1rem 1.25rem 4rem; }
h1, h2, h3 { font-family: system-ui, sans-serif; line-height: 1.25; }
a { color: var(--accent); }

.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  padding: .75rem 1.25rem; border-bottom: 2px solid var(--accent); background: #fff; }
.logo { max-height: 64px; width: auto; }
.logo-link { text-decoration: none; }
.logo-text { font-family: system-ui, sans-serif; font-weight: 700; font-size: 1.6rem;
  letter-spacing: .01em; color: var(--accent); }
.site-nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-family: system-ui, sans-serif; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
.site-nav a:hover { color: var(--accent); }

.hero { text-align: center; padding: 2rem 0 1rem; }
.hero h1 { font-size: 2.4rem; margin-bottom: .25rem; }
.tagline { color: var(--muted); font-style: italic; }

.cover-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.25rem; margin: 1.5rem 0; }
.cover-card { display: block; text-decoration: none; color: var(--ink); text-align: center; }
.cover-card img { width: 100%; height: auto; border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.25); transition: transform .15s; }
.cover-card:hover img { transform: translateY(-3px); }
.cover-title { display: block; margin-top: .5rem; font-family: system-ui, sans-serif;
  font-size: .92rem; font-weight: 600; }
.cover-order { display: block; color: var(--muted); font-size: .8rem;
  font-family: system-ui, sans-serif; }

.book-layout { display: grid; grid-template-columns: minmax(200px, 300px) 1fr;
  gap: 2rem; margin-top: 1rem; }
@media (max-width: 720px) { .book-layout { grid-template-columns: 1fr; } }
.book-cover img { width: 100%; height: auto; border-radius: 6px;
  box-shadow: 0 3px 12px rgba(0,0,0,.3); }
.book-info h1 { margin: 0 0 .25rem; }
.subtitle { color: var(--muted); font-style: italic; margin-top: 0; }
.byline { font-family: system-ui, sans-serif; }
.book-meta { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem;
  color: var(--muted); font-family: system-ui, sans-serif; font-size: .9rem; }
.crumbs { font-family: system-ui, sans-serif; font-size: .9rem; margin-bottom: .5rem; }

.format-switch { display: flex; gap: .5rem; justify-content: center; margin-top: .75rem;
  font-family: system-ui, sans-serif; }
.format-switch a { padding: .3rem .8rem; border: 1px solid var(--accent); border-radius: 999px;
  text-decoration: none; font-size: .88rem; }
.format-switch a.active { background: var(--accent); color: var(--accent-ink); }

.retail-links h2 { margin-bottom: .5rem; }
.retail-button { display: inline-block; margin: 0 .5rem .5rem 0; padding: .5rem 1rem;
  background: var(--accent); color: var(--accent-ink); border-radius: 6px;
  text-decoration: none; font-family: system-ui, sans-serif; font-weight: 600;
  font-size: .92rem; }
.retail-button:hover { filter: brightness(1.1); }

.book-description { margin-top: 1.5rem; }
.chip { display: inline-block; background: #f2e8ec; border: 1px solid var(--line);
  border-radius: 999px; padding: .1rem .7rem; margin: 0 .3rem .3rem 0;
  font-family: system-ui, sans-serif; font-size: .82rem; }
.content-warnings { margin-top: 1rem; color: var(--muted);
  font-family: system-ui, sans-serif; font-size: .9rem; }

.series-description { max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); padding: .5rem 0; }
.faq summary { cursor: pointer; font-family: system-ui, sans-serif; font-weight: 600; }

.site-footer { border-top: 1px solid var(--line); margin-top: 3rem; padding: 1.5rem;
  text-align: center; color: var(--muted); font-family: system-ui, sans-serif;
  font-size: .9rem; }
.footer-links a { margin: 0 .75rem; }
