:root {
  color-scheme: light;
  --paper: #f5f1e8;
  --paper-deep: #ebe5d8;
  --ink: #242822;
  --muted: #77776d;
  --accent: #bd6547;
  --green: #34483f;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 8.2%;
  border-bottom: 1px solid rgb(36 40 34 / 10%);
}

.wordmark {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
}

.wordmark span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 12px;
}

.site-nav a,
.text-link,
.back-to-top {
  text-decoration: none;
}

.site-nav a:not(.nav-cta):hover,
.text-link:hover,
.back-to-top:hover {
  color: var(--accent);
}

.nav-cta {
  padding: 12px 17px;
  border: 1px solid rgb(36 40 34 / 28%);
  transition: background-color .2s ease, color .2s ease;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.nav-cta span {
  margin-left: 13px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .86fr;
  align-items: center;
  column-gap: 8%;
  min-height: 680px;
  padding: 76px 15% 84px 16%;
  overflow: hidden;
}

.hero-award {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  justify-self: center;
  display: block;
  width: min(100%, 560px);
  margin-bottom: -24px;
  transition: transform .2s ease;
}

.hero-award:hover {
  transform: translateY(-2px);
}

.hero-award img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-copy {
  max-width: 485px;
  padding-bottom: 8px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
}

.hero h1 {
  max-width: 480px;
  font-size: clamp(43px, 5.1vw, 68px);
  line-height: 1.08;
}

h1 em,
h2 em {
  color: var(--accent);
  font-weight: 400;
}

.hero-description {
  max-width: 390px;
  margin: 25px 0 0;
  color: #686a62;
  font-size: 14px;
  line-height: 1.85;
}

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

.button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 48px;
  padding: 0 20px;
  text-decoration: none;
  font-size: 12px;
  transition: transform .2s ease, background-color .2s ease;
}

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

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-dark:hover {
  background: var(--green);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  transition: color .2s ease;
}

.book-note {
  margin: 38px 0 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .04em;
}

.book-note span {
  padding: 0 7px;
  color: var(--accent);
}

.hero-art {
  position: relative;
  display: block;
  width: min(100%, 340px);
  aspect-ratio: .625;
  justify-self: center;
  overflow: hidden;
  box-shadow: 16px 23px 42px rgb(41 43 37 / 19%), 2px 2px 4px rgb(41 43 37 / 12%);
}

.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-side-note {
  position: absolute;
  top: 50%;
  right: 4.2%;
  color: #99958a;
  font-size: 8px;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}

.book-intro {
  padding: 94px 16% 85px;
  background: #ebe5d8;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #818076;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
}

.section-kicker > span:first-child {
  color: var(--accent);
}

.kicker-rule {
  width: 36px;
  height: 1px;
  background: #b9b2a4;
}

.book-intro-content {
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: 12%;
  align-items: start;
  margin-top: 34px;
}

.book-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}

.book-intro h2,
.about-copy h2 {
  font-size: clamp(38px, 4.4vw, 56px);
  line-height: 1.15;
}

.book-ornament {
  width: clamp(38px, 5vw, 62px);
  height: auto;
  flex: 0 0 auto;
  opacity: .8;
}

.book-description {
  padding-top: 4px;
}

.story-map {
  display: flex;
  align-items: center;
  gap: 20px;
  width: fit-content;
  max-width: 100%;
  margin: 38px 0 0 auto;
  padding: 12px 25px 12px 12px;
  background: rgb(245 241 232 / 70%);
}

.story-map img {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgb(41 43 37 / 14%);
}

.story-map figcaption {
  max-width: 135px;
  color: #686a62;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.4;
}

.book-description p,
.about-copy > p {
  margin: 0 0 15px;
  color: #64665e;
  font-size: 13px;
  line-height: 1.9;
}

.bibliography-page {
  min-height: calc(100vh - 84px - 80px);
}

.bibliography-content {
  max-width: 860px;
  margin: 38px auto 0;
}

.bibliography-content h1 {
  font-size: clamp(42px, 5vw, 64px);
}

.bibliography-subtitle {
  margin: 12px 0 30px;
  color: #64665e;
  font-size: 14px;
}

.bibliography-list {
  margin: 0;
  padding-left: 22px;
  color: #64665e;
  font-size: 13px;
  line-height: 1.85;
}

.bibliography-list li {
  padding-left: 8px;
  margin-bottom: 12px;
}

.bibliography-back-link {
  margin-top: 20px;
}

.link-dark {
  margin-top: 10px;
}

.book-details {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 24px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgb(36 40 34 / 15%);
}

.book-details div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.book-details span {
  color: #88867c;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .16em;
}

.book-details strong {
  font-size: 11px;
  font-weight: 500;
}

.buy-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: 12%;
  align-items: center;
  min-height: 470px;
  padding: 85px 16%;
  overflow: hidden;
  background: var(--green);
  color: #f5f1e8;
}

.eyebrow-light {
  color: #c0c3b7;
}

.buy-section h2 {
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.09;
}

.buy-section h2 em {
  color: #e0a17e;
}

.buy-copy > p:last-child {
  max-width: 315px;
  margin: 20px 0 0;
  color: #c5c9bd;
  font-size: 12px;
  line-height: 1.8;
}

.buy-options {
  position: relative;
  z-index: 1;
  padding-top: 10px;
}

.buy-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 73px;
  border-bottom: 1px solid rgb(245 241 232 / 23%);
  text-decoration: none;
  transition: padding .2s ease, color .2s ease;
}

.buy-option:first-child {
  border-top: 1px solid rgb(245 241 232 / 23%);
}

.buy-option:hover {
  padding-right: 7px;
  color: #e0a17e;
}

.buy-option > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.buy-option strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.buy-option small {
  color: #c5c9bd;
  font-size: 10px;
}

.buy-arrow {
  font-size: 16px;
}

.retailer-note {
  margin: 15px 0 0;
  color: #c5c9bd;
  font-size: 9px;
}

.buy-decoration {
  position: absolute;
  right: -25px;
  bottom: -31px;
  color: rgb(245 241 232 / 4%);
  font-family: var(--serif);
  font-size: 68px;
  line-height: .94;
  pointer-events: none;
}

.about-section {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 12%;
  align-items: center;
  padding: 104px 20% 112px;
}

.author-photo {
  display: block;
  width: min(100%, 300px);
  aspect-ratio: .74;
  justify-self: center;
  border-radius: 48% 48% 3px 3px;
  object-fit: cover;
  object-position: center 35%;
  box-shadow: 12px 16px 34px rgb(41 43 37 / 16%);
}

.about-copy .section-kicker {
  margin-bottom: 23px;
}

.about-copy h2 {
  margin-bottom: 16px;
}

.about-copy > p {
  margin-bottom: 13px;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 88px;
  padding: 20px 8.2%;
  border-top: 1px solid rgb(36 40 34 / 13%);
}

.site-footer p,
.site-footer small,
.back-to-top {
  margin: 0;
  color: #77776d;
  font-size: 10px;
}

.site-footer small {
  text-align: right;
}

.back-to-top {
  justify-self: end;
}

@media (min-width: 1500px) {
  .hero {
    padding-right: 19%;
    padding-left: 19%;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 6%;
  }

  .hero {
    column-gap: 6%;
    padding: 72px 10% 76px;
  }

  .hero-art {
    width: min(100%, 300px);
  }

  .book-heading {
    gap: 12px;
  }

  .book-ornament {
    width: 44px;
  }

  .hero-side-note {
    display: none;
  }

  .book-intro,
  .buy-section {
    padding-right: 10%;
    padding-left: 10%;
  }

  .about-section {
    padding-right: 12%;
    padding-left: 12%;
  }
}

@media (max-width: 650px) {
  html {
    scroll-padding-top: 68px;
  }

  .site-header {
    height: 68px;
    padding: 0 6%;
  }

  .wordmark {
    font-size: 11px;
  }

  .site-nav {
    gap: 16px;
    font-size: 10px;
  }

  .site-nav a:first-child {
    display: none;
  }

  .nav-cta {
    padding: 10px 11px;
  }

  .nav-cta span {
    margin-left: 5px;
  }

  .hero {
    grid-template-columns: 1fr;
    row-gap: 34px;
    padding: 66px 9% 72px;
  }

  .hero-award {
    margin-bottom: 0;
  }

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

  .hero h1 {
    max-width: 430px;
    font-size: clamp(45px, 12vw, 62px);
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-art {
    width: min(76%, 300px);
    justify-self: center;
  }

  .story-map {
    gap: 14px;
    margin-top: 30px;
    padding-right: 16px;
  }

  .story-map img {
    width: 84px;
    height: 84px;
  }

  .story-map figcaption {
    max-width: 118px;
    font-size: 13px;
  }

  .book-intro {
    padding: 68px 9% 60px;
  }

  .book-intro-content {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 27px;
  }

  .book-intro h2,
  .about-copy h2 {
    font-size: 43px;
  }

  .book-description p,
  .about-copy > p {
    font-size: 12px;
  }

  .book-details {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 37px;
  }

  .book-details div {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  .book-details strong {
    text-align: right;
  }

  .buy-section {
    grid-template-columns: 1fr;
    gap: 37px;
    padding: 68px 9% 72px;
  }

  .buy-section h2 {
    font-size: 52px;
  }

  .buy-options {
    padding-top: 0;
  }

  .buy-decoration {
    font-size: 51px;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 43px;
    padding: 69px 9% 76px;
  }

  .author-photo {
    width: min(78%, 260px);
  }

  .about-copy .section-kicker {
    margin-bottom: 19px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 23px 7%;
  }

  .site-footer p {
    grid-column: 1;
    grid-row: 2;
  }

  .back-to-top {
    grid-column: 2;
    grid-row: 1;
  }

  .site-footer small {
    grid-column: 2;
    grid-row: 2;
  }
}

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