@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Noto+Sans+Arabic:wght@400;500;600;700;800&display=swap');
:root{--ink:#153d32;--paper:#fbf8ef;--cream:#f4eddd;--mint:#dff1e8;--yellow:#f8d76b;--coral:#ef8d72;--blue:#8fc7d9;--line:#d8d2c6;--white:#fff;--shadow:0 18px 50px rgba(21,61,50,.10)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:#18342d;font-family:"Noto Sans Arabic","DM Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;line-height:1.65}.skip{position:fixed;inset-inline-start:1rem;top:1rem;transform:translateY(-180%);z-index:99;background:#fff;padding:.7rem 1rem;border-radius:10px}.skip:focus{transform:translateY(0)}.sitebar{max-width:1180px;margin:auto;padding:22px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{text-decoration:none;color:var(--ink);font-weight:900;letter-spacing:.06em;font-size:1.35rem}.brand b{font-weight:500;margin-inline-start:.25rem}.sitebar nav{display:flex;gap:22px;flex-wrap:wrap}.sitebar nav a{color:#274f45;text-decoration:none;font-weight:700;font-size:.94rem}.sitebar nav a:hover,.sitebar nav a[aria-current=page]{text-decoration:underline;text-underline-offset:6px}.shell{max-width:1180px;margin:auto;padding:20px 28px 80px}.hero{padding:72px 6vw;border-radius:34px;background:linear-gradient(135deg,#fff 0 58%,#e7f3ed 58%);box-shadow:var(--shadow);margin:20px 0 46px;overflow:hidden}.hero.compact{padding:52px 6vw}.eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.14em;font-weight:800;font-size:.76rem;color:#4f766b}.hero h1,.product-copy h1{font-size:clamp(2.5rem,6vw,5.4rem);line-height:.98;margin:.5rem 0 1.2rem;color:var(--ink);letter-spacing:-.055em}.hero h1 em{font-family:Georgia,serif;font-weight:400}.hero p{max-width:720px;font-size:1.12rem;color:#4a625b}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;background:var(--ink);color:#fff;text-decoration:none;border-radius:999px;font-weight:800;border:1px solid var(--ink)}.button.ghost{background:transparent;color:var(--ink)}.button.light{background:#fff;color:var(--ink);border-color:#fff}.paths{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 56px}.path-card{position:relative;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:28px;border-radius:26px;text-decoration:none;color:var(--ink);box-shadow:var(--shadow);min-height:190px}.path-card.alphabet{background:#fff}.path-card.sentences{background:#f8e8df}.path-icon{width:72px;height:72px;border-radius:22px;background:var(--yellow);display:grid;place-items:center;font-weight:900;font-size:1.5rem}.path-card h2{margin:.2rem 0;font-size:1.75rem}.path-card p{margin:0;color:#526a63}.path-card small{font-weight:800;color:#6d857e}.arrow{font-size:1.5rem}.section{padding:24px 0 56px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:20px}.section-head h2{margin:.25rem 0 0;font-size:2.25rem;line-height:1.1}.letter-grid{display:grid;grid-template-columns:repeat(13,1fr);gap:9px}.letter-grid a{aspect-ratio:1;border:1px solid var(--line);background:#fff;border-radius:14px;display:grid;place-items:center;text-decoration:none;color:var(--ink);font-size:1.15rem;font-weight:900;transition:.2s}.letter-grid a:hover{transform:translateY(-3px);background:var(--mint);border-color:#a7c9bb}.unit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.unit-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;text-decoration:none;color:var(--ink);min-height:145px}.unit-card small{color:#71877f;font-weight:800}.unit-card h3{margin:.4rem 0 .2rem;font-size:1.15rem}.unit-card p{margin:0;color:#5f716c;font-size:.93rem}.cta{margin-top:40px;border-radius:28px;background:var(--ink);color:#fff;padding:30px 34px;display:flex;justify-content:space-between;align-items:center;gap:24px}.cta h2{margin:.2rem 0}.cta p{margin:0;color:#d7e5df}.preview-five{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;align-items:start}.preview-five figure{margin:0;background:#fff;padding:10px;border-radius:18px;border:1px solid var(--line);box-shadow:0 12px 32px rgba(21,61,50,.08)}.preview-five img{width:100%;height:auto;border-radius:10px;display:block}.preview-five figcaption{text-align:center;padding:10px 4px 4px;font-weight:750;font-size:.9rem}.product-hero{display:grid;grid-template-columns:minmax(260px,420px) 1fr;gap:56px;align-items:center;padding:42px 0 58px}.product-cover{background:#fff;border-radius:28px;padding:18px;box-shadow:var(--shadow)}.product-cover img{width:100%;display:block;border-radius:15px}.product-copy h1{font-size:clamp(2.7rem,6vw,5.2rem)}.product-copy h2{font-family:Georgia,serif;font-weight:400;color:#527168;margin-top:-.7rem}.product-copy p{max-width:680px}.price{font-size:3rem;font-weight:900;color:var(--ink);margin-top:16px}.price small{font-size:.95rem}.muted{color:#6c7f79}.feature-strip{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden}.feature-strip article{padding:22px;text-align:center;border-inline-end:1px solid var(--line)}.feature-strip article:last-child{border:0}.feature-strip b{display:block;font-size:1.5rem;color:var(--ink)}.feature-strip span{font-size:.9rem;color:#687b75}.three{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.three article{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px}.three h3{margin-top:0}.lesson-top{padding:46px 0 28px}.crumbs{font-size:.9rem;color:#74867f;margin-bottom:18px}.crumbs a{color:inherit}.lesson-card{background:#fff;border:1px solid var(--line);border-radius:30px;box-shadow:var(--shadow);padding:34px}.lesson-kicker{font-weight:900;color:#6d817a;text-transform:uppercase;letter-spacing:.13em;font-size:.73rem}.lesson-title{font-size:clamp(2.8rem,8vw,6rem);line-height:1;margin:.4rem 0;color:var(--ink)}.lesson-sub{font-family:Georgia,serif;font-size:1.25rem;color:#60766f}.phase-note{margin-top:28px;background:#f4f0e7;border-radius:18px;padding:18px 20px;color:#50615c}.lesson-nav{display:flex;justify-content:space-between;gap:12px;margin-top:22px}.lesson-nav a{color:var(--ink);font-weight:800}.sentence-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.sentence-list a{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;text-decoration:none;color:var(--ink)}footer{max-width:1180px;margin:0 auto;padding:26px 28px 36px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#687b75;font-size:.86rem}@media(max-width:900px){.paths,.product-hero{grid-template-columns:1fr}.letter-grid{grid-template-columns:repeat(7,1fr)}.unit-grid,.sentence-list{grid-template-columns:repeat(2,1fr)}.preview-five{grid-template-columns:repeat(2,1fr)}.feature-strip{grid-template-columns:repeat(2,1fr)}.three{grid-template-columns:1fr}}@media(max-width:560px){.sitebar{padding:16px 18px}.sitebar nav{gap:10px;font-size:.85rem}.shell{padding:8px 16px 54px}.hero{padding:42px 22px;border-radius:24px}.hero h1{font-size:2.65rem}.paths{grid-template-columns:1fr}.path-card{grid-template-columns:auto 1fr;padding:20px}.arrow{display:none}.letter-grid{grid-template-columns:repeat(5,1fr)}.unit-grid,.sentence-list{grid-template-columns:1fr}.preview-five{grid-template-columns:1fr 1fr;gap:9px}.preview-five figure:first-child{grid-column:1/-1;max-width:70%;justify-self:center}.cta{align-items:flex-start;flex-direction:column}.feature-strip{grid-template-columns:1fr 1fr}.feature-strip article{border-bottom:1px solid var(--line)}.lesson-card{padding:24px 20px}footer{padding-inline:18px;gap:12px;flex-direction:column}}
/* Fully populated curriculum UI — reading-first, touch-friendly. */
.sitebar nav .lang-switch{cursor:pointer;border:1px solid #adc8bd;border-radius:999px;padding:.38rem .85rem;background:#fff;color:var(--ink);font-family:inherit;font-size:.86rem;font-weight:700;line-height:1.4;white-space:nowrap}
.tile-letter{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:0!important;font-size:1.05rem!important}.tile-letter strong{font-size:1.4rem;line-height:1.05}.tile-letter small{font-size:.85rem;color:#738a80}
.tile-arrow{float:inline-end;font-weight:900;color:#55947f}.lesson-card{max-width:1024px;margin:auto}.lesson-sub{margin:.1rem 0 1.7rem}.letter-name{display:inline-flex;gap:.5rem;align-items:center;background:#f4eac3;padding:.6rem 1rem;border-radius:999px;color:var(--ink);font-size:.93rem;margin:0 0 .8rem}.phonics-note{font-size:.9rem;color:#687d72;margin:.1rem 0 1.5rem}.minor-heading{font-size:clamp(1.32rem,2.3vw,1.8rem);color:var(--ink);margin:30px 0 17px}
.word-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.word-card{position:relative;min-height:194px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;background:#fbf9f1;border:1px solid #e5e3d9;border-radius:21px;padding:17px 10px}.word-visual{width:98px;height:98px;display:grid;place-items:center;border-radius:22px;background:#eef4ea;font-size:3.3rem;line-height:1}.word-visual.no-icon{font-size:2.6rem;font-weight:900;color:#3e7161}.english-word{display:block;font-size:1.18rem;color:#1c4035;text-align:center;overflow-wrap:anywhere}.word-counter{position:absolute;top:11px;inset-inline-start:13px;color:#7b8b84;font-size:.7rem;font-weight:900}
.phrase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.phrase-card{display:flex;align-items:center;gap:16px;background:#f6f1e7;border:1px solid #eee7d9;border-radius:16px;padding:19px}.phrase-card .number{flex:0 0 31px;width:31px;height:31px;background:#fff;border-radius:50%;display:grid;place-items:center;font-size:.77rem;font-weight:900;color:#537065}.phrase-text{font-weight:770;font-size:clamp(1rem,1.7vw,1.14rem);line-height:1.5;text-align:start;white-space:normal}
.audio-notice{margin:26px 0;border:1px solid #e7d7a2;background:#fff8e5;border-radius:18px;padding:15px 19px;display:flex;gap:12px;align-items:center;color:#5b5337}.audio-notice p{margin:0;font-size:.9rem}.audio-mark{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;border:2px solid #cdbb83;font-size:1.3rem}
.quiz{margin-top:30px;padding:24px;background:#eaf3e9;border-radius:20px}.quiz h2{margin:.1rem 0 .3rem;color:var(--ink)}.quiz-prompt{font-size:1.12rem;font-weight:780}.quiz-options{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.quiz-choice{cursor:pointer;border:1px solid #c7d9d0;background:#fff;border-radius:12px;padding:13px 10px;font-weight:800;font-size:1rem;min-height:51px;color:#1c4035}.quiz-choice.right{background:#b8e1c8;border-color:#38875f}.quiz-choice.wrong{background:#f8d2cd;border-color:#cf806e}.quiz-choice:disabled{cursor:default}.quiz-feedback{min-height:24px;color:#335844}.quiz-next{cursor:pointer;font-size:.94rem;font-family:inherit}.support-words{margin:16px 0}.support-words p{margin:0 0 8px;color:#5a766b}.support-words span{display:inline-block;border:1px solid #d6e4d9;border-radius:999px;padding:5px 13px;margin:3px;background:#eff7f0;color:var(--ink);font-weight:700}
.real-page{display:block;max-width:420px;max-height:520px;object-fit:contain;width:100%;height:auto;border:1px solid var(--line);border-radius:15px;box-shadow:0 8px 24px rgba(0,0,0,.08);margin:15px 0 22px}.page-dialog{max-width:min(96vw,920px);max-height:94vh;width:100%;border:0;border-radius:20px;background:#fff;padding:22px;box-shadow:0 30px 100px #0006;overflow:auto}.page-dialog::backdrop{background:#142721bb;backdrop-filter:blur(4px)}.page-dialog img{display:block;max-width:100%;max-height:70vh;margin:0 auto;object-fit:contain}.dialog-close{position:absolute;top:10px;inset-inline-end:12px;border:0;background:#edf5ec;border-radius:50%;width:42px;height:42px;font-size:1.5rem;cursor:pointer}.dialog-caption{text-align:center;font-weight:800}.dialog-controls{display:flex;justify-content:center;gap:12px}.dialog-controls button{cursor:pointer}.preview-five figure{cursor:zoom-in;transition:transform .18s}.preview-five figure:hover{transform:translateY(-3px)}.preview-five figure:focus-visible,.tile-letter:focus-visible,.quiz-choice:focus-visible,.lang-switch:focus-visible{outline:3px solid #ee9777;outline-offset:3px}
@media(max-width:850px){.word-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.phrase-grid{grid-template-columns:1fr}.quiz-options{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.word-card{min-height:162px}.word-visual{width:76px;height:76px;font-size:2.6rem}.word-visual.no-icon{font-size:2rem}.english-word{font-size:1.04rem}.lesson-card{padding:23px 17px}.sitebar nav{gap:8px}.sitebar nav a{font-size:.83rem}.sitebar nav .lang-switch{font-size:.78rem;padding:.32rem .56rem}.phrase-card{padding:14px 12px}}

/* Shared typography, natural direction switching and responsive improvements */
button{font-family:inherit}a,button{touch-action:manipulation}h1,h2,h3{overflow-wrap:break-word}.quiz-picture{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-inline:.7rem;font-size:2.3rem;background:#fff;border-radius:14px;min-width:58px;min-height:58px;border:1px solid #c7d9d0}.quiz-prompt{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.sitebar nav .lang-switch:hover{border-color:#183d32;background:#ecf4ed}.preview-five figure{overflow:hidden}.preview-five img{aspect-ratio:900 / 1273;object-fit:cover}.word-card,.phrase-card{min-width:0}.sitebar nav{align-items:center}.sitebar nav a,.sitebar nav button{flex-shrink:0}.word-visual.no-icon{font-size:2.2rem}.lang-switch:focus-visible{outline:3px solid #d76d29;outline-offset:3px}@media(max-width:520px){.sitebar{flex-wrap:wrap}.sitebar nav{flex:1 0 100%;width:100%;justify-content:space-between;gap:10px}.quiz-options{grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-nav{flex-wrap:wrap}}

/* Respect HTML hidden even on styled interactive buttons. */
[hidden]{display:none!important}


/* Same full-bleed previews as the storefront: no white backing around the art. */
.preview-five figure{background:transparent;padding:0;border:0;border-radius:18px;overflow:hidden}
.preview-five img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;border-radius:0}
.preview-five figcaption{padding:11px 7px 13px;color:var(--ink);font-weight:750}
.preview-five figure:nth-child(1){background:#e3e7db}
.preview-five figure:nth-child(2){background:#f2d4c8}
.preview-five figure:nth-child(3){background:#e0e2f1}
.preview-five figure:nth-child(4){background:#f0dfae}
.preview-five figure:nth-child(5){background:#dfece0}
.page-dialog{background:var(--paper);padding:15px;border-radius:20px}
.page-dialog img{border-radius:10px}
@media(max-width:560px){.preview-five figure{border-radius:12px}.preview-five figcaption{font-size:.81rem}}


/* STORYBOOK IDENTITY — portraits cropped from the EXISTING official book cover,
   not extra full pages and not generic device emoji illustrations. */
.hero{position:relative;isolation:isolate;background:radial-gradient(circle at 84% 17%,#fbe6ae 0,transparent 34%),linear-gradient(135deg,#fffefa 0 55%,#e4f0e7 100%)}
.hero:not(.compact)::after{content:"✧";position:absolute;inset-inline-end:4%;top:9%;font-size:3.7rem;color:#d7a75b;opacity:.7;pointer-events:none}
.storybook-cast{display:flex;align-items:center;flex-wrap:wrap;gap:clamp(8px,1.6vw,19px);margin-top:26px;position:relative;isolation:isolate}
.character-portrait{display:inline-block;flex:0 0 auto;width:clamp(84px,10vw,132px);aspect-ratio:1;background-image:url('/assets/cover.webp');background-size:350% auto;background-repeat:no-repeat;border:4px solid #fffdf9;border-radius:33% 36% 31% 35%;box-shadow:0 6px 0 #afc7ad,0 12px 25px #274c3720;transition:transform .25s cubic-bezier(.16,.9,.3,1);position:relative}
.character-portrait.boy{background-position:25% 55%;transform:rotate(-6deg)}
.character-portrait.girl{background-position:83% 59%;transform:rotate(6deg)}
.character-portrait.lizard{background-position:52% 68%;transform:rotate(-2deg);border-color:#fef8dc;box-shadow:0 6px 0 #f0ce80,0 12px 25px #3b52351b}
.character-portrait:is(:hover,:focus-visible){transform:translateY(-5px) rotate(0)}
.cast-note{flex:1 1 160px;min-width:120px;max-width:240px;font-size:.84rem;font-weight:800;line-height:1.8;color:#315a4b;background:#fff9e7;border:1px dashed #d3b56d;border-radius:16px;padding:12px 14px}
.compact-cast{margin:9px 0 26px;padding:11px 15px;background:linear-gradient(95deg,#e8f1e8,#fff8e6);border-radius:22px;gap:9px}
.compact-cast .character-portrait{width:clamp(55px,6vw,77px);border-width:3px;box-shadow:0 4px 0 #c3d5c0}
.compact-cast .character-portrait.lizard{box-shadow:0 4px 0 #f0d895}
.compact-cast .cast-note{font-size:.8rem;max-width:none;min-width:130px;padding:8px 11px}
.path-card{isolation:isolate;overflow:hidden;transition:transform .24s cubic-bezier(.16,.9,.3,1),box-shadow .24s}
.path-card::before{content:"✿";position:absolute;font-size:5.8rem;color:#dceacb;inset-inline-end:8%;bottom:-55px;z-index:-1;line-height:1}
.path-card.sentences::before{color:#f0c9b6}
.path-card:hover,.path-card:focus-visible{transform:translateY(-5px);box-shadow:0 20px 47px #24443824}
.path-card:active{transform:translateY(-1px) scale(.995)}
.path-card .path-icon{border:2px solid #fffcf0;box-shadow:0 5px 0 #e4b749;text-shadow:0 2px #ffffffbd}
.path-card.sentences .path-icon{background:#e9cedd;box-shadow:0 5px 0 #cfadc3}
.tile-letter{position:relative;isolation:isolate;overflow:hidden;box-shadow:0 5px 0 #dbe1d3;transition:transform .24s,box-shadow .24s,background .24s}
.tile-letter:nth-child(5n+1){background:#fff0e1}.tile-letter:nth-child(5n+2){background:#e4f4e7}.tile-letter:nth-child(5n+3){background:#fff7d9}.tile-letter:nth-child(5n+4){background:#e7eff9}.tile-letter:nth-child(5n){background:#f7e8ef}
.tile-letter::before{content:"✦";position:absolute;top:1px;inset-inline-end:7px;color:#dcbf75;font-size:.7rem}
.tile-letter::after{content:"";position:absolute;left:-13px;bottom:-16px;width:39px;height:29px;transform:rotate(-35deg);border-radius:100% 0 100% 0;background:#bedbbb89;z-index:-1}
.tile-letter:hover,.tile-letter:focus-visible{transform:translateY(-5px) rotate(-2deg);box-shadow:0 9px 0 #c9d5c4}
.tile-letter:active{transform:scale(.96)}
.tile-letter strong{font-family:'DM Sans','Manrope',sans-serif;font-size:1.6rem}
.unit-card{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(135deg,#fffefa,#fbf3e5);transition:transform .24s,box-shadow .24s;box-shadow:0 5px 0 #eee5d4}
.unit-card:nth-child(3n+2){background:linear-gradient(135deg,#fcfffb,#eaf5ee)}
.unit-card:nth-child(3n+3){background:linear-gradient(135deg,#fffdfa,#fae9e2)}
.unit-card::before{content:"✧";position:absolute;inset-inline-end:14px;bottom:2px;font-size:4rem;color:#e8d2a5;opacity:.6;pointer-events:none}
.unit-card:hover,.unit-card:focus-visible{transform:translateY(-5px);box-shadow:0 12px 26px #2b53491c}
.lesson-card{overflow:hidden}
.word-card{background:linear-gradient(155deg,#fffefa,#f6f1e5);transition:transform .22s ease,box-shadow .22s ease}
.word-card:nth-child(4n+2){background:linear-gradient(155deg,#fffefa,#eaf3ec)}
.word-card:nth-child(4n+3){background:linear-gradient(155deg,#fffefa,#f8eae1)}
.word-card:nth-child(4n+4){background:linear-gradient(155deg,#fffefa,#e8eff8)}
.word-card:hover{transform:translateY(-4px);box-shadow:0 10px 24px #31513d15}
.word-visual.story-visual{position:relative;isolation:isolate;background:hsl(var(--word-hue) 54% 91%);border:2px solid #ffffffcc;border-radius:35% 39% 34% 40%;box-shadow:0 5px 0 #c5d7b5a1,0 7px 15px #223d2520;overflow:hidden}
.story-initial{font-family:'DM Sans','Manrope',sans-serif;font-size:2.8rem;font-weight:900;color:#315f53;line-height:1;transform:rotate(-5deg)}
.story-spark{position:absolute;right:8px;top:4px;font-family:Georgia,serif;color:#c1873d;font-size:1.25rem}
.story-spark.second{right:auto;left:8px;top:auto;bottom:4px;font-size:1.1rem;color:#83b293}
.word-card:nth-child(even) .story-initial{color:#bb6248}
.quiz{border:1px solid #c6d9c9;position:relative;overflow:hidden}
.quiz::after{content:"✧  ✦  ✧";pointer-events:none;position:absolute;top:10px;inset-inline-end:18px;color:#c6b36a;opacity:.6;font-size:1.1rem}
.quiz.celebrate{animation:rvu-quiz-cheer .46s ease-out}
.quiz.celebrate .quiz-picture{animation:rvu-mascot-wave .54s ease-out}
.page-dialog img.page-turn{animation:rvu-story-page .42s cubic-bezier(.17,.75,.27,1) both;transform-origin:center center}
@keyframes rvu-story-page{0%{opacity:.48;transform:perspective(900px) rotateY(-12deg) translateY(11px) scale(.985)}100%{opacity:1;transform:perspective(900px) rotateY(0) translateY(0) scale(1)}}
@keyframes rvu-quiz-cheer{0%{background:#eaf3e9}40%{background:#fff2c5}100%{background:#eaf3e9}}
@keyframes rvu-mascot-wave{0%{transform:rotate(0)}38%{transform:rotate(-10deg) scale(1.08)}100%{transform:rotate(0) scale(1)}}
.story-reveal{transition:opacity .44s ease,transform .44s cubic-bezier(.2,.8,.25,1)}
.story-reveal:not(.story-visible){opacity:0;transform:translateY(15px)}
.story-visible{opacity:1;transform:none}
@media(max-width:560px){.storybook-cast{gap:8px;justify-content:center}.character-portrait{width:clamp(71px,21vw,92px);border-width:3px}.cast-note{flex-basis:100%;max-width:100%;text-align:center}.compact-cast .character-portrait{width:clamp(50px,15vw,65px)}.compact-cast .cast-note{flex-basis:100%;padding:5px;font-size:.76rem}.word-visual.story-visual{width:78px;height:78px}.story-initial{font-size:2.4rem}.unit-card::before{font-size:2.8rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.story-reveal:not(.story-visible){opacity:1!important;transform:none!important}}


/* A tiny recurring cast cameo on each word sticker keeps the original book
   characters present without adding another full-page preview or generic emoji. */
.word-visual.story-visual::before{content:"";position:absolute;z-index:2;inset-inline-start:3px;bottom:3px;width:27px;height:27px;border-radius:50%;border:2px solid #fffdf8;background-image:url('/assets/cover.webp');background-size:350% auto;background-position:52% 68%;box-shadow:0 2px 5px #35534030}
.word-card:nth-child(3n+2) .word-visual.story-visual::before{background-position:25% 55%}
.word-card:nth-child(3n+3) .word-visual.story-visual::before{background-position:83% 59%}
@media(max-width:560px){.word-visual.story-visual::before{width:23px;height:23px}}
