:root {
  --burgundy: #3b1723;
  --burgundy-soft: #572536;
  --cream: #f7efe5;
  --paper: #fffaf3;
  --warm: #c86b4a;
  --warm-light: #f1c6a5;
  --gold: #d4a45d;
  --ink: #25191b;
  --muted: #6d5d59;
  --line: rgba(59, 23, 35, 0.18);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 80px;
  padding: 14px clamp(22px, 4vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(247, 239, 229, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--burgundy);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: var(--burgundy);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 23px;
  font-style: italic;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 30px);
}

.site-nav > a:not(.button) {
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav > a:not(.button):hover { color: var(--warm); }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.menu-button > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--burgundy);
}

.button {
  min-height: 54px;
  padding: 15px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--warm);
  border: 1px solid var(--warm);
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  letter-spacing: 0.12em;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #b6583a;
}

.button-small {
  min-height: 44px;
  padding: 12px 18px;
  font-size: 0.72rem;
}

.hero {
  min-height: calc(100svh - 80px);
  padding: clamp(42px, 5vw, 76px) clamp(24px, 6vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(46px, 7vw, 112px);
  color: var(--cream);
  background:
    radial-gradient(circle at 10% 18%, rgba(200, 107, 74, 0.24), transparent 29%),
    linear-gradient(125deg, var(--burgundy) 0%, #31101a 72%);
}

.hero-copy { max-width: 800px; }

.eyebrow,
.section-label {
  margin: 0 0 20px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero .eyebrow { color: var(--warm-light); }

h1,
h2,
blockquote {
  font-family: var(--serif);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.1rem, 5.8vw, 6.6rem);
  font-weight: 600;
}

h1 em { color: var(--warm-light); font-weight: 600; }

.hero-description {
  max-width: 700px;
  margin: 28px 0 0;
  color: rgba(247, 239, 229, 0.78);
  font-size: clamp(1rem, 1.3vw, 1.22rem);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.text-link {
  color: var(--cream);
  font-size: 0.84rem;
  font-weight: 700;
  text-underline-offset: 5px;
}

.hero-art { justify-self: center; }

.cover-frame {
  position: relative;
  width: min(390px, 32vw);
  padding: clamp(13px, 1.4vw, 22px);
  background: var(--paper);
  box-shadow: 24px 30px 0 rgba(200, 107, 74, 0.32), 0 28px 70px rgba(0, 0, 0, 0.34);
  transform: rotate(1.5deg);
}

.cover-frame::before {
  content: "";
  position: absolute;
  inset: -18px 14% auto -28px;
  height: 3px;
  background: var(--gold);
}

.cover-frame img { width: 100%; height: auto; }

.section-pad { padding: clamp(76px, 10vw, 150px) clamp(24px, 8vw, 140px); }

.book-intro {
  display: grid;
  grid-template-columns: minmax(140px, 0.38fr) minmax(0, 1.62fr);
  gap: clamp(40px, 8vw, 140px);
  border-bottom: 1px solid var(--line);
}

.section-label { color: var(--warm); }

h2 {
  margin: 0 0 24px;
  color: var(--burgundy);
  font-size: clamp(2.6rem, 5vw, 5.3rem);
  font-weight: 600;
}

.book-intro-copy { max-width: 900px; }
.book-intro-copy p { max-width: 780px; color: var(--muted); }
.book-intro-copy .lead { color: var(--ink); font-size: clamp(1.15rem, 2vw, 1.55rem); }

.book-promise {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--burgundy) !important;
  font-weight: 800;
}

.for-you { background: var(--paper); }

.section-heading {
  max-width: 740px;
  margin-bottom: 54px;
}

.section-heading .eyebrow,
.learn .eyebrow,
.about .eyebrow { color: var(--warm); }

.signal-list {
  max-width: 1160px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.signal-list li {
  min-height: 85px;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2vw, 1.65rem);
}

.signal-list span {
  color: var(--warm);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.learn {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(56px, 9vw, 150px);
  background: #eddccf;
}

.learn-intro p:last-child { max-width: 440px; color: var(--muted); }

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.lesson-grid article {
  min-height: 190px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lesson-grid strong {
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 1.75rem;
}

.lesson-grid p { margin-bottom: 0; color: var(--muted); }

.quote-section {
  padding: clamp(100px, 14vw, 210px) clamp(28px, 13vw, 220px);
  color: var(--cream);
  text-align: center;
  background: var(--burgundy);
}

.quote-section blockquote {
  max-width: 1120px;
  margin: 0 auto;
  color: var(--cream);
  font-size: clamp(2.6rem, 5.4vw, 6.2rem);
  font-style: italic;
}

.quote-section p {
  margin: 30px 0 0;
  color: var(--warm-light);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(54px, 9vw, 150px);
}

.author-photo {
  position: relative;
  max-width: 560px;
}

.author-photo::after {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: -1;
  border: 2px solid var(--warm);
}

.author-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 18%; }
.about-copy { max-width: 710px; }
.about-copy p { color: var(--muted); }
.about-copy p:first-of-type { color: var(--ink); font-size: 1.08rem; }

.final-cta {
  padding: clamp(90px, 12vw, 170px) 24px;
  color: var(--cream);
  text-align: center;
  background:
    linear-gradient(rgba(59, 23, 35, 0.9), rgba(59, 23, 35, 0.94)),
    radial-gradient(circle at center, var(--warm), transparent 60%);
}

.final-cta .eyebrow { color: var(--warm-light); }
.final-cta h2 { color: var(--cream); }
.button-light { color: var(--burgundy); background: var(--cream); border-color: var(--cream); }
.button-light:hover { background: var(--warm-light); border-color: var(--warm-light); }

.site-footer {
  padding: 54px clamp(24px, 7vw, 120px) 32px;
  color: rgba(247, 239, 229, 0.72);
  background: #251019;
}

.footer-brand { color: var(--cream); }
.footer-brand .brand-mark { color: var(--burgundy); background: var(--warm-light); }
.site-footer > p { max-width: 660px; margin: 24px 0; }
.footer-links { display: flex; gap: 25px; margin-bottom: 38px; }
.footer-links a { color: var(--cream); text-underline-offset: 4px; }
.site-footer small { display: block; padding-top: 24px; border-top: 1px solid rgba(247, 239, 229, 0.14); }

@media (max-width: 1080px) {
  .site-nav { gap: 14px; }
  .site-nav > a:not(.button) { font-size: 0.72rem; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr); gap: 42px; }
  .cover-frame { width: min(330px, 31vw); }
}

@media (max-width: 860px) {
  .site-header { min-height: 72px; }
  .menu-button { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 24px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(37, 16, 25, 0.12);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.button) { padding: 8px 0; font-size: 0.84rem; }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 60px;
    padding-bottom: 76px;
    text-align: center;
  }
  .hero-copy { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-art { margin-top: 18px; }
  .cover-frame { width: min(340px, 70vw); }
  .book-intro,
  .learn,
  .about { grid-template-columns: 1fr; }
  .book-intro { gap: 18px; }
  .learn { gap: 38px; }
  .author-photo { width: min(520px, calc(100% - 20px)); }
}

@media (max-width: 560px) {
  .site-header { padding: 12px 18px; }
  .brand { gap: 9px; font-size: 0.9rem; }
  .brand-mark { width: 38px; height: 38px; }
  .hero { padding: 48px 22px 70px; }
  h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .hero-description { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 17px; }
  .hero-actions .button { width: 100%; }
  .cover-frame { width: min(300px, 78vw); box-shadow: 14px 17px 0 rgba(200, 107, 74, 0.32), 0 25px 55px rgba(0, 0, 0, 0.3); }
  .section-pad { padding: 72px 22px; }
  h2 { font-size: clamp(2.45rem, 12vw, 3.8rem); }
  .signal-list li { min-height: 0; grid-template-columns: 46px 1fr; padding: 20px 0; font-size: 1.17rem; }
  .lesson-grid { grid-template-columns: 1fr; }
  .lesson-grid article { min-height: 0; padding: 25px; }
  .quote-section { padding: 95px 24px; }
  .quote-section blockquote { font-size: clamp(2.5rem, 11vw, 3.7rem); }
  .author-photo::after { inset: 14px -12px -14px 12px; }
  .final-cta { padding: 92px 22px; }
  .final-cta .button { width: 100%; }
  .site-footer { padding: 48px 22px 28px; }
  .footer-links { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
