:root{--ink:#302747;--cream:#fff3cd;--pink:#e8398c;--pink-dark:#b91e67;--yellow:#ffc107;--muted:#716578}
body{background:#fff}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.skip-link:not(:focus){width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}
@font-face{font-family:Montserrat;src:url('/assets/brand/montserrat-latin-400.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
.site-header{position:relative;display:block;height:auto;min-height:120px;max-width:none;padding:0 24px;background:#fff}
.header-inner{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 95px minmax(0,1fr);column-gap:15px;align-items:center;min-height:120px;max-width:1000px;margin:auto}
.header-logo{grid-column:2;grid-row:1;display:block;width:95px;height:95px;border-radius:50%}
.header-logo img{display:block;width:100%;height:100%;object-fit:contain}
.site-header nav{display:contents;font:400 18px/1.4 Montserrat,Arial,sans-serif;color:#ff2a9b}
.site-header nav ul{grid-row:1;display:flex;align-items:center;gap:0;list-style:none;padding:0;margin:0}
.site-header .nav-left{grid-column:1;justify-content:flex-end}.site-header .nav-right{grid-column:3;justify-content:flex-start}
.site-header nav a{position:relative;display:block;padding:0 24px;line-height:120px;text-transform:uppercase;white-space:nowrap;transition:color .2s}
.site-header nav a:hover,.site-header nav a:focus-visible,.site-header nav .nav-current{color:#f90}
.site-header nav a::before,.site-header nav a::after{position:absolute;opacity:0;transition:opacity .2s,transform .2s}
.site-header nav a::before{content:'[';left:10px;transform:translateX(5px)}.site-header nav a::after{content:']';right:10px;transform:translateX(-5px)}
.site-header nav a:hover::before,.site-header nav a:hover::after,.site-header nav a:focus-visible::before,.site-header nav a:focus-visible::after{opacity:1;transform:translateX(0)}
.menu-toggle{display:none}
@media(max-width:1023.98px){
 .site-header{padding:0 24px}
 .header-inner{display:flex;flex-wrap:wrap;justify-content:center;min-height:120px;padding:120px 0 0}
 .header-logo{position:absolute;top:27px;left:50%;transform:translateX(-50%);width:66px;height:66px}
 .menu-toggle:not([hidden]){position:absolute;top:38px;left:8px;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:4px;background:transparent;color:#888;padding:12px}
 .menu-toggle span,.menu-toggle span::before,.menu-toggle span::after{display:block;width:19px;height:2px;background:currentColor;transition:transform .2s}
 .menu-toggle span{position:relative}.menu-toggle span::before,.menu-toggle span::after{content:'';position:absolute;left:0;top:-6px}.menu-toggle span::after{top:6px}
 .menu-toggle[aria-expanded="true"] span{background:transparent}.menu-toggle[aria-expanded="true"] span::before{transform:translateY(6px) rotate(45deg)}.menu-toggle[aria-expanded="true"] span::after{transform:translateY(-6px) rotate(-45deg)}
 .site-header nav{display:grid;grid-template-columns:1fr 1fr;gap:0;width:100%;padding:0 0 18px;font-size:15px}
 .site-header[data-menu-ready] nav{display:none}.site-header[data-menu-open] nav{display:grid}
 .site-header nav ul{display:flex;flex-direction:column;align-items:stretch;grid-row:auto}
 .site-header .nav-left,.site-header .nav-right{grid-column:auto;justify-content:flex-start}
 .site-header nav a{line-height:48px;text-align:center;padding:0 12px}
 .site-header nav a::before{left:3px}.site-header nav a::after{right:3px}
}
.button{background:var(--yellow);border:1px solid var(--yellow);border-radius:4px;box-shadow:none;color:#30223d;font-weight:800;transition:background .2s,transform .2s}
.button:hover{background:#ffd13d;box-shadow:none;transform:translateY(-2px)}

/* Each character belongs to a specific cover, page edge or panel. No shared floor. */
.mystery-hero{position:relative;isolation:isolate;overflow:hidden;background:#b9b6f4;border-top:7px solid var(--pink)}
.street-backdrop{position:absolute;inset:0;z-index:-1;pointer-events:none}
.street-backdrop img{display:block;width:100%;height:100%;object-fit:fill}
.mystery-stage{position:relative;width:100%;max-width:1440px;min-height:720px;aspect-ratio:16/9;margin:auto}
.book-hideout{position:absolute;left:50%;top:16%;width:27%;transform:translateX(-50%) rotate(-5deg);isolation:isolate}
.preview-book{position:relative;display:block;width:100%;z-index:3;padding:0;border:0;border-radius:2px 5px 5px 2px;background:#7654d3;line-height:0;box-shadow:3px 1px 0 #d8c8c0,7px 3px 0 #fffdf8,9px 5px 0 #c8b2ae,17px 20px 24px #170a3938;transition:filter .25s}
.preview-book:hover{filter:brightness(1.04)}
.preview-book img{display:block;width:100%;height:auto;border-radius:inherit}
.preview-book:after{content:"";position:absolute;inset:0;box-shadow:inset 4px 0 6px #332a5520;pointer-events:none;border-radius:inherit}
.peek{position:absolute;z-index:1;padding:0;border:0;background:none;line-height:0;touch-action:manipulation;transform:rotate(var(--lean,0deg));--hide-x:0%;--hide-y:70%;--show-x:0px;--show-y:-6px}
.peek img{display:block;width:100%;height:auto;filter:drop-shadow(2px 3px 1px #210c4030);transform:translate(0,0);transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .25s}
.peek:hover img,.peek:focus-visible img{transform:translate(var(--show-x),var(--show-y))}
.peek.is-hiding img{transform:translate(var(--hide-x),var(--hide-y));opacity:0}
.peek:focus-visible{outline:2px dashed #ffdc60;outline-offset:4px;border-radius:12px}
.peek-invictor{left:-39%;top:29%;width:53%;--hide-x:70%;--hide-y:20%;--show-x:-8px;--show-y:0px;--lean:-9deg}
.peek-mike{width:36%;right:4%;bottom:calc(100% - 9px);z-index:4;--hide-y:65%;--lean:0deg}
.clue-envelope{position:absolute;left:22%;bottom:13%;width:7%;height:auto;transform:rotate(-7deg);pointer-events:none}
.edge-hideout{position:absolute;left:0;top:55%;width:170px;height:210px;overflow:hidden;border-left:7px solid #e8398c}
.peek-acenix{width:150px;left:-15px;top:5px;--hide-x:-100%;--hide-y:0%;--show-x:6px;--show-y:0px}
.door-hideout{position:absolute;right:6%;bottom:16%;width:96px;aspect-ratio:300/691;isolation:isolate}
.door-toggle{position:absolute;inset:0;padding:0;border:0;border-radius:3px;background:transparent;box-shadow:none;perspective:600px;touch-action:manipulation}
.door-recess{position:absolute;inset:2px 1px 2px 3px;overflow:hidden;border:3px solid #44215b;border-radius:3px;background:#302442;box-shadow:inset 6px 4px 9px #190d3980}
.door-guest{position:absolute;bottom:-2%;left:5%;width:90%;height:auto;max-height:95%;object-fit:contain;transform:translateY(12px);opacity:0;transition:transform .4s .12s,opacity .2s}
.door-leaf{position:absolute;inset:0;z-index:2;background:transparent;border:0;transform-origin:2% center;transform:rotateY(0deg);transform-style:preserve-3d;transition:transform .65s cubic-bezier(.2,.75,.2,1);pointer-events:none}
.door-leaf img{width:100%;height:100%;object-fit:fill;display:block}
.door-toggle:hover:not(.is-open) .door-leaf{transform:rotateY(-12deg)}
.door-toggle.is-open .door-leaf{transform:rotateY(-108deg)}
.door-toggle.is-open .door-guest{opacity:1;transform:translateY(0)}
.door-toggle:focus-visible{outline:3px dashed #ffe188;outline-offset:7px}
.hero-action{position:absolute;left:50%;bottom:3%;transform:translateX(-50%);z-index:5;text-align:center}
.action-hideout{position:relative}
.hero-action .button{position:relative;z-index:2;padding:15px 25px;font-size:16px;white-space:nowrap}
.peek-florin{width:65px;right:15px;bottom:calc(100% - 7px);z-index:3;--hide-y:75%;--lean:0deg}
.paper-teatrillo .book-hideout{transform:translateX(-50%) rotate(4deg)}
.is-arriving img{animation:peek-out .8s .05s cubic-bezier(.2,.8,.2,1) both}
@keyframes peek-out{from{transform:translate(var(--hide-x),var(--hide-y));opacity:0}to{transform:translate(0,0);opacity:1}}

.book-intro{max-width:880px;margin:auto;padding:48px 30px 52px;text-align:center}
.book-intro h1{margin:0 0 20px;color:var(--pink-dark);font-size:clamp(28px,3.4vw,42px);line-height:1.15;letter-spacing:-1px;font-weight:1000;text-wrap:balance}
.book-intro p{margin:14px 0 0;font-size:17px;line-height:1.7;color:#584653}
.book-intro strong{color:var(--ink);font-weight:800}
.section-intro>p.map-hype:last-child{max-width:720px;margin:16px auto 0;font-size:17px;line-height:1.7;color:#584653;text-wrap:pretty}
.map-hype strong{color:var(--pink-dark)}
.book-discover{padding:64px 6% 72px;background:#f8f4ff;border-top:1px solid #e7ddf1}
.discover-inner{max-width:1040px;margin:auto}
.book-discover h2{max-width:720px;margin:0 auto 22px;text-align:center;font-size:clamp(28px,3.4vw,40px);font-weight:1000;line-height:1.15;letter-spacing:-1px;color:var(--pink-dark);text-wrap:balance}
.book-discover p{margin:0;font-size:16px;line-height:1.8;color:#584653;text-wrap:pretty}
.book-discover .discover-lead{max-width:780px;margin:0 auto 38px;text-align:center;font-size:17px}
.discover-topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 48px}
.discover-topics>div{padding-top:20px;border-top:2px solid #e5d6f0}
.book-discover h3{margin:0 0 12px;font-size:22px;line-height:1.3;color:var(--ink);text-wrap:balance}
.book-discover strong{font-weight:800;color:var(--ink)}
.book-discover a{color:var(--pink-dark);font-weight:800;text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){.book-discover{padding:40px 7% 44px}.discover-topics{grid-template-columns:1fr;gap:24px}.book-discover p,.book-discover .discover-lead{font-size:15px;line-height:1.7}.book-discover .discover-lead{margin-bottom:28px}.book-discover h3{font-size:21px}}
.join-section{--papu-head:104px;position:relative;max-width:none;background:#fff3cd;padding:70px max(6%,calc((100% - 1200px)/2)) 44px}
.section-intro{margin-bottom:125px}.section-intro h2{font-size:34px;letter-spacing:-1px;margin-bottom:12px;color:#b91e67}.section-intro>p:last-child{font-size:15px;color:#6b586f}
.join-layout{gap:32px;position:relative}
.map-hideout,.signup-hideout{position:relative;min-width:0;isolation:isolate}
.map-hideout{--ghost-width:calc(var(--papu-head)/.94);--ghost-grip:calc(var(--ghost-width)*.84);padding-left:calc(var(--ghost-grip) - 12px)}
.map-panel,.signup-panel{position:relative;z-index:2;border-radius:7px}
/* Match visible heads, accounting for the different transparent canvases and poses. */
.peek-timba{width:var(--papu-head);right:8%;bottom:calc(100% - 5px);z-index:3;--lean:0deg;--hide-y:68%}
.sleep-z{position:absolute;right:-7px;top:8px;display:flex;align-items:flex-end;gap:3px;color:#4d64a5;font-weight:900;line-height:1;pointer-events:none;transition:opacity .2s}
.sleep-z i{font-style:normal;font-size:14px;animation:sleep-drift 3s ease-in-out infinite}
.sleep-z i:nth-child(2){font-size:19px;animation-delay:.4s}.sleep-z i:nth-child(3){font-size:24px;animation-delay:.8s}
.peek-timba.is-hiding .sleep-z{opacity:0}
@keyframes sleep-drift{0%,100%{transform:translateY(0);opacity:.45}50%{transform:translateY(-7px);opacity:1}}
.peek-trollino-fantasma{width:var(--ghost-width);left:-12px;top:105px;z-index:auto;transform:none;--hide-x:70%;--hide-y:0%;--show-x:0px;--show-y:0px}
/* Body behind the panel; only the two gripping hands overlap its front face. */
.peek-trollino-fantasma img{position:relative;z-index:1;filter:none}
.peek-trollino-fantasma .ghost-grip{position:absolute;inset:0;z-index:3;clip-path:polygon(74% 50%,95% 50%,95% 66%,84% 66%,84% 68%,94% 68%,94% 84%,74% 84%)}
.peek-mondongo{width:calc(var(--papu-head)/.8);right:25px;top:calc(var(--papu-head)*-1.05);--lean:0deg;--hide-y:65%}
.signup-panel{background:#fff;border:1px solid #f0caac;box-shadow:none}
.signup-panel h3{font-size:28px;letter-spacing:-.7px;color:#b91e67}
#signup-form{margin-top:22px}.field-hint:empty{display:none}
.field input{border-radius:4px;border-color:#dfd5dd}
.button-submit{border-radius:4px;box-shadow:none;padding:14px 16px}
.signup-action-hideout{position:relative;isolation:isolate;margin-top:calc(var(--papu-head)*1.08)}
.signup-action-hideout .button-submit{position:relative;z-index:2}
.peek-invictor-rosa{width:calc(var(--papu-head)/.98);right:12px;bottom:calc(100% - 7px);z-index:3;--hide-y:75%;--lean:0deg}
.map-panel{background:#f7f3fb;border-color:#d1c5e3}
.map-topbar{background:#ede4f8;border-color:#d7c9e8}.map-topbar #map-total{max-width:155px;text-align:right;color:#695775}
.map-stage{background-color:#f0eaf8}
.world-map{user-select:none;-webkit-user-select:none;touch-action:pan-y pinch-zoom;cursor:default}
.world-map.can-pan{touch-action:none;cursor:grab}
.world-map.is-dragging,.world-map.is-dragging .map-pin{cursor:grabbing}
.world-map:focus-visible{outline:3px solid var(--pink);outline-offset:-3px}
.map-controls button{display:grid;place-items:center;color:var(--ink);touch-action:manipulation}
.map-controls button[aria-pressed=true]{background:var(--yellow)}
.map-controls button:disabled{opacity:.35;cursor:default}
.map-controls button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.map-compass{pointer-events:none;left:15px}
.city-summary{color:#695775;padding-top:15px}
.map-controls button{width:44px;height:44px}.field-hint,.consent,.form-reassurance,.parents-note{color:#746475}
.parents-note{margin-top:28px}
footer{border-top:5px solid var(--pink);background:#fff;color:#73566c;max-width:none;padding:28px max(6%,calc((100% - 1200px)/2)) 22px}
.cover-dialog{padding:24px 24px 12px;max-width:540px;width:90vw;max-height:95vh;border:1px solid #b4a18c;border-radius:5px;background:#fff3cd;box-shadow:0 20px 80px #221b2944;overflow:auto;text-align:center}
.cover-dialog img{display:block;width:auto;max-width:100%;height:auto;max-height:80vh;margin:auto}
.cover-dialog .dialog-close{top:0;right:0;background:white;width:32px;height:32px;font-size:25px;border-radius:0 4px 0 4px;line-height:1;z-index:2}
.cover-dialog p{font-size:10px;color:#7d6d77;margin:10px 0 0}
@media(min-width:1441px){.mystery-stage{height:810px}}
@media(max-width:1000px){
 .mystery-stage{aspect-ratio:4/3;min-height:620px}.book-hideout{width:32%;top:15%}
 .edge-hideout{top:55%;width:125px;height:170px}.peek-acenix{width:120px;left:-15px}
 .door-hideout{width:82px;bottom:16%;right:5%}.hero-action{bottom:5%}
 .clue-envelope{width:8%;left:23%}
}
@media(max-width:760px){
 .book-intro{padding:32px 7% 36px}.book-intro p{font-size:15px;line-height:1.65}.section-intro>p.map-hype:last-child{font-size:15px}
 .join-layout{gap:135px}.signup-hideout{width:100%;max-width:500px;margin:auto}
 .join-section{--papu-head:90px}
 .peek-timba{right:7%}.peek-mondongo{right:24px}
 .peek-trollino-fantasma{top:100px}
}
@media(max-width:760px){
 .mystery-stage{aspect-ratio:auto;height:590px;min-height:0}
 .book-hideout{top:16%;width:min(53%,270px)}
 .peek-invictor{left:-37%;top:35%;width:52%}.peek-mike{right:4%;width:41%}
 .clue-envelope{left:25%;bottom:14%;width:12%;max-width:58px;transform:rotate(-7deg)}
 .edge-hideout{top:auto;bottom:90px;width:83px;height:120px;border-left-width:5px}
 .peek-acenix{width:85px;left:-12px;top:0}
 .door-hideout{right:2%;bottom:14.5%;width:52px}
 .door-recess{border-width:2px}
 .hero-action{bottom:29px}
 .hero-action .button{padding:13px 20px;font-size:14px;gap:15px}
 .peek-florin{width:54px;right:15px}
 .join-section{padding:42px 6% 30px}.section-intro{margin-bottom:112px}.section-intro h2{font-size:28px}
 .section-intro>p:last-child{font-size:14px}
 .signup-panel{padding:24px}.signup-panel h3{font-size:26px}
 .map-stage{height:300px}.map-topbar{padding:0 14px}.map-topbar #map-total{font-size:9px;max-width:130px}.map-live{font-size:11px}.parents-note{font-size:10px}
 .map-controls{flex-direction:row;bottom:12px;right:12px}
 .map-controls button+button{border-top:0;border-left:1px solid #e1e9e4}
 .map-compass{top:12px;bottom:auto}
 .cover-dialog{padding:20px 15px 10px}
}
@media(max-width:360px){.mystery-stage{height:545px}.hero-action .button{font-size:13px;padding:13px 17px}.door-hideout{width:45px}.edge-hideout{bottom:90px}}
@media(prefers-reduced-motion:reduce){.peek img,.sleep-z,.sleep-z i,.preview-book,.door-leaf,.door-guest{transition:none!important;animation:none!important}html{scroll-behavior:auto}}
