.books {
  display: block !important;
  background: var(--paper);
  color: var(--ink);
  padding: 130px max(6vw, calc((100vw - 1280px) / 2));
  overflow: hidden;
}
.books-heading { max-width: 780px; margin-bottom: 3rem; }
.books-heading h2 { font-family: "Playfair Display", serif; font-size: clamp(3rem, 6vw, 6.4rem); line-height: .94; letter-spacing: -.04em; margin: .5rem 0 1.3rem; }
.books-heading > p:last-child { max-width: 690px; color: #555; font-size: 1.05rem; line-height: 1.75; }
.book-library { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #c9c3b7; border: 1px solid #c9c3b7; }
.book-card { min-height: 330px; padding: 2rem; display: flex; flex-direction: column; background: #101010; color: var(--paper); transition: background .25s ease, transform .25s ease; }
.book-card:hover { background: #181818; transform: translateY(-3px); }
.book-card-technical { background: linear-gradient(145deg, #2b1e0c, #101010 68%); }
.book-index { color: var(--gold); font-size: .75rem; font-weight: 800; letter-spacing: .15em; }
.book-card h3 { margin: 2rem 0 1rem; font-family: "Playfair Display", serif; font-size: clamp(1.65rem, 2.4vw, 2.25rem); line-height: 1.08; }
.book-card p { color: #aaa; line-height: 1.65; margin: 0 0 2rem; }
.book-card-with-cover { display: grid; grid-template-columns: minmax(100px, .72fr) minmax(0, 1.28fr); gap: 1.4rem; }
.book-cover { width: 100%; height: auto; align-self: start; box-shadow: 0 16px 34px #0008; }
.book-card-copy { display: flex; min-width: 0; flex-direction: column; }
.book-card-with-cover h3 { margin-top: 1.3rem; }
.book-link { margin-top: auto; padding-top: 1rem; border-top: 1px solid #ffffff26; display: flex; justify-content: space-between; color: #fff; font-weight: 700; text-decoration: none; }
.book-link span { color: var(--gold); font-size: 1.2rem; }
@media (max-width: 900px) { .book-library { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .book-library { grid-template-columns: 1fr; } .book-card { min-height: 285px; padding: 1.5rem; } .book-card-with-cover { grid-template-columns: 110px minmax(0, 1fr); } }
