@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{--ink:#222520;--paper:#fffdf5;--yellow:#f9cf32;--green:#154e3d}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:35px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:16px;line-height:1.6}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #226ace;outline-offset:5px}header{max-width:1440px;margin:auto;padding:26px 5.5%;display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid #dddcd3}.brand{display:flex;gap:12px;align-items:center;font-family:'Space Grotesk',sans-serif;font-weight:700;line-height:1.2;letter-spacing:.035em}.brand small{display:block;font-size:11px;font-weight:500;margin-top:5px;letter-spacing:.15em}.brand-symbol{border:2px solid var(--ink);border-radius:50%;background:var(--yellow);width:48px;height:48px;display:flex;align-items:center;justify-content:center;font-size:18px;transform:rotate(-8deg)}.brand-symbol span{font-size:12px}nav{display:flex;gap:32px;font-size:14px;font-weight:600}nav a:hover{color:#b8581d}.language{display:flex;gap:8px;align-items:center}select{border:none;background:transparent;max-width:130px;font-size:14px;color:var(--ink)}.hero{max-width:1440px;margin:auto;display:grid;grid-template-columns:1fr 1fr;min-height:720px;padding:65px 6% 65px;gap:50px;overflow:hidden}.hero-copy{align-self:center}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;display:flex;align-items:center;gap:10px}.little-star{font-size:25px;color:#bb551e}h1,h2,h3{font-family:'Space Grotesk',Arial,sans-serif;line-height:1.05;letter-spacing:-.055em}h1{font-size:clamp(46px,5.6vw,82px);font-weight:700;margin:22px 0 25px;max-width:620px}h1 em{font-style:normal;color:#b95228;position:relative}h1 em:after{content:'';position:absolute;bottom:-3px;left:0;width:100%;height:4px;background:var(--yellow);transform:rotate(-2deg)}.intro{font-size:18px;max-width:440px;color:#56594f;line-height:1.7}.actions{display:flex;align-items:center;gap:28px;margin:32px 0}.button{padding:15px 24px;border-radius:5px;display:inline-block;font-size:14px;font-weight:700;transition:transform .2s}.button:hover{transform:translateY(-3px)}.dark{background:var(--ink);color:white}.text-link{font-size:14px;font-weight:700;border-bottom:1px solid var(--ink);padding:8px 0}.text-link span+span{margin-left:8px}.hero-meta{display:flex;gap:9px;flex-wrap:wrap;font-size:12px;font-weight:600}.hero-meta span{border:1px solid #cecec3;padding:5px 10px;border-radius:100px}.credits{font-size:12px;color:#6a6b61;margin-top:26px;max-width:390px}.book-stage{position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate;min-height:570px}.book-stage:before{content:'';position:absolute;width:92%;aspect-ratio:1;background:var(--yellow);border-radius:50%;z-index:-2}.book{width:68%;max-width:360px;transform:rotate(8deg);box-shadow:10px 13px 0 #25241f,20px 28px 35px #22252038;border:2px solid var(--ink);line-height:0;transition:transform .4s}.book:hover{transform:rotate(3deg)}.book img{width:100%;height:auto}.orbit{position:absolute;width:105%;height:55%;border:1px solid #22252044;border-radius:50%;transform:rotate(-32deg);z-index:-1}.orbit-two{transform:rotate(41deg);height:75%;width:80%}.book-sticker{position:absolute;right:0;top:5%;background:var(--green);color:white;width:112px;height:112px;border-radius:50%;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:700;line-height:1.2;transform:rotate(12deg);padding:15px;font-size:15px}.spark{position:absolute;font-size:77px;left:0;bottom:9%;line-height:1}.volume{position:absolute;bottom:-22px;right:8%;font-size:11px;letter-spacing:.1em;text-transform:uppercase}.ribbon{background:var(--yellow);border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);padding:19px 5%;display:flex;align-items:center;justify-content:space-around;gap:22px;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.section{max-width:1260px;margin:auto;padding:90px 5%}h2{font-size:clamp(34px,4vw,54px);margin:18px 0 28px;font-weight:600}.story{display:grid;grid-template-columns:1fr 1fr;gap:80px}.story h2{max-width:440px}.story p{color:#5f6258}.story .eyebrow{color:#55594e}.story .large-copy{font-size:22px;line-height:1.5;margin-top:15px;color:var(--ink)}.chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.chips span{font-size:12px;background:#eeeee4;border-radius:3px;padding:5px 10px}.universe{max-width:1440px;display:grid;grid-template-columns:1.15fr 1fr;gap:65px;background:#efeee3;align-items:center;padding:70px 6%}.scene{position:relative}.scene img{display:block;width:100%;height:440px;object-fit:cover;object-position:43% center;border:1px solid var(--ink);border-radius:4px}.scene span{display:block;font-size:11px;margin-top:10px;color:#606359}.universe-copy>p{max-width:440px}.character{display:flex;gap:15px;padding:16px 0;border-top:1px solid #d1d1c6}.character>b{font-family:'Space Grotesk',sans-serif;font-size:14px;color:#626a5d}.character h3{font-size:19px;letter-spacing:-.03em;margin:0 0 7px}.character p{margin:0;font-size:14px;color:#5b5f55;line-height:1.5}.games{padding-top:95px;padding-bottom:70px}.games-heading{display:flex;justify-content:space-between;gap:40px;align-items:center}.games-heading>p{max-width:330px;color:#606358}.game-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:25px}.game-card{text-align:left;padding:25px;border:1.5px solid var(--ink);border-radius:8px;color:var(--ink);box-shadow:4px 4px 0 var(--ink);transition:transform .2s,box-shadow .2s}.game-card:hover{transform:translate(-2px,-4px);box-shadow:6px 8px 0 var(--ink)}.memory-card{background:#dbe8f6}.quiz-card{background:#f5c4a6}.chart-card{background:#dce7ba}.game-top{display:flex;justify-content:space-between;font-size:11px;font-weight:700;letter-spacing:.1em}.game-icon{display:block;height:115px;font-size:54px;line-height:115px;text-align:center;font-family:'Space Grotesk';font-weight:700;letter-spacing:-.07em}.game-card h3{font-size:25px;letter-spacing:-.04em;margin:10px 0}.game-card p{font-size:14px;line-height:1.6;min-height:66px;margin:12px 0 23px}.game-cta{display:inline-block;font-size:13px;font-weight:700;border-bottom:1px solid var(--ink)}.games-note{text-align:center;color:#63665b;font-size:12px;margin-top:30px}.game-area{margin-top:40px;padding:30px;border:2px solid var(--ink);border-radius:8px;background:white;scroll-margin-top:20px}.game-area-header{display:flex;justify-content:space-between;gap:15px;align-items:center}.game-area h3{font-size:28px;margin:0}.outline,.answer,.restart{border:1px solid var(--ink);padding:10px 17px;border-radius:4px;background:var(--paper);color:var(--ink)}.outline{font-size:14px}.memory-grid{max-width:550px;display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px auto}.memory-tile{min-height:85px;border:2px solid var(--green);border-radius:7px;background:var(--green);color:white;font-size:32px}.memory-tile.flipped,.memory-tile.matched{background:#f8dc75;color:var(--ink)}.memory-tile.matched{border-color:#739265;opacity:.7}.answers{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.answer{font-weight:600}.answer:hover:not(:disabled){background:var(--yellow)}.answer.correct{background:#dce7ba}.answer.wrong{background:#f5c4a6}.feedback{min-height:32px;font-weight:600}.chart{max-width:620px;margin:25px 0}.bar-row{display:grid;grid-template-columns:115px 1fr 40px;gap:12px;align-items:center;margin:14px 0;font-size:14px}.bar{height:30px;border-radius:3px;background:#b5683f}.closing{text-align:center;background:var(--yellow);padding:70px 24px}.closing .eyebrow{justify-content:center}.closing h2{max-width:680px;margin:20px auto}.closing p:not(.eyebrow){max-width:530px;margin:0 auto 28px}footer{display:flex;align-items:center;justify-content:space-between;padding:35px 6%;gap:20px;font-size:12px}footer p{color:#66695e}.footer-brand{font-size:19px;font-family:'Space Grotesk';font-weight:700;letter-spacing:-.03em}.footer-brand span{margin-left:13px;color:#b95228}[hidden]{display:none!important}@media(min-width:1500px){.hero{min-height:770px}}@media(max-width:900px){header{flex-wrap:wrap;padding:20px 5%}nav{order:3;width:100%;justify-content:center;border-top:1px solid #dddcd3;padding-top:18px;gap:25px}.hero{gap:20px;padding-top:35px;min-height:600px}.book-stage{min-height:460px}.book-sticker{width:90px;height:90px;font-size:12px;right:-5px}.story{gap:35px}.universe{gap:30px}.scene img{height:450px}.game-card{padding:18px}.game-card h3{font-size:22px}.game-card p{min-height:88px}.ribbon{font-size:11px;gap:12px}.ribbon span:last-child,.ribbon b:last-of-type{display:none}}@media(max-width:650px){.hero{grid-template-columns:1fr;padding:36px 6% 50px;gap:25px}.hero h1{font-size:53px}.intro{font-size:17px}.hero-meta{font-size:11px}.book-stage{min-height:470px;width:100%;max-width:420px;margin:auto}.book{width:63%}.book-stage:before{width:85%}.book-sticker{right:10px;top:20px}.volume{bottom:-12px}.spark{left:10px}.ribbon{flex-wrap:wrap;justify-content:center;font-size:10px}.ribbon span:nth-of-type(3),.ribbon b:nth-of-type(2){display:none}.section{padding:55px 6%}.story,.universe{grid-template-columns:1fr;gap:16px}.story h2{margin-bottom:0}.story .large-copy{font-size:20px}.scene img{height:auto;aspect-ratio:1.25;object-fit:cover}.universe-copy{margin-top:20px}.games-heading{display:block}.game-cards{grid-template-columns:1fr}.game-card{padding:25px}.game-card p{min-height:0}.game-icon{height:80px;line-height:80px}.game-area{padding:20px 14px}.game-area h3{font-size:23px}.memory-grid{gap:7px}.memory-tile{min-height:66px}.bar-row{grid-template-columns:88px 1fr 25px;gap:8px}.closing h2{font-size:38px}footer{flex-wrap:wrap;justify-content:center;text-align:center}footer p{width:100%;margin:0}.brand{font-size:14px}.brand small{font-size:9px}.brand-symbol{width:40px;height:40px}nav{font-size:13px}.actions{gap:20px}.button{padding:14px 18px}.text-link{font-size:13px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
h1,h2,h3{overflow-wrap:break-word;hyphens:auto}.game-cta,.text-link{font-size:14px}.brand small{font-size:12px}.game-top{font-size:12px}.volume,.scene span{font-size:12px}.hero-copy,.universe-copy,.story>div{min-width:0}
/* Additional games extend the original illustrated adventure palette. */
.game-cards{align-items:stretch}.game-card{display:flex;flex-direction:column;min-width:0}.game-card .game-top{width:100%}.game-card .game-icon{width:100%;flex:none}.game-card .game-cta{margin-top:auto;align-self:flex-start}.game-card p{font-size:16px}.game-area{margin-bottom:35px}.extra-actions,.letter-bank,.sort-bins,.direction-pad{display:flex;flex-wrap:wrap;gap:12px}.extra-actions{margin-top:24px}.extra-actions button{min-height:44px}.extra-label{display:flex;flex-direction:column;gap:8px;max-width:280px;margin:20px 0}.extra-label input{font:inherit;padding:12px;border:2px solid var(--ink);border-radius:5px;width:100%;background:white;color:var(--ink)}input:focus-visible{outline:3px solid #226ace;outline-offset:3px}.number-riddle,.word-slots{font-size:clamp(22px,4vw,34px);font-weight:700;letter-spacing:.07em;overflow-wrap:anywhere}.code-key{max-width:640px;line-height:2;color:#454a3e}.maze-grid{display:grid;grid-template-columns:repeat(7,1fr);max-width:350px;border:3px solid var(--ink);background:#fffdf5}.maze-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;border:1px solid #deddd2;font-size:clamp(18px,4vw,30px)}.maze-cell.wall{background:var(--green);border-color:var(--green)}.maze-cell.player{background:var(--yellow)}.direction-pad button{font-size:24px;min-width:55px}.picture-puzzle{display:grid;grid-template-columns:repeat(3,1fr);max-width:540px;aspect-ratio:1672/941;gap:3px}.puzzle-piece{background-image:url('assets/scene.webp');background-size:300% 300%;border:2px solid var(--ink);border-radius:3px;padding:8px;text-align:left;display:flex;align-items:flex-start;color:white;font-size:20px;font-weight:700;text-shadow:0 1px 3px black,1px 0 3px black}.puzzle-piece[aria-pressed=true]{outline:4px solid #226ace;outline-offset:-4px}.puzzle-piece:disabled{opacity:1}.sudoku-grid{display:grid;grid-template-columns:repeat(4,1fr);width:min(100%,320px);border:3px solid var(--ink)}.sudoku-grid input{min-width:0;width:100%;aspect-ratio:1;text-align:center;font:700 26px 'DM Sans',Arial;border:1px solid #999;border-radius:0;color:#184fa0;background:white}.sudoku-grid input.given{background:#efeee3;color:var(--ink)}.sudoku-grid input:nth-child(4n+2){border-right:3px solid var(--ink)}.sudoku-grid input:nth-child(n+5):nth-child(-n+8){border-bottom:3px solid var(--ink)}.letter-bank button{min-width:48px;font-weight:700}.letter-bank button:disabled{opacity:.35}.chocolate-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;max-width:360px}.chocolate{border:2px solid var(--ink);background:#fffdf5;border-radius:6px;min-height:60px;font-size:30px}.chocolate[aria-pressed=true]{background:var(--yellow);outline:2px solid var(--green);outline-offset:1px}.till{background:#efeee3;border:1px solid var(--ink);border-radius:6px;padding:12px 22px;max-width:360px}.sort-card{font-size:32px;font-weight:700;border:2px solid var(--ink);background:var(--yellow);padding:20px;max-width:360px;text-align:center;overflow-wrap:anywhere}.mission-result{font-size:24px;font-weight:700;color:var(--green)}.game-area button:disabled{cursor:default}.game-area button:not(.memory-tile):not(.puzzle-piece):disabled{color:#444}.game-area-header{flex-wrap:wrap}@media(max-width:650px){.game-card p{margin-bottom:20px}.game-area{scroll-margin-top:10px}.extra-actions{gap:9px}.extra-actions button{padding:10px 12px}.picture-puzzle{gap:2px}.puzzle-piece{padding:4px;font-size:16px}.sort-bins button{flex:1;padding:10px}.word-slots{letter-spacing:.03em}}
