:root {
  --burgundy: #631727;
  --burgundy-deep: #2b0b12;
  --burgundy-ink: #170609;
  --oxblood: #45101b;
  --ivory: #fbf5e8;
  --cream: #efe4d1;
  --paper: #fffaf0;
  --charcoal: #211f1d;
  --charcoal-soft: #4a413b;
  --gold: #b99352;
  --gold-soft: #dfc895;
  --line: rgba(86, 55, 36, 0.18);
  --line-dark: rgba(223, 200, 149, 0.22);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--charcoal);
  background:
    linear-gradient(90deg, rgba(99, 23, 39, 0.018) 1px, transparent 1px),
    var(--ivory);
  background-size: 84px 84px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 650px;
  font-size: clamp(3rem, 5.3vw, 5.15rem);
  line-height: 1.01;
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 3.3vw, 3.35rem);
  line-height: 1.05;
}

cite {
  font-style: italic;
}

.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;
}

.section-shell {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 5vw;
  background: rgba(251, 245, 232, 0.94);
  border-bottom: 1px solid rgba(86, 55, 36, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--burgundy-deep);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--charcoal-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 0.38rem 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  padding: 0.64rem 0.9rem;
  color: var(--burgundy-deep);
  border: 1px solid rgba(99, 23, 39, 0.34);
}

.site-nav .nav-cta::after {
  display: none;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--ivory);
  background: var(--burgundy-deep);
  border-color: var(--burgundy-deep);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--burgundy);
}

.hero {
  color: var(--ivory);
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, #44101a 0%, #2b0b12 72%, #20080d 100%);
  background-size: 80px 80px, auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  min-height: min(704px, calc(100vh - 64px));
  padding: clamp(3rem, 5.5vw, 4.75rem) 0;
}

.hero-copy {
  display: grid;
  gap: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero .eyebrow,
.section-charcoal .eyebrow,
.section-burgundy .eyebrow,
.final-cta .eyebrow {
  color: var(--gold-soft);
}

.hero-subcopy {
  max-width: 660px;
  color: rgba(251, 245, 232, 0.84);
  font-family: var(--serif);
  font-size: clamp(1.06rem, 1.45vw, 1.24rem);
  line-height: 1.52;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding-top: 0.15rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.05rem;
  border: 1px solid transparent;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--burgundy-ink);
  background: var(--gold-soft);
  border-color: rgba(255, 250, 240, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--paper);
}

.button-secondary {
  color: var(--ivory);
  background: rgba(255, 250, 240, 0.035);
  border-color: rgba(223, 200, 149, 0.42);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 250, 240, 0.1);
  border-color: var(--gold-soft);
}

.section-ivory .button-primary,
.section-cream .button-primary {
  color: var(--ivory);
  background: var(--burgundy-deep);
  border-color: var(--burgundy-deep);
}

.section-ivory .button-secondary,
.section-cream .button-secondary {
  color: var(--burgundy-deep);
  border-color: rgba(99, 23, 39, 0.3);
}

.trust-line {
  max-width: 650px;
  margin-top: 0.4rem;
  padding-top: 0.8rem;
  color: rgba(251, 245, 232, 0.72);
  border-top: 1px solid rgba(223, 200, 149, 0.24);
  font-size: 0.9rem;
  line-height: 1.48;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.book-card {
  width: 100%;
  max-width: 370px;
  padding: 1.15rem;
  background: rgba(255, 250, 240, 0.075);
  border: 1px solid rgba(223, 200, 149, 0.25);
  box-shadow: 0 24px 70px rgba(10, 4, 4, 0.28);
}

.book-cover {
  position: relative;
  display: grid;
  align-content: space-between;
  width: min(100%, 275px);
  aspect-ratio: 0.66;
  margin: 0 auto;
  padding: 1.7rem 1.55rem;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 11%, rgba(255, 255, 255, 0.04) 12%, transparent 17%),
    linear-gradient(155deg, #671829 0%, #47101b 52%, #270a11 100%);
  border: 1px solid rgba(223, 200, 149, 0.55);
  box-shadow:
    -10px 0 0 rgba(15, 5, 6, 0.22) inset,
    0 20px 42px rgba(10, 4, 4, 0.28);
}

.book-cover::before {
  position: absolute;
  top: 0;
  left: 13%;
  width: 1px;
  height: 100%;
  content: "";
  background: rgba(255, 250, 240, 0.18);
}

.book-cover::after {
  position: absolute;
  top: 10px;
  right: -12px;
  z-index: -1;
  width: 12px;
  height: calc(100% - 20px);
  content: "";
  background: linear-gradient(90deg, #d8c5a4, #8d795d);
  box-shadow: 12px 14px 24px rgba(10, 4, 4, 0.2);
}

.cover-rule,
.cover-mark {
  width: 54px;
  height: 1px;
  background: var(--gold-soft);
}

.cover-kicker,
.cover-subtitle {
  position: relative;
  z-index: 1;
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.42;
  text-transform: uppercase;
}

.book-cover h2 {
  position: relative;
  z-index: 1;
  max-width: 7.5ch;
  color: var(--paper);
  font-size: clamp(2.1rem, 3.8vw, 3.35rem);
  line-height: 0.95;
}

.cover-subtitle {
  max-width: 14rem;
}

.book-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 1.1rem;
  border-top: 1px solid rgba(223, 200, 149, 0.22);
}

.book-meta div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(223, 200, 149, 0.14);
}

.book-meta dt {
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.book-meta dd {
  color: rgba(251, 245, 232, 0.78);
  font-size: 0.9rem;
}

.section {
  padding: clamp(4rem, 6.4vw, 6rem) 0;
}

.section-ivory {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-cream {
  background: var(--cream);
}

.section-charcoal {
  color: var(--ivory);
  background: linear-gradient(180deg, #26231f, #181614);
}

.section-burgundy {
  color: var(--ivory);
  background: var(--burgundy-deep);
}

.section-intro {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.section-copy {
  display: grid;
  gap: 1rem;
  max-width: 700px;
  color: inherit;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
}

.book-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2.25rem, 5vw, 4.75rem);
  align-items: start;
}

.theme-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.theme-card {
  position: relative;
  min-height: 104px;
  padding: 1rem 1rem 1rem 1.15rem;
  color: var(--burgundy-deep);
  background: rgba(251, 245, 232, 0.62);
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.28;
}

.theme-card::before {
  display: block;
  width: 34px;
  height: 1px;
  margin-bottom: 0.78rem;
  content: "";
  background: var(--gold);
}

.theme-card:hover {
  border-color: rgba(185, 147, 82, 0.5);
}

.section-heading {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.9rem;
}

.review-card {
  position: relative;
  grid-column: span 4;
  display: grid;
  align-content: space-between;
  min-height: 178px;
  padding: 1.05rem;
  overflow: hidden;
  color: var(--ivory);
  background: rgba(255, 250, 240, 0.055);
  border: 1px solid var(--line-dark);
}

.review-card:nth-child(4),
.review-card:nth-child(5) {
  grid-column: span 6;
  min-height: 150px;
}

.review-card::before {
  position: absolute;
  top: -0.65rem;
  right: 0.75rem;
  color: rgba(223, 200, 149, 0.16);
  content: "“";
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
}

.review-card blockquote {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  line-height: 1.42;
}

.review-card figcaption {
  position: relative;
  z-index: 1;
  margin-top: 1.1rem;
  padding-top: 0.75rem;
  color: var(--gold-soft);
  border-top: 1px solid rgba(223, 200, 149, 0.2);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.author-panel {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.25rem);
  align-items: center;
  padding: clamp(1rem, 2vw, 1.45rem);
  background: rgba(255, 250, 240, 0.54);
  border: 1px solid rgba(99, 23, 39, 0.14);
}

.author-figure {
  position: relative;
}

.author-figure::after {
  position: absolute;
  right: -12px;
  bottom: -12px;
  z-index: -1;
  width: 100%;
  height: 100%;
  content: "";
  border: 1px solid rgba(185, 147, 82, 0.36);
}

.author-portrait {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  background: var(--burgundy-deep);
  border: 1px solid rgba(185, 147, 82, 0.46);
  box-shadow: 0 20px 48px rgba(50, 28, 18, 0.16);
}

.author-content {
  display: grid;
  gap: 0.9rem;
}

.statement-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-left: 2px solid var(--gold-soft);
  background: rgba(255, 250, 240, 0.045);
}

.final-cta {
  padding: clamp(3.75rem, 6vw, 5.25rem) 0;
  color: var(--ivory);
  text-align: center;
  background: linear-gradient(180deg, #4f1320, #2b0b12);
}

.final-cta-inner {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  max-width: 850px;
}

.final-cta p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(251, 245, 232, 0.82);
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: 1.5;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 1.5rem 3rem;
  align-items: start;
  padding: 2.4rem 5vw 2rem;
  color: rgba(251, 245, 232, 0.75);
  background: #151311;
  border-top: 1px solid rgba(223, 200, 149, 0.2);
}

.site-footer div {
  display: grid;
  gap: 0.26rem;
}

.site-footer strong {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 500;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem 1rem;
  max-width: 420px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--gold-soft);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ivory);
}

.site-footer p {
  grid-column: 1 / -1;
  padding-top: 1rem;
  border-top: 1px solid rgba(223, 200, 149, 0.14);
  font-size: 0.88rem;
}

@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .book-card {
    max-width: 330px;
  }

  .book-cover {
    width: 245px;
  }

  .review-card,
  .review-card:nth-child(4),
  .review-card:nth-child(5) {
    grid-column: span 6;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 62px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 62px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.9rem 6vw 1.15rem;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 44px rgba(36, 22, 17, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.82rem 0;
  }

  .site-nav .nav-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 0.4rem;
  }

  .hero-inner,
  .book-layout,
  .author-panel,
  .statement-panel {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 3rem 0 3.5rem;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .book-card {
    max-width: 380px;
  }

  .author-panel {
    align-items: start;
  }

  .author-figure {
    width: min(100%, 320px);
  }

  .theme-grid {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  body {
    background-size: 56px 56px;
  }

  .section-shell {
    width: min(100% - 30px, 1160px);
  }

  h1 {
    font-size: clamp(2.55rem, 11vw, 3.8rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 2.65rem);
  }

  .site-header {
    padding: 0 20px;
  }

  .brand {
    font-size: 1.08rem;
  }

  .hero-inner {
    gap: 2rem;
    padding: 2.55rem 0 3rem;
  }

  .hero-copy {
    gap: 0.9rem;
  }

  .hero-subcopy,
  .final-cta p:not(.eyebrow) {
    font-size: 1.04rem;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .button {
    min-height: 48px;
    padding-right: 0.82rem;
    padding-left: 0.82rem;
  }

  .trust-line {
    font-size: 0.88rem;
  }

  .book-card {
    max-width: 100%;
    padding: 0.9rem;
  }

  .book-cover {
    width: min(78vw, 238px);
    padding: 1.35rem 1.25rem;
  }

  .book-cover h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .book-meta div {
    grid-template-columns: 1fr;
    gap: 0.12rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .theme-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-card,
  .review-card:nth-child(4),
  .review-card:nth-child(5) {
    grid-column: auto;
    min-height: auto;
  }

  .author-panel,
  .statement-panel {
    padding: 1rem;
  }

  .author-figure {
    width: min(100%, 280px);
  }

  .final-cta {
    padding: 3.25rem 0;
  }

  .site-footer {
    padding: 2rem 20px;
  }
}
