.page-intro { padding: 52px 0 38px; }
.page-intro .eyebrow { color: var(--accent); margin-bottom: 16px; }
.page-intro > p:last-child { color: var(--muted); margin-top: 16px; font-size: 23px; }
.selection { margin-bottom: 64px; }
.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px; }
.book-page { display: grid; grid-template-columns: minmax(0, 1fr) 460px; grid-template-rows: min-content 1fr; align-items: start; column-gap: 38px; row-gap: 22px; margin-bottom: 60px; }
.book-detail { display: grid; grid-template-columns: 234px minmax(0, 1fr); gap: 30px; padding-bottom: 28px; border-bottom: 1px solid var(--accent); grid-column: 1; grid-row: 1; }
.detail-art { background: none; position: relative; align-self: start; }
.detail-art img { width: 234px; height: 303px; object-fit: contain; border-radius: 6px; box-shadow: 4px 8px 17px #35151c35; background: var(--warm); }
.detail-art .art-caption { display: none; }
.detail-copy { min-width: 0; }
.detail-copy h1 { font-size: 64px; line-height: 1; letter-spacing: -.02em; }
.detail-author { font-size: 34px; margin-top: 8px; color: var(--muted); line-height: 1.2; }
.detail-author::after { content: ''; display: block; width: 74px; height: 1px; background: var(--accent); margin-top: 19px; }
.bibliography { display: flex; flex-wrap: wrap; gap: 16px 0; margin: 25px 0 20px; }
.bibliography > div { position: relative; padding: 0 14px 0 34px; margin-right: 14px; border-right: 1px solid #86565b; }
.bibliography > div:last-child { margin-right: 0; padding-right: 0; border-right: 0; }
.bibliography svg { position: absolute; left: 0; top: 4px; width: 26px; height: 30px; color: var(--accent); }
.bibliography dt { color: var(--muted); font-size: 15px; line-height: 1.2; }
.bibliography dd { margin: 5px 0 0; color: var(--ink); font-size: 17px; line-height: 1.2; }
.description { font-size: 22px; line-height: 1.45; }
.cover-note { color: var(--muted); font-size: 13px; margin-top: 14px; }
.quotes-layout { display: contents; }
.quotes-section { grid-column: 1; grid-row: 2; min-width: 0; }
.quotes-section .section-heading { border: 0; padding: 0; margin-bottom: 18px; }
.quotes-section .section-heading h2 { font-size: 40px; }
.share-panel { grid-column: 2; grid-row: 1 / span 2; }
.quote-empty { border: 1px solid var(--line); padding: 48px 20px; }
.empty-rule { display: block; width: 35px; height: 1px; background: var(--accent); margin: 0 auto 24px; }
@media (max-width: 1350px) { .shell { width: calc(100% - 72px); } .book-page { grid-template-columns: minmax(0, 1fr) 370px; column-gap: 30px; } .book-detail { grid-template-columns: 190px minmax(0, 1fr); gap: 24px; } .detail-art img { width: 190px; height: 270px; } .detail-copy h1 { font-size: 54px; } .detail-author { font-size: 30px; } .description { font-size: 21px; } .share-panel { padding-inline: 26px; } }
@media (max-width: 1050px) { .book-page { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; } .book-detail { grid-template-columns: 150px minmax(0, 1fr); gap: 20px; } .detail-art img { width: 150px; height: 218px; } .detail-copy h1 { font-size: 46px; } .detail-author { font-size: 27px; } .share-panel h2 { font-size: 36px; } .bibliography > div { margin-right: 10px; padding-right: 10px; } }
@media (max-width: 850px) { .book-page { grid-template-columns: minmax(0, 1fr); gap: 26px; } .book-detail { grid-template-columns: 234px minmax(0, 1fr); } .detail-art img { width: 234px; height: 303px; } .share-panel { grid-column: 1; grid-row: 3; } .quotes-section { grid-row: 2; } .share-panel h2 { font-size: 44px; } }
@media (max-width: 600px) { .shell { width: calc(100% - 36px); } .book-grid { grid-template-columns: 1fr; gap: 32px; } .page-intro { padding: 32px 0; } .book-detail { grid-template-columns: minmax(0, 1fr); gap: 28px; } .detail-art { justify-self: center; } .detail-copy h1 { font-size: 52px; } .detail-author { font-size: 30px; } .bibliography { gap: 18px 0; } .description { font-size: 21px; } .quotes-section .section-heading h2 { font-size: 36px; } }
/* Home-only composition: shared library and detail components retain their layouts. */
.home-page { --paper: #f3ede4; --ink: #201410; --accent: #612730; --line: #cdbba8; font-family: Georgia, 'Times New Roman', serif; }
.home-canvas { display: grid; grid-template-columns: minmax(0, 69fr) minmax(0, 31fr); width: min(1680px, 100%); margin: 28px auto 0; }
.home-primary { min-width: 0; }
.reading-hero { min-height: 340px; position: relative; display: flex; align-items: center; background: #49372b url('../images/reading-corner.jpg') center / cover no-repeat; }
.reading-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #1d160fd9 0%, #281b1280 46%, transparent 80%); }
.hero-copy { position: relative; padding: 35px 60px; color: #f8eee0; }
.hero-copy h1 { color: inherit; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(44px, 4.3vw, 68px); line-height: 1.08; font-weight: 400; letter-spacing: -.035em; }
.hero-copy p { font-size: clamp(21px, 1.9vw, 29px); font-style: italic; line-height: 1.4; }
.hero-rule { display: block; width: 80px; height: 1px; background: #c09986; margin: 20px 0 17px; }
.home-reading { padding: 30px 45px 40px; }
.home-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding-bottom: 16px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.home-section-heading h2 { color: var(--ink); font-size: clamp(24px, 2vw, 32px); letter-spacing: -.04em; }
.home-section-heading > a { font-size: 18px; font-style: italic; white-space: nowrap; color: var(--accent); }
.home-book-grid { gap: 26px; }
.home-book-grid .book-card { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); align-items: center; position: relative; padding: 18px 15px; background: #f7f0e7; gap: 17px; min-height: 302px; }
.home-book-grid .book-card::before { content: ''; position: absolute; top: 0; left: 0; border-top: 29px solid var(--accent); border-right: 29px solid transparent; }
.home-book-grid .book-card-art { min-height: 0; padding: 0; background: none; }
.home-book-grid .book-card-art img { width: 100%; max-height: 272px; object-fit: contain; }
.home-book-grid .card-number, .home-book-grid .art-caption, .home-book-grid .card-link { display: none; }
.home-book-grid .book-card-info { display: flex; flex-direction: column; padding: 0; min-width: 0; }
.home-book-grid .book-card h2 { order: 0; color: var(--ink); font-size: clamp(27px, 2.3vw, 36px); letter-spacing: -.045em; line-height: 1.12; margin: 0; overflow-wrap: anywhere; }
.home-book-grid .book-author { order: 1; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.3; margin-top: 11px; }
.home-book-grid .book-author::after { content: ''; display: block; width: 58px; height: 1px; background: var(--accent); margin: 21px 0 25px; }
.home-book-grid .reading-period { order: 2; font-weight: 400; font-size: 20px; letter-spacing: 0; color: var(--ink); }
.period-label { display: flex; align-items: center; gap: 7px; font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.period-label svg { width: 21px; height: 21px; flex-shrink: 0; color: var(--accent); }
.home-book-grid .period-value { font-size: clamp(18px, 1.65vw, 26px); line-height: 1.3; display: block; }
.featured-quote { display: flex; align-items: center; gap: 21px; min-height: 132px; margin-top: 28px; padding: 23px 30px; background: #e9dfd1 url('../images/paper.svg'); border-radius: 8px; }
.featured-mark { color: var(--accent); font-size: 85px; line-height: .8; align-self: start; padding-top: 10px; }
.featured-quote figure, .featured-quote > div { min-width: 0; }
.featured-quote blockquote, .featured-quote > div > p { font-size: 27px; font-style: italic; margin: 0; line-height: 1.4; overflow-wrap: anywhere; white-space: pre-wrap; }
.featured-quote figcaption, .featured-quote > div > span { display: block; margin-top: 10px; font-size: 18px; color: var(--accent); }
.featured-quote figcaption span { color: var(--muted); font-size: 15px; }
.home-sidebar { border-left: 1px solid var(--line); padding: 25px 28px 40px; min-width: 0; }
.sidebar-panel { border: 1px solid var(--line); background: #f8f1e8; border-radius: 11px; padding: 21px; overflow: hidden; }
.sidebar-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 15px; margin-bottom: 19px; border-bottom: 1px solid var(--line); }
.sidebar-heading h2 { font-size: clamp(25px, 2vw, 31px); white-space: nowrap; color: var(--ink); letter-spacing: -.04em; }
.sidebar-heading > a { font-size: 15px; white-space: nowrap; color: var(--accent); }
.latest-panel { min-height: 365px; }
.latest-quotes { list-style: none; margin: 0; padding: 0; }
.latest-quotes li { padding-block: 17px; border-bottom: 1px solid var(--line); }
.latest-quotes li:first-child { padding-top: 0; }
.latest-quotes li:last-child { border-bottom: 0; padding-bottom: 0; }
.latest-quotes a { display: block; padding-left: 14px; border-left: 2px solid var(--accent); }
.latest-quotes blockquote { font-size: 19px; font-style: italic; line-height: 1.5; margin: 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.latest-quotes p { font-size: 16px; margin-top: 10px; color: var(--accent); }
.latest-quotes p span { color: var(--muted); }
.sidebar-empty { font-size: 19px; color: var(--muted); line-height: 1.7; padding: 12px 0; }
.reading-panel { position: relative; margin-top: 32px; min-height: 365px; }
.reading-panel .sidebar-heading h2 { display: flex; align-items: center; gap: 12px; }
.reading-panel .sidebar-heading svg { width: 37px; height: 32px; color: var(--accent); }
.reading-summary { position: relative; z-index: 1; font-size: 20px; line-height: 1.55; padding-bottom: 110px; }
.reading-summary > p + p { margin-top: 9px; }
.reading-summary ul { list-style: none; padding: 0; margin: 13px 0 0; }
.reading-summary li + li { margin-top: 15px; }
.reading-summary li span { display: block; font-size: 16px; color: var(--muted); }
.reading-summary li a { font-size: 19px; }
.reading-landscape { height: 150px; position: absolute; bottom: 0; left: 0; right: 0; background: url('../images/reading-landscape.jpg') center bottom / cover; opacity: .66; mask-image: linear-gradient(transparent, #000 55%); }
@media (max-width: 1250px) { .home-reading { padding: 26px; } .home-sidebar { padding: 24px 20px; } .home-section-heading { flex-wrap: wrap; gap: 10px; } .home-book-grid { gap: 18px; } .home-book-grid .book-card { padding: 18px 13px; gap: 12px; grid-template-columns: 42fr 58fr; min-height: 260px; } .home-book-grid .book-card h2 { font-size: 27px; } .home-book-grid .book-author { font-size: 19px; } .sidebar-heading { flex-wrap: wrap; } .hero-copy { padding-left: 40px; } }
@media (max-width: 1000px) { .home-canvas { grid-template-columns: minmax(0, 66fr) minmax(0, 34fr); } .home-book-grid { grid-template-columns: 1fr; } .home-book-grid .book-card { grid-template-columns: 145px 1fr; min-height: 240px; gap: 24px; } .home-book-grid .book-card-art img { max-height: 205px; } .home-book-grid .book-author::after { margin-block: 15px; } .home-sidebar { padding-inline: 17px; } .sidebar-panel { padding: 18px; } .reading-summary { font-size: 18px; } }
@media (max-width: 760px) { .home-canvas { grid-template-columns: minmax(0, 1fr); } .home-sidebar { border-left: 0; border-top: 1px solid var(--line); padding: 26px; } .reading-hero { min-height: 310px; } .home-reading { padding: 28px 26px; } .home-book-grid .book-card { grid-template-columns: 145px 1fr; } .home-book-grid .book-card h2 { font-size: 32px; } .home-book-grid .book-author { font-size: 22px; } .home-book-grid .period-value { font-size: 24px; } .featured-quote { padding: 24px 20px; gap: 15px; } .featured-quote blockquote, .featured-quote > div > p { font-size: 23px; } .latest-panel { min-height: 0; } .sidebar-heading { flex-wrap: nowrap; } .reading-summary { font-size: 21px; } }
@media (max-width: 420px) { .hero-copy { padding: 30px 26px; } .hero-copy h1 { font-size: 46px; } .hero-copy p { font-size: 22px; } .home-reading, .home-sidebar { padding-inline: 18px; } .home-section-heading h2 { font-size: 26px; } .home-book-grid .book-card { grid-template-columns: 110px minmax(0, 1fr); gap: 17px; min-height: 220px; } .home-book-grid .book-card h2 { font-size: 27px; } .home-book-grid .book-author { font-size: 19px; } .home-book-grid .period-value { font-size: 20px; } .period-label { font-size: 13px; } .featured-mark { font-size: 64px; } .sidebar-heading h2 { font-size: 26px; } .sidebar-heading > a { font-size: 13px; } }
.latest-quotes a { position: relative; padding-left: 57px; border-left: 0; min-height: 44px; }
.latest-quotes .quote-avatar-small { left: 0; top: 3px; width: 42px; height: 42px; }
.latest-quotes blockquote { color: var(--ink); }

