@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Libre+Baskerville:ital,wght@0,700;1,400&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#24362c;background:#eef2e9}*{box-sizing:border-box}body{margin:0}header{max-width:1240px;margin:auto;padding:28px 36px;display:flex;justify-content:space-between;font-size:13px;letter-spacing:1.5px}header a{color:inherit;text-decoration:none;font-weight:bold}header span{letter-spacing:0;color:#637568}main{max-width:1050px;margin:auto;padding:15px 28px 24px}.intro{text-align:center}.edition{font-size:11px;letter-spacing:2px;font-weight:700;color:#767d4e}h1{font-family:'Libre Baskerville',Georgia,serif;font-size:clamp(34px,5vw,53px);line-height:1.18;margin:18px 0}h1 em{font-weight:400;color:#ce6348}.intro p{font-size:14px;color:#6a786c;margin:0 0 30px}.book{display:grid;grid-template-columns:1fr 1fr;min-height:380px;border-radius:8px 18px 18px 8px;overflow:hidden;box-shadow:0 18px 40px #26382818,0 4px 0 #d1d6c9;background:#fffdf7;perspective:1000px}.art{position:relative;background:#f8d47d;display:flex;align-items:center;justify-content:center;border-right:1px solid #dedbc7}.art svg{width:100%;max-height:390px}.art:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 94%,#0000000c)}article{padding:36px 38px;background:linear-gradient(90deg,#eeece3,#fffdf7 4%)}article.flipping{animation:flip .38s ease}article small{color:#ba674c;text-transform:uppercase;font-size:11px;letter-spacing:1.6px}h2{font:700 28px/1.2 'Libre Baskerville',Georgia,serif;margin:12px 0 22px}.line{padding:6px 9px;margin:5px -9px;border-radius:8px;transition:background .2s}.line.active{background:#f8e7b2}.line b{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#688063}.line p{font-size:17px;line-height:1.5;margin:3px 0 0}.line[data-role=mama] b{color:#be6048}.line[data-role=sophia] b{color:#9d6b9e}nav{display:flex;justify-content:center;align-items:center;gap:30px;margin-top:25px}button{font:700 14px 'DM Sans',sans-serif;cursor:pointer;border:1px solid #c2cbbe;background:transparent;color:#304c3a;border-radius:24px;padding:12px 22px}button:hover{background:#e1e8dc}button:focus-visible{outline:3px solid #d77850;outline-offset:4px}button:disabled{opacity:.35;cursor:default}#next{background:#304c3a;color:white;border-color:#304c3a}#dots{display:flex;gap:9px}#dots button{padding:0;width:9px;height:9px;border:0;background:#c3cdbd}#dots button[aria-current=true]{background:#ce694e;width:22px}.audio{display:flex;flex-direction:column;align-items:center;gap:8px;margin:20px 0}#listen{font-size:13px;padding:9px 20px}#status{font-size:13px;color:#6a786c;text-align:center}footer{border-top:1px solid #d5ddcf;padding-top:18px;display:flex;justify-content:space-between;color:#7a8877;font-size:11px;letter-spacing:1px}footer span{letter-spacing:0}@keyframes flip{from{opacity:.3;transform:rotateY(-12deg)}to{opacity:1;transform:rotateY(0)}}@media(max-width:650px){header{padding:20px;font-size:10px}header span{display:none}main{padding:10px 16px}.book{grid-template-columns:1fr}.art{height:230px;border-right:0}.art svg{height:230px}article{padding:25px;min-height:290px}h2{font-size:25px}.intro p{margin-bottom:22px}nav{gap:20px}footer{gap:16px;font-size:10px}}@media(prefers-reduced-motion:reduce){article.flipping{animation:none}}

/* Full-page illustrated scenes, with no cropping of the comic artwork. */
main{max-width:1280px}.book{grid-template-columns:1.4fr 1fr}.art{background:#fff4d5}.art img{display:block;width:100%;height:auto;object-fit:contain}.art:after{background:linear-gradient(90deg,transparent 97%,#0000000b)}
@media(max-width:800px){.book{grid-template-columns:1fr}.art{height:auto}.art img{height:auto;width:100%}article{min-height:250px}}
