:root{--ink:#173c45;--cream:#fff9e9;--gold:#ffcf58}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;color:var(--ink);background:var(--cream);font:17px/1.6 'Trebuchet MS',Arial,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid #e86136;outline-offset:5px}header{position:absolute;z-index:10;top:0;width:100%;padding:20px 5%;display:flex;align-items:center;justify-content:space-between}header img{object-fit:contain}nav{display:flex;align-items:center;gap:28px;font-weight:bold}nav button{background:#ffffffb0;border:1px solid #ffffff;border-radius:50%;width:46px;height:46px;color:var(--ink)}.mini{background:var(--ink);color:white;padding:11px 20px;border-radius:30px}.hero{position:relative;isolation:isolate;min-height:780px;height:92vh;max-height:1050px;background:linear-gradient(90deg,#eafbf6b0,#eafbf630),url('assets/sky.webp') center 45%/cover;display:flex;align-items:center;padding:120px 8% 100px;overflow:hidden}.landscape{position:absolute;inset:0;z-index:-1;opacity:.33;pointer-events:none}.landscape img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center}.hero-copy{width:56%;max-width:700px;position:relative;z-index:2}.eyebrow{font-size:11px;letter-spacing:2.5px;font-weight:900;margin:0 0 20px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(42px,4.8vw,76px);line-height:1.05;letter-spacing:-2.5px;margin-bottom:27px;font-weight:900}h2{font-size:clamp(36px,4vw,60px);line-height:1.1;letter-spacing:-1.7px;margin-bottom:25px}h3{font-size:21px;margin-bottom:7px}.lead{max-width:485px;font-size:19px;line-height:1.65}.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}.primary,.secondary{display:inline-block;padding:17px 24px;border-radius:18px;font-weight:bold;font-size:16px;transition:transform .2s}.primary{background:var(--gold);box-shadow:0 5px 0 #cf9835,0 10px 30px #98712620;color:#233d39}.secondary{background:#ffffffaa;border:2px solid #ffffff;color:var(--ink)}.primary:hover,.secondary:hover{transform:translateY(-3px)}.small{font-size:12px;margin-top:20px;opacity:.7}.hero-art{position:absolute;width:43%;right:4%;bottom:18%;height:60%;display:flex;justify-content:center;align-items:center}.halo{position:absolute;width:95%;aspect-ratio:1;border-radius:50%;background:#fff8c566;filter:blur(35px)}.hero-flea{width:83%;max-height:100%;object-fit:contain;position:relative;filter:drop-shadow(0 25px 20px #224b4420);animation:hop 5s ease-in-out infinite}.platform{position:absolute;width:75%;bottom:-13%;filter:drop-shadow(0 20px 18px #173c4540)}.sticker{position:absolute;right:0;top:9%;background:var(--cream);padding:10px 20px;border-radius:24px;transform:rotate(9deg);font-size:14px;font-weight:bold;box-shadow:0 5px 20px #173c4510}.scroll{position:absolute;bottom:30px;left:49%;font-size:30px}.ribbon{display:flex;gap:36px;justify-content:center;align-items:center;background:var(--ink);color:#fff6d5;padding:22px;font-size:14px;font-weight:bold}.ribbon b{color:var(--gold)}.section{max-width:1250px;margin:auto;padding:100px 40px}.section-title{display:flex;align-items:end;justify-content:space-between;gap:60px;margin-bottom:42px}.section-title p:last-child{max-width:350px}.world-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.world{height:350px;border-radius:100px 100px 22px 22px;overflow:hidden;position:relative;isolation:isolate;background:#26484b;transition:transform .3s}.world:hover{transform:translateY(-8px)}.world img{position:absolute;width:100%;height:100%;object-fit:cover;z-index:-1}.world:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#132d3ce8);z-index:-1}.world div{position:absolute;bottom:25px;left:24px;right:15px;color:white}.world span{font-size:11px;text-transform:uppercase;letter-spacing:2px;opacity:.8}.world h3{font-size:23px;margin-top:7px}.boost-section{background:#edf0d8}.boost{display:grid;grid-template-columns:1fr 1.1fr;gap:100px}.boost>div>p:last-child{max-width:360px}.items{display:flex;flex-direction:column;gap:10px}.items article{display:flex;align-items:center;gap:28px;padding:15px 0;border-bottom:1px solid #173c451c}.items article:last-child{border:0}.items img{width:110px;height:110px;object-fit:contain;transition:transform .3s}.items article:hover img{transform:rotate(-8deg) scale(1.08)}.items p{margin:0;font-size:15px}.wardrobe{text-align:center}.wardrobe>p{max-width:630px;margin-left:auto;margin-right:auto}.skin-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:48px}.skin{padding:22px 12px 18px;border-radius:28px;background:#f2e9d8}.skin:nth-child(even){background:#e5eee7}.skin img{width:100%;height:180px;object-fit:contain;transition:transform .3s}.skin:hover img{transform:translateY(-12px) rotate(-4deg)}.skin p{margin:12px 0 0;font-size:14px;font-weight:bold}.endless{background:radial-gradient(ellipse at 80% 40%,#385f78,transparent 60%),#122d40;color:#fff8e9;text-align:center;position:relative}.endless .eyebrow{color:var(--gold)}.endless h2{font-size:clamp(44px,6vw,80px)}.endless p:not(.eyebrow){max-width:520px;margin:0 auto 35px;color:#c2d5dd}footer{display:flex;justify-content:space-between;padding:45px 8%;align-items:center;gap:25px;background:#102636;color:#bcd1d9;font-size:13px}footer>div:last-child{display:flex;flex-direction:column;gap:10px}footer p{margin:10px 0}footer a:hover{text-decoration:underline}dialog{padding:0;border:0;border-radius:24px;background:#102636;max-width:90vw;width:440px;overflow:visible}dialog::backdrop{background:#07131ce8;backdrop-filter:blur(8px)}video{display:block;width:100%;max-height:82vh;border-radius:24px}#closeStory{position:absolute;right:-12px;top:-16px;z-index:5;width:44px;height:44px;border:0;background:var(--cream);border-radius:50%;font-size:30px;color:var(--ink)}@keyframes hop{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-20px) rotate(3deg)}}@media(max-width:900px){header{padding:15px 5%}nav{gap:15px}nav>a:not(.mini){display:none}.hero{min-height:1050px;height:auto;align-items:start;padding:145px 7% 490px}.hero-copy{width:100%;max-width:650px}h1{font-size:55px}.hero-art{width:340px;right:calc(50% - 170px);bottom:100px;height:330px}.hero-flea{width:85%}.platform{bottom:-12%}.sticker{right:-10px}.ribbon{gap:15px;font-size:11px}.section{padding:70px 6%}.section-title{display:block}.section-title p:last-child{max-width:600px}.world-grid{grid-template-columns:repeat(2,1fr)}.world{height:340px}.boost{gap:35px;grid-template-columns:1fr}.boost h2 br{display:none}.skin-grid{grid-template-columns:repeat(2,1fr)}.skin img{height:165px}}@media(max-width:430px){h1{font-size:43px;letter-spacing:-1.5px}.hero{padding-top:125px;min-height:1040px}.hero-art{width:300px;right:calc(50% - 150px)}header img{width:105px}.mini{padding:9px 12px;font-size:12px}nav{gap:10px}.ribbon{flex-direction:column;gap:7px}.ribbon b{display:none}.world{height:280px}.world h3{font-size:18px}.world div{left:17px}.items{gap:15px}.items img{width:85px;height:95px}.items article{gap:18px}footer{flex-direction:column;align-items:start}.skin img{height:140px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Original game frames: their transparent canvas already contains the jump path. */
.hero-art{width:min(38vw,450px);height:auto;aspect-ratio:385/600;bottom:12%;right:6%}
#menuHero{position:absolute;top:0;left:0;width:100%;height:87.6667%;padding:0;border:0;background:none;z-index:2;cursor:pointer;touch-action:manipulation}
#menuHero canvas{display:block;width:100%;height:100%;object-fit:contain}
.hero-art .platform{top:78%;bottom:auto;left:5%;width:90%;z-index:1}
.hero-art .sticker{z-index:3;pointer-events:none;top:17%}
@media(max-width:900px){.hero-art{width:300px;right:calc(50% - 150px);bottom:55px}}
@media(max-width:430px){.hero-art{width:270px;right:calc(50% - 135px);bottom:65px}}

/* Wider island; the grass surface meets the fixed 526px foot baseline. */
.hero-art .platform{left:-62%;width:180%;height:39%;top:75%;object-fit:fill}
#menuHero{left:-18%}
@media(max-width:900px){
 .hero-art .platform{left:-20%;width:140%;height:35%;top:76.3%}
 #menuHero{left:4%}
}
