/* Trilogy v2.16.101: isolated cinematic layout, inherits approved v2.16.100 sticky header */
body.bm3-page{background:#02080a;color:#eee4d5;font-family:Georgia,'Times New Roman',serif;overflow-x:clip}
body.bm3-page *{box-sizing:border-box}
body.bm3-page img{max-width:100%;display:block}
body.bm3-page .bm3-container{width:min(1280px,calc(100% - 72px));margin:0 auto}
body.bm3-page main{display:block}
body.bm3-page main a{text-decoration:none}
body.bm3-page main p,body.bm3-page main h1,body.bm3-page main h2,body.bm3-page main h3{margin:0}
body.bm3-page main section[id],body.bm3-page .bm3-book[id]{scroll-margin-top:90px}
body.bm3-page .bm3-eyebrow{font:700 11px/1.4 Georgia,serif;color:#e4be83;letter-spacing:.23em;text-transform:uppercase}
body.bm3-page .bm3-button{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:44px;padding:12px 18px;border:2px solid #b58a55;font:700 11px/1.15 Georgia,serif;letter-spacing:.1em;text-transform:uppercase;white-space:normal;text-align:center;transition:transform .2s,background .2s}
body.bm3-page .bm3-button:hover{transform:translateY(-2px)}
body.bm3-page .bm3-button:focus-visible,body.bm3-page a:focus-visible{outline:3px solid #e8c58c;outline-offset:3px}
body.bm3-page .bm3-button--gold{background:linear-gradient(135deg,#d8bd8e,#927046);color:#110e0b;box-shadow:inset 0 0 0 1px #f7e0ac8a,0 4px 20px #0008}
body.bm3-page .bm3-button--clear{background:#051011ec;color:#f1dfc8;box-shadow:inset 0 0 0 1px #b88d4b3d}
body.bm3-page .bm3-ornament{display:block;color:#dbb37b;font-size:19px;line-height:1;text-shadow:0 0 9px #c49552a0}
/* Hero uses photographic assets solely as scenery; headings and book covers are real DOM elements */
.bm3-hero{position:relative;isolation:isolate;overflow:hidden;min-height:clamp(520px,43vw,605px);background:#030a0d;border-bottom:2px solid #a67e4b}
.bm3-hero-image{position:absolute;inset:0 0 0 27%;z-index:-2;background:url('/assets/images/blackmere-trilogy-v2.16.101/trilogy-hero.webp') center 47%/cover no-repeat}
.bm3-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#020809 0%,#020809ef 19%,#020809c9 32%,#02080965 56%,#0208092b),linear-gradient(0deg,#020809c7,transparent 36%)}
.bm3-hero-wrap{min-height:inherit;display:grid;grid-template-columns:40% 60%;align-items:center}
.bm3-hero-copy{z-index:2;padding:43px 10px 50px 0}
body.bm3-page .bm3-hero h1{font:400 clamp(52px,5.4vw,78px)/.95 Georgia,serif;color:#f0c997;text-shadow:0 4px 17px #000d;letter-spacing:.008em;margin:12px 0}
.bm3-hero-copy .bm3-ornament{margin:2px 0 15px 100px}
body.bm3-page .bm3-lede{max-width:43ch;font:400 clamp(15px,1.3vw,18px)/1.55 Georgia,serif;color:#f5e9db;text-shadow:0 2px 8px #000b}
.bm3-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.bm3-hero-books{display:flex;justify-content:flex-end;align-items:center;gap:clamp(11px,1.8vw,27px);padding:55px 0 0 10px}
.bm3-hero-books a{width:clamp(120px,14vw,186px);display:block;flex-shrink:1;background:#090c0d;padding:4px;border:4px double #cdaa73;box-shadow:0 0 0 1px #513921,0 12px 25px #000d}
.bm3-hero-books img{width:100%;height:auto;aspect-ratio:992/1586;object-fit:contain}
/* Editorial two-column introduction */
.bm3-intro{display:grid;grid-template-columns:46% 54%;min-height:310px;background:#060c0f;border-bottom:2px solid #765934}
.bm3-intro-copy{padding:40px clamp(26px,4vw,65px) 40px max(42px,calc((100vw - 1280px)/2));display:flex;flex-direction:column;justify-content:center;gap:13px}
body.bm3-page .bm3-intro h2{font:400 clamp(31px,2.9vw,43px)/1.08 Georgia,serif;color:#e8c28c;letter-spacing:.004em}
body.bm3-page .bm3-intro-copy>p:not(.bm3-eyebrow){font:400 16px/1.53 Georgia,serif;max-width:58ch;color:#e4d7c7}
.bm3-intro-copy .bm3-ornament{width:185px;border-bottom:1px solid #9e784b;text-align:center;line-height:.7;margin-top:8px}
.bm3-intro-image{position:relative;overflow:hidden;min-height:310px}
.bm3-intro-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.bm3-intro-image:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#060c0f,transparent 29%);z-index:1}
/* Three distinct real books; all cover files retain approved artwork and proportions */
.bm3-books{background:radial-gradient(ellipse at 50% 3%,#0c1d24,#030a0d 70%);padding:38px 0 48px;border-bottom:2px solid #86653f}
.bm3-heading{text-align:center;max-width:950px;margin:0 auto 27px}
body.bm3-page .bm3-heading h2{font:400 clamp(34px,3.3vw,47px)/1.1 Georgia,serif;color:#edc38b;letter-spacing:.06em;margin:4px 0 5px}
body.bm3-page .bm3-heading>p:last-child:not(.bm3-eyebrow){font:700 11px/1.5 Georgia,serif;letter-spacing:.22em;color:#d6b884}
.bm3-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(25px,4vw,62px)}
.bm3-book{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center}
.bm3-book-kicker{font:700 11px/1.3 Georgia,serif;color:#deb17b;letter-spacing:.21em;margin-bottom:8px}
.bm3-cover-frame{width:min(100%,225px);padding:5px;border:5px double #d4a96d;background:#171410;box-shadow:inset 0 0 0 1px #f1c98f7f,0 0 0 1px #4a3321,0 10px 28px #000c}
.bm3-cover-frame img{aspect-ratio:992/1586;object-fit:contain;height:auto;width:100%}
body.bm3-page .bm3-book h3{font:400 clamp(17px,1.7vw,22px)/1.15 Georgia,serif;color:#edd0a3;max-width:29ch;margin:17px 0 8px;min-height:52px}
body.bm3-page .bm3-book>p{font:400 clamp(14px,1.1vw,16px)/1.4 Georgia,serif;color:#e3d5c7;max-width:35ch;min-height:95px}
.bm3-book-actions{display:flex;flex-direction:column;gap:6px;width:min(100%,235px);margin-top:13px}
.bm3-book-actions .bm3-button{min-height:40px;font-size:10px;padding:8px 11px}
/* Reading order fixed-height panoramic cards */
.bm3-order{background:#030a0d;border-bottom:1px solid #765934;padding:29px 0 32px}
.bm3-heading--compact{margin-bottom:19px}
body.bm3-page .bm3-heading--compact h2{font-size:clamp(22px,2.1vw,29px);letter-spacing:.02em;color:#f0d6b2;margin-top:7px}
.bm3-route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:29px}
.bm3-route-card{position:relative;height:165px;border:3px double #b58c55;overflow:hidden;background:#070f11;box-shadow:inset 0 0 0 2px #e0b9852d;isolation:isolate;transition:border-color .2s}
.bm3-route-card:hover{border-color:#e3c08a}
.bm3-route-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.bm3-route-card:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#020405f1,#02040560 55%,transparent)}
.bm3-route-label{display:flex;height:100%;flex-direction:column;justify-content:flex-end;align-items:center;text-align:center;padding:15px 8px}
.bm3-route-label strong{font:400 17px/1.2 Georgia,serif;color:#eac18e;letter-spacing:.04em}
.bm3-route-label small{font:400 13px/1.4 Georgia,serif;color:#eddfcc;margin-top:3px}
/* Themes as a deliberate editorial strip */
.bm3-themes{padding:25px 0 30px;background:#060c0e;border-bottom:1px solid #725235}
.bm3-themes-row{display:grid;grid-template-columns:1.25fr repeat(4,1fr);align-items:stretch}
.bm3-theme-intro,.bm3-theme{padding:7px 16px 10px;border-right:1px solid #c39c694d}
.bm3-theme-intro{padding-left:0}.bm3-theme:last-child{border-right:0}
body.bm3-page .bm3-theme-intro p:last-child{font:400 14px/1.45 Georgia,serif;color:#e2d4c3;margin-top:12px}
.bm3-theme{text-align:center;display:flex;flex-direction:column;align-items:center}
.bm3-theme-icon{display:block;line-height:1;font-size:29px;color:#ba915e;margin:-1px 0 11px}
body.bm3-page .bm3-theme h3{font:400 15px/1.2 Georgia,serif;color:#e4bb85;letter-spacing:.12em;margin:0 0 8px}
body.bm3-page .bm3-theme p{font:400 13px/1.42 Georgia,serif;color:#ddd0bf}
/* Cinematic end note with distinct new scenery */
.bm3-quote{position:relative;isolation:isolate;min-height:188px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px 22px;background:#031015;border-bottom:2px solid #a77b45;overflow:hidden}
.bm3-quote-bg{position:absolute;z-index:-2;inset:0;background:url('/assets/images/blackmere-trilogy-v2.16.101/trilogy-end.webp') center 46%/cover no-repeat}
.bm3-quote:before{position:absolute;inset:0;content:"";z-index:-1;background:#031015c0}
body.bm3-page .bm3-quote .bm3-motto{font:italic 400 clamp(19px,2vw,28px)/1.3 Georgia,serif;max-width:880px;letter-spacing:.05em;color:#f6e6d3;margin:0 0 10px}
.bm3-quote .bm3-ornament{margin:0 0 7px}
body.bm3-page .bm3-quote p{font:700 11px/1.4 Georgia,serif;color:#e4c18b;letter-spacing:.26em}
.bm3-final{background:#050b0e;padding:28px 0 32px}
.bm3-final-row{display:flex;align-items:center;justify-content:space-between;gap:35px}
body.bm3-page .bm3-final h2{font:400 clamp(21px,2vw,29px)/1.2 Georgia,serif;color:#f1dfc4;margin:7px 0}
body.bm3-page .bm3-final p:not(.bm3-eyebrow){font:400 14px/1.45 Georgia,serif;color:#d5c9ba;max-width:71ch}
.bm3-final-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.bm3-final-actions .bm3-button{min-height:43px;font-size:10px}
@media(max-width:1150px){.bm3-hero-wrap{grid-template-columns:43% 57%}.bm3-hero-books{gap:10px;padding-left:12px}.bm3-hero-books a{width:30%}.bm3-actions .bm3-button{font-size:10px;padding:11px 13px}.bm3-intro-copy{padding-left:36px}}
@media(max-width:850px){body.bm3-page .bm3-container{width:calc(100% - 40px)}.bm3-hero{min-height:625px}.bm3-hero-wrap{grid-template-columns:1fr;align-content:center}.bm3-hero-copy{max-width:550px;padding:25px 0 0}.bm3-hero-books{justify-content:flex-start;padding:0;max-width:440px;margin-bottom:23px}.bm3-hero-books a{width:29%;max-width:120px}.bm3-hero h1{font-size:55px!important}.bm3-hero-image{left:0}.bm3-hero:before{background:linear-gradient(90deg,#020809e8,#020809a0),linear-gradient(0deg,#020809b0,transparent 60%)}.bm3-intro{grid-template-columns:1fr 1fr}.bm3-intro-copy{padding:28px}.bm3-intro h2{font-size:32px!important}.bm3-book-grid{gap:20px}.bm3-cover-frame{max-width:185px}.bm3-book h3{font-size:18px!important}.bm3-route-grid{gap:10px}.bm3-route-card{height:150px}.bm3-themes-row{grid-template-columns:repeat(4,1fr)}.bm3-theme-intro{grid-column:1/-1;border-right:0;border-bottom:1px solid #916e42;padding-bottom:20px;margin-bottom:18px}.bm3-final-row{flex-direction:column;align-items:stretch;gap:20px}.bm3-final-actions{justify-content:flex-start}}
@media(max-width:650px){.bm3-hero{min-height:745px}.bm3-hero-wrap{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;padding:55px 0 30px}.bm3-hero-copy{padding:0}.bm3-hero h1{font-size:clamp(46px,13vw,59px)!important}.bm3-hero-books{width:100%;max-width:none;justify-content:space-around;margin-top:25px}.bm3-hero-books a{width:29%;max-width:118px}.bm3-lede{font-size:16px!important}.bm3-actions{gap:8px}.bm3-actions .bm3-button{flex:1 1 155px;min-height:44px}.bm3-intro{grid-template-columns:1fr}.bm3-intro-copy{padding:33px 22px}.bm3-intro-image{min-height:210px;height:210px}.bm3-intro-image:before{background:linear-gradient(0deg,transparent 70%,#060c0f)}.bm3-books{padding:32px 0}.bm3-book-grid{grid-template-columns:1fr;gap:38px}.bm3-cover-frame{width:225px;max-width:80%}.bm3-book h3{min-height:0!important;margin-top:13px!important}.bm3-book>p{min-height:0!important}.bm3-book-actions{width:225px}.bm3-route-grid{grid-template-columns:1fr;gap:12px}.bm3-route-card{height:150px}.bm3-themes-row{grid-template-columns:repeat(2,1fr);gap:17px 0}.bm3-theme:nth-child(3){border-right:0}.bm3-theme-intro{margin-bottom:8px}.bm3-quote{min-height:195px}.bm3-final-actions{flex-direction:column;align-items:stretch}.bm3-final-actions .bm3-button{justify-content:center}}
@media(max-width:370px){.bm3-hero{min-height:790px}.bm3-route-label small{font-size:12px}}
@media(prefers-reduced-motion:reduce){body.bm3-page .bm3-button,.bm3-route-card{transition:none}}
