@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap');
:root{--ink:#211633;--muted:#5d516f;--night:#251747;--cream:#fff9eb;--lav:#f0e9fa;--gold:#ffda72;--purple:#553a8c}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--cream);font:16px/1.55 'DM Sans',Arial,sans-serif}a{color:inherit;text-decoration:none}button,select{font:inherit}button{cursor:pointer}button[hidden]{display:none}:focus-visible{outline:3px solid #b66d00;outline-offset:4px}.top,footer{display:flex;gap:2rem;align-items:center;justify-content:space-between;padding:1.1rem max(5vw,calc((100vw - 1320px)/2));font-weight:700}.brand{white-space:nowrap}.brand span{font-size:1.55rem;line-height:1;vertical-align:middle;margin-right:.35rem;color:var(--purple)}.brand em{font-style:normal;color:var(--purple)}nav{display:flex;gap:2rem;margin-left:auto}nav a:hover,footer a:hover{text-decoration:underline}select{border:1px solid #d6c7e6;border-radius:.6rem;background:transparent;color:var(--ink);padding:.35rem;font-weight:700}.hero{display:grid;grid-template-columns: .9fr 1.1fr;min-height:570px;background:var(--night);color:var(--cream)}.hero-copy{padding:clamp(3rem,8vw,8rem) 1rem clamp(3rem,8vw,7rem) max(5vw,calc((100vw - 1320px)/2));align-self:center;z-index:1}.eyebrow{letter-spacing:.13em;text-transform:uppercase;font-size:.76rem;font-weight:800;margin:0 0 .7rem;color:var(--purple)}.hero .eyebrow{color:var(--gold)}h1,h2,h3{font-family:'Playfair Display',Georgia,serif;line-height:1.07;margin:0;font-weight:800}h1{font-size:clamp(3.5rem,8vw,7.5rem);letter-spacing:-.045em}h2{font-size:clamp(2rem,4.2vw,3.6rem);letter-spacing:-.035em}h3{font-size:clamp(1.8rem,3.1vw,2.8rem)}.intro{max-width:29rem;color:#eadff9;font-size:1.15rem;margin:1.5rem 0 1.7rem}.button{display:inline-flex;align-items:center;background:var(--gold);border:0;border-radius:.7rem;color:var(--ink);font-weight:800;padding:.82rem 1.35rem;min-height:45px}.button:hover{filter:brightness(1.065)}.hero-art{position:relative;min-width:0;background:radial-gradient(ellipse at center,#694d90,#251747 80%)}.hero-art img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:55% center}.hero-art::after{position:absolute;content:'';inset:0;background:linear-gradient(90deg,var(--night),transparent 24%);pointer-events:none}.adventure{padding:4.5rem 5vw 5rem;max-width:1300px;margin:auto}.section-heading{text-align:center;margin:0 0 2.2rem}.lesson{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1rem,4vw,4rem);background:var(--lav);border:1px solid #e1d3f1;border-radius:1.5rem;padding:clamp(1.4rem,4vw,3rem);align-items:center}.story p{color:var(--muted);max-width:35ch}.stamp{display:grid;place-items:center;width:3rem;height:3rem;border-radius:50%;background:var(--gold);font-size:1.5rem;margin-bottom:1rem}.rule{font-weight:700}#feedback{min-height:3.4em;margin-top:.65rem;color:#66354e}.actions{display:flex;gap:.5rem;flex-wrap:wrap}.dark{background:var(--night);color:#fff}.quiet{background:none;border:1px solid #ab95c9;border-radius:.65rem;font-weight:700;color:var(--ink);padding:.65rem 1rem}.play{width:100%;max-width:420px;justify-self:center}.progress{font-size:.87rem;font-weight:700;margin-bottom:.55rem;color:var(--purple)}.board{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:repeat(8,minmax(0,1fr));border:5px solid var(--night);border-radius:.65rem;overflow:hidden;aspect-ratio:1}.square{display:grid;place-items:center;position:relative;border:0;padding:0;min-width:0;font-size:clamp(1.15rem,4vw,2.45rem);line-height:1;background:#fff2ce;color:#26163f}.square:nth-child(even){background:#ae94d1}.square.alt{background:#ae94d1}.square.alt:nth-child(even){background:#fff2ce}.square:focus-visible{outline-offset:-4px;z-index:1}.square:hover:not(:disabled){box-shadow:inset 0 0 0 3px #6d419d}.square:disabled{cursor:default}.square.target{color:#7c4400;text-shadow:1px 1px 0 #ffe899}.square.try{box-shadow: inset 0 0 0 3px #a52c58}.square.choice{box-shadow:inset 0 0 0 4px #167655}.square small{font-size:clamp(.48rem,1.3vw,.65rem);position:absolute;bottom:.16rem;right:.18rem;font-weight:700}.book{display:grid;grid-template-columns:minmax(110px,230px) 1fr;align-items:center;gap:clamp(1.2rem,5vw,4rem);padding:3.7rem max(5vw,calc((100vw - 1160px)/2));background:#f8edda}.book p:not(.eyebrow){max-width:60ch;color:var(--muted)}.book-art{width:100%;max-width:175px;aspect-ratio:3/4;justify-self:center;display:grid;place-items:center;position:relative;background:#513381;color:#ffdb75;border:5px double #d7a654;border-radius:6px 12px 12px 6px;box-shadow:7px 7px #dec99f;font:clamp(4rem,10vw,8rem)/1 Georgia,serif;transform:rotate(-5deg)}.book-star{position:absolute;font-size:1.5rem;top:13%;right:15%}footer{font-size:.88rem}.hero-art img:not([src]){display:none}@media(max-width:680px){.top,footer{gap:.55rem;padding:.8rem 4vw}.brand{font-size:.83rem}.brand span{font-size:1.2rem}nav{gap:.55rem;font-size:.79rem}.top select{font-size:.75rem}.hero{grid-template-columns:1fr}.hero-copy{padding:2.65rem 5vw 1.6rem}.hero-art{min-height:260px}.hero-art::after{background:linear-gradient(180deg,var(--night),transparent 30%)}.lesson{grid-template-columns:1fr}.adventure{padding:3rem 4vw}.book{padding:2.4rem 5vw}.book h2{font-size:clamp(1.3rem,5vw,2.25rem)}}

@media(max-width:385px){.top nav{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.author-profile{display:grid;grid-template-columns:minmax(110px,225px) 1fr;align-items:start;gap:clamp(1.4rem,5vw,4rem);max-width:1160px;margin:auto;padding:4rem 5vw}.author-profile figure{margin:0}.author-profile img{display:block;width:100%;border-radius:1rem}.author-profile figcaption{font-size:.82rem;margin-top:.5rem;color:var(--muted)}.author-profile ul{padding-inline-start:1.3rem}.author-profile li+li{margin-top:.4rem}.author-links a,.author-profile figcaption a{text-decoration:underline;text-underline-offset:.17em}@media(max-width:600px){.author-profile{grid-template-columns:1fr;padding:2.5rem 5vw}.author-profile figure{max-width:200px}}
.author-banner{background:var(--night);color:var(--cream);text-align:center;padding:.58rem 5vw;font-size:.9rem;font-weight:700}.author-banner a{text-decoration:underline;text-underline-offset:.2em}.author-banner a:hover{color:var(--gold)}
