/* ===== Colours & type (taken from the Forgiven to Live cover) ===== */
:root {
  --ink: #1d1b1a;
  --ink-soft: #4a4542;
  --paper: #faf8f4;
  --tint: #f1ece4;
  --night: #1a1817;
  --ember: #b8772f;
  --ember-dark: #8f5a1f;
  --line: #e2dbd0;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.6rem; }
p  { margin: 0 0 1em; }

a { color: var(--ember-dark); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 720px; }
.center { text-align: center; }

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember-dark);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 3px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--ember-dark); color: #fff; }
.btn-primary:hover { background: #73471a; }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(184, 119, 47, 0.12); }

.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ===== Header / navigation ===== */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--night);
  border-bottom: 1px solid #2e2a27;
}
.nav {
  max-width: 1080px; margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
  color: #f5efe5;
  text-decoration: none;
  line-height: 1.12;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand-descriptor {
  font-family: var(--sans);
  color: #d9b789;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links { list-style: none; display: flex; gap: 1.6rem; align-items: center; margin: 0; padding: 0; }
.nav-links a { color: #e8e0d4; text-decoration: none; font-size: 0.98rem; }
.nav-links a:hover { color: #fff; }
.nav-links .nav-cta {
  border: 1px solid var(--ember); color: #f3c98f;
  padding: 0.35rem 0.95rem; border-radius: 3px;
}
.menu-toggle, .menu-icon { display: none; }

/* ===== Hero ===== */
.hero {
  background: radial-gradient(ellipse at 50% 35%, #3a2a1a 0%, var(--night) 65%);
  color: #f5efe5;
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
}
.hero-inner { max-width: 880px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); margin-bottom: 0.25em; }
.hero-tagline {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem); color: #e3a964; margin-bottom: 0.7em;
}
.hero .lead { font-size: 1.15rem; color: #d9d0c3; max-width: 36em; margin: 0 auto; }
.hero-rule { width: 100%; max-width: 880px; height: 1px; margin: 2.2rem auto; background: linear-gradient(90deg, transparent, #6b5a47, transparent); }
.hero-image {
  width: 100%; aspect-ratio: 1584 / 672; border-radius: 14px;
  background: url("hero-ngoni-study.jpg") center / cover no-repeat,
              radial-gradient(ellipse at 70% 30%, #5a4128 0%, #2a211a 55%, #1a1614 100%);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}
.hero-discover { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 2.2rem 0 0.3em; }
.hero-discover-text { color: #d9d0c3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 1.4rem; }
.hero .btn-primary { background: var(--ember); }
.hero .btn-primary:hover { background: var(--ember-dark); }
.hero-sign { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: #b8ad9f; margin: 2rem 0 0.8rem; }
.scroll-cue {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: #f5efe5; color: var(--night); text-decoration: none; font-size: 1.2rem;
}
.scroll-cue:hover { background: #e3a964; }

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section-tint { background: var(--tint); }

/* ===== Books ===== */
.book-feature {
  display: grid; grid-template-columns: 260px 1fr; gap: 3rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2.5rem;
  margin-top: 2rem;
}
.book-cover { border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.subtitle { font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--ink-soft); margin-top: -0.4em; }
.buy-note { margin-top: 1rem; font-size: 0.95rem; color: var(--ink-soft); }
.book-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }

.tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  background: #f6e7d3; color: var(--ember-dark);
  padding: 0.2rem 0.6rem; border-radius: 2px; margin-bottom: 0.8rem;
}
.tag-muted { background: #ece7df; color: var(--ink-soft); }

.book-grid, .post-grid, .service-grid {
  display: grid; gap: 1.5rem; margin-top: 1.5rem;
}
.post-grid { grid-template-columns: repeat(2, 1fr); }
.book-grid { grid-template-columns: repeat(3, 1fr); }
.book-card { display: flex; flex-direction: column; }
.book-card .text-link { margin-top: auto; }
.card-subtitle { font-family: var(--serif); font-style: italic; font-size: 1.15rem; margin-top: -0.4em; }
.service-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 2.5rem; }

.book-card, .post, .service {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--ember);
  border-radius: 4px;
  padding: 1.8rem;
}
.service h3, .post h3 { font-size: 1.45rem; }
.service p, .post p, .book-card p { color: var(--ink-soft); }

/* ===== Subscribe ===== */
.subscribe { background: var(--night); color: #f5efe5; }
.subscribe p { color: #d9d0c3; }
.subscribe-form { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.subscribe-form input {
  flex: 1 1 260px; max-width: 340px;
  padding: 0.75rem 1rem; font-size: 1rem;
  border: 1px solid #4a433d; border-radius: 3px;
  background: #26221f; color: #fff;
}
.subscribe-form input::placeholder { color: #9d948a; }
.subscribe .btn-primary { background: var(--ember); }

.contact-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }

/* ===== Footer ===== */
.site-footer {
  background: #121110; color: #a89f94;
  text-align: center; padding: 2rem 1rem; font-size: 0.9rem;
}
.site-footer p { margin: 0.2rem 0; }
.site-footer a { color: #d9b789; text-decoration: none; }

/* ===== Phones & tablets ===== */
@media (max-width: 820px) {
  .hero { padding: 3rem 1.2rem 2.5rem; }
  .hero-image { border-radius: 10px; aspect-ratio: 4 / 3; background-position: 30% center, center; }
  .book-feature { grid-template-columns: 1fr; padding: 1.8rem; }
  .book-feature .book-cover { max-width: 220px; margin: 0 auto; }
  .book-grid, .post-grid, .service-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }

  /* hamburger menu */
  .menu-icon {
    display: block; width: 28px; height: 22px; position: relative; cursor: pointer;
  }
  .menu-icon span, .menu-icon span::before, .menu-icon span::after {
    content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: #f5efe5;
  }
  .menu-icon span { top: 10px; }
  .menu-icon span::before { top: -8px; }
  .menu-icon span::after { top: 8px; }
  .nav { flex-wrap: wrap; }
  .brand-name { font-size: 1.3rem; }
  .brand { max-width: calc(100% - 48px); }
  .desc-sep { display: none; }
  .desc-2 { display: block; }
  .brand-descriptor { font-size: 0.6rem; letter-spacing: 0.08em; line-height: 1.5; }
  .nav-links {
    display: none; width: 100%; flex-direction: column; align-items: flex-start;
    gap: 0.9rem; padding: 1rem 0 0.5rem;
  }
  .menu-toggle:checked ~ .nav-links { display: flex; }
}
