*, *::before, *::after { box-sizing: border-box; }
:root {
  --tb-green: #1a6b3a;
  --tb-green-dark: #0f3f23;
  --tb-green-light: #e8f4ed;
  --tb-amber: #b87333;
  --tb-ink: #111914;
  --tb-muted: #64736a;
  --tb-border: #d8e4db;
  --tb-paper: #fbfaf7;
  --tb-white: #ffffff;
  --tb-night: #0b1320;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--tb-ink);
  background: var(--tb-paper);
  line-height: 1.65;
}
a { color: var(--tb-green); }
img { max-width: 100%; height: auto; }
.books-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--tb-border);
  background: rgba(251,250,247,.96);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.books-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  color: var(--tb-green);
  text-decoration: none;
  letter-spacing: -.01em;
}
.books-brand img { width: 32px; height: 32px; }
.books-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: .9rem;
}
.books-links a { color: var(--tb-muted); text-decoration: none; font-weight: 600; }
.books-links a:hover { color: var(--tb-green); }
.books-container {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
}
.books-narrow {
  width: min(820px, calc(100% - 2.5rem));
  margin: 0 auto;
}
.books-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
}
.books-kicker {
  display: inline-block;
  color: var(--tb-amber);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .72rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
}
.books-title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  line-height: 1.03;
  letter-spacing: -.04em;
  margin: 0 0 1.25rem;
}
.books-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--tb-muted);
  max-width: 720px;
  margin: 0 0 2rem;
}
.books-actions { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.books-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .75rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--tb-green);
  color: var(--tb-green);
  background: transparent;
  text-decoration: none;
  font-weight: 800;
  font-size: .92rem;
}
.books-btn.primary { background: var(--tb-green); color: #fff; }
.books-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(26,107,58,.14); }
.books-note { color: var(--tb-muted); font-size: .9rem; }
.books-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.book-card {
  background: var(--tb-white);
  border: 1px solid var(--tb-border);
  border-radius: 22px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 18px 45px rgba(17,25,20,.06);
  display: grid;
  grid-template-columns: minmax(120px, 190px) 1fr;
  gap: clamp(1.1rem, 3vw, 1.75rem);
  align-items: start;
}
.book-card-cover {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(10,15,20,.22);
  background: #111;
}
.book-card h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.15;
  margin: 0 0 .55rem;
}
.book-card p { margin: 0 0 1rem; color: var(--tb-muted); }
.book-meta {
  color: var(--tb-amber);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800;
  margin-bottom: .7rem;
}
.books-section {
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-top: 1px solid var(--tb-border);
}
.books-section h2, .book-detail h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}
.books-section p, .book-detail p, .book-detail li { color: var(--tb-muted); }
.book-detail-hero {
  display: grid;
  grid-template-columns: minmax(220px, 350px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.book-detail-cover {
  border-radius: 14px;
  box-shadow: 0 26px 70px rgba(10,15,20,.25);
}
.book-detail h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  margin: 0 0 1rem;
}
.book-detail-tagline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--tb-muted);
  margin-bottom: 1.5rem;
}
.book-prose {
  max-width: 760px;
  font-size: 1.03rem;
}
.book-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.book-feature {
  padding: 1.25rem;
  background: var(--tb-white);
  border: 1px solid var(--tb-border);
  border-radius: 14px;
}
.book-feature strong { display: block; margin-bottom: .35rem; }
.author-layout {
  display: grid;
  grid-template-columns: minmax(230px, 360px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.author-photo {
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(10,15,20,.18);
}
.author-bio h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  margin: 0 0 1rem;
}
.author-bio p { color: var(--tb-muted); font-size: 1.04rem; }
.books-footer {
  border-top: 1px solid var(--tb-border);
  padding: 2rem 0;
  color: var(--tb-muted);
  font-size: .86rem;
}
.books-footer .books-container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 820px) {
  .books-nav { position: static; flex-direction: column; align-items: flex-start; }
  .books-links { flex-wrap: wrap; }
  .books-grid, .book-detail-hero, .author-layout { grid-template-columns: 1fr; }
  .book-card { grid-template-columns: 1fr; }
  .book-card-cover { max-width: 220px; }
  .book-feature-list { grid-template-columns: 1fr; }
}