:root {
  --ink: #2f1b10;
  --brown-dark: #3d1f11;
  --brown: #6f3b20;
  --copper: #b8642e;
  --gold: #c99a4a;
  --cream: #fbf1dc;
  --paper: #fffaf0;
  --sage: #64745b;
  --white: #ffffff;
  --muted: #745b46;
  --shadow: 0 18px 45px rgba(47, 27, 16, 0.16);
  --radius: 18px;
  --heading: Georgia, 'Times New Roman', serif;
  --body: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(61, 31, 17, 0.96);
  color: var(--cream);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--heading);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand img { width: 52px; height: 52px; border-radius: 50%; background: var(--cream); }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links a { color: #ead5ad; }
.nav-links a:hover { color: var(--gold); }
.menu-toggle { display: none; color: var(--cream); background: none; border: 1px solid rgba(255,255,255,0.35); padding: 8px 12px; border-radius: 10px; }

.hero {
  min-height: 82vh;
  position: relative;
  color: var(--white);
  background-image: linear-gradient(90deg, rgba(35, 20, 12, 0.84), rgba(35, 20, 12, 0.48), rgba(35, 20, 12, 0.15)), url('assets/author-photo.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.hero-content { width: min(660px, 100%); padding: 80px 0; }
.kicker { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; margin-bottom: 18px; }
h1, h2, h3, .serif { font-family: var(--heading); }
h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: 0.94; margin: 0 0 24px; }
.hero p { font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 620px; color: #f7ead0; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.82rem;
  border: 2px solid transparent;
  transition: 0.2s ease;
}
.btn-primary { background: var(--gold); color: var(--brown-dark); }
.btn-primary:hover { background: #e0b765; transform: translateY(-2px); }
.btn-light { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-light:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-brown { background: var(--brown); color: var(--white); }
.btn-brown:hover { background: var(--brown-dark); transform: translateY(-2px); }

.section { padding: 86px 0; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--brown-dark); color: var(--cream); }
.section-title { text-align: center; margin-bottom: 42px; }
.section-title h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.1; margin: 0 0 12px; }
.section-title p { margin: 0 auto; max-width: 690px; color: var(--muted); font-size: 1.05rem; }
.dark .section-title p { color: #d8c29c; }
.gold-line { width: 80px; height: 4px; background: var(--gold); border-radius: 4px; margin: 18px auto 0; }

.feature-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: center; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.feature-copy { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; }
.feature-copy h3 { font-size: 2rem; line-height: 1.1; margin: 0 0 8px; color: var(--brown-dark); }
.meta { color: var(--copper); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; margin-bottom: 16px; }
.tagline { font-family: var(--heading); font-size: 1.18rem; color: var(--brown); font-style: italic; }
.avail { font-weight: 800; color: var(--sage); margin-top: 18px; }
.book-cover { border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper); margin: 0 auto; max-height: 680px; object-fit: cover; }
.book-cover.portrait { width: min(360px, 100%); }

.series-block { margin-top: 54px; }
.series-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.series-head h3 { font-size: 1.7rem; margin: 0; white-space: nowrap; }
.series-head span { flex: 1; height: 1px; background: rgba(111, 59, 32, 0.25); }
.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.book-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.book-card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: #ead5ad; }
.book-info { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.book-info h4 { font-family: var(--heading); font-size: 1.24rem; margin: 0 0 6px; line-height: 1.15; }
.book-info p { color: var(--muted); font-size: 0.92rem; margin: 0 0 16px; }
.book-info .btn { margin-top: auto; width: 100%; }
.badge { display: inline-block; background: rgba(201,154,74,0.22); color: var(--brown-dark); border: 1px solid rgba(201,154,74,0.6); border-radius: 999px; padding: 4px 10px; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.placeholder-cover { aspect-ratio: 2 / 3; background: linear-gradient(145deg, #6f3b20, #2f1b10); color: var(--cream); display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; font-family: var(--heading); font-size: 1.4rem; }

.reading-order { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.order-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.order-card h3 { margin: 0 0 18px; color: var(--brown-dark); font-size: 1.7rem; }
.order-card ol { margin: 0; padding-left: 22px; }
.order-card li { margin-bottom: 10px; }

.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: center; }
.about-image { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-copy p { margin-top: 0; color: #f1dfbd; }
.about-copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 18px; }
.logo-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-top: 22px; }
.logo-card img { width: 220px; margin: 0 auto; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.stars { color: var(--gold); letter-spacing: 0.1em; font-size: 1.1rem; margin-bottom: 12px; }
.review p { margin: 0; color: var(--muted); font-style: italic; }

.newsletter { background: linear-gradient(135deg, var(--brown-dark), var(--brown)); color: var(--cream); border-radius: 28px; padding: 48px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 0.9fr; gap: 36px; align-items: center; }
.newsletter h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3rem); }
.newsletter p, .newsletter li { color: #f1dfbd; }
.newsletter ul { margin: 20px 0 0; padding-left: 22px; }
.form-box { background: var(--paper); color: var(--ink); border-radius: 20px; padding: 28px; }
.form-box input { width: 100%; padding: 14px 16px; border: 1px solid #d7c4a2; border-radius: 12px; margin-bottom: 12px; font-size: 1rem; }
.form-note { color: var(--muted); font-size: 0.86rem; margin-top: 12px; }
.embed-note { background: #fff3cf; border: 1px solid #e6c46a; padding: 12px; border-radius: 12px; font-size: 0.88rem; color: #5d431b; margin-top: 14px; }

.footer { background: #21120b; color: #d8c29c; padding: 38px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.footer h3, .footer h4 { color: var(--cream); margin-top: 0; }
.footer a { color: #d8c29c; }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.copyright { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 28px; padding-top: 18px; font-size: 0.86rem; color: #a98f6c; text-align: center; }

.page-hero { background: linear-gradient(135deg, var(--brown-dark), var(--brown)); color: var(--cream); padding: 76px 0; text-align: center; }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); margin-bottom: 12px; }
.page-hero p { max-width: 760px; margin: 0 auto; color: #f1dfbd; }
.book-detail { display: grid; grid-template-columns: 330px 1fr; gap: 42px; align-items: start; padding: 56px 0; border-bottom: 1px solid rgba(111,59,32,0.18); }
.book-detail h2 { font-size: 2.4rem; margin: 0 0 8px; color: var(--brown-dark); }
.book-detail .book-cover { width: 100%; }
.praise { margin-top: 18px; padding: 18px; background: var(--paper); border-left: 4px solid var(--gold); border-radius: 12px; }

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--brown-dark); flex-direction: column; padding: 22px; gap: 16px; }
  .nav-links.open { display: flex; }
  .feature-grid, .about-grid, .newsletter, .book-detail { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .reading-order, .review-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .book-grid { grid-template-columns: 1fr; }
  .newsletter { padding: 28px; }
  .brand span { display: none; }
  h1 { font-size: 3rem; }
}
