:root {
  --cream: #F6F1E7;
  --warm-white: #FFFDF8;
  --ink: #1E1B16;
  --ink-light: #5C5549;
  --ink-muted: #8C8477;
  --terracotta: #C4463A;
  --terracotta-light: #D4695F;
  --gold: #B8935A;
  --blue-paris: #4A6B8A;
  --orange-sg: #D4844A;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(246,241,231,0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(30,27,22,0.06);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--ink-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--terracotta); }

.nav-cta {
  padding: 0.5rem 1.2rem !important;
  background: var(--terracotta) !important;
  color: white !important;
  border-radius: 3px;
  font-weight: 500 !important;
  transition: all 0.3s !important;
}

.nav-cta:hover { background: var(--terracotta-light) !important; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  background:
    linear-gradient(135deg, rgba(74,107,138,0.06) 0%, transparent 50%, rgba(212,132,74,0.06) 100%),
    var(--cream);
  position: relative;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 5rem;
  max-width: 1100px;
}

.hero-cover {
  flex-shrink: 0;
  width: 340px;
  animation: fadeInUp 1s ease-out;
}

.hero-cover img {
  width: 100%;
  border-radius: 4px;
  box-shadow:
    0 20px 60px rgba(30,27,22,0.2),
    0 8px 20px rgba(30,27,22,0.1),
    -4px 0 0 var(--terracotta);
}

.hero-text { animation: fadeInUp 1s ease-out 0.2s both; }

.hero-text h1 {
  font-family: var(--serif);
  font-size: 3.8rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.hero-text h1 span { display: block; color: var(--terracotta); }

.hero-subtitle {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--ink-light);
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
  max-width: 400px;
}

/* ===== BUTTONS ===== */
.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.2rem;
  background: var(--terracotta);
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 3px;
  transition: all 0.3s;
  letter-spacing: 0.02em;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,70,58,0.3);
}

.cta-dark { background: var(--ink); }
.cta-dark:hover { box-shadow: 0 8px 24px rgba(30,27,22,0.3); }

.cta-secondary {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--ink-muted);
  transition: color 0.3s;
}

.cta-secondary:hover { color: var(--terracotta); border-color: var(--terracotta); }

/* ===== SECTIONS ===== */
section { padding: 5rem 2rem; }

.container { max-width: 800px; margin: 0 auto; }

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

h2 {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* ===== ABOUT BOOK ===== */
.about-book {
  background: var(--warm-white);
  border-top: 1px solid rgba(30,27,22,0.06);
  border-bottom: 1px solid rgba(30,27,22,0.06);
}

.about-book p { font-size: 1.1rem; color: var(--ink-light); margin-bottom: 1.2rem; }

.stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(30,27,22,0.08);
}

.stat-number {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--terracotta);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-item { text-align: center; }

/* ===== EXTRACTS ===== */
.extracts { background: var(--cream); }

.extract-card {
  padding: 2.5rem;
  margin-bottom: 2rem;
  background: var(--warm-white);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
}

.extract-card p {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink-light);
  line-height: 1.8;
}

.extract-card .chapter {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== ABOUT AUTHOR ===== */
.about-author {
  background: var(--warm-white);
  border-top: 1px solid rgba(30,27,22,0.06);
}

.author-content { display: flex; gap: 3rem; align-items: flex-start; }

.author-photo {
  flex-shrink: 0;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-paris), var(--orange-sg));
  display: flex;
  align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 2.8rem; font-weight: 600;
  color: white;
}

.author-bio p { font-size: 1rem; color: var(--ink-light); margin-bottom: 1rem; }

.author-links { display: flex; gap: 1rem; margin-top: 1.5rem; }

.author-links a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.85rem;
  border: 1px solid rgba(30,27,22,0.15);
  padding: 0.5rem 1rem;
  border-radius: 3px;
  transition: all 0.3s;
}

.author-links a:hover { color: var(--terracotta); border-color: var(--terracotta); }

/* ===== BLOG TEASER ===== */
.blog-teaser {
  background: var(--cream);
  border-top: 1px solid rgba(30,27,22,0.06);
}

.blog-intro { font-size: 1.1rem; color: var(--ink-light); margin-bottom: 2rem; }

/* ===== BLOG PAGE ===== */
.blog-header {
  padding: 8rem 2rem 3rem;
  background: var(--warm-white);
  border-bottom: 1px solid rgba(30,27,22,0.06);
}

.article-list { list-style: none; }

.article-card {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(30,27,22,0.06);
}

.article-card:first-child { padding-top: 0; }

.article-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.article-card h3 a { color: var(--ink); text-decoration: none; transition: color 0.3s; }
.article-card h3 a:hover { color: var(--terracotta); }

.article-meta {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-card p { font-size: 1rem; color: var(--ink-light); }

.article-read-more {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--terracotta);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== ARTICLE PAGE ===== */
.article-header {
  padding: 8rem 2rem 2rem;
  background: var(--warm-white);
  border-bottom: 1px solid rgba(30,27,22,0.06);
}

.article-header h1 {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto 1rem;
}

.article-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.article-body p {
  font-size: 1.1rem;
  color: var(--ink-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.article-body h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--warm-white);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 4px 4px 0;
}

/* ===== FOOTER ===== */
footer {
  padding: 3rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-muted);
  border-top: 1px solid rgba(30,27,22,0.06);
}

footer a { color: var(--ink-muted); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding-top: 5rem; }
  .hero-inner { flex-direction: column; gap: 2.5rem; text-align: center; }
  .hero-cover { width: 240px; }
  .hero-text h1 { font-size: 2.6rem; }
  .hero-subtitle { font-size: 1.2rem; }
  .hero-tagline { margin: 0 auto 2rem; }
  .cta-group { justify-content: center; }
  .stats { gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
  .author-content { flex-direction: column; align-items: center; text-align: center; }
  h2 { font-size: 1.9rem; }
  .article-header h1 { font-size: 2rem; }
}
