/* VOICE occasion: a cheerful game launch site, bright and clean like the game's own UI
   IDEA the game's backyard on a sunny day: open sky, crisp cards, coral play buttons
   PICTURE the full painted cast in the backyard, big, with each character large in its own card below
   COLOUR pure white ground, bright sky blue band, coral accent from the Play button, deep teal ink
   TYPE Nunito 900 display (the game's font) + Nunito 600 text
   LAYOUT laptop: sky band with title left, painted scene right; phone: logo, title, scene, buttons */
:root{color-scheme:light;--bg:#fff;--ink:#123a38;--soft:#4c6a68;--sky:#43b8f4;--sky2:#9fdcff;--skyp:#eaf7ff;--coral:#ff6a3d;--coral2:#f2521f;--peach:#ffe2d4;--mint:#d4f4e2;--lav:#e7e1ff;--sun:#fff0b3}
*{box-sizing:border-box;min-width:0}
html{scroll-behavior:smooth;scroll-padding-top:80px}
body{margin:0;background:var(--bg);color:var(--ink);font:600 17px/1.55 Nunito,system-ui,-apple-system,sans-serif;overflow-x:clip;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3{font-weight:900;line-height:1.05;letter-spacing:-.02em;margin:0;text-wrap:balance}
.in{width:min(1240px,100%);margin:0 auto;padding:0 max(5vw,16px)}
.band{padding-block:clamp(56px,7vw,96px)}

/* nav */
.top{position:sticky;top:0;z-index:30;padding:10px 0;background:#ffffffe8;backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid #12383614}
.top .in{display:flex;align-items:center;gap:10px}
.top .logo{height:46px;width:auto}
.top nav{margin-left:auto;display:flex;gap:4px;flex-wrap:wrap}
.top nav a{font-weight:800;font-size:16px;text-decoration:none;padding:10px 16px;border-radius:999px;color:var(--ink)}
.top nav a:hover{background:var(--skyp)}
.top nav a.on{background:var(--ink);color:#fff}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:12px 28px;border-radius:999px;font-weight:900;font-size:18px;text-decoration:none;border:0;cursor:pointer;transition:transform .15s}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(1px)}
.btn:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.coral{background:var(--coral);color:#fff;box-shadow:0 4px 0 var(--coral2)}
.dark{background:#101418;color:#fff;box-shadow:0 4px 0 #000}
.dark .lb{display:flex;flex-direction:column;align-items:flex-start;line-height:1.1}
.dark .lb small{font-size:12px;font-weight:700;opacity:.8}
.dark .lb span{font-size:19px}
.white{background:#fff;color:var(--ink);box-shadow:0 4px 0 #12383622}

/* hero */
.hero{background:linear-gradient(180deg,var(--sky) 0%,var(--sky2) 70%,#d7f0ff 100%);border-radius:0 0 clamp(28px,5vw,56px) clamp(28px,5vw,56px);overflow:hidden}
.hero .in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:center;padding-block:clamp(36px,5vw,72px)}
.hero .big-logo{width:min(420px,90%);height:auto;margin:0 0 20px -8px;filter:drop-shadow(0 10px 16px #0b4d6e40)}
.hero h1{font-size:clamp(34px,4.4vw,52px);color:#fff;text-shadow:0 3px 0 #2a8fc6;margin-bottom:16px}
.hero p{font-size:19px;color:#0f3a52;margin:0 0 28px;max-width:30em}
.cta{display:flex;flex-wrap:wrap;gap:14px}
.scene{position:relative;aspect-ratio:4/5;border-radius:36px;overflow:hidden;box-shadow:0 0 0 6px #fff,0 30px 60px #0b4d6e44}
.scene img{width:100%;height:100%;object-fit:cover;object-position:center 42%}
.soon{display:inline-block;font-weight:900;font-size:14px;color:#fff;background:#0f3a5233;padding:6px 14px;border-radius:999px;margin-bottom:18px}

/* section heads */
.sh{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:20px;margin-bottom:34px}
.sh h2{font-size:clamp(32px,4vw,48px)}
.sh p{grid-column:1;margin:10px 0 0;color:var(--soft);max-width:36em}

/* cast */
.cast{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.who{border-radius:32px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px #12383614,0 14px 30px #12383614;display:flex;flex-direction:column}
.who .pic{height:360px;display:flex;align-items:flex-end;justify-content:center;padding:18px 10px 0}
.who .pic img{max-height:100%;width:auto;object-fit:contain;filter:drop-shadow(0 12px 14px #3a1d0a30);transition:transform .3s}
.who:hover .pic img{transform:translateY(-6px) scale(1.03)}
.who .tx{padding:18px 22px 24px}
.who h3{font-size:26px}
.who p{margin:6px 0 0;color:var(--soft);font-size:16px}
.c1 .pic{background:linear-gradient(#ffd2bf,var(--peach))}
.c2 .pic{background:linear-gradient(#bdeed2,var(--mint))}
.c3 .pic{background:linear-gradient(#d8cffd,var(--lav))}
.c4 .pic{background:linear-gradient(#ffe68a,var(--sun))}

/* chapters */
.chap{background:var(--skyp)}
.arrows{display:flex;gap:10px}
.arrows button{width:52px;height:52px;border-radius:50%;border:0;background:#fff;color:var(--ink);font:900 22px Nunito,sans-serif;cursor:pointer;box-shadow:0 4px 0 #12383622}
.arrows button:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.strip{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding:6px max(5vw,16px) 18px;scrollbar-width:none}
.strip::-webkit-scrollbar{display:none}
.strip figure{flex:none;width:clamp(230px,24vw,300px);margin:0;scroll-snap-align:start}
.strip img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:28px;box-shadow:0 0 0 5px #fff,0 16px 30px #0b4d6e26}
.strip figcaption{font-weight:900;font-size:19px;margin-top:14px;padding-left:4px}
.strip figcaption small{display:block;font-weight:700;font-size:14px;color:var(--soft)}

/* features */
.feats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.feat{border-radius:32px;padding:30px 28px;display:flex;flex-direction:column;gap:16px}
.feat img{width:84px;height:84px;object-fit:contain;filter:drop-shadow(0 6px 6px #3a1d0a30)}
.feat h3{font-size:24px}
.feat p{margin:0;color:var(--soft);font-size:16px}
.f1{background:var(--peach)}.f2{background:var(--mint)}.f3{background:var(--lav)}

/* memory */
.note{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,4vw,56px);align-items:center;background:linear-gradient(135deg,#fff4ec,#ffe2d4);border-radius:40px;padding:clamp(28px,4vw,56px)}
.note img{width:min(320px,100%);margin:0 auto;filter:drop-shadow(0 14px 16px #3a1d0a30)}
.note h2{font-size:clamp(30px,3.6vw,44px);margin-bottom:14px}
.note p{margin:0 0 12px;color:#5a4636;font-size:18px}

/* closing call */
.final{text-align:center;background:var(--sky);color:#fff;border-radius:40px;padding:clamp(36px,5vw,64px) 20px}
.final h2{font-size:clamp(30px,4vw,46px);margin-bottom:10px;text-shadow:0 3px 0 #2a8fc6}
.final p{margin:0 0 24px;color:#0f3a52}

/* doc pages */
.phead{background:linear-gradient(180deg,var(--sky),var(--sky2));border-radius:0 0 40px 40px;text-align:center;padding:clamp(40px,6vw,72px) 16px}
.phead h1{font-size:clamp(36px,5vw,52px);color:#fff;text-shadow:0 3px 0 #2a8fc6}
.phead p{margin:10px 0 0;color:#0f3a52}
.doc{max-width:780px;margin:0 auto;padding-block:40px 20px}
.box{border-radius:28px;background:#fff;box-shadow:0 0 0 1px #12383614,0 12px 28px #12383612;padding:clamp(22px,3vw,36px);margin-bottom:24px}
.box h2{font-size:28px;margin-bottom:14px}
.box h3{font-size:20px;margin:24px 0 6px}
.box h3:first-of-type{margin-top:6px}
.box p,.box li{font-weight:500;font-size:17px;margin:0 0 12px;color:#24403e}
.box ul{padding-left:22px;margin:0}
.box a:not(.btn){color:var(--coral2);font-weight:800}
.mail{display:flex;flex-wrap:wrap;gap:18px;align-items:center;justify-content:space-between;background:var(--peach);box-shadow:none}
.mail p{margin:0}

/* footer */
footer{background:var(--ink);color:#d8ebe8;margin-top:clamp(48px,6vw,80px);padding:48px 0 40px}
footer .in{display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between}
footer img{height:58px;width:auto}
footer nav{display:flex;flex-wrap:wrap;gap:8px 22px}
footer a{color:#fff;text-decoration:none;font-weight:800}
footer a:hover{text-decoration:underline}
footer small{display:block;width:100%;color:#9fbdb8;font-size:14px;font-weight:600}

@media (max-width:900px){
 .cast{grid-template-columns:repeat(2,minmax(0,1fr))}
 .feats{grid-template-columns:minmax(0,1fr)}
 .feat{flex-direction:row;align-items:center}
}
@media (max-width:700px){
 .top .logo{height:40px}.top nav a{padding:9px 12px;font-size:15px}
 .hero .in{grid-template-columns:minmax(0,1fr);text-align:center;padding-top:28px}
 .hero .big-logo{margin:0 auto 14px;width:min(300px,80%)}
 .hero p{margin-inline:auto;font-size:17px}
 .cta{justify-content:center}
 .hero .scene{aspect-ratio:1/1.05}
 .sh{grid-template-columns:minmax(0,1fr)}
 .sh .arrows{display:none}
 .cast{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;margin:0 calc(max(5vw,16px)*-1);padding:6px max(5vw,16px) 18px;scrollbar-width:none}
 .cast::-webkit-scrollbar{display:none}
 .who{flex:none;width:78vw;scroll-snap-align:center}
 .who .pic{height:340px}
 .note{grid-template-columns:minmax(0,1fr);text-align:center}
 .note img{width:220px}
 .mail{justify-content:center;text-align:center}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.hero .in{grid-template-areas:"pitch scene" "cta scene";grid-template-rows:auto auto;row-gap:0}
.hero .pitch{grid-area:pitch;align-self:end}
.hero .cta{grid-area:cta;align-self:start}
.hero .scene{grid-area:scene}
@media (max-width:700px){.hero .in{grid-template-areas:"pitch" "scene" "cta";row-gap:26px}}
.feat img{flex:none}
.strip{padding-left:calc(max(0px,(100vw - 1240px)/2) + max(5vw,16px));padding-right:calc(max(0px,(100vw - 1240px)/2) + max(5vw,16px));scroll-padding-left:calc(max(0px,(100vw - 1240px)/2) + max(5vw,16px))}
@media (max-width:700px){.feat img{width:68px;height:68px}}

/* ---- dressed up: game-style touches ---- */
.hero{position:relative}
.hero h1{-webkit-text-stroke:0;paint-order:stroke fill;text-shadow:0 4px 0 #1f7fb6,0 0 1px #1f7fb6;letter-spacing:-.01em}
.toy{position:absolute;z-index:1;pointer-events:none;filter:drop-shadow(0 10px 10px #0b4d6e40);animation:bob 5s ease-in-out infinite}
.toy.t1{width:86px;left:2%;top:58%;animation-delay:-1s}
.toy.t2{width:92px;right:3%;top:8%;animation-delay:-2.5s}
.toy.t3{width:74px;left:44%;top:6%;animation-delay:-3.5s;transform:rotate(-14deg)}
.toy.t4{width:100px;right:46%;bottom:6%;animation-delay:-.5s}
@keyframes bob{0%,100%{translate:0 0;rotate:-4deg}50%{translate:0 -12px;rotate:4deg}}
.hero .in{position:relative;z-index:2}
.who{box-shadow:inset 0 0 0 4px #ffffffb3,0 8px 0 var(--lip,#c9d6d4),0 18px 30px #12383618}
.c1{--lip:#f3a483}.c2{--lip:#8fd3ad}.c3{--lip:#b3a3ef}.c4{--lip:#e6c34f}
.who .tx{background:#fff}
.strip figure{background:#fff;border-radius:30px;padding:8px;box-shadow:0 8px 0 var(--lip,#9fd3f2),0 18px 30px #0b4d6e22}
.strip figure:nth-child(5n+1){--lip:#7cc8f2}.strip figure:nth-child(5n+2){--lip:#f3a483}.strip figure:nth-child(5n+3){--lip:#8fd3ad}.strip figure:nth-child(5n+4){--lip:#b3a3ef}.strip figure:nth-child(5n+5){--lip:#e6c34f}
.strip img{border-radius:22px;box-shadow:none}
.strip figcaption{text-align:center;padding:10px 4px 8px;margin:0;font-size:20px}
.feat{box-shadow:inset 0 0 0 4px #ffffffb3,0 8px 0 var(--lip)}
.f1{--lip:#f3a483}.f2{--lip:#8fd3ad}.f3{--lip:#b3a3ef}
.feat img{width:96px;height:96px}
.note{box-shadow:inset 0 0 0 4px #ffffffb3,0 8px 0 #f3b89a}
.final{position:relative;overflow:hidden;box-shadow:inset 0 0 0 4px #ffffff66,0 8px 0 #2a8fc6}
.final h2{text-shadow:0 4px 0 #1f7fb6}
.final .ft{position:absolute;width:90px;opacity:.95;filter:drop-shadow(0 8px 8px #0b4d6e40);animation:bob 5s ease-in-out infinite}
.final .ft.a{left:4%;top:14%}.final .ft.b{right:5%;bottom:12%;animation-delay:-2s}
.final .in2{position:relative;z-index:1}
.social{display:flex;justify-content:center;gap:14px;margin-top:22px}
.social a{width:52px;height:52px;border-radius:16px;background:#fff;display:grid;place-items:center;box-shadow:0 4px 0 #1f7fb6}
.social svg{width:26px;height:26px}
footer{position:relative;margin-top:clamp(70px,8vw,110px)}
footer::before{content:'';position:absolute;left:0;right:0;top:-46px;height:60px;background:linear-gradient(90deg,var(--coral),#ffb23d,var(--sky));clip-path:polygon(0 40%,100% 0,100% 100%,0 100%)}
footer::after{content:'';position:absolute;left:0;right:0;top:-22px;height:40px;background:var(--ink);clip-path:polygon(0 55%,100% 0,100% 100%,0 100%)}
@media (max-width:700px){
 .toy.t1{width:58px;left:3%;top:auto;bottom:24%}.toy.t2{width:60px;right:3%;top:3%}.toy.t3{display:none}.toy.t4{width:64px;right:4%;bottom:24%}
 .final .ft{width:60px}.final .ft.a{left:3%;top:6%}.final .ft.b{right:3%;bottom:4%}
}
@media (prefers-reduced-motion:reduce){.toy,.final .ft{animation:none}}
@media (max-width:700px){.final .ft{width:46px}.final .ft.a{left:3%;top:3%}}
