:root{
  --ivory:#fbf7ee;
  --paper:#fffdf8;
  --navy:#17304e;
  --navy-2:#264b72;
  --gold:#b89752;
  --gold-dark:#8d6d31;
  --sky:#dce8ef;
  --ink:#27313f;
  --muted:#6e7380;
  --line:#e8dcc3;
  --shadow:0 20px 60px rgba(23,48,78,.12);
  --radius:22px;
  --shell:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.72}
img{max-width:100%;height:auto;display:block}
a{color:var(--navy);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:var(--gold-dark)}
button,input,textarea,select{font:inherit}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-reader-text:focus{clip:auto!important;width:auto;height:auto;margin:0;padding:.8rem 1rem;left:1rem;top:1rem;background:#fff;color:#000;z-index:10000}
.site-shell{width:min(calc(100% - 40px),var(--shell));margin-inline:auto}
.content-shell{max-width:1040px}
.prose-shell{max-width:820px}
.centered{text-align:center}
.announcement-bar{background:var(--navy);color:#fff;font-size:.86rem;letter-spacing:.03em;padding:.48rem 0;text-align:center}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,253,248,.96);backdrop-filter:blur(14px);border-bottom:1px solid rgba(184,151,82,.22)}
.header-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:2rem}
.site-branding{min-width:220px}
.custom-logo{max-height:64px;width:auto}
.brand-text{text-decoration:none;display:flex;flex-direction:column;color:var(--navy)}
.brand-name{font-family:Georgia,"Times New Roman",serif;font-size:1.6rem;font-weight:700;letter-spacing:.02em}
.brand-tagline{font-size:.72rem;text-transform:uppercase;letter-spacing:.14em;color:var(--gold-dark)}
.primary-navigation ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:1.55rem}
.primary-navigation a{text-decoration:none;color:var(--navy);font-weight:650;font-size:.93rem}
.primary-navigation a:hover,.primary-navigation .current-menu-item>a{color:var(--gold-dark)}
.menu-toggle{display:none;border:1px solid var(--line);background:#fff;color:var(--navy);border-radius:999px;padding:.6rem .9rem;font-weight:700}
.hero-section{background:linear-gradient(115deg,var(--ivory) 0%,#fffdf8 48%,var(--sky) 100%);overflow:hidden;position:relative}
.hero-section:before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(255,218,133,.34),rgba(255,255,255,0) 68%);right:-90px;top:-160px;pointer-events:none}
.hero-grid{min-height:690px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:5rem;align-items:center;padding:5.6rem 0}
.hero-copy{position:relative;z-index:1;max-width:680px}
.eyebrow{display:inline-block;color:var(--gold-dark);font-size:.77rem;font-weight:800;text-transform:uppercase;letter-spacing:.18em;margin-bottom:.75rem}
h1,h2,h3,h4,h5,h6{font-family:Georgia,"Times New Roman",serif;color:var(--navy);line-height:1.12;margin-top:0}
h1{font-size:clamp(3.5rem,7vw,6.8rem);letter-spacing:-.045em;margin-bottom:1rem}
h2{font-size:clamp(2.15rem,4.6vw,4rem);letter-spacing:-.03em;margin-bottom:1rem}
h3{font-size:1.55rem}
.hero-subtitle{font-family:Georgia,"Times New Roman",serif;color:var(--gold-dark);font-size:clamp(1.25rem,2vw,1.7rem);font-style:italic;margin:.2rem 0 1.2rem}
.hero-summary{font-size:1.1rem;max-width:620px;color:#445061}
.hero-book{position:relative;display:flex;justify-content:center;align-items:center;min-height:520px}
.hero-book:after{content:"";position:absolute;z-index:0;width:80%;height:68%;background:rgba(255,255,255,.62);border-radius:50%;filter:blur(2px);box-shadow:0 35px 90px rgba(35,59,83,.18)}
.book-cover{position:relative;z-index:1;width:min(100%,390px);border-radius:7px;box-shadow:0 30px 65px rgba(22,46,75,.25);transform:rotate(1.5deg)}
.button-row{display:flex;flex-wrap:wrap;gap:.85rem;margin-top:1.8rem}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.78rem 1.2rem;border-radius:999px;text-decoration:none;font-weight:800;transition:.2s ease;border:1px solid transparent}
.button:hover{transform:translateY(-1px)}
.button-primary{background:var(--navy);color:#fff;box-shadow:0 12px 30px rgba(23,48,78,.16)}
.button-primary:hover{background:#224365;color:#fff}
.button-secondary{background:transparent;color:var(--navy);border-color:var(--gold)}
.button-secondary:hover{background:#fff8e9;color:var(--navy)}
.text-link{font-weight:800;text-decoration:none;color:var(--gold-dark)}
.scripture-strip{background:#fff;border-block:1px solid var(--line);padding:1.4rem 0;text-align:center}
.scripture-strip p{font-family:Georgia,"Times New Roman",serif;font-size:1.25rem;color:var(--navy);margin:0;font-style:italic}
.scripture-strip span{color:var(--gold-dark);font-size:.93rem}
.section{padding:6rem 0}
.soft-section{background:var(--ivory)}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:2.4rem}
.section-heading h2{margin:0;flex-basis:100%}
.book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2rem}
.book-grid-archive{grid-template-columns:repeat(3,minmax(0,1fr))}
.book-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.2rem;box-shadow:0 8px 30px rgba(23,48,78,.05)}
.book-card-cover{display:block;background:linear-gradient(135deg,var(--ivory),#fff);border-radius:15px;padding:1rem;overflow:hidden}
.book-card-cover img,.book-card>img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:6px;box-shadow:0 15px 38px rgba(23,48,78,.16)}
.book-card-body{padding:1.1rem .25rem .3rem}
.book-card-body h2,.book-card-body h3{margin:.15rem 0 .55rem;font-size:1.45rem}
.book-card-body h2 a,.book-card-body h3 a{text-decoration:none}
.book-card-body p{margin:.25rem 0;color:var(--muted)}
.author-section{background:linear-gradient(135deg,#f7f0e3,#eef5f7)}
.author-grid{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);gap:5rem;align-items:center}
.author-photo-wrap{display:flex;justify-content:center}
.author-photo{width:min(100%,460px);aspect-ratio:4/5;object-fit:cover;border-radius:40% 40% 18px 18px;box-shadow:var(--shadow)}
.author-photo-placeholder{width:min(100%,440px);aspect-ratio:4/5;border-radius:40% 40% 18px 18px;background:radial-gradient(circle at 50% 28%,#fff 0,#f4ead7 27%,#dbe7ed 100%);display:flex;align-items:center;justify-content:center;border:1px solid rgba(184,151,82,.38);box-shadow:var(--shadow)}
.author-photo-placeholder span{font-family:Georgia,"Times New Roman",serif;color:var(--gold-dark);font-size:5rem;border:1px solid var(--gold);width:140px;height:140px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.6)}
.author-copy p{font-size:1.08rem;max-width:650px}
.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.6rem}
.article-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 8px 25px rgba(23,48,78,.05)}
.article-image{display:block;overflow:hidden}
.article-image img{width:100%;aspect-ratio:16/10;object-fit:cover;transition:transform .35s ease}
.article-card:hover .article-image img{transform:scale(1.02)}
.article-card-body{padding:1.5rem}
.article-card-body h2,.article-card-body h3{margin:.3rem 0 .7rem}
.article-card-body h2 a,.article-card-body h3 a{text-decoration:none}
.meta{font-size:.79rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.newsletter-section{background:var(--navy);color:#fff;padding:4.8rem 0}
.newsletter-inner{display:flex;align-items:center;justify-content:space-between;gap:3rem}
.newsletter-section h2{color:#fff;margin:.2rem 0 .8rem}
.newsletter-section .eyebrow{color:#e6c985}
.newsletter-section p{max-width:700px;color:#e8edf4}
.newsletter-section .button-primary{background:#fff;color:var(--navy)}
.newsletter-note{display:block;max-width:320px;font-size:.86rem;color:#d6e0eb}
.site-footer{background:#10263e;color:#dbe5ed;padding:4.6rem 0 1.5rem}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2rem}
.site-footer a{color:#e9d5a1}
.site-footer ul{list-style:none;padding:0;margin:0}
.footer-brand{font-family:Georgia,"Times New Roman",serif;color:#fff;font-size:1.55rem;font-weight:700;margin-top:0}
.social-links{display:flex;flex-direction:column;gap:.5rem}
.footer-bottom{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid rgba(255,255,255,.12);padding-top:1.2rem;margin-top:2.5rem;font-size:.78rem;color:#aebccc}
.archive-header{max-width:820px;margin-bottom:3rem}
.archive-header.centered{margin-inline:auto;margin-bottom:3.5rem}
.archive-header h1{font-size:clamp(2.8rem,5vw,5rem)}
.archive-description{color:var(--muted)}
.page-header,.single-header{margin-bottom:2rem}
.page-header h1,.single-header h1{font-size:clamp(2.6rem,5vw,5.2rem)}
.single-header .lead{font-family:Georgia,"Times New Roman",serif;font-size:1.35rem;color:#536172}
.single-featured{margin:0 0 2.4rem}
.single-featured img{border-radius:var(--radius);width:100%}
.entry-content{font-size:1.04rem}
.entry-content h2{font-size:2.25rem;margin-top:2.5rem}
.entry-content h3{font-size:1.55rem;margin-top:2rem}
.entry-content blockquote{border-left:3px solid var(--gold);margin:2rem 0;padding:.3rem 0 .3rem 1.5rem;color:#4d5a69;font-family:Georgia,"Times New Roman",serif;font-size:1.2rem}
.entry-content img{border-radius:14px}
.book-hero-section{background:linear-gradient(120deg,var(--ivory),#fff 56%,#eef5f7);padding:5.5rem 0}
.book-hero-grid{display:grid;grid-template-columns:minmax(290px,.75fr) minmax(0,1.25fr);gap:5.5rem;align-items:center}
.book-detail-cover{display:flex;justify-content:center}
.book-detail-copy h1{font-size:clamp(3.5rem,6vw,6.5rem);margin-bottom:.7rem}
.book-lead{font-size:1.1rem;color:#4e5b6c;max-width:700px}
.book-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;margin:2.2rem 0 0;padding:1.2rem 0 0;border-top:1px solid var(--line)}
.book-facts div{min-width:0}
.book-facts dt{font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:800}
.book-facts dd{margin:.25rem 0 0;color:var(--navy);font-weight:700;overflow-wrap:anywhere}
.book-content-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.5fr);gap:4.5rem;align-items:start}
.book-aside{position:sticky;top:130px;background:var(--ivory);border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem}
.topic-list{display:flex;flex-wrap:wrap;gap:.55rem}
.topic-list a{display:inline-flex;border:1px solid var(--gold);border-radius:999px;padding:.38rem .7rem;text-decoration:none;font-size:.83rem;color:var(--navy);background:#fff}
.scripture-reference{font-family:Georgia,"Times New Roman",serif;color:var(--gold-dark);font-style:italic;font-size:1.15rem}
.navigation.pagination{margin-top:3rem}
.nav-links{display:flex;gap:.5rem;flex-wrap:wrap}
.page-numbers{display:inline-flex;min-width:38px;height:38px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:999px;text-decoration:none;padding:0 .7rem}
.page-numbers.current{background:var(--navy);color:#fff;border-color:var(--navy)}
.comments-area{margin-top:4rem;padding-top:2rem;border-top:1px solid var(--line)}
.comment-list{padding-left:1.3rem}
input[type="text"],input[type="email"],input[type="url"],input[type="search"],textarea,select{width:100%;border:1px solid #d8cfbd;border-radius:10px;background:#fff;padding:.75rem .9rem;color:var(--ink)}
input[type="submit"],button[type="submit"]{background:var(--navy);color:#fff;border:0;border-radius:999px;padding:.8rem 1.1rem;font-weight:800;cursor:pointer}
:focus-visible{outline:3px solid rgba(184,151,82,.55);outline-offset:3px}
@media (max-width:980px){
  .hero-grid,.book-hero-grid{grid-template-columns:1fr;gap:2.5rem;text-align:center}
  .hero-copy{margin-inline:auto}
  .button-row{justify-content:center}
  .hero-book{min-height:auto}
  .hero-book .book-cover,.book-detail-cover .book-cover{width:min(76vw,330px)}
  .book-grid,.book-grid-archive{grid-template-columns:repeat(2,minmax(0,1fr))}
  .article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .author-grid,.book-content-grid{grid-template-columns:1fr;gap:2.8rem}
  .book-aside{position:static}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .newsletter-inner{align-items:flex-start;flex-direction:column}
  .book-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .site-shell{width:min(calc(100% - 28px),var(--shell))}
  .header-inner{min-height:74px}
  .menu-toggle{display:inline-flex}
  .primary-navigation{position:absolute;left:0;right:0;top:100%;background:#fffdf8;border-bottom:1px solid var(--line);display:none;padding:1rem 20px 1.4rem}
  .primary-navigation.is-open{display:block}
  .primary-navigation ul{display:flex;flex-direction:column;align-items:flex-start;gap:.9rem}
  .brand-tagline{display:none}
  .hero-grid{min-height:auto;padding:4rem 0}
  h1{font-size:clamp(3rem,14vw,4.8rem)}
  .section{padding:4.5rem 0}
  .book-grid,.book-grid-archive,.article-grid{grid-template-columns:1fr}
  .book-card{max-width:460px;margin-inline:auto;width:100%}
  .author-photo-placeholder,.author-photo{max-width:360px}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column}
  .section-heading{align-items:flex-start}
  .book-facts{grid-template-columns:1fr 1fr}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button,.article-image img{transition:none}.button:hover{transform:none}}

/* Book reader and v1.1 library improvements */
.reader-section{background:#f7f2e8;border-block:1px solid var(--line)}
.reader-heading{align-items:center}
.reader-heading>div{min-width:0}
.book-reader-frame{height:min(82vh,920px);min-height:620px;background:#d9d2c3;border:1px solid #cfbf9f;border-radius:22px;overflow:hidden;box-shadow:var(--shadow)}
.book-reader-frame object{display:block;width:100%;height:100%;border:0;background:#fff}
.reader-fallback{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;text-align:center;padding:2rem;background:#fff}
.book-card .text-link{display:inline-flex;margin-top:.8rem}
.book-card-body .book-author{font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;color:var(--gold-dark);font-weight:800}
@media (max-width:760px){.book-reader-frame{min-height:520px;height:72vh;border-radius:14px}.reader-heading{align-items:flex-start}}
