:root { --cream:#f4efe5; --paper:#fbf8f1; --ink:#171613; --muted:#6e685e; --gold:#a98745; --gold-soft:#e8dcc0; --line:#dcd3c3; --shadow:0 18px 50px rgba(44,35,20,.12); font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:var(--ink); background:var(--cream); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; min-width:320px; background:var(--cream); line-height:1.5; }
button,select,input { font:inherit; }
button { color:inherit; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible { outline:3px solid var(--gold); outline-offset:3px; }
.skip-link { position:fixed; z-index:99; top:8px; left:8px; transform:translateY(-150%); background:var(--ink); color:white; padding:10px 16px; }
.skip-link:focus { transform:none; }
.site-header { height:76px; display:flex; align-items:center; padding:0 20px; border-bottom:1px solid rgba(100,80,40,.14); }
.brand { display:flex; align-items:center; gap:12px; color:inherit; text-decoration:none; font-family:Georgia,serif; font-size:18px; }
.brand-mark { width:34px; height:34px; border:1px solid var(--gold); border-radius:50%; display:grid; place-items:center; color:var(--gold); }
.page { width:min(1180px,100%); margin:auto; padding:0 20px 130px; }
.hero { padding:70px 0 82px; max-width:720px; }
.eyebrow,.book-kicker { margin:0 0 10px; color:#846d40; font-size:12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
h1,h2,h3,p { margin-top:0; }
h1,h2,h3 { font-family:Georgia,"Times New Roman",serif; font-weight:400; line-height:1.06; }
.hero h1 { margin:0 0 24px; font-size:clamp(44px,12vw,86px); letter-spacing:-.04em; }
.hero h1 em { color:var(--gold); font-weight:400; }
.hero>p:last-child { color:var(--muted); font-size:17px; max-width:470px; }
.section-heading { margin:0 0 26px; }
.section-heading h2 { margin:0; font-size:36px; }
.continue-section,.books-section { margin-bottom:78px; }
.continue-card { display:grid; grid-template-columns:108px 1fr; gap:22px; padding:18px; background:var(--paper); box-shadow:var(--shadow); }
.continue-card>img { width:100%; aspect-ratio:2/3; object-fit:cover; }
.continue-copy h3 { margin:0 0 6px; font-size:24px; }
.continue-copy>p:not(.book-kicker) { color:var(--muted); margin-bottom:10px; }
.progress { display:block; height:3px; overflow:hidden; background:#d9d1c3; }
.progress>span { display:block; height:100%; background:var(--gold); }
.muted { font-size:13px; }
.button { min-height:44px; border:1px solid var(--ink); background:var(--ink); color:white; padding:10px 18px; cursor:pointer; }
.book-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:38px 16px; }
.cover-button { display:block; width:100%; padding:0; border:0; background:none; cursor:pointer; box-shadow:var(--shadow); transition:transform .2s; }
.cover-button:hover { transform:translateY(-4px); }
.cover-button img { display:block; width:100%; aspect-ratio:2/3; object-fit:cover; }
.book-card .book-kicker { margin-top:16px; }
.book-card h3 { margin:0 0 7px; font-size:21px; }
.book-card h3 button { text-align:left; padding:0; border:0; background:none; cursor:pointer; font:inherit; }
.book-card>p:last-child { color:var(--muted); font-size:13px; }
.breadcrumb { padding:24px 0 36px; }
.breadcrumb button,.text-button { min-height:44px; padding:8px 0; border:0; background:none; cursor:pointer; color:#68552f; }
.book-intro { display:grid; gap:34px; margin-bottom:50px; }
.book-cover-wrap { max-width:370px; margin:auto; }
.book-cover { display:block; width:100%; box-shadow:var(--shadow); }
.book-meta h1 { font-size:clamp(42px,11vw,70px); letter-spacing:-.035em; }
.book-meta dl { display:flex; flex-wrap:wrap; gap:16px 36px; margin:25px 0; }
.book-meta dl div { display:grid; gap:2px; }
.book-meta dt { color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.12em; }
.book-meta dd { margin:0; }
.description { max-width:620px; color:var(--muted); font-family:Georgia,serif; font-size:18px; }
.text-button { display:flex; gap:8px; align-items:center; }
.text-button svg { width:19px; fill:none; stroke:currentColor; stroke-width:1.7; }
.full-player { margin:0 -20px 70px; padding:36px 20px; background:var(--paper); border-block:1px solid var(--line); }
.chapter-heading { text-align:center; }
.chapter-heading p { margin-bottom:7px; color:var(--gold); font-size:12px; text-transform:uppercase; letter-spacing:.12em; }
.chapter-heading h2 { font-size:28px; }
.range { width:100%; accent-color:var(--gold); cursor:pointer; }
.time-row { display:flex; justify-content:space-between; color:var(--muted); font-variant-numeric:tabular-nums; font-size:12px; }
.controls { display:flex; justify-content:center; align-items:center; gap:5px; margin:24px 0; }
.controls button,.mini-play { width:46px; height:46px; padding:11px; border:0; background:none; border-radius:50%; cursor:pointer; }
.controls svg,.mini-play svg { width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:1.7; }
.controls svg text { font-size:7px; fill:currentColor; stroke:none; }
.controls .play-button { width:68px; height:68px; padding:19px; margin:0 3px; background:var(--ink); color:white; }
.player-options { display:grid; grid-template-columns:1fr 1fr; gap:12px; max-width:430px; margin:auto; }
.player-options label { color:var(--muted); font-size:12px; }
.player-options select { display:block; width:100%; min-height:44px; margin-top:5px; padding:8px 30px 8px 10px; border:1px solid var(--line); border-radius:0; background:var(--cream); color:var(--ink); }
.sleep-status { min-height:24px; margin:12px 0 0; text-align:center; color:#68552f; font-size:12px; }
.chapters ol { list-style:none; margin:0; padding:0; border-top:1px solid var(--line); }
.chapter-row { border-bottom:1px solid var(--line); }
.chapter-row.active { background:var(--gold-soft); }
.chapter-row>button { display:grid; grid-template-columns:42px 1fr 45px; align-items:center; width:100%; min-height:86px; padding:10px 8px; border:0; background:none; text-align:left; cursor:pointer; }
.chapter-number { color:var(--gold); font-family:Georgia,serif; }
.chapter-info { display:grid; gap:3px; }
.chapter-info strong { font-family:Georgia,serif; font-weight:400; font-size:17px; }
.chapter-info>span:not(.progress) { color:var(--muted); font-size:12px; }
.chapter-info .progress { width:min(240px,100%); margin-top:5px; }
.chapter-status { justify-self:end; color:#735d31; font-size:11px; text-transform:uppercase; }
.chapter-status svg { width:24px; fill:none; stroke:currentColor; stroke-width:1.8; }
.mini-player { position:fixed; z-index:20; left:10px; right:10px; bottom:max(10px,env(safe-area-inset-bottom)); display:grid; grid-template-columns:1fr 54px; align-items:center; min-height:72px; padding:8px; background:#1d1b18; color:white; box-shadow:0 8px 36px rgba(0,0,0,.3); }
.mini-player[hidden] { display:none; }
.mini-open { display:grid; grid-template-columns:40px 1fr; gap:10px; align-items:center; min-width:0; padding:0; border:0; background:none; color:inherit; text-align:left; cursor:pointer; }
.mini-open img { width:40px; height:56px; object-fit:cover; }
.mini-open>span { display:grid; gap:2px; min-width:0; }
.mini-open strong,.mini-open small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mini-open strong { font-family:Georgia,serif; font-weight:400; }
.mini-open small { color:#c9c2b6; }
.mini-open .progress { margin-top:5px; background:#4b4741; }
.mini-play { color:white; }
.toast { position:fixed; z-index:50; left:50%; bottom:100px; transform:translateX(-50%); width:max-content; max-width:calc(100% - 32px); padding:11px 18px; background:var(--ink); color:white; box-shadow:var(--shadow); }
.empty { padding-top:100px; text-align:center; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (min-width:700px) { .site-header { padding-inline:40px; } .page { padding-inline:40px; } .continue-card { grid-template-columns:160px 1fr; padding:24px; align-items:center; } .book-grid { grid-template-columns:repeat(3,1fr); gap:54px 28px; } .book-intro { grid-template-columns:minmax(260px,370px) 1fr; align-items:center; gap:70px; } .full-player { margin-inline:0; padding:48px 8%; border:1px solid var(--line); } .controls { gap:14px; } .mini-player { left:50%; right:auto; width:min(680px,calc(100% - 30px)); transform:translateX(-50%); } }
@media (min-width:1050px) { .book-grid { grid-template-columns:repeat(4,1fr); } .hero { padding-block:100px 110px; } }
@media (prefers-reduced-motion:reduce) { * { scroll-behavior:auto!important; transition:none!important; } }
