:root {
  --bg: #f8f6f1;
  --surface: #ffffff;
  --surface-alt: #f0ece2;
  --surface-stage: #ebe6da;
  --ink: #171b1e;
  --muted: #545c64;
  --subtle: #747c84;
  --accent: #174b42;
  --accent-hover: #103831;
  --accent-soft: #e6efec;
  --ochre: #8f6327;
  --line: #e2dcd0;
  --line-strong: #ccc3b2;
  --max: 1120px;
  --prose: 44rem;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --book-shadow: 0 18px 34px -12px rgba(18, 22, 26, 0.28), 0 4px 10px -2px rgba(18, 22, 26, 0.12);
  --book-shadow-lg: 0 28px 54px -14px rgba(18, 22, 26, 0.34), 0 8px 18px -4px rgba(18, 22, 26, 0.14);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus {
  position: fixed; left: 1rem; top: 1rem; z-index: 100;
  background: var(--surface); color: var(--ink); padding: 0.6rem 1rem;
  border: 1px solid var(--line-strong); border-radius: 6px;
}
header.site {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4.25rem;
}
.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--accent); }
nav.main-nav { display: flex; align-items: center; gap: 1.65rem; }
nav.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
nav.main-nav a:hover, nav.main-nav a[aria-current="page"] { color: var(--ink); }
nav.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); padding: 0.35rem 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: var(--ink);
}
.eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ochre);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  padding: 0.62rem 1.05rem;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #ffffff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #ffffff; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); background: var(--bg); }
.btn-text { padding: 0.55rem 0.25rem; color: var(--accent); font-weight: 500; font-size: 0.9rem; text-decoration: none; }
.btn-text:hover { text-decoration: underline; }
.hero { padding: 3.75rem 0 3rem; }
.hero-inner { max-width: 46rem; }
.hero h1 { font-size: clamp(2.45rem, 5vw, 3.65rem); margin: 0 0 1rem; line-height: 1.08; }
.hero-lede { font-size: clamp(1.08rem, 2vw, 1.24rem); line-height: 1.55; color: var(--muted); margin: 0 0 1.65rem; max-width: 41rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem 1.25rem; }
.book-cover {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 2px 6px 6px 2px;
  box-shadow: var(--book-shadow);
  background: #ddd6c7;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}
.book-cover-wrap { position: relative; display: inline-block; width: 100%; }
.book-cover-wrap::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.22) 0%, rgba(0,0,0,0.14) 45%, rgba(255,255,255,0.08) 70%, transparent 100%);
  pointer-events: none;
}
.featured-band {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3.25rem 0;
}
.featured-grid {
  display: grid;
  grid-template-columns: minmax(220px, 290px) 1fr;
  gap: 2.5rem 3.5rem;
  align-items: center;
}
.featured-cover-col { display: flex; justify-content: center; }
.featured-cover-col .book-cover-wrap { max-width: 280px; }
.featured-cover-col .book-cover { box-shadow: var(--book-shadow-lg); }
.featured-cover-col a:hover .book-cover { transform: translateY(-4px); }
.featured-title { font-size: clamp(1.75rem, 3.1vw, 2.35rem); margin: 0 0 0.5rem; }
.featured-title a { color: var(--ink); text-decoration: none; }
.featured-title a:hover { color: var(--accent); }
.featured-sub { font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: var(--muted); margin: 0 0 1.05rem; }
.featured-copy { color: var(--ink); font-size: 1rem; margin: 0 0 1rem; max-width: 37rem; }
.featured-specs { font-size: 0.87rem; color: var(--muted); margin: 0 0 1.45rem; }
.featured-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem 0.9rem; }
.section { padding: 3.75rem 0; }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1rem 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem;
}
.section-head h2 { font-size: clamp(1.65rem, 2.8vw, 2.1rem); margin: 0; }
.section-sub { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.96rem; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter-btn {
  appearance: none; background: transparent; border: 1px solid var(--line-strong);
  color: var(--muted); font-family: var(--sans); font-size: 0.85rem; font-weight: 500;
  padding: 0.42rem 0.85rem; border-radius: 999px; cursor: pointer; transition: all 0.15s ease;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #ffffff; }
.books-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem 1.5rem; }
.book-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.book-card[hidden] { display: none; }
.book-card:hover { border-color: var(--line-strong); box-shadow: 0 10px 26px -14px rgba(18, 22, 26, 0.2); }
.card-stage {
  background: var(--surface-stage); padding: 1.65rem 2.25rem;
  display: flex; justify-content: center; align-items: center; border-bottom: 1px solid var(--line);
}
.card-stage a { display: block; width: 100%; max-width: 176px; }
.book-card:hover .card-stage .book-cover { transform: translateY(-4px); }
.card-body { padding: 1.25rem 1.35rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 0.71rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ochre); margin: 0 0 0.35rem; }
.card-title { font-family: var(--serif); font-size: 1.24rem; font-weight: 500; line-height: 1.22; margin: 0 0 0.45rem; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--accent); }
.card-blurb { color: var(--muted); font-size: 0.91rem; line-height: 1.55; margin: 0 0 1.15rem; flex: 1; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.card-actions .btn { padding: 0.48rem 0.85rem; font-size: 0.83rem; }
.card-actions .btn-text { margin-left: auto; padding: 0.35rem 0.1rem; font-size: 0.84rem; }
.guides-band { background: var(--surface-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 3.5rem 0; }
.guides-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.guide-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.45rem; display: flex; flex-direction: column; transition: border-color 0.2s ease; }
.guide-card:hover { border-color: var(--accent); }
.guide-card h3 { font-size: 1.22rem; margin: 0 0 0.55rem; }
.guide-card h3 a { color: var(--ink); text-decoration: none; }
.guide-card h3 a:hover { color: var(--accent); }
.guide-card p { margin: 0 0 1rem; color: var(--muted); font-size: 0.92rem; line-height: 1.55; flex: 1; }
.guide-link { font-size: 0.87rem; font-weight: 500; color: var(--accent); text-decoration: none; }
.guide-link:hover { text-decoration: underline; }
.about-grid { display: grid; grid-template-columns: 1.25fr 0.95fr; gap: 2.5rem 3.5rem; align-items: start; }
.about-prose p { font-size: 1.01rem; color: var(--ink); margin: 0 0 1rem; max-width: 39rem; }
.about-prose p.muted-note { color: var(--muted); font-size: 0.95rem; }
.principles-box { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem; }
.principles-box h3 { font-size: 1.15rem; margin: 0 0 0.9rem; }
.principles-list { list-style: none; margin: 0; padding: 0; }
.principles-list li { padding: 0.65rem 0; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.principles-list li:first-child { border-top: 0; padding-top: 0; }
.principles-list strong { color: var(--ink); display: block; margin-bottom: 0.15rem; font-weight: 600; }
.dispatch-section { padding: 0 0 3.75rem; }
.dispatch-card {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 2rem 2.25rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem;
}
.dispatch-copy { max-width: 36rem; }
.dispatch-copy h2 { font-size: 1.55rem; margin: 0 0 0.4rem; }
.dispatch-copy p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.dispatch-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.45rem; }
.dispatch-email { font-family: var(--serif); font-size: 1.22rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.dispatch-email:hover { color: var(--accent); border-color: var(--accent); }
.dispatch-meta { font-size: 0.84rem; color: var(--muted); }
main.inner { padding: 2.5rem 0 4rem; }
.crumbs { font-size: 0.86rem; color: var(--muted); margin-bottom: 1.5rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.book-detail-hero {
  display: grid; grid-template-columns: minmax(200px, 280px) 1fr; gap: 2rem 3rem; align-items: start;
  padding-bottom: 2.25rem; border-bottom: 1px solid var(--line); margin-bottom: 2.25rem;
}
.book-detail-cover .book-cover-wrap { max-width: 280px; }
.book-detail-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin: 0 0 0.55rem; }
.book-detail-sub { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--muted); margin: 0 0 1rem; }
.book-meta-row { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; font-size: 0.87rem; color: var(--muted); margin: 0 0 1.4rem; }
.book-detail-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 1.4rem; }
.article { max-width: var(--prose); }
.article h1 { font-size: clamp(1.85rem, 3.8vw, 2.55rem); margin: 0 0 0.75rem; }
.article h2 { font-size: 1.45rem; margin: 2.25rem 0 0.65rem; }
.article h3 { font-size: 1.15rem; margin: 1.4rem 0 0.4rem; }
.article p, .article li { color: var(--ink); }
.article ul, .article ol { padding-left: 1.25rem; }
.article li { margin: 0.35rem 0; }
.lede { font-size: 1.12rem; color: var(--muted); line-height: 1.58; margin: 0 0 1.25rem; }
.meta { color: var(--muted); font-size: 0.88rem; }
.article table {
  border-collapse: collapse; width: 100%; margin: 1.25rem 0; font-size: 0.93rem;
  display: block; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
}
.article th, .article td { border-bottom: 1px solid var(--line); padding: 0.6rem 0.75rem; text-align: left; vertical-align: top; }
.article th { background: var(--surface-alt); font-weight: 600; }
.article tr:last-child td { border-bottom: 0; }
.note { background: var(--surface-alt); border: 1px solid var(--line); border-radius: 8px; padding: 0.9rem 1.1rem; font-size: 0.92rem; color: var(--muted); margin: 1.25rem 0; }
.answer { border-left: 4px solid var(--accent); background: var(--surface); padding: 0.95rem 1.2rem; border-radius: 0 8px 8px 0; margin: 1.1rem 0 1.5rem; }
.answer p { margin: 0; }
.faq dt { font-weight: 600; margin-top: 1.1rem; color: var(--ink); }
.faq dd { margin: 0.3rem 0 0; color: var(--muted); }
.bookbox { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.35rem 1.45rem; margin: 2rem 0; }
.flush { margin-top: 0; }
.sources { font-size: 0.9rem; color: var(--muted); }
.sources li { margin: 0.35rem 0; }
footer.site { border-top: 1px solid var(--line); background: var(--surface-alt); color: var(--muted); font-size: 0.87rem; padding: 2.25rem 0 2.75rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 2.5rem; }
.footer-brand { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin: 0 0 0.4rem; }
.footer-copy { max-width: 34rem; margin: 0.25rem 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; align-items: flex-start; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 960px) {
  .books-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guides-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .wrap { padding: 0 1.15rem; }
  header.site .wrap { min-height: 3.6rem; flex-wrap: wrap; padding-top: 0.55rem; padding-bottom: 0.55rem; gap: 0.5rem 0.9rem; }
  .brand { font-size: 1.12rem; }
  nav.main-nav { gap: 0.85rem; }
  nav.main-nav a { font-size: 0.86rem; }
  .hero { padding: 2.35rem 0 2rem; }
  .featured-band { padding: 2.35rem 0; }
  .featured-grid { grid-template-columns: 1fr; gap: 1.65rem; }
  .featured-cover-col { justify-content: flex-start; }
  .featured-cover-col .book-cover-wrap { max-width: 190px; }
  .section { padding: 2.5rem 0; }
  .books-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .card-stage { padding: 1.35rem 1.75rem; }
  .card-stage a { max-width: 168px; }
  .dispatch-card { padding: 1.35rem; }
  .dispatch-email { font-size: 1.05rem; word-break: break-word; }
  .book-detail-hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .book-detail-cover .book-cover-wrap { max-width: 190px; }
}
