body { -webkit-font-smoothing: antialiased; }
h1, h2, h3 { text-wrap: balance; }
.bookshelf { max-width: 1200px; margin: 100px auto 0; padding: 0 32px; scroll-margin-top: 112px; }
.shelf-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.shelf-eyebrow, .book-topic, .feature-label { font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.shelf-eyebrow { color: #99502f; margin-bottom: 12px; }
.shelf-heading h2 { font: 500 clamp(36px, 5vw, 54px)/1.15 "Lora", serif; letter-spacing: -.04em; }
.shelf-intro { color: #736b5e; font: italic 16px/1.7 "Lora", serif; margin-top: 14px; }
.shelf-count { flex: none; color: #736b5e; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 8px; font-variant-numeric: tabular-nums; }
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; list-style: none; padding: 0; }
.featured-book { grid-column: 1 / -1; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; background: #203d35; color: #fff8e9; border-radius: 20px; overflow: hidden; margin-bottom: 12px; box-shadow: 0 16px 36px -24px rgba(25, 44, 35, .5); }
.feature-stage { min-height: 416px; position: relative; display: flex; align-items: center; justify-content: center; isolation: isolate; background: radial-gradient(ellipse at 50% 40%, #597264 0, transparent 65%); }
.feature-stage::before, .feature-stage::after { content: ""; position: absolute; z-index: -1; border: 1px solid rgba(232, 218, 172, .14); border-radius: 50%; width: 340px; height: 340px; }
.feature-stage::after { width: 270px; height: 270px; }
.book-cover { display: block; position: relative; width: fit-content; height: 188px; border-radius: 2px 4px 4px 2px; outline: 1px solid rgba(0, 0, 0, .1); outline-offset: -1px; box-shadow: 3px 3px 2px rgba(255, 253, 244, .65), 6px 6px 0 -2px #c2b8a4, 10px 14px 18px -8px rgba(40, 30, 19, .35), 0 3px 6px rgba(40, 30, 19, .12); transform: perspective(800px) rotateY(-9deg) rotateZ(-3deg); transition: transform 350ms cubic-bezier(.2, .65, .3, 1), box-shadow 350ms; }
.book-cover::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(90deg, rgba(0, 0, 0, .17), transparent 3%, rgba(255, 255, 255, .22) 4%, rgba(0, 0, 0, .08) 6%, transparent 9%); }
.book-cover img { display: block; width: auto; max-width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.feature-stage .book-cover { height: 286px; outline-color: rgba(255, 255, 255, .1); box-shadow: 4px 4px 1px #e5dfce, 7px 7px 0 -1px #a9a897, 18px 26px 28px -10px rgba(0, 0, 0, .5); transform: perspective(900px) rotateY(-12deg) rotateZ(-7deg); }
.feature-copy { padding: 48px 56px 48px 12px; }
.feature-label { color: #e4c38b; display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.feature-label::before { content: ""; height: 6px; width: 6px; background: currentColor; border-radius: 50%; }
.feature-copy h3 { font: 400 clamp(36px, 4vw, 52px)/1.12 "Lora", serif; letter-spacing: -.035em; max-width: 400px; }
.feature-author { color: #d0dace; margin-top: 14px; font-size: 15px; }
.feature-description { color: #d0dace; font: 16px/1.8 "Lora", serif; margin-top: 24px; max-width: 390px; text-wrap: pretty; }
.feature-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 22px; font-size: 12px; color: #f2d5a4; text-decoration: underline; text-underline-offset: 5px; transition: color 180ms, transform 180ms; }
.feature-link span { transition: transform 180ms; }
.feature-link:hover span { transform: translate(3px, -3px); }
.feature-link:active { transform: scale(.96); }
.feature-link:focus-visible { outline: 2px solid #f2d5a4; outline-offset: 5px; border-radius: 2px; }
.book-card { min-width: 0; }
.book-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 256px; padding: 34px 25px; border-radius: 12px; background: radial-gradient(ellipse at 50% 20%, rgba(255, 255, 255, .7), transparent 80%), var(--book-tone, #e8dfd0); box-shadow: inset 0 0 0 1px rgba(80, 60, 35, .025); }
.book-number { position: absolute; top: 14px; left: 16px; color: #776e60; font: 11px "Inter", sans-serif; font-variant-numeric: tabular-nums; }
.book-info { padding: 19px 3px 0; }
.book-topic { color: #926348; font-size: 9px; letter-spacing: .13em; margin-bottom: 9px; }
.book-info h3 { font: 500 18px/1.45 "Lora", serif; letter-spacing: -.015em; text-wrap: pretty; }
.book-info cite, .feature-copy cite { font-style: normal; }
.book-author { margin-top: 7px; color: #756e63; font-size: 12px; line-height: 1.65; }
.reading-next { max-width: 1136px; margin: 64px auto 0; padding-top: 32px; border-top: 1px solid #dcd5c8; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .book-card:hover .book-cover { transform: perspective(800px) rotateY(0) rotateZ(0) translateY(-7px); }
    .featured-book:hover .book-cover { transform: perspective(900px) rotateY(-4deg) rotateZ(-3deg) translateY(-5px); }
}
@media (max-width: 1000px) { .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .feature-copy { padding-right: 36px; } }
@media (max-width: 700px) {
    .bookshelf { margin-top: 64px; padding: 0 24px; }
    .shelf-heading { display: block; }
    .shelf-count { display: block; margin-top: 18px; font-size: 9px; }
    .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
    .featured-book { grid-template-columns: 1fr; }
    .feature-stage { min-height: 330px; }
    .feature-stage::before { width: 290px; height: 290px; }
    .feature-stage::after { width: 230px; height: 230px; }
    .feature-stage .book-cover { height: 240px; }
    .feature-copy { padding: 8px 28px 32px; }
    .feature-copy h3 { font-size: 38px; }
    .book-stage { min-height: 228px; padding: 36px 20px 28px; }
    .book-cover { height: 160px; max-width: 100%; }
    .book-info h3 { font-size: 16px; }
    .book-topic { font-size: 8px; letter-spacing: .06em; }
    .reading-next { margin-left: 24px; margin-right: 24px; }
}
@media (max-width: 380px) {
    .bookshelf { padding: 0 16px; }
    .book-grid { gap: 24px 12px; }
    .book-stage { padding: 32px 14px 22px; min-height: 200px; }
    .book-cover { height: 146px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .book-cover, .feature-link, .feature-link span { transition: none; }
}

@media (max-width: 650px) { .bookshelf { scroll-margin-top: 152px; } }
