:root {
  --book-panel: rgba(7, 10, 11, 0.94);
  --book-chalk: #f2ead7;
  --book-gold: #d7ad5b;
  --book-bright-gold: #f0ca79;
}

.books-page {
  width: min(1080px, 94vw);
}

.books-intro {
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.books-intro .books-author {
  margin-top: 0.75rem;
  color: var(--book-chalk);
  font: 400 clamp(1.1rem, 2.7vw, 1.7rem)/1.2 Didot, "Bodoni 72", "Bodoni MT", "Times New Roman", serif;
  letter-spacing: 0.025em;
  text-transform: none;
}

.books-intro .books-kicker {
  margin-top: 1rem;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  width: min(980px, 100%);
  margin: 0 auto clamp(4rem, 8vw, 7rem);
}

.book-card {
  display: block;
  overflow: hidden;
  color: var(--book-chalk);
  border: 1px solid rgba(215, 173, 91, 0.68);
  border-radius: 1rem;
  background: var(--book-panel);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.48);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.book-card:hover,
.book-card:focus-within {
  border-color: var(--book-bright-gold);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.58);
  transform: translateY(-0.2rem);
}

.book-cover-link {
  display: block;
  padding: clamp(0.7rem, 2vw, 1rem);
  border-bottom: 1px solid rgba(215, 173, 91, 0.38);
  background: #050708;
}

.book-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.55rem;
}

.book-copy {
  padding: clamp(1.35rem, 3vw, 2rem);
  text-align: center;
}

.book-series {
  margin: 0 0 0.8rem;
  color: var(--book-bright-gold);
  font: 600 0.64rem/1.4 "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.book-copy h2 {
  margin: 0;
  color: var(--book-chalk);
  font: 400 clamp(1.8rem, 4vw, 2.75rem)/1.03 Didot, "Bodoni 72", "Bodoni MT", "Times New Roman", serif;
}

.book-copy > p:not(.book-series) {
  margin: 1.15rem 0 0;
  color: rgba(242, 234, 215, 0.86);
  font: 400 clamp(0.94rem, 1.8vw, 1.05rem)/1.75 "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

.book-link {
  display: inline-block;
  margin-top: 1.4rem;
  padding-bottom: 0.25rem;
  color: var(--book-bright-gold);
  border-bottom: 1px solid rgba(240, 202, 121, 0.55);
  font: 600 0.68rem/1.4 "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.book-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(240, 202, 121, 0.72);
  border-radius: 12px;
  background: #050606;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32), 0 0 18px rgba(240, 202, 121, 0.08);
}

.book-video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.book-video-embed + .book-link {
  margin-top: 1rem;
}

.book-link-secondary {
  display: block;
  width: fit-content;
  margin: 0.9rem auto 0;
}

.book-link:hover,
.book-link:focus-visible {
  color: #fff3cf;
  border-bottom-color: #fff3cf;
  outline: none;
}

@media (min-width: 721px) {
  .books-grid {
    align-items: stretch;
    row-gap: 0;
  }

  .book-card {
    display: grid;
    grid-row: span 7;
    grid-template-rows: subgrid;
    row-gap: 0;
  }

  .book-copy {
    display: grid;
    grid-row: span 6;
    grid-template-rows: subgrid;
    row-gap: 0;
    justify-items: center;
  }

  .book-copy > * {
    align-self: start;
  }
}

@media (max-width: 720px) {
  .books-grid {
    grid-template-columns: 1fr;
    width: min(520px, 100%);
  }
}
