/* Temporal Continuity Commission: shared presentation for all pages. */
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: #f6f8fa; color: #172434; font: 16px/1.6 Arial, Helvetica, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: #245979; text-underline-offset: .2em; }
a:hover { color: #163d59; }
a:focus-visible { outline: 3px solid #b88b45; outline-offset: 4px; }
h1,h2,h3 { font-family: Georgia, 'Times New Roman', serif; line-height: 1.18; margin: 0 0 .55em; font-weight: normal; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; width: 92%; margin: 0 auto; }
.skip-link { position: absolute; top: -100px; left: 1rem; background: #fff; padding: .6rem; z-index: 10; }
.skip-link:focus { top: .5rem; }
.site-header { background: #ffffff; color: #172434; border-bottom: 1px solid #cbd9e3; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; }
.brand { font: bold 1.45rem/1.3 Georgia, serif; color: #243e55; text-decoration: none; white-space: normal; }
.brand span { color: #366781; }
.site-header nav,.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.site-header nav a,.site-footer nav a { color: #334d62; text-decoration: none; font-size: .92rem; }
.site-header a:hover,.site-footer a:hover { color: #175477; text-decoration: underline; }
.hero { background: linear-gradient(105deg,#f4f9fc,#e0edf5 65%,#c9deeb); color: #20364b; border-bottom: 3px solid #b88b45; }
.hero-inner { min-height: 300px; display: flex; align-items: center; padding: 2rem 0; }
.hero-copy { width: 85%; }
.eyebrow { text-transform: uppercase; font-weight: bold; font-size: .74rem; letter-spacing: .11em; color: #39627f; margin-bottom: .65rem; }
.hero .eyebrow { color: #39627f; }
.hero h1 { font-size: clamp(2.15rem, 4.1vw, 3.5rem); line-height: 1.11; margin-bottom: .4em; }
.hero h1 span { color: #366781; }
.tagline { max-width: 34rem; font-size: 1.12rem; color: #344f63; margin-bottom: 1.15rem; }
.hero-link { display: inline-block; color: #245979; font-size: .96rem; font-weight: bold; }
.hero-link:hover { color: #163d59; }
.section { padding: 2.3rem 0 3rem; }
.section h2 { font-size: 2rem; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.series-link { flex-shrink: 0; font-weight: bold; font-size: .93rem; margin-bottom: .8rem; }
.intro { max-width: 850px; color: #46596b; margin-bottom: 1.5rem; }
.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; }
.book-card { background: #ffffff; border: 1px solid #cbd6e0; border-radius: 4px; padding: 1.15rem; display: flex; flex-direction: column; min-width: 0; }
.cover { display: block; margin: 0 auto 1.1rem; width: 100%; max-width: 228px; }
.cover img,.detail-cover img { width: 100%; box-shadow: 0 5px 13px rgba(0,0,0,.19); border: 1px solid #cbd6e0; }
.cover:hover img { outline: 2px solid #b88b45; outline-offset: 3px; }
.book-copy { flex: 1; }
.book-copy .eyebrow { font-size: .68rem; letter-spacing: .06em; }
.book-card h3 { font-size: 1.23rem; margin-bottom: .35rem; font-weight: bold; }
.book-card h3 a { color: #172434; text-decoration: none; }
.book-card h3 a:hover { text-decoration: underline; }
.subtitle { font: .94rem/1.35 Georgia, serif; color: #46596b; margin-bottom: .75rem; }
.book-description { color: #46596b; font-size: .91rem; }
.book-actions { border-top: 1px solid #d6dfe7; padding-top: .9rem; }
.details { display: inline-block; font-weight: bold; margin: 0 0 .75rem; font-size: .92rem; }
.purchase { display: block; background: #203d58; border: 1px solid #203d58; color: #ffffff; text-decoration: none; text-align: center; padding: .65rem .8rem; border-radius: 3px; font-size: .94rem; font-weight: bold; }
.purchase:hover { background: #315b79; border-color: #315b79; color: #fff; }
.formats { display: block; text-align: center; font-size: .79rem; color: #526779; margin-top: .42rem; }
.author-strip { background: #eaf2f7; border-top: 1px solid #cbd6e0; }
.author-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem 0; }
.author-inner h2 { font-size: 1.75rem; }
.author-inner p:last-child { margin-bottom: 0; max-width: 760px; }
.text-link { flex-shrink: 0; font-weight: bold; }
.site-footer { background: #e5eef4; color: #334d62; border-top: 2px solid #b88b45; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.6rem 0; font-size: .86rem; }
.footer-inner strong { font: bold 1.12rem Georgia, serif; color: #294f69; }
.footer-inner p { margin: 0; font-size: .79rem; }
.breadcrumb { color: #526779; font-size: .87rem; margin-bottom: 1.6rem; }
.breadcrumb span { padding: 0 .4rem; }
.detail-layout { display: grid; grid-template-columns: minmax(180px, 300px) minmax(0, 1fr); gap: 3rem; align-items: start; }
.detail-cover { max-width: 300px; }
.detail-buy { margin-top: 1.2rem; }
.detail-copy h1,.about-page h1 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.detail-subtitle { color: #46596b; font: 1.35rem/1.4 Georgia, serif; }
.byline { color: #526779; font-size: .94rem; border-bottom: 1px solid #cbd6e0; padding-bottom: 1rem; }
.lead { font-size: 1.12rem; }
.detail-copy h2 { font-size: 1.6rem; margin-top: 1.4rem; }
.topics { padding-left: 1.25rem; margin-top: .4rem; }
.topics li { margin-bottom: .6rem; }
.related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #cbd6e0; }
.related-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.related-grid .cover { max-width: 175px; }
.about-reading { max-width: 760px; }
.about-reading h2 { margin-top: 1.6rem; }
.about-reading .purchase { display: inline-block; }
@media (max-width: 920px) {
 .book-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .hero { background-position: 70% center; }
 .hero-copy { width: 90%; }
 .related-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .detail-layout { gap: 1.8rem; }
}
@media (max-width: 640px) {
 .header-inner { align-items: flex-start; flex-direction: column; gap: .65rem; }
 .site-header nav,.site-footer nav { gap: .9rem; }
 .hero { background: linear-gradient(105deg,#f4f9fc,#e0edf5 65%,#c9deeb); }
 .hero-inner { min-height: 0; padding: 2rem 0 1.7rem; }
 .hero-copy { width: 100%; }
 .hero h1 { font-size: 2.25rem; }
 .section { padding: 1.75rem 0 2rem; }
 .section h2 { font-size: 1.65rem; }
 .section-intro,.author-inner { display: block; }
 .series-link,.text-link { display: inline-block; margin-top: .35rem; }
 .book-grid,.related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
 .book-card { padding: .85rem; }
 .book-card h3 { font-size: 1.09rem; }
 .detail-layout { grid-template-columns: 1fr; gap: 1.5rem; }
 .detail-cover { max-width: 245px; width: 80%; margin: auto; }
 .footer-inner { flex-direction: column; align-items: flex-start; gap: .8rem; }
}
@media (max-width: 400px) { .book-grid,.related-grid { grid-template-columns: 1fr; } .book-card { padding: 1rem; } .cover { max-width: 200px; } }

.series-section + .series-section { border-top: 1px solid #cbd6e0; }
.pending { display:block; border:1px solid #cbd6e0; background:#edf2f6; color:#526779; padding:.6rem .7rem; text-align:center; border-radius:3px; font-size:.88rem; }
.series-link.pending { margin-bottom:.8rem; }
.status { color:#76541d; font-weight:bold; }
.detail-copy .lead { font-family:Georgia,serif; font-size:1.3rem; }
@media(max-width:640px){.series-link.pending{display:block}.hero-copy{width:100%}}

.author-bio { max-width: 740px; }
.author-bio .lead { font: 1.3rem/1.55 Georgia, serif; color: #294f69; }
.author-bio .purchase { margin: .4rem 0 .8rem; }

/* Simple homepage catalog: one book per row, with all summaries visible. */
.catalog { max-width: 1040px; padding: 1.8rem 0 2.4rem; }
.catalog-intro { margin-bottom: 1.7rem; padding: 0 0 1.2rem; border-bottom: 1px solid #cbd9e3; }
.catalog-intro h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); color: #243e55; margin-bottom: .3rem; }
.catalog-intro p:last-child { color: #46596b; margin: 0; }
.catalog-book { display: grid; grid-template-columns: minmax(150px, 215px) minmax(0,1fr); gap: 1.8rem; align-items: start; position: relative; padding: 1.4rem; background: #fff; border: 1px solid #d6e0e7; border-radius: 4px; margin-bottom: 1rem; }
.catalog-cover img { width:100%; height:auto; border: 1px solid #d6e0e7; box-shadow: 0 3px 10px #17243419; }
.catalog-copy { min-width: 0; }
.catalog-copy h2 { font-size: clamp(1.55rem, 3vw, 2rem); margin-bottom: .5rem; }
.catalog-copy .lead { font-weight: bold; color:#294f69; }
.catalog-copy .release { color: #76541d; font-weight: bold; }
.catalog-actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.catalog-actions .purchase { font: bold .94rem Arial,sans-serif; padding: .65rem 1.4rem; cursor:pointer; }
.catalog-actions .purchase:disabled { background:#e8eff4; border-color:#cbd9e3; color:#41596d; cursor:default; }
.catalog-actions .formats { margin:0; }
.legacy-anchor { position:absolute; top:0; }
@media(max-width:640px){ .catalog-book { grid-template-columns: 1fr; gap:1rem; padding:1rem; } .catalog-cover { width:min(65%,215px); margin:auto; } .catalog { padding-top:1.2rem; } }
