body.lbc-page { margin: 0; padding: 0; background: #0c0c0e; }
.lbc {
    --ink: #0c0c0e;
    --surface: #171617;
    --paper: #f2ebdd;
    --cream: #f2ebdd;
    --gold: #e4bd77;
    --bronze: #7c542c;
    --muted: #c4bcb0;
    --line: #4a3e32;
    --display: Georgia, "Times New Roman", serif;
    --text: "DM Sans", system-ui, -apple-system, sans-serif;
    color: var(--cream);
    background: var(--ink);
    font: 16px/1.65 var(--text);
}
.lbc *, .lbc *::before, .lbc *::after { box-sizing: border-box; }
.lbc :is(h1,h2,h3) { margin: 0; padding: 0; color: inherit; font-family: var(--display); font-weight: 400; line-height: 1.06; letter-spacing: -.035em; text-transform: none; }
.lbc h1 { font-size: clamp(2.9rem, 6.7vw, 6.9rem); }
.lbc h2 { font-size: clamp(2.15rem, 4.3vw, 4.7rem); }
.lbc h3 { font-size: clamp(1.25rem, 2.1vw, 1.85rem); }
.lbc p { margin: 0; padding: 0; }
.lbc a { color: inherit; text-decoration: none; }
.lbc a:hover { text-decoration: underline; text-underline-offset: .24em; }
.lbc :focus-visible { outline: 3px solid #c68843; outline-offset: 4px; }
.lbc img { display: block; max-width: 100%; height: auto; }
.lbc-wrap { width: min(1320px, calc(100% - 104px)); margin: 0 auto; }
.lbc-skip { position: absolute; top: 0; left: 12px; z-index: 9999; padding: 10px; color: var(--ink) !important; background: var(--paper); transform: translateY(-200%); }
.lbc-skip:focus { transform: none; }
.lbc-header { border-bottom: 1px solid var(--line); background: #101012; }
.lbc-header-inner { min-height: 87px; display: flex; align-items: center; justify-content: space-between; gap: 1.7rem; }
.lbc-wordmark { display: inline-flex; flex-shrink: 0; align-items: center; gap: .78rem; color: var(--cream); font: bold 1.04rem/1.05 var(--display); letter-spacing: .16em; }
.lbc-wordmark small { display: block; font: 650 .53rem/1.4 var(--text); letter-spacing: .24em; color: var(--gold); margin-top: .27rem; }
.lbc-mark { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #9a7749; color: var(--gold); font-size: 13px; transform: rotate(45deg) scale(.78); }
.lbc-header nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.6rem; margin: 0; padding: 0; list-style: none; }
.lbc-header nav a, .lbc-site-back { display: inline-block; padding: .35rem 0; font-size: .83rem; }
.lbc-site-back { color: var(--gold) !important; }
.lbc-hero { background: radial-gradient(ellipse at 67% 25%, #272018, var(--ink) 65%); }
.lbc-hero-grid { display: grid; grid-template-columns: .96fr 1fr; gap: clamp(1.8rem,5vw,5rem); align-items: center; padding-top: clamp(3rem,7vw,7rem); padding-bottom: clamp(3rem,6vw,5.6rem); }
.lbc-kicker { font-size: .71rem; font-weight: 750; letter-spacing: .145em; text-transform: uppercase; color: var(--gold); }
.lbc-kicker-rule { display: inline-block; width: 1.5rem; height: 1px; vertical-align: middle; margin: 0 .4rem; background: var(--gold); opacity: .65; }
.lbc-hero h1 { margin: 1.1rem 0 1rem; font-size: clamp(3rem,6.6vw,6.5rem); line-height: .94; }
.lbc-tagline { margin-top: 1.35rem !important; color: var(--gold); font: italic clamp(1.28rem,2.2vw,2.04rem)/1.22 var(--display); }
.lbc-lede { max-width: 66ch; color: var(--muted); font-size: clamp(1rem,1.32vw,1.16rem); line-height: 1.65; }
.lbc-hero .lbc-lede { margin-top: 1.15rem; max-width: 46ch; }
.lbc-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1rem; margin-top: 1.45rem; }
.lbc .lbc-button {
    display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: .65rem;
    padding: .63rem 1rem; border: 1px solid transparent; border-radius: 3px;
    background: var(--gold); color: #19130d; font: 750 .84rem/1.25 var(--text); cursor: pointer; text-transform: none;
    text-align: center; transition: background-color .15s ease;
}
.lbc .lbc-button:hover { background: #f2d198; color: #19130d; text-decoration: none; }
.lbc .lbc-button-outline { background: transparent; color: var(--cream); border-color: #8a7457; }
.lbc .lbc-button-outline:hover { background: #2a231c; color: var(--cream); }
.lbc-hero-figure { position: relative; margin: 0; padding: .75rem; border: 1px solid #7a603b; background: #121010; }
.lbc-hero-figure::before { content: ""; position: absolute; inset: -.38rem; border: 1px solid #382e24; pointer-events: none; }
.lbc-hero-figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.lbc-hero-figure figcaption { display: flex; gap: .5rem; align-items: center; padding: .8rem .25rem .1rem; color: #dcc39b; font-size: .65rem; letter-spacing: .12em; }
.lbc-hero-figure figcaption span:last-child { margin-left: auto; }
.lbc-hero-foot { min-height: 60px; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-block: .65rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.lbc-hero-foot a { color: var(--gold); }
.lbc-section { padding: clamp(2.8rem,6.6vw,6.8rem) 0; }
.lbc-section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.4rem; margin-bottom: 1.8rem; }
.lbc-section-head .lbc-kicker { margin-bottom: .55rem; }
.lbc-section-head .lbc-textlink { margin-bottom: .2rem; }
.lbc-section .lbc-lede + :is(.lbc-author-grid,.lbc-reading-grid) { margin-top: 1.65rem; }
.lbc-paper { color: #29211c; background: var(--paper); --muted: #5d4f43; --gold: #704a27; --line: #c9bca8; }
.lbc-paper .lbc-button { background: #382821; color: var(--cream); }
.lbc-paper .lbc-button:hover { background: #5c3b28; color: var(--cream); }
.lbc .lbc-textlink { display: inline-flex; gap: .5rem; align-items: baseline; color: var(--gold); font-size: .88rem; font-weight: 750; }
.lbc-book-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.7rem clamp(.8rem,2.2vw,2rem); }
.lbc-book-card { min-width: 0; }
.lbc-book-art { display: grid; place-items: center; min-height: 0; aspect-ratio: 1.12; overflow: hidden; background: linear-gradient(140deg,#d6c8b2,#e6dcc9 64%,#cfc0a7); }
.lbc-cover { width: 67%; height: 86% !important; object-fit: contain; filter: drop-shadow(6px 7px 6px #100b0855); }
.lbc-jacket {
    position: relative; display: flex; flex-direction: column; align-items: start; justify-content: center;
    width: 56%; min-width: 0; aspect-ratio: .69; height: auto; max-height: 91%; overflow: hidden;
    gap: 4%; padding: 10% 7% 9% 10%; border-left: 5px solid #0003;
    background: linear-gradient(130deg,#fff1,transparent 34%,#0004),var(--jacket);
    color: #fff2d9; box-shadow: 7px 9px 12px #100b0866;
}
.lbc-jacket::after { content: ""; position: absolute; inset: 6% 7% 6% 8%; border: 1px solid #d5ba835e; pointer-events: none; }
.lbc-jacket-top, .lbc-jacket-author { font: 650 clamp(.38rem,.56vw,.65rem)/1.23 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.lbc-jacket-top { color: #eed6a8; }
.lbc-jacket-title { font: clamp(.72rem,1.53vw,1.6rem)/1.02 var(--display); overflow-wrap: anywhere; }
.lbc-jacket-mark { color: #d8b278; font-size: .7rem; }
.lbc-book-copy { padding: .9rem 0 0; }
.lbc-book-copy .lbc-kicker { margin-bottom: .28rem; }
.lbc-book-copy p:not(.lbc-kicker) { margin-top: .42rem; color: var(--muted); font-size: .86rem; line-height: 1.52; }
.lbc-credit { color: var(--muted); font-size: .85rem; font-weight: 650; }
.lbc-shelf-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--line); column-gap: 1.5rem; }
.lbc-shelf { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: start; min-height: 125px; padding: 1.3rem .65rem; border-bottom: 1px solid var(--line); }
.lbc-shelf:hover { background: #211a15; }
.lbc-shelf p { font-size: .88rem; color: var(--muted); margin-top: .46rem; }
.lbc-shelf-index,.lbc-arrow { color: var(--gold); font: 700 .8rem/2 var(--text); }
.lbc-curator { background: #211812; border-block: 1px solid var(--line); }
.lbc-curator-grid { display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; gap: 3rem; }
.lbc-curator h2 { margin-top: .65rem; }
.lbc-curator .lbc-lede { margin: .75rem 0 1.25rem; }
.lbc-curator-art { position: relative; margin: 0; min-width: 0; min-height: 215px; aspect-ratio: 7/4; border: 1px solid #705334; color: #f3dcac; background: #241610; }
.lbc-curator-art::after { content: ""; position: absolute; inset: 9px; border: 1px solid #c39a5f; pointer-events: none; }
.lbc .lbc-curator-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lbc-curator-art figcaption { position: absolute; inset: auto 0 0; padding: 1.6rem 1.3rem 1.15rem; background: linear-gradient(transparent, #1b110be8 45%, #1b110b); color: inherit; font: 750 .72rem/1.4 var(--text); letter-spacing: .12em; text-transform: uppercase; }
.lbc-curator-art figcaption span { display: block; margin-bottom: .18rem; font-size: .56rem; letter-spacing: .2em; }
.lbc-author-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; }
.lbc-author-card { display: flex; gap: .82rem; align-items: center; padding: 1rem .85rem; border: 1px solid var(--line); }
.lbc-author-card > div:last-child { min-width: 0; overflow-wrap: anywhere; }
.lbc-author-card .lbc-kicker { font-size: .61rem; letter-spacing: .075em; }
.lbc-author-card h3 { font-size: clamp(1.02rem,1.6vw,1.44rem); margin-top: .15rem; }
.lbc-author-card p:not(.lbc-kicker) { color: var(--muted); font-size: .72rem; }
.lbc-author-emblem { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 50%; background: #342a23; color: #f2d4a4; font: 1.03rem/1 var(--display); }
.lbc .lbc-author-portrait { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.lbc-portrait-credit { margin-top: .3rem; line-height: 1.35; }
.lbc-portrait-credit a { text-decoration: underline; text-underline-offset: .12em; }
.lbc-reading-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.lbc-reading-grid + .lbc-section-head { margin-top: 3rem; }
.lbc-reading-card { display: flex; flex-direction: column; align-items: start; gap: .55rem; padding: 1.35rem; border: 1px solid var(--line); }
.lbc-reading-card p:not(.lbc-kicker) { font-size: .91rem; color: var(--muted); }
.lbc-reading-card .lbc-textlink { margin-top: auto; padding-top: .3rem; }
.lbc-reading-covers { display: flex; justify-content: center; gap: .65rem; width: 100%; margin-top: .3rem; padding: .85rem .65rem; border: 1px solid var(--line); background: linear-gradient(140deg,#32251b,#1e1814); }
.lbc-reading-covers > :is(a,.lbc-shelf-cover) { display: grid; place-items: center; flex: 0 1 6rem; min-width: 0; aspect-ratio: 2/3; }
.lbc-shelf > .lbc-reading-covers { grid-column: 2; margin-top: 0; }
.lbc-reading-covers .lbc-preview-cover { grid-template: minmax(0,1fr)/minmax(0,1fr); }
.lbc-reading-covers .lbc-preview-cover .lbc-cover { max-width: 100%; max-height: 100%; }
.lbc-reading-covers .lbc-jacket { width: 100%; padding: .35rem; }
.lbc-reading-covers .lbc-jacket-title { font-size: .72rem; }
.lbc-reading-covers :is(.lbc-jacket-top,.lbc-jacket-author,.lbc-jacket-mark) { display: none; }
.lbc-footer { background: #101012; border-top: 1px solid var(--line); }
.lbc-footer-inner { display: grid; grid-template-columns: 1.1fr .8fr 1fr; gap: 1.6rem; padding-block: 2.4rem; }
.lbc-footer p:not(.lbc-kicker), .lbc-footer a:not(.lbc-wordmark) { color: var(--muted); font-size: .86rem; }
.lbc-footer p { margin: .4rem 0; }
.lbc-footer a:not(.lbc-wordmark) { display: block; width: fit-content; }
.lbc-mast { background: radial-gradient(ellipse at 80% 14%,#2a211a,var(--ink) 65%); padding: 1.4rem 0 clamp(2.4rem,5vw,4.6rem); }
.lbc-crumb { display: flex; gap: .65rem; flex-wrap: wrap; margin-bottom: 1.8rem; color: var(--muted); font-size: .82rem; }
.lbc-crumb a { text-decoration: underline; text-underline-offset: .21em; }
.lbc-mast h1 { margin: .45rem 0 1rem; font-size: clamp(2.6rem,6vw,5.45rem); }
.lbc-mast .lbc-lede { margin-top: .6rem; }
.lbc-results { padding-top: 1.5rem; }
.lbc-filters { display: grid; gap: .95rem; padding: 1.2rem; border: 1px solid var(--line); background: #e9dfcd; }
.lbc-filters :is(label,select,input) { min-width: 0; }
.lbc-filters label { display: grid; gap: .23rem; font-weight: 700; font-size: .8rem; }
.lbc-filters :is(select,input) { width: 100%; min-height: 44px; padding: .47rem .55rem; border: 1px solid #8d7966; border-radius: 2px; background: #fffaf0; color: #241c16; font: 400 .9rem/1.35 var(--text); }
.lbc-filter-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .65rem; }
.lbc-filters .lbc-actions { margin: 0; font-size: .88rem; }
.lbc-filters .lbc-actions a { text-decoration: underline; }
.lbc h2.lbc-result-count { margin: 1.3rem 0 .8rem; color: var(--muted); font: 700 .86rem/1.35 var(--text); letter-spacing: 0; }
.lbc-empty { padding: 1.7rem; border: 1px solid var(--line); }
.lbc-empty p { margin-top: .5rem; }
.lbc-pagination { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 2rem; }
.lbc-pagination a { display: grid; place-items: center; min-height: 42px; min-width: 42px; border: 1px solid #9b8874; }
.lbc-pagination a[aria-current] { color: var(--cream); background: #3b2a21; }
.lbc-detail-grid { display: grid; grid-template-columns: minmax(175px,.6fr) 1.4fr; gap: clamp(1.4rem,4vw,3.5rem); }
.lbc-detail-grid h1 { margin-top: .35rem; font-size: clamp(2.4rem,5.5vw,5.1rem); overflow-wrap: anywhere; }
.lbc-detail-art { display: grid; place-items: center; align-self: start; gap: .45rem; padding: 1rem; background: #e3d7c2; }
.lbc-detail-art .lbc-jacket { width: min(100%,250px); }
.lbc-detail-art .lbc-cover { width: min(100%,300px); height: auto !important; }
.lbc-detail-by { margin: .45rem 0 1rem !important; color: var(--muted); font: italic clamp(1.05rem,1.7vw,1.6rem)/1.4 var(--display); }
.lbc-detail-by a { text-decoration: underline; text-underline-offset: .16em; }
.lbc-purchase { margin-top: 1.25rem; border: 1px solid var(--line); padding: 1rem; }
.lbc-book-description h2,.lbc-purchase h2,.lbc-edition h2 { font-size: clamp(1.35rem,2.4vw,2rem); margin-bottom: .35rem; }
.lbc-purchase .lbc-textlink { margin-top: .6rem; }
.lbc .lbc-amazon-edition { margin-top: .65rem; }
.lbc-edition { margin-top: 2.4rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.lbc-edition dl { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin: 0 0 1rem; }
.lbc-edition dt { font-size: .75rem; font-weight: 750; }
.lbc-edition dd { margin: 0; color: var(--muted); }
.lbc-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.lbc-chips a { display: inline-block; padding: .29rem .55rem; border: 1px solid #8d7966; font-size: .78rem; }
.lbc-profile-grid:has(figure) { display: grid; grid-template-columns: 1.4fr .6fr; gap: 2rem; }
.lbc-profile-grid figure { margin: 0; }
.lbc-profile-grid figcaption { font-size: .76rem; }
.lbc-source-list { padding-left: 1.25rem; margin-bottom: 0; }
.lbc-source-list a { text-decoration: underline; }
.lbc-editor-note { max-width: 70ch; padding-bottom: 1rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.lbc-editor-note p + p { margin-top: .7rem; }
.lbc-editor-note .lbc-textlink { margin-top: .6rem; }
.lbc-embed { padding: clamp(1.2rem,4vw,3rem); }
.lbc-embed h2 { font-size: clamp(1.6rem,3.4vw,3rem); margin-block: .45rem; }
.lbc-embed .lbc-book-grid { margin-block: 1rem; grid-template-columns: repeat(3,minmax(0,1fr)); }
@media (max-width: 1024px) {
    .lbc-wrap { width: calc(100% - 56px); }
    .lbc-header-inner { gap: 1rem; }
    .lbc-header nav ul { gap: .4rem 1rem; }
    .lbc-author-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 770px) {
    .lbc-wrap { width: calc(100% - 38px); }
    .lbc-header-inner { display: grid; grid-template-columns: 1fr auto; padding: .7rem 0; gap: .4rem .7rem; }
    .lbc-header nav { grid-column: 1/-1; grid-row: 2; }
    .lbc-header nav a { min-height: 36px; }
    .lbc-site-back { font-size: .74rem; }
    .lbc-hero-grid { grid-template-columns: 1fr; }
    .lbc-hero h1 { font-size: clamp(3rem,10vw,5.4rem); }
    .lbc-hero-figure { max-width: 570px; }
    .lbc-hero-figure img { aspect-ratio: 16/10; }
    .lbc-book-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .lbc-jacket-title { font-size: clamp(.72rem,2.8vw,1.55rem); }
    .lbc-jacket-top,.lbc-jacket-author { font-size: clamp(.38rem,1.1vw,.7rem); }
    .lbc-author-grid,.lbc-reading-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .lbc-filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .lbc-shelf-grid { grid-template-columns: 1fr; }
    .lbc-shelf { min-height: 85px; }
    .lbc-curator-grid { gap: 1.4rem; }
    .lbc-curator-art { min-height: 160px; }
    .lbc-footer-inner { grid-template-columns: 1fr 1fr; }
    .lbc-embed .lbc-book-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 480px) {
    .lbc-curator-grid, .lbc-detail-grid, .lbc-reading-grid, .lbc-profile-grid:has(figure) { grid-template-columns: 1fr; }
    .lbc-detail-art { order: 2; }
    .lbc-detail-art .lbc-jacket-title { font-size: 1.9rem; }
    .lbc-author-grid { grid-template-columns: 1fr; }
    .lbc-footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .lbc *, .lbc *::before, .lbc *::after { transition: none !important; animation: none !important; }
}

/* On the Historic Lyric site, the existing institutional menu stays above the bookstore navigation. */
body.lbc-page:has(.lyric-global-header) .lbc-header-inner { min-height: 55px; }
body.lbc-page:has(.lyric-global-header) .lbc-site-back { display: none; }
body.lbc-page:has(.lyric-global-header) .lbc-header nav { margin-left: auto; }
body.lbc-page:has(.lyric-global-header) .lbc-hero-grid { padding-block: clamp(2.5rem,4vw,4.2rem); }
body.lbc-page:has(.lyric-global-header) .lbc-hero-figure img { aspect-ratio: 1.48; }
@media (max-width: 770px) {
    body.lbc-page:has(.lyric-global-header) .lbc-header nav { margin-left: 0; }
}

/* Keep the skip control above the inherited site header in the focus order. */
body.lbc-page > .lbc-skip {
    position: fixed; inset: .75rem auto auto .75rem; z-index: 100001;
    padding: .65rem .85rem; background: #f2ebdd; color: #0c0c0e !important;
    font: 700 .95rem/1.35 system-ui, sans-serif;
}
body.lbc-page > .lbc-skip:focus { outline: 3px solid #a86f32; outline-offset: 3px; }
.lbc-header nav a, .lbc .lbc-textlink, .lbc-hero-foot a {
    display: inline-flex; align-items: center; min-height: 44px;
}
.lbc-pagination a { min-width: 44px; min-height: 44px; }
.lbc-footer a:not(.lbc-wordmark) { display: flex; align-items: center; min-height: 44px; }
.lbc-filter { min-width: 0; display: grid; gap: .23rem; }
.lbc-book-art { grid-template: minmax(0,1fr)/minmax(0,1fr); }
.lbc-preview-cover {
    display: grid; place-items: center; width: 100%; height: 100%; min-height: 0;
}
/* An explicit track bounds the image by the frame, including tall jackets. */
.lbc-book-art .lbc-preview-cover { grid-template: minmax(0,1fr)/minmax(0,1fr); }
.lbc-preview-cover .lbc-cover { width: auto; height: auto !important; max-width: 67%; max-height: 87%; }
.lbc-detail-art .lbc-preview-cover .lbc-cover { max-width: min(100%,300px); max-height: none; }
.lbc-cover-fallback { width: 100%; height: 100%; place-items: center; }
.lbc-cover-fallback:not([hidden]) { display: grid; }
.lbc-cover[hidden] { display: none; }
.lbc-detail-art .lbc-credit a { text-decoration: underline; text-underline-offset: .18em; }
.lbc .screen-reader-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
