/* V391 — Coffee and The Pecan Pie public book entry. Scoped only to RNP Books pages. */
body.rnp-books-page{min-height:100vh;background:#090b12;color:var(--ink);}
body.rnp-books-page::before{content:"";position:fixed;inset:0;z-index:-2;background:radial-gradient(circle at 18% 8%,rgba(215,180,106,.13),transparent 30%),radial-gradient(circle at 86% 18%,rgba(92,120,164,.12),transparent 28%),linear-gradient(180deg,#11121a 0%,#090b12 52%,#07080c 100%);}
body.rnp-books-page::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.32;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.012) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(180deg,#000,transparent 82%);}
.rnp-books-main{position:relative;z-index:1;}
.books-hero{padding:clamp(62px,8vw,112px) 0 46px;}
.books-hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.72fr);gap:clamp(32px,6vw,80px);align-items:center;}
.books-kicker{margin:0 0 14px;color:#e6c77e;font-size:.78rem;font-weight:900;letter-spacing:.2em;text-transform:uppercase;}
.books-title{margin:0;color:#fff5df;font-family:Georgia,'Times New Roman',serif;font-size:clamp(3.2rem,8vw,7.2rem);line-height:.92;letter-spacing:-.055em;}
.books-lead{max-width:760px;margin:24px 0 0;color:#ded6ca;font-size:clamp(1.08rem,2vw,1.3rem);line-height:1.75;}
.books-hero-note{margin-top:24px;display:flex;gap:9px;flex-wrap:wrap;}
.books-hero-note span{display:inline-flex;padding:7px 11px;border:1px solid rgba(215,180,106,.25);border-radius:999px;background:rgba(215,180,106,.07);color:#e7d4a5;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;}
.library-emblem{min-height:330px;border:1px solid rgba(215,180,106,.28);border-radius:32px;padding:28px;display:grid;place-items:center;background:linear-gradient(150deg,rgba(255,255,255,.085),rgba(255,255,255,.025));box-shadow:0 34px 90px rgba(0,0,0,.42);overflow:hidden;position:relative;}
.library-emblem::before,.library-emblem::after{content:"";position:absolute;left:8%;right:8%;height:16px;border-radius:6px;background:linear-gradient(180deg,#7f582c,#3e2917 70%,#1c120a);box-shadow:0 12px 28px rgba(0,0,0,.38);}
.library-emblem::before{bottom:30%;}.library-emblem::after{bottom:8%;}
.library-emblem-mark{position:relative;z-index:1;text-align:center;width:190px;height:245px;border:1px solid rgba(235,205,139,.5);border-radius:8px 18px 18px 8px;background:linear-gradient(145deg,#362519,#15131a 52%,#0d1823);box-shadow:-12px 12px 0 #21160e,0 28px 65px rgba(0,0,0,.5);display:flex;flex-direction:column;justify-content:center;padding:26px;transform:rotate(-2deg);}
.library-emblem-mark strong{font-family:Georgia,'Times New Roman',serif;color:#f3d793;font-size:2rem;line-height:1.05;}.library-emblem-mark span{margin-top:14px;color:#cbbd9e;font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;}
.books-section{padding:36px 0 clamp(72px,8vw,118px);}.books-section-heading{max-width:800px;margin-bottom:28px;}.books-section-heading h2{margin:0 0 12px;color:#fff1d3;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2rem,4vw,3.5rem);}.books-section-heading p{margin:0;color:var(--muted);line-height:1.7;}
.bookshelf{position:relative;padding:clamp(26px,4vw,44px) clamp(18px,4vw,42px) 54px;border:1px solid rgba(215,180,106,.25);border-radius:30px;background:linear-gradient(180deg,rgba(35,25,18,.82),rgba(13,12,15,.92));box-shadow:0 35px 90px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.05);}
.bookshelf::after{content:"";position:absolute;left:2.5%;right:2.5%;bottom:24px;height:22px;border-radius:5px;background:linear-gradient(180deg,#8c6030,#4a3019 58%,#1d1209);box-shadow:0 15px 26px rgba(0,0,0,.55),inset 0 1px rgba(255,231,177,.22);}
.book-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:clamp(24px,4vw,52px);align-items:end;}
.book-item{display:grid;grid-template-columns:minmax(160px,220px) minmax(0,1fr);gap:26px;align-items:end;grid-column:span 2;}
.book-cover-link{text-decoration:none;display:block;perspective:900px;}
.book-cover{min-height:320px;border:1px solid rgba(231,199,126,.55);border-radius:7px 18px 18px 7px;padding:28px 22px;background:linear-gradient(140deg,#3e2819 0%,#1a171b 45%,#0e1a25 100%);box-shadow:-10px 9px 0 #21150d,0 26px 45px rgba(0,0,0,.48),inset 7px 0 0 rgba(0,0,0,.22);display:flex;flex-direction:column;justify-content:space-between;transition:transform .2s ease,box-shadow .2s ease;position:relative;overflow:hidden;}
.book-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 32%,rgba(255,255,255,.08) 48%,transparent 62%);transform:translateX(-120%);transition:transform .45s ease;}.book-cover-link:hover .book-cover,.book-cover-link:focus-visible .book-cover{transform:translateY(-8px) rotateY(-3deg);box-shadow:-13px 12px 0 #21150d,0 34px 60px rgba(0,0,0,.58),inset 7px 0 0 rgba(0,0,0,.22);}.book-cover-link:hover .book-cover::after,.book-cover-link:focus-visible .book-cover::after{transform:translateX(120%);}.book-cover-link:focus-visible{outline:2px solid #e4c77e;outline-offset:8px;border-radius:12px;}
.book-cover-label{color:#d5b86e;font-size:.68rem;font-weight:900;letter-spacing:.18em;text-transform:uppercase;}.book-cover-title{display:block;margin-top:22px;color:#fff1d0;font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.65rem,3vw,2.25rem);line-height:1.02;}.book-cover-subtitle{display:block;margin-top:10px;color:#d7c296;font-family:Georgia,'Times New Roman',serif;font-size:1.18rem;font-style:italic;}.book-cover-author{display:block;color:#e2d7c4;font-size:.88rem;letter-spacing:.12em;text-transform:uppercase;}.cover-placeholder{display:block;margin-top:10px;color:#9e978d;font-size:.68rem;line-height:1.4;}
.book-details h3{margin:0;color:#fff2d8;font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.8rem,3vw,2.8rem);line-height:1.04;}.book-details .subtitle{display:block;margin-top:8px;color:#d9c18b;font-size:1.15rem;font-style:italic;}.book-details p{color:#cfc7bb;line-height:1.72;}.book-meta{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0;}.book-meta span{border:1px solid rgba(215,180,106,.25);border-radius:999px;padding:6px 10px;color:#d8c79e;font-size:.76rem;background:rgba(215,180,106,.06);}
.library-boundary{margin-top:28px;padding:18px 20px;border-left:3px solid #d7b46a;border-radius:15px;background:rgba(215,180,106,.07);color:#d8cfbf;line-height:1.65;}
.book-page-hero{padding:clamp(52px,7vw,92px) 0 38px;}.book-page-grid{display:grid;grid-template-columns:minmax(220px,330px) minmax(0,1fr);gap:clamp(34px,6vw,80px);align-items:center;}.book-page-cover .book-cover{min-height:440px;}.book-page-title{margin:0;color:#fff3db;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.6rem,6vw,5.7rem);line-height:.95;letter-spacing:-.045em;}.book-page-subtitle{display:block;margin-top:13px;color:#e1c98f;font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.5rem,3vw,2.4rem);font-style:italic;}.book-byline{margin:22px 0 0;color:#d8d0c5;font-size:1.05rem;}.book-page-summary{max-width:760px;margin:22px 0 0;color:#cfc7bb;line-height:1.75;font-size:1.05rem;}
.access-section{padding:30px 0 90px;}.access-panel{max-width:920px;margin:0 auto;border:1px solid rgba(215,180,106,.3);border-radius:30px;padding:clamp(24px,5vw,54px);background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.028));box-shadow:0 34px 90px rgba(0,0,0,.42);}.access-panel h2{margin:0;color:#fff1d1;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2rem,4vw,3.5rem);}.access-panel .access-intro{color:#d7cfc2;line-height:1.75;max-width:760px;}.access-form{margin-top:28px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;}.access-form label{grid-column:1/-1;color:#e7d5aa;font-weight:800;}.access-form input{min-height:52px;border:1px solid rgba(215,180,106,.34);border-radius:14px;padding:0 16px;background:#0b1019;color:#f7f0e5;font:inherit;letter-spacing:.08em;text-transform:uppercase;}.access-form input:focus{outline:2px solid rgba(215,180,106,.55);outline-offset:2px;}.access-form button{min-height:52px;border:1px solid rgba(215,180,106,.5);border-radius:999px;padding:0 22px;background:linear-gradient(180deg,rgba(215,180,106,.22),rgba(215,180,106,.1));color:#fff2d1;font:inherit;font-weight:900;cursor:pointer;}.access-form button:hover,.access-form button:focus-visible{background:rgba(215,180,106,.2);outline:none;}.access-status{min-height:1.6em;margin:14px 0 0;color:#e8cc8c;line-height:1.55;}.access-warning{margin-top:26px;padding:17px 19px;border:1px solid rgba(215,180,106,.2);border-radius:16px;background:rgba(7,9,14,.48);color:#bfb8ad;line-height:1.65;}.access-warning strong{color:#f0d998;}.access-paths{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px;}.access-path{border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:20px;background:rgba(0,0,0,.2);}.access-path h3{margin:0 0 8px;color:#efe0bc;font-size:1.05rem;}.access-path p{margin:0;color:#aaa49b;line-height:1.6;font-size:.92rem;}.book-experience-shell{margin-top:28px;border:1px dashed rgba(215,180,106,.3);border-radius:20px;padding:22px;}.book-back-link{margin-top:24px;display:inline-flex;}
@media(max-width:980px){.books-hero-grid,.book-page-grid{grid-template-columns:1fr;}.library-emblem{min-height:280px}.book-grid{grid-template-columns:1fr 1fr}.book-item{grid-column:1/-1}.book-page-cover{max-width:320px;margin:0 auto;width:100%;}}
@media(max-width:720px){.book-item{grid-template-columns:1fr;align-items:start}.book-cover-link{max-width:240px;margin:0 auto;width:100%}.book-details{text-align:center}.book-meta{justify-content:center}.access-form{grid-template-columns:1fr}.access-paths{grid-template-columns:1fr}.books-title{font-size:clamp(3rem,18vw,5rem)}.book-page-title{font-size:clamp(2.6rem,13vw,4.5rem)}.bookshelf{padding-left:16px;padding-right:16px}.book-grid{grid-template-columns:1fr}.book-item{grid-column:auto}}
@media(max-width:420px){.book-page-cover .book-cover{min-height:385px}.book-cover{min-height:300px}.access-panel{border-radius:22px}.library-emblem{min-height:250px}.library-emblem-mark{width:160px;height:210px}}
@media(prefers-reduced-motion:reduce){.book-cover,.book-cover::after{transition:none!important}}


/* V391 real R2 cover and public book-record presentation */
.book-cover-art{position:relative;margin:0;aspect-ratio:2/3;border:1px solid rgba(231,199,126,.55);border-radius:7px 18px 18px 7px;background:#0a0a0d;box-shadow:-10px 9px 0 #21150d,0 26px 45px rgba(0,0,0,.48),inset 7px 0 0 rgba(0,0,0,.22);overflow:hidden;transition:transform .2s ease,box-shadow .2s ease;isolation:isolate}
.book-cover-art img{display:block;width:100%;height:100%;object-fit:contain;background:#08080a}
.book-cover-spine{position:absolute;z-index:2;inset:0 auto 0 0;width:8%;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.58),rgba(255,255,255,.08),rgba(0,0,0,.15));mix-blend-mode:multiply}
.book-cover-art::after{content:"";position:absolute;z-index:3;inset:0;background:linear-gradient(115deg,transparent 34%,rgba(255,255,255,.12) 49%,transparent 64%);transform:translateX(-125%);transition:transform .45s ease;pointer-events:none}
.book-cover-link:hover .book-cover-art,.book-cover-link:focus-visible .book-cover-art{transform:translateY(-8px) rotateY(-3deg);box-shadow:-13px 12px 0 #21150d,0 34px 60px rgba(0,0,0,.58),inset 7px 0 0 rgba(0,0,0,.22)}
.book-cover-link:hover .book-cover-art::after,.book-cover-link:focus-visible .book-cover-art::after{transform:translateX(125%)}
.book-cover-art-large{max-width:330px;margin-inline:auto;box-shadow:-14px 12px 0 #21150d,0 38px 70px rgba(0,0,0,.54),inset 8px 0 0 rgba(0,0,0,.2)}
.book-overview-section{padding:22px 0 44px}
.book-overview-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr);gap:clamp(22px,4vw,42px);align-items:start}
.book-synopsis-panel,.book-facts{border:1px solid rgba(215,180,106,.25);border-radius:26px;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025));box-shadow:0 28px 70px rgba(0,0,0,.3)}
.book-synopsis-panel{padding:clamp(24px,4vw,44px)}
.book-synopsis-panel h2{margin:0 0 20px;color:#fff1d3;font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.9rem,4vw,3.2rem);line-height:1.08}
.book-synopsis-panel p{color:#d1c9bd;line-height:1.78}
.book-teaser-quote{margin:28px 0 0;padding:20px 22px;border-left:3px solid #d7b46a;border-radius:0 16px 16px 0;background:rgba(215,180,106,.07);color:#f0dba8;font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.1rem,2vw,1.35rem);font-style:italic;line-height:1.55}
.book-facts{padding:clamp(22px,3vw,32px)}
.book-facts dl{margin:0;display:grid;gap:0}
.book-fact{display:grid;grid-template-columns:minmax(86px,.42fr) minmax(0,1fr);gap:14px;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.book-fact:last-child{border-bottom:0}
.book-fact dt{color:#a9a196;font-size:.76rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.book-fact dd{margin:0;color:#eee3cf;line-height:1.48}
.book-manuscript-boundary{margin-top:22px;padding:17px 18px;border:1px solid rgba(215,180,106,.22);border-radius:16px;background:rgba(7,9,14,.48)}
.book-manuscript-boundary strong{color:#f0d998}
.book-manuscript-boundary p{margin:7px 0 0;color:#bfb8ad;line-height:1.6;font-size:.9rem}
@media(max-width:880px){.book-overview-grid{grid-template-columns:1fr}.book-cover-art-large{max-width:310px}}
@media(max-width:520px){.book-fact{grid-template-columns:1fr;gap:4px}.book-overview-section{padding-top:10px}.book-cover-art-large{max-width:260px}}
@media(prefers-reduced-motion:reduce){.book-cover-art,.book-cover-art::after{transition:none!important}}


/* V392 — confirmed R2 hero artwork for the main RNP Books library page. */
.books-hero-art{margin:0;min-height:330px;border:1px solid rgba(215,180,106,.28);border-radius:32px;background:linear-gradient(150deg,rgba(255,255,255,.085),rgba(255,255,255,.025));box-shadow:0 34px 90px rgba(0,0,0,.42);overflow:hidden;position:relative;isolation:isolate}
.books-hero-art::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,rgba(255,244,218,.09),transparent 36%,rgba(4,8,15,.18));box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)}
.books-hero-art img{display:block;width:100%;height:100%;min-height:330px;aspect-ratio:16/10;object-fit:cover;object-position:center}
@media(max-width:980px){.books-hero-art,.books-hero-art img{min-height:280px}.books-hero-art img{aspect-ratio:16/9}}
@media(max-width:520px){.books-hero-art{border-radius:22px}.books-hero-art,.books-hero-art img{min-height:220px}.books-hero-art img{aspect-ratio:4/3}}


/* V393 — Secure Coffee and The Pecan Pie owner access and companion framework. */
.book-companion-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(24px,5vw,60px);align-items:center}
.book-companion-actions{display:grid;gap:12px;min-width:min(100%,285px)}
.book-access-boundary{max-width:730px;margin:22px 0 0;padding:16px 18px;border-left:3px solid #d7b46a;border-radius:0 15px 15px 0;background:rgba(215,180,106,.07);color:#c9c1b5;line-height:1.65}
.book-access-boundary strong{color:#f0d998}
.book-access-hero{padding:clamp(42px,7vw,88px) 0 90px}
.book-access-grid{display:grid;grid-template-columns:minmax(220px,330px) minmax(0,760px);gap:clamp(28px,6vw,72px);align-items:center;justify-content:center}
.book-cover-art-access{width:100%;max-width:330px;margin-inline:auto}
.book-access-gate-panel{max-width:none;margin:0}
.book-access-gate-panel h1{margin:0;color:#fff3db;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.25rem,5vw,4.7rem);line-height:.98;letter-spacing:-.035em}
.book-access-gate-panel h1 span{display:block;margin-top:11px;color:#e1c98f;font-size:.54em;font-style:italic;letter-spacing:0}
.book-experience-label{display:inline-flex;margin:24px 0 4px;border:1px solid rgba(215,180,106,.38);border-radius:999px;padding:7px 12px;color:#efdba8;background:rgba(215,180,106,.08);font-size:.74rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.secure-access-form{margin-top:25px}
.secure-access-form input{text-transform:none;letter-spacing:.05em}
.secure-access-form button:disabled{cursor:wait;opacity:.68}
.access-help{grid-column:1/-1;margin:0;color:#a9a39a;font-size:.85rem;line-height:1.55}
.access-status[data-state="error"]{color:#ffb9ae}
.access-status[data-state="success"]{color:#bce6bd}
.access-status[data-state="loading"],.access-status[data-state="notice"]{color:#efd18b}
.access-security-note{margin-top:22px;padding:17px 19px;border:1px solid rgba(215,180,106,.2);border-radius:16px;background:rgba(7,9,14,.48)}
.access-security-note strong{color:#f0d998}
.access-security-note p{margin:7px 0 0;color:#bfb8ad;line-height:1.62}
.rnp-book-experience-page .experience-hero{padding:clamp(48px,7vw,92px) 0 34px;text-align:center}
.experience-unlocked-badge{display:inline-flex;border:1px solid rgba(143,211,163,.4);border-radius:999px;padding:7px 12px;color:#c8ebcf;background:rgba(70,151,94,.1);font-size:.73rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.experience-hero h1{max-width:950px;margin:20px auto 0;color:#fff3db;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.7rem,7vw,6rem);line-height:.96;letter-spacing:-.045em}
.experience-hero h1 span{display:block;margin-top:12px;color:#e1c98f;font-size:.43em;font-style:italic;letter-spacing:0}
.experience-hero .book-byline{margin-top:20px}
.experience-preparing{max-width:760px;margin:26px auto 0;color:#d0c7ba;font-size:1.06rem;line-height:1.78}
.experience-content{padding:12px 0 90px}
.experience-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.experience-card{min-height:180px;border:1px solid rgba(215,180,106,.22);border-radius:22px;padding:24px;background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.02))}
.experience-card h2{margin:0;color:#f0dfba;font-family:Georgia,'Times New Roman',serif;font-size:1.35rem}
.experience-card p{color:#aaa49b;line-height:1.65}
.experience-card .coming-soon{display:inline-flex;margin-top:8px;color:#d4bd86;font-size:.73rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.experience-lock-panel{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:26px;border:1px solid rgba(215,180,106,.25);border-radius:22px;padding:22px 24px;background:rgba(0,0,0,.24)}
.experience-lock-panel p{margin:0;color:#bdb5a9;line-height:1.6}
.experience-lock-panel form{margin:0}
.experience-lock-button{border:1px solid rgba(215,180,106,.5);border-radius:999px;padding:12px 19px;background:rgba(215,180,106,.09);color:#f4dfae;font:inherit;font-weight:900;cursor:pointer;white-space:nowrap}
.experience-lock-button:hover,.experience-lock-button:focus-visible{background:rgba(215,180,106,.19);outline:2px solid rgba(215,180,106,.42);outline-offset:2px}
@media(max-width:880px){.book-companion-cta{grid-template-columns:1fr}.book-companion-actions{min-width:0}.book-access-grid{grid-template-columns:1fr}.book-cover-art-access{max-width:270px}.experience-grid{grid-template-columns:1fr}}
@media(max-width:620px){.experience-lock-panel{align-items:stretch;flex-direction:column}.experience-lock-button{width:100%}.book-access-gate-panel{padding:24px 20px}.book-access-hero{padding-top:34px}}
