@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;600&family=Manrope:wght@400;500;600&display=swap');
:root{color-scheme:dark;--ink:#101a22;--paper:#f8f3e8;--gold:#dcaf78;--muted:#bcc4c7;--line:rgba(246,236,220,.2);font-family:'DM Sans',sans-serif;background:var(--ink);color:var(--paper);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:6.5rem}body{margin:0;overflow-x:clip}a{color:inherit;text-decoration:none}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}a:focus-visible,button:focus-visible{outline:2px solid var(--gold);outline-offset:7px}::selection{background:#c2a172;color:#101a22}.skip-link{position:fixed;top:-10rem;left:1rem;z-index:100;background:var(--paper);color:var(--ink);padding:1rem}.skip-link:focus{top:1rem}
#book-scene{position:fixed;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 78% 43%,#2c4146 0%,#182730 35%,var(--ink) 76%)}#book-scene canvas{width:100%;height:100%;display:block;opacity:0;transition:opacity 1s}.has-scene #book-scene canvas{opacity:1}.scene-light{position:fixed;inset:0;pointer-events:none;z-index:1;background:linear-gradient(90deg,rgba(16,26,34,.96) 0%,rgba(16,26,34,.85) 25%,rgba(16,26,34,.48) 42%,transparent 63%)}
.masthead{position:absolute;z-index:10;top:0;left:0;width:100%;padding:2rem 5vw;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:2rem}.wordmark{font-family:Georgia,serif;font-size:1.65rem;letter-spacing:-.025em;white-space:nowrap}.wordmark span{display:block;font-family:'DM Sans',sans-serif;font-size:.75rem;letter-spacing:.3em;margin-top:.45rem;color:var(--gold)}nav{display:flex;align-items:center;gap:2.3rem;font-size:.9rem}nav a{transition:color .2s}nav a:hover{color:var(--gold)}.nav-buy{border-bottom:1px solid var(--gold);padding:.7rem 0}.nav-buy span{margin-left:.7rem;color:var(--gold)}
.nav-buy [data-i18n]{margin-left:0}.masthead nav{padding-right:5.25rem}.language-toggle{position:fixed;z-index:20;top:1.45rem;right:1.5rem;display:flex;align-items:center;gap:.25rem;padding:.3rem .42rem;border:1px solid currentColor;border-radius:2rem;color:inherit;background:#101a22e6;backdrop-filter:blur(12px);box-shadow:0 7px 24px #0002}.language-option{border:0;border-radius:1.25rem;background:transparent;color:inherit;padding:.42rem .48rem;cursor:pointer;font-size:.75rem;line-height:1;letter-spacing:.08em;opacity:.58}.language-option.is-active{background:var(--gold);color:#241710;opacity:1;font-weight:700}.language-toggle>span{opacity:.35;font-size:.7rem}
main,footer{position:relative;z-index:2}.chapter{min-height:125svh;display:flex;align-items:center;padding:10rem 7.5vw;position:relative;scroll-margin-top:0}.chapter-copy{width:min(33rem,43vw)}.hero{min-height:100svh;padding-top:11rem;padding-bottom:8rem}.eyebrow{font-size:.78rem;letter-spacing:.18em;font-weight:500;line-height:1.8;color:var(--gold);margin:0 0 2rem}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.06em;margin:0;line-height:1.04}h1{font-size:clamp(4.5rem,7vw,7.2rem)}h1 em,h2 em{font-weight:400;color:var(--gold)}h2{font-size:clamp(3.2rem,4.6vw,5rem);margin-bottom:2rem}.subtitle{font-family:Georgia,serif;letter-spacing:.015em;font-size:1.4rem;margin:1.5rem 0 2rem;color:#eee3d4}.intro{font-size:1.15rem;line-height:1.7;color:var(--muted);margin-bottom:2rem}.chapter-copy>p:not(.eyebrow,.subtitle,.edition,.intro){font-size:1.08rem;line-height:1.85;color:#d6dadb;margin:1.3rem 0;max-width:32rem}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:3rem;background:var(--gold);color:#182128;padding:1.1rem 1.5rem;font-size:1rem;font-weight:600;border:1px solid var(--gold);transition:background .25s,transform .25s}.button:hover{background:#efd0a4;transform:translateY(-2px)}.button span{font-size:1.4rem;font-weight:400}.edition{font-size:.75rem;letter-spacing:.07em;line-height:1.8;color:#aeb9bf;margin:1.3rem 0 0}.scroll-cue{position:absolute;bottom:2.2rem;left:7.5vw;display:flex;align-items:center;gap:1.2rem;color:#c6ccd0;font-size:.8rem;letter-spacing:.02em}.scroll-line{height:1px;width:3rem;background:var(--gold)}.scroll-cue>span:last-child{color:var(--gold);font-size:1.2rem}.fallback-cover{position:absolute;right:12%;width:min(28vw,23rem);height:auto;object-fit:contain;filter:drop-shadow(0 20px 30px #0008);transform:rotate(6deg)}.has-scene .fallback-cover{opacity:0;pointer-events:none}
.book-details{display:flex;flex-wrap:wrap;gap:1rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--line);font-size:.85rem;color:var(--gold)}.book-details span+span{border-left:1px solid var(--line);padding-left:1rem}.themes{margin:2.3rem 0 0;padding:0;list-style:none}.themes li{display:flex;gap:1.2rem;padding:1.2rem 0;border-top:1px solid var(--line)}.themes li>span{font-family:Georgia,serif;font-size:1rem;color:var(--gold);padding-top:.1rem}.themes h3{font-size:1.08rem;font-weight:500;margin:0 0 .5rem}.themes p{font-size:1rem;line-height:1.7;color:var(--muted);margin:0}.author-intro{display:flex;gap:1.6rem;align-items:center;margin:2.2rem 0}.author-intro img{width:7.5rem;height:9rem;object-fit:cover;object-position:center 25%;border-radius:50% 50% 0 0;filter:saturate(.7)}.author-intro p{font-family:Georgia,serif;font-size:1.2rem;line-height:1.65;color:#e5d9c8;margin:0}.closing{min-height:100svh}.closing h2{font-size:clamp(3rem,4.2vw,4.5rem)}.closing .button{margin-top:1.5rem}footer{display:flex;gap:2rem;justify-content:space-between;align-items:center;padding:2rem 5vw 5.5rem;border-top:1px solid var(--line);font-size:.8rem;color:#bbc3c7;background:#101a22e8}.site-credit{position:absolute;right:5vw;bottom:1.65rem;font-size:.68rem;letter-spacing:.12em;color:#8f9a9f}.site-credit strong{font-weight:600;color:var(--gold)}.reading-progress{position:fixed;bottom:0;left:0;width:100%;height:2px;background:#ffffff10;z-index:11}#progress-fill{display:block;width:100%;height:100%;background:var(--gold);transform:scaleX(0);transform-origin:left}.motion-toggle{position:fixed;bottom:1.4rem;right:2rem;z-index:10;display:flex;gap:.7rem;align-items:center;border:1px solid #ffffff28;border-radius:2rem;background:#101a22dc;color:#dae1e3;font-size:.8rem;padding:.7rem 1rem;cursor:pointer;backdrop-filter:blur(10px)}.motion-toggle[hidden]{display:none}.motion-toggle:hover{border-color:var(--gold)}
@media(min-width:1500px){.chapter{padding-left:max(7.5vw,calc((100vw - 1320px)/2))}.chapter-copy{width:35rem}.scroll-cue{left:max(7.5vw,calc((100vw - 1320px)/2))}}
@media(max-width:900px){.masthead{padding:1.4rem 5vw}.wordmark{font-size:1.4rem}nav{gap:1.2rem}nav a:not(.nav-buy){display:none}.chapter-copy{width:47vw}h1{font-size:clamp(3.7rem,8vw,5.5rem)}h2{font-size:clamp(2.9rem,5.6vw,4rem)}.chapter{padding-left:6vw;padding-right:6vw}.scroll-cue{left:6vw}.button{gap:1.6rem}.scene-light{background:linear-gradient(90deg,#101a22ed 0%,#101a22bc 35%,transparent 75%)}footer{flex-wrap:wrap}}
@media(max-width:600px){html{scroll-padding-top:2rem}.masthead{gap:1rem}.wordmark{font-size:1.2rem}.wordmark span{font-size:.7rem}nav{font-size:.8rem}.nav-buy{max-width:10rem}.nav-buy span{margin-left:.25rem}.chapter{padding:24svh 7vw 12svh;min-height:120svh;align-items:center}.hero{min-height:100svh;padding-top:21svh;padding-bottom:8rem;align-items:flex-start}.chapter-copy{width:100%;max-width:31rem}.hero .chapter-copy{width:100%}.hero h1{font-size:clamp(3.7rem,14vw,5.1rem);max-width:24rem}.hero .eyebrow{font-size:.7rem;max-width:19rem;margin-bottom:1.4rem}.subtitle{font-size:1.15rem;margin-top:1rem}.intro{font-size:1rem;margin-top:34svh}.button{font-size:.95rem}.scene-light{background:linear-gradient(180deg,#101a2250,transparent 22%,#101a2220 46%,#101a22bb 82%,#101a22 100%)}.reading-panel{background:#101a22ed;padding:1.8rem 1.4rem;border-top:1px solid #d8ac7850;border-bottom:1px solid #d8ac7833;backdrop-filter:blur(12px)}.reading-panel h2{font-size:clamp(2.4rem,9vw,3.3rem)}.chapter-copy>p:not(.eyebrow,.subtitle,.edition,.intro){font-size:1rem;line-height:1.8}.eyebrow{font-size:.75rem}.scroll-cue{font-size:.75rem;gap:.7rem;left:7vw;bottom:2rem}.scroll-line{width:1.8rem}.motion-toggle{right:.8rem;bottom:.8rem;font-size:.75rem;padding:.65rem .85rem}.hero .edition{max-width:19rem}.fallback-cover{top:47svh;right:20%;width:45vw;max-height:30svh;object-fit:contain}.author-intro{gap:1rem}.author-intro img{width:5.6rem;height:7rem}.author-intro p{font-size:1.05rem}.themes h3{font-size:1rem}.themes p{font-size:1rem}.book-details{font-size:.8rem;gap:.75rem}.book-details span+span{padding-left:.75rem}.closing{min-height:100svh}footer{font-size:.75rem;padding:2rem 7vw 5rem;gap:1rem;align-items:flex-start;flex-direction:column}.site-credit{right:7vw;bottom:1.35rem;font-size:.62rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}.has-scene #book-scene canvas{opacity:1}}

/* Four continuous atmospheres sit behind the same, uninterrupted 3D book. */
.atmospheres{position:fixed;inset:0;z-index:0;pointer-events:none}
.atmosphere,.veil{position:absolute;inset:0;opacity:0;transition:opacity 950ms cubic-bezier(.22,.61,.36,1)}
.atmosphere-dusk{background:radial-gradient(ellipse at 78% 43%,#2c4146 0%,#182730 35%,#101a22 76%);opacity:1}
.atmosphere-paper{background:radial-gradient(ellipse at 76% 40%,#f5e4c7 0%,#dcb785 48%,#c9a170 100%)}
.atmosphere-wine{background:radial-gradient(ellipse at 76% 44%,#8a4944 0%,#522731 44%,#301822 100%)}
.atmosphere-ivory{background:radial-gradient(ellipse at 78% 35%,#d3c1b5 0%,#eee9e3 46%,#faf7f1 100%)}
#book-scene{z-index:1;background:none}
.scene-light{z-index:2;background:none}
.veil-dusk{background:linear-gradient(90deg,#101a22f5 0%,#101a22d9 25%,#101a227a 42%,transparent 63%);opacity:1}
.veil-paper{background:linear-gradient(90deg,#dfbd8ff5 0%,#dfbd8fc9 28%,#dfbd8f3d 47%,transparent 63%)}
.veil-wine{background:linear-gradient(90deg,#361a25f5 0%,#361a25db 28%,#361a2566 45%,transparent 65%)}
.veil-ivory{background:linear-gradient(90deg,#f7f3ecf5 0%,#f7f3ecc9 28%,#f7f3ec55 47%,transparent 65%)}
body[data-atmosphere="paper"] :is(.atmosphere-dusk,.veil-dusk),body[data-atmosphere="wine"] :is(.atmosphere-dusk,.veil-dusk),body[data-atmosphere="ivory"] :is(.atmosphere-dusk,.veil-dusk){opacity:0}
body[data-atmosphere="paper"] :is(.atmosphere-paper,.veil-paper),body[data-atmosphere="wine"] :is(.atmosphere-wine,.veil-wine),body[data-atmosphere="ivory"] :is(.atmosphere-ivory,.veil-ivory){opacity:1}
main,footer{z-index:3}
.chapter-folio{position:absolute;top:5rem;left:7.5vw;font-family:Georgia,serif;font-size:14rem;line-height:1;font-weight:400;letter-spacing:-.09em;pointer-events:none;transform:translateY(var(--folio-offset,0px));opacity:.13;user-select:none}
.chapter-copy{position:relative}
.chapter-paper{--gold:#78372b;--muted:#4e382d;--line:#754c3640;color:#33251e}
.chapter-paper .reading-panel{border-left:2px solid #8e503b;padding:1rem 0 1rem 2rem;background:linear-gradient(90deg,#dfbd8ff0,#dfbd8fc9 76%,#dfbd8f00)}
.chapter-paper .chapter-folio{color:#713e2b}
.chapter-paper .chapter-copy>p:not(.eyebrow,.subtitle,.edition,.intro){color:#463226}
.chapter-paper .chapter-copy>p:nth-of-type(2){font-family:Georgia,serif;font-size:1.55rem;line-height:1.6;color:#573124}
.chapter-paper .book-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding-top:1.7rem;font-size:.9rem;line-height:1.65}
.chapter-paper .book-details span+span{padding-left:1rem}
.chapter-wine{--gold:#efbd9f;--muted:#ead8d4;--line:#f5cec140;color:#fff1e5}
.chapter-wine .reading-panel{padding:2rem 1.8rem 2rem 0;background:linear-gradient(90deg,#361a25eb,#361a25b8 82%,#361a2500)}
.chapter-wine .chapter-copy>p:not(.eyebrow,.subtitle,.edition,.intro){color:#ead8d4}
.chapter-wine .chapter-folio{color:transparent;-webkit-text-stroke:1px #eab59c;opacity:.3;font-size:19rem;top:3.5rem}
.chapter-wine .themes li{padding:1.6rem 0;gap:1.4rem}
.chapter-wine .themes li>span{font-size:2.25rem;line-height:1.2;opacity:.75}
.chapter-wine .themes h3{font-family:Georgia,serif;font-size:1.45rem;font-weight:400}
.chapter-ivory{--gold:#824b3e;--muted:#594c46;--line:#8f736445;color:#302c29}
.chapter-ivory .reading-panel{padding:2.5rem 2rem 2.5rem 0;background:linear-gradient(90deg,#f7f3ecf2,#f7f3ecde 80%,#f7f3ec00)}
.chapter-ivory .chapter-folio{font-size:11rem;color:#845d50;opacity:.12;top:7rem}
.chapter-ivory h2{font-size:clamp(3.5rem,5vw,5.4rem)}
.chapter-ivory .chapter-copy>p:not(.eyebrow,.subtitle,.edition,.intro){color:#594c46}
.chapter-ivory .author-intro{border-left:3px solid #ae7964;padding:1rem 0 1rem 1.4rem;margin:2.4rem 0}
.chapter-ivory .author-intro p{font-size:1.5rem;line-height:1.6;color:#6c4034}
.section-motion-ready [data-reveal]{opacity:0;transform:translateY(30px);transition:opacity .7s ease var(--reveal-delay,0ms),transform .85s cubic-bezier(.22,.61,.36,1) var(--reveal-delay,0ms)}
.section-motion-ready [data-reveal].is-revealed{opacity:1;transform:translateY(0)}
body[data-motion="paused"] [data-reveal]{opacity:1;transform:none;transition:none}
body[data-motion="paused"] :is(.atmosphere,.veil){transition:none}
body[data-atmosphere="paper"] .motion-toggle,body[data-atmosphere="ivory"] .motion-toggle{background:#f7f0e7e8;color:#573a30;border-color:#865a3e70}
body[data-atmosphere="paper"] .language-toggle,body[data-atmosphere="ivory"] .language-toggle{background:#f7f0e7ed;color:#573a30}
body[data-atmosphere="wine"] .motion-toggle{background:#361a25e8;color:#f5d7c8;border-color:#edba9e60}
body[data-atmosphere="paper"] #progress-fill,body[data-atmosphere="ivory"] #progress-fill{background:#824b3e}
@media(max-width:900px){.chapter-folio{left:6vw}.chapter-paper .reading-panel{padding-left:1.4rem}.chapter-paper .book-details{display:flex;flex-wrap:wrap}.chapter-wine .reading-panel{padding-right:0}.chapter-ivory .reading-panel{padding-right:0}}
@media(max-width:600px){
  .masthead{padding-left:4vw;padding-right:4vw}.masthead nav{padding-right:4.25rem}.wordmark{font-size:1.05rem}nav{gap:.65rem}.nav-buy{font-size:0}.nav-buy [data-i18n]{display:none}.nav-buy::before{content:'Amazon';font-size:.78rem}.language-toggle{top:1.12rem;right:.65rem;gap:.1rem;padding:.24rem .3rem}.language-option{font-size:.68rem;padding:.38rem .4rem}
  .veil-dusk{background:linear-gradient(180deg,#101a2250,transparent 22%,#101a2220 46%,#101a22bb 82%,#101a22 100%)}
  .veil-paper{background:linear-gradient(180deg,#dfbd8f40,transparent 25%,#dfbd8f20 48%,#dfbd8fa8 82%,#dfbd8f 100%)}
  .veil-wine{background:linear-gradient(180deg,#361a2540,transparent 25%,#361a2520 48%,#361a25b0 82%,#361a25 100%)}
  .veil-ivory{background:linear-gradient(180deg,#f7f3ec40,transparent 25%,#f7f3ec20 48%,#f7f3ecb0 82%,#f7f3ec 100%)}
  .chapter-folio,.chapter-wine .chapter-folio,.chapter-ivory .chapter-folio{top:6svh;left:7vw;font-size:8.5rem}
  .chapter-paper .reading-panel{background:#e8ca9feb;border-top:0;border-bottom:0;padding:1.8rem 1.3rem;border-left:2px solid #8e503b}
  .chapter-paper .chapter-copy>p:nth-of-type(2){font-size:1.3rem}
  .chapter-wine .reading-panel{background:#361a25eb;padding:1.8rem 1.3rem;border-top:1px solid #efbd9f70;border-bottom:1px solid #efbd9f40}
  .chapter-wine .themes li{padding:1.2rem 0;gap:1rem}.chapter-wine .themes li>span{font-size:1.75rem}.chapter-wine .themes h3{font-size:1.3rem}
  .chapter-ivory .reading-panel{background:#f7f3ecef;padding:1.8rem 1.3rem;border-top:2px solid #ae7964;border-bottom:1px solid #ae796450}
  .chapter-ivory .author-intro{padding-left:1rem}.chapter-ivory .author-intro p{font-size:1.2rem}
  .chapter-ivory h2{font-size:clamp(2.6rem,11vw,3.5rem)}
}
@media(prefers-reduced-motion:reduce){.section-motion-ready [data-reveal]{opacity:1;transform:none;transition:none}.chapter-folio{transform:none}}
