:root{font-family:'IBM Plex Sans Arabic',Tahoma,sans-serif;color:#2b2f33;background:#fbf1e0;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}a{color:inherit;text-decoration:none}a:focus-visible{outline:3px solid #2a8c8a;outline-offset:8px}.skip{position:fixed;top:-100px;z-index:20;background:white;padding:12px}.skip:focus{top:10px}.progress{position:fixed;top:0;right:0;left:0;height:3px;z-index:20;background:#00000008}.progress i{display:block;height:100%;width:var(--progress,0%);background:#e8772e}.chapter{height:155svh;position:relative;background:var(--wash)}.stage{height:100svh;min-height:660px;position:sticky;top:0;overflow:hidden;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 60%,#ffffff75,transparent 67%)}.stage:before{content:'';position:absolute;width:min(74vw,780px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#fff9 0 12%,#fff2 34%,transparent 68%);opacity:.65;animation:ambient-glow 8s ease-in-out infinite;pointer-events:none}.chapter-number{position:absolute;top:28px;left:32px;direction:ltr;letter-spacing:.22em;font-size:12px;color:#5b534b}.actor{position:relative;width:min(800px,90vw);height:86%;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:translateY(var(--lift,0px));opacity:var(--alpha,1);will-change:transform,opacity}.speech{text-align:center;z-index:3;position:relative;flex-shrink:0;padding:10px 12px 15px;transform:translateY(var(--text-lift,0px));max-width:100%}.speaker{display:block;font-size:16px;font-weight:600;color:var(--accent,#9e2a3b);margin-bottom:9px}.speech h1,.speech h2{margin:0;font-size:clamp(30px,3.6vw,57px);line-height:1.35;font-weight:600;letter-spacing:-.04em}.speech p{font-size:clamp(16px,1.4vw,20px);line-height:1.6;margin:12px 0 0;color:#5c5047}.cat{display:block;max-width:82vw;width:auto;max-height:48svh;min-height:0;object-fit:contain;position:relative;z-index:2;filter:drop-shadow(0 14px 15px #74401d15);transform:rotate(var(--tilt,0deg));transform-origin:50% 95%;will-change:transform,translate}.ground{width:180px;height:14px;background:#704b2918;border-radius:50%;filter:blur(9px);margin-top:-9px}.continue{position:absolute;bottom:24px;left:15px;right:15px;display:flex;align-items:center;justify-content:center;gap:13px;font-size:14px;color:#5c5047}.continue span{font-size:23px}.ending{min-height:100svh;padding:85px 25px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#20364a;color:#fbf1e0}.ending>.speaker{color:#e9b44c}.ending h2{font-size:clamp(36px,5vw,70px);line-height:1.3;font-weight:500;margin:10px 0 30px}.end-logo{width:110px;height:100px;object-fit:contain;background:#fbf1e0;border-radius:50%;padding:12px}.ending p{max-width:450px;font-size:18px;line-height:1.8}.shop{background:#e9b44c;color:#20364a;border-radius:99px;padding:14px 27px;font-weight:600;margin-top:12px}.replay{font-size:14px;margin-top:32px;text-decoration:underline;text-underline-offset:6px}.chapter.is-active .cat{animation:cat-breathe 3.8s ease-in-out infinite}.chapter.is-active .speaker{animation:soft-rise .55s both}.chapter.is-active .speech h1,.chapter.is-active .speech h2{animation:soft-rise .7s .08s both}.chapter.is-active .speech p{animation:soft-rise .65s .22s both}.chapter.is-active .continue span{animation:arrow-hop 1.7s .5s ease-in-out infinite}.ending>*{opacity:0;translate:0 18px}.ending.is-active>*{animation:soft-rise .7s both}.ending.is-active>.speaker{animation-delay:.05s}.ending.is-active>h2{animation-delay:.14s}.ending.is-active>.end-logo{animation-delay:.3s}.ending.is-active>p{animation-delay:.4s}.ending.is-active>.shop{animation-delay:.5s}.ending.is-active>.replay{animation-delay:.6s}@keyframes ambient-glow{50%{scale:1.12;opacity:.9}}@keyframes cat-breathe{50%{translate:0 -9px;scale:1.012}}@keyframes soft-rise{from{opacity:0;translate:0 18px;filter:blur(4px)}to{opacity:1;translate:0 0;filter:blur(0)}}@keyframes arrow-hop{50%{translate:0 6px}}@media(max-width:600px){.stage{min-height:570px}.chapter-number{top:20px;left:20px}.actor{height:85%;width:95vw}.speech{padding-bottom:14px}.speech p{max-width:310px;margin:12px auto 0}.cat{max-height:44svh;max-width:86vw}.continue{bottom:19px}.chapter{height:140svh}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.chapter{height:auto}.stage{position:relative}.actor,.cat,.speech{transform:none!important;opacity:1!important;will-change:auto}.stage:before,.chapter.is-active .cat,.chapter.is-active .speaker,.chapter.is-active .speech h1,.chapter.is-active .speech h2,.chapter.is-active .speech p,.chapter.is-active .continue span,.ending>*{animation:none!important;opacity:1;translate:0 0;filter:none}}
