/* Books page: wide cinematic cards with the cover on one side and the edition on the other. */
.books-page .books-section { padding-top: clamp(56px, 6vw, 90px); }
.books-page .books-grid { display: grid; gap: 40px; }
.books-page .book-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-width: 0; background: var(--surface); overflow: hidden; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); transition: background .4s, opacity 1s var(--ease), transform 1s var(--ease); }
.books-page .book-card:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.books-page .book-card:nth-child(even) .book-art { order: 2; }
.books-page .book-card:hover { background: var(--surface-2); }
.books-page .book-art { display: block; width: 100%; height: 100%; min-height: 420px; object-fit: cover; filter: saturate(.75) brightness(.85); transition: transform 1.6s var(--ease), filter .8s; }
.books-page .book-card:hover .book-art { transform: scale(1.05); filter: saturate(1) brightness(.95); }
.books-page .book-body { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 4vw, 56px); }
.books-page .book-body .eyebrow { margin-bottom: 18px; }
.books-page .book-body h3 { font-size: clamp(2.6rem, 4.6vw, 4.4rem); margin-bottom: 22px; overflow-wrap: anywhere; }
.books-page .book-description { font-family: var(--serif); color: var(--bone-2); font-size: 1.04rem; line-height: 1.8; margin-bottom: 24px; }
.books-page .book-details { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: auto 0 26px; }
.books-page .book-details li { font-family: var(--rune); letter-spacing: .1em; font-size: .82rem; color: var(--gold-2); padding: 5px 12px; border: 1px solid rgba(212, 168, 90, .35); }
.books-page .book-downloads { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.books-page .book-pdf span { font-family: var(--sans); font-size: 1.1rem; }
.books-page .book-other-formats { display: flex; flex-wrap: wrap; gap: 10px; }
.books-page .book-other-formats a { padding: 12px 18px; font-family: var(--display); letter-spacing: .1em; color: var(--bone-2); border: 1px solid var(--line-2); transition: color .25s, border-color .25s, background .25s; }
.books-page .book-other-formats a:hover { color: var(--gold-2); border-color: var(--gold); background: rgba(212, 168, 90, .06); }
@media (max-width: 860px) {
  .books-page .book-card, .books-page .book-card:nth-child(even) { grid-template-columns: 1fr; }
  .books-page .book-card:nth-child(even) .book-art { order: 0; }
  .books-page .book-art { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) {
  .books-page .book-body { padding: 24px; }
  .books-page .book-pdf { width: 100%; }
  .books-page .book-other-formats { width: 100%; }
  .books-page .book-other-formats a { flex: 1; text-align: center; }
}
