/* Atlas edition: artwork and controls share the existing book palette. */
body{isolation:isolate;background:#211a14}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(90deg,#180f09cf 0%,#1c130a99 32%,#24180e42 68%,#1c140c70 100%),linear-gradient(180deg,#1b130d33,#211a1470 80%),url('assets/atlas-v2.webp');background-position:center,center,58% 42%;background-size:cover;background-repeat:no-repeat}
.site-head{border-color:#b18a4b55}
.hero{position:relative}
.hero-intro p+p,.hero-facts,.hero .affiliate{color:#c5b59b}
.cover-glow{background:radial-gradient(ellipse,#e1b35d32 0,#b37b311c 38%,transparent 70%)}
.library{background:linear-gradient(180deg,#211a14b5,#211a14ed);border-top-color:#a17e4759}
.case-card{background:#2a2119f5;box-shadow:0 9px 28px #0b07041f}
.edition-band{background:#2a2018e8;backdrop-filter:blur(3px)}
.sample-section{position:relative}
.purchase-band{background-image:linear-gradient(#efdfc1ed,#efdfc1f5),url('assets/atlas-v2.webp');background-size:cover;background-position:50% 55%}
.site-foot{background:#211a14c7}
.case-dialog-head{background-image:linear-gradient(90deg,#23180fec,#23180fd6),url('assets/atlas-v2.webp');background-size:cover;background-position:57% 38%}
.case-dialog::backdrop{background:#100b07cf;backdrop-filter:blur(6px)}
.case-dialog>footer{display:flex;align-items:center;justify-content:space-between;gap:18px}
.atmosphere-toggle,.site-head nav .atmosphere-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-height:44px;border:1px solid #b18d545e;border-radius:50%;padding:0;background:#21170fbd;color:#e0c18b;box-shadow:inset 0 1px #fff1;transition:background .2s,border-color .2s,color .2s,transform .15s}
.atmosphere-toggle:hover,.site-head nav .atmosphere-toggle:hover{background:#503b22;border-color:#d2ad6c}
.atmosphere-toggle[aria-pressed=true],.site-head nav .atmosphere-toggle[aria-pressed=true]{background:#d3ad6a;color:#211a14;border-color:#e2c28b}
.atmosphere-toggle:active{transform:translateY(1px)}
.atmosphere-toggle:focus-visible{outline:3px solid #f0d5a3;outline-offset:4px}
.atmosphere-toggle svg{width:19px;height:19px;stroke-width:1.7;pointer-events:none}
.atmosphere-toggle .sound-on{display:none}.atmosphere-toggle[aria-pressed=true] .sound-off{display:none}.atmosphere-toggle[aria-pressed=true] .sound-on{display:block}
.atmosphere-toggle[aria-busy=true]{opacity:.6}
@media(max-width:760px){.site-head nav{gap:16px}.site-head .all-previews{margin-left:0}}
@media(max-width:600px){body::before{background-image:linear-gradient(90deg,#21160dcf,#21160d85 70%,#21160d9c),linear-gradient(180deg,#211a1433,#211a1480),url('assets/atlas-v2.webp');background-position:center,center,56% 32%}.library{background:linear-gradient(180deg,#211a14bf,#211a14ed)}.site-head nav{gap:12px}.site-head nav .atmosphere-toggle{width:44px;height:44px;min-height:44px;border-color:#b18d547c}.hero-intro p+p{color:#c8b89e}.case-dialog>footer{padding-block:10px}.case-dialog-head{background-position:55% 25%}}
@media(max-width:370px){.site-head nav>a[href="#faelle"]{display:none}.site-head nav{gap:13px}.brand .beami-mark{width:108px}}
@media(prefers-reduced-motion:reduce){.atmosphere-toggle{transition:none;transform:none!important}}

/* Bounded contrast correction: retain atlas, typography and section layout. */
.purchase-band{color:#352516;background-image:linear-gradient(#efdfc1f5,#efdfc1fa),url('assets/atlas-v2.webp')}
.purchase-band .eyebrow,.purchase-band h2 em{color:#684315}
.purchase-band h2{color:#352516}
.purchase-band .purchase-subtitle,.purchase-band .purchase-details{color:#4e3b29}
.purchase-band .isbn,.purchase-band .affiliate{color:#5a4935}
.purchase-band .purchase-actions .button{background:#3c2a1c;color:#fff4db;border:1.5px solid #3c2a1c;font-size:14px;min-height:52px}
.purchase-band .purchase-actions .button:hover{background:#533a23;border-color:#533a23}
.purchase-band .purchase-actions .outline-button{background:#fff5df;color:#342416;border:1.5px solid #765730;font-size:14px;min-height:52px}
.purchase-band .purchase-actions .outline-button:hover{background:#e9d2a8;border-color:#533a23}
.purchase-band .purchase-actions a:focus-visible{outline:3px solid #4e3014;outline-offset:4px}
.edition-band{color:#f0e2c7}
.edition-grid .eyebrow,.edition-grid em,.edition-points article>span{color:#d3ad6a}
.edition-lead,.edition-points p{color:#c5b59b}
.edition-points article{border-color:#85643d}
.case-dialog>footer .case-back:only-child{margin-left:auto}
@media(max-width:600px){.purchase-band .purchase-actions{flex-direction:column;align-items:stretch}.purchase-band .purchase-actions .button,.purchase-band .purchase-actions .outline-button{justify-content:space-between;gap:8px;font-size:13px;padding:13px 12px;text-align:left;white-space:normal;min-height:52px}.purchase-band .purchase-actions svg{width:16px;height:16px}.purchase-band .purchase-details{font-size:12px}.purchase-band .isbn,.purchase-band .affiliate{font-size:11px}}

/* Purchase focus clearance above the existing fixed mobile buy bar. */
@media(max-width:600px){html{scroll-padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}.purchase-band .purchase-actions a{scroll-margin-bottom:calc(90px + env(safe-area-inset-bottom,0px))}}

@media(max-width:600px){.purchase-actions-visible .mobile-buy{visibility:hidden;pointer-events:none}.purchase-band .purchase-actions a{scroll-margin-bottom:12px}}
