@font-face{font-family:MLMono;src:url('mono.ttf') format('truetype');font-display:swap}
@font-face{font-family:MLDisplay;src:url('manrope.ttf') format('truetype');font-weight:200 800;font-display:swap}@font-face{font-family:MLText;src:url('manrope.ttf') format('truetype');font-weight:200 800;font-display:swap}
.ml-portfolio{--ml-pink:#e3b9ce;--ml-yellow:#ead89f;--ml-ink:#3f3948;--ml-paper:#faf6ed;--ml-muted:#756c79;--ml-radius:24px;position:fixed;inset:0;width:100%;height:100dvh;z-index:99990;overflow:hidden;background:#eee9df;color:var(--ml-ink);font:15px/1.55 MLText,Arial,sans-serif;isolation:isolate;text-align:left}
.ml-portfolio.ml-windowed{position:relative;height:100svh;min-height:540px;z-index:1}.ml-portfolio *{box-sizing:border-box}.ml-portfolio [hidden]{display:none!important}.ml-portfolio button,.ml-portfolio a{-webkit-tap-highlight-color:transparent}.ml-portfolio button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;text-transform:none;letter-spacing:normal}.ml-portfolio a{color:inherit;text-decoration:none}.ml-portfolio a:hover{color:inherit}.ml-portfolio button:focus-visible,.ml-portfolio a:focus-visible{outline:3px solid #7f6d9d;outline-offset:4px}.ml-portfolio svg{display:block;width:24px;height:24px}.ml-portfolio h1,.ml-portfolio h2,.ml-portfolio h3,.ml-portfolio p{margin:0;color:inherit}.ml-portfolio h1,.ml-portfolio h2,.ml-portfolio h3{font-family:MLDisplay,Arial,sans-serif;font-weight:500;letter-spacing:-.055em;line-height:1.05}.ml-label{font-family:MLMono,monospace;display:block;font-size:10px;font-weight:600;letter-spacing:.12em;line-height:1.5;text-transform:uppercase;color:var(--ml-muted)}
.ml-worldlayer,.ml-room{position:absolute;inset:0}.ml-room{background:radial-gradient(ellipse at 38% 38%,#f6f1e8 0%,#eee8df 65%,#e2d9dd 100%);transition:background 1s}.ml-room:after{content:'';position:absolute;width:58%;height:16%;left:24%;top:66%;border-radius:50%;background:#7160781a;filter:blur(24px);z-index:-1}.ml-portfolio .ml-canvas{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;touch-action:none;cursor:grab}.ml-canvas:active{cursor:grabbing}.ml-portfolio[data-mood='1'] .ml-room{background:radial-gradient(ellipse at 40% 38%,#f7eadb,#e4d4d7)}.ml-portfolio[data-mood='2'] .ml-room{background:radial-gradient(ellipse at 40% 38%,#c7c2d5,#9d99b2)}.ml-world-error{position:absolute;top:45%;left:50%;transform:translate(-50%,-50%);width:min(440px,85%);padding:24px;background:var(--ml-paper);border-radius:20px}.ml-skip{position:absolute;top:10px;left:12px;transform:translateY(-150%);z-index:100;background:var(--ml-paper);padding:10px}.ml-skip:focus{transform:none}
.ml-top{position:absolute;inset:28px 34px auto;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;pointer-events:none;z-index:15}.ml-top>*{pointer-events:auto}.ml-brand{font-family:MLDisplay,Arial,sans-serif;font-size:45px;font-weight:700;line-height:.85;letter-spacing:-.1em;display:block;flex:0 0 145px}.ml-brand>span{color:#a5899c}.ml-brand small{display:block;margin-top:11px;font:8px/1.2 MLText,Arial,sans-serif;letter-spacing:.18em}.ml-dock{display:flex;align-items:center;gap:3px;padding:6px;background:#faf6edf0;border:1px solid #fff8;box-shadow:0 8px 25px #53415e0d;border-radius:100px;backdrop-filter:blur(14px)}.ml-dock button{height:43px;padding:0 19px;border-radius:100px;font-size:12px;white-space:nowrap;transition:background .2s,transform .2s}.ml-dock button>span{font-size:9px;opacity:.45;margin-right:7px}.ml-dock button[aria-current]{background:var(--ml-pink);box-shadow:inset 0 -2px #8a658319}.ml-dock button:hover{background:#e9e1e7;transform:translateY(-1px)}.ml-dock button[aria-current]:hover{background:var(--ml-pink)}.ml-top-tools{display:flex;gap:9px;justify-content:flex-end;flex:0 0 145px}.ml-icon{display:grid;place-items:center!important;width:46px;height:46px;min-width:46px;padding:0!important;border-radius:50%!important;background:#faf6edf2!important;box-shadow:0 2px 0 #4a405624!important;border:1px solid #ffffff80!important}.ml-icon svg{width:21px;height:21px}.ml-audio[aria-pressed='false']{opacity:.65}.ml-audio[aria-pressed='false']:after{content:'';position:absolute;width:22px;height:1.5px;background:currentColor;transform:rotate(-45deg)}.ml-audio{position:relative}.ml-settings-toggle{font-weight:700!important;letter-spacing:.1em!important;font-size:20px!important}
.ml-settings{position:absolute;right:34px;top:90px;width:280px;background:var(--ml-paper);padding:22px;border-radius:20px;box-shadow:0 20px 65px #30213922;z-index:25}.ml-settings button,.ml-settings a{display:block;width:100%;text-align:left;min-height:44px;padding:11px 0;font-size:13px;border-bottom:1px solid #ded4dc}.ml-settings>span:last-of-type{display:block;font-size:10px;color:var(--ml-muted);padding-top:17px}.ml-settings .ml-demo-edit{font-size:11px;border:0}.ml-welcome{position:absolute;top:122px;left:36px;max-width:300px;pointer-events:none;z-index:3}.ml-welcome h2{font-size:clamp(25px,2.8vw,42px);margin-top:13px}.ml-welcome h2 span{display:block}.ml-welcome p{font-size:11px;max-width:200px;margin-top:15px;color:var(--ml-muted)}
.ml-hotspots{position:absolute;inset:0;pointer-events:none;z-index:5}.ml-hotspot{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:9px;min-height:44px;padding:7px 15px 7px 7px!important;pointer-events:auto;border-radius:50px;background:var(--ml-paper)!important;border:1px solid #fff!important;box-shadow:0 3px 0 #5e4a6a30,0 8px 20px #51405d17;font-size:11px!important;white-space:nowrap;transition:box-shadow .2s}.ml-hotspot>span:first-child{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--ml-pink);font-size:10px}.ml-hotspot[data-go='board']>span:first-child{background:var(--ml-yellow)}.ml-hotspot[data-go='contact']>span:first-child{background:#bed2c5}.ml-hotspot:hover{box-shadow:0 5px 0 #5e4a6a30,0 12px 24px #51405d22}
.ml-guide{position:absolute;bottom:24px;left:28px;display:flex;align-items:flex-end;gap:12px;z-index:12;max-width:min(650px,calc(100% - 340px));pointer-events:none}.ml-guide>*{pointer-events:auto}.ml-mascot{padding:0!important;flex:0 0 104px;width:104px;height:138px;position:relative;filter:drop-shadow(0 4px 0 #fff8)}.ml-character{position:absolute;left:-17.5%;bottom:0;display:block;width:135%;height:100%;background-image:var(--ml-avatar);background-size:200% 200%;background-position:0 0;background-repeat:no-repeat}.ml-mascot[data-pose='1'] .ml-character{background-position:100% 0}.ml-mascot[data-pose='2'] .ml-character{background-position:0 100%}.ml-mascot[data-pose='3'] .ml-character{background-position:100% 100%}.ml-speaking{animation:ml-nod .28s ease-in-out 2}.ml-speech{position:relative;background:#faf6edf5;border:1px solid #74657844;box-shadow:0 4px 0 #77658233;border-radius:22px 22px 22px 6px;padding:17px 38px 18px 21px;margin-bottom:6px;backdrop-filter:blur(12px)}.ml-speech>span{display:block;font-size:8px;color:var(--ml-muted);letter-spacing:.12em;margin-bottom:7px}.ml-speech p{font-size:12px;line-height:1.6;max-width:420px}.ml-speech-next{position:absolute;right:2px;bottom:4px;font-size:20px!important;min-width:36px;min-height:36px}.ml-secrets{position:absolute;bottom:35px;right:34px;z-index:14}.ml-toys-toggle{display:flex;align-items:center;gap:10px;padding:13px 18px!important;min-height:48px;background:var(--ml-paper)!important;border:1px solid #fff!important;border-radius:50px;box-shadow:0 3px 0 #77658222;font-size:12px!important}.ml-toys-toggle svg{width:18px;height:18px;color:#a38aaa}.ml-discovered{font-size:10px;opacity:.6}.ml-toys-list{position:absolute;right:0;bottom:64px;width:330px;padding:23px;background:var(--ml-paper);border-radius:22px;box-shadow:0 15px 65px #42314f25}.ml-toys-grid{display:grid;grid-template-columns:1fr;gap:0;margin-top:12px;max-height:min(52dvh,440px);overflow:auto}.ml-toys-grid button{display:flex;align-items:center;gap:9px;text-align:left;min-height:43px;padding:8px 0!important;font-size:12px;border-bottom:1px solid #e4dbe2}.ml-toys-grid button small{margin-left:auto}.ml-toys-grid button>span:first-child{color:#a1a99b}.ml-toys-grid button.ml-found>span:first-child{color:#a27c99}.ml-toys-grid button.ml-found small{font-size:0}.ml-toys-grid button.ml-found small:after{content:'✓';font-size:12px}
.ml-piano{position:absolute;right:34px;bottom:108px;width:310px;background:var(--ml-paper);padding:23px;border-radius:22px;box-shadow:0 12px 50px #42314f25;z-index:20}.ml-piano>.ml-label{max-width:215px;font-size:8px}.ml-piano-close{position:absolute;right:9px;top:8px;min-width:32px;min-height:32px;font-size:22px!important}.ml-piano-keys{display:flex;gap:5px;margin:18px 0 11px}.ml-piano-keys button{width:33.333%;height:105px;border:1px solid #a191a6!important;border-radius:7px;box-shadow:0 5px 0 #b8a8bd;background:#fffdf7!important;display:flex;align-items:flex-end;justify-content:center;padding:12px!important;font-size:11px!important}.ml-piano-keys button:active,.ml-piano-keys .ml-key-active{transform:translateY(4px);box-shadow:0 1px 0 #b8a8bd;background:var(--ml-yellow)!important}.ml-piano small{font-size:10px;color:var(--ml-muted)}
/* All pages are foreground sheets. There is no document section below the world. */
.ml-portfolio dialog{position:absolute;inset:0;margin:auto;max-height:calc(100% - 48px);width:min(1120px,calc(100% - 64px));max-width:none;border:1px solid #fff9;border-radius:26px;background:var(--ml-paper);color:var(--ml-ink);padding:0;box-shadow:0 35px 100px #3b2e4e35;overflow:hidden;overscroll-behavior:contain}.ml-portfolio dialog::backdrop{background:#50445924;backdrop-filter:blur(5px)}.ml-portfolio dialog[open]{display:flex;flex-direction:column;animation:ml-sheet-in .32s cubic-bezier(.2,.8,.2,1)}.ml-sheet-top,.ml-project-top{display:flex;align-items:center;justify-content:space-between;gap:15px;flex:0 0 auto;min-height:76px;padding:15px 28px;border-bottom:1px solid #e6dfe3}.ml-sheet-top>button:first-child,.ml-project-top>button:first-child{font-size:12px;padding:10px 0!important;min-height:44px}.ml-sheet-top nav{display:flex;gap:6px}.ml-sheet-top nav button{padding:10px 15px!important;border-radius:30px;font-size:12px;min-height:44px}.ml-sheet-top nav button[aria-current]{background:var(--ml-pink)}.ml-sheet-top .ml-icon,.ml-project-top .ml-icon{width:38px;height:38px;min-width:38px;background:#eee8e8!important;box-shadow:none!important}.ml-sheet-scroll{padding:38px 48px 50px;overflow:auto;min-height:0}.ml-sheet-scroll>h2{font-size:clamp(36px,5vw,66px);white-space:pre-line;margin-top:18px;margin-bottom:26px;max-width:780px}.ml-sheet-kicker{font-size:9px}.ml-page-intro{font-size:20px;line-height:1.5;max-width:740px;margin-bottom:26px!important;letter-spacing:-.025em}.ml-body-copy{font-size:15px;line-height:1.85;white-space:pre-line;max-width:740px}.ml-method{padding:26px 0;margin-top:28px;border-top:1px solid #e3dae1;max-width:740px}.ml-method h3{font-size:26px;margin-bottom:15px}.ml-method p{line-height:1.8}.ml-primary{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;background:var(--ml-yellow);padding:16px 23px;border-radius:45px;font-size:13px;line-height:1.4;min-height:50px;box-shadow:0 3px 0 #aa947c25;transition:transform .2s}.ml-primary:hover{transform:translateY(-2px)}.ml-text-link{display:inline-block;text-decoration:underline!important;text-underline-offset:5px;font-size:13px}.ml-contact-line{font-size:14px;max-width:650px;color:var(--ml-muted)!important}.ml-contact-email{margin:28px 0 32px}.ml-contact-email a{word-break:break-word}.ml-socials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:760px}.ml-social{display:flex;align-items:center;gap:14px;padding:12px 17px;background:#f0e9e9;border-radius:16px;min-height:74px;font-size:13px}.ml-social>span:last-child{margin-left:auto}.ml-social-icon{width:44px;height:44px;display:grid;place-items:center;border:1px solid #fff9;background:var(--ml-pink);border-radius:12px;box-shadow:0 4px 0 #b9a4b8;transform:rotate(-5deg);transition:transform .2s}.ml-social:nth-child(2n) .ml-social-icon{background:var(--ml-yellow);box-shadow:0 4px 0 #c4b799;transform:rotate(4deg)}.ml-social:hover .ml-social-icon{transform:rotate(0) translateY(-2px)}.ml-social-icon svg{width:24px;height:24px}
.ml-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 25px}.ml-project-card,.ml-gallery-item{margin:0;min-width:0}.ml-project-card>a,.ml-gallery-item>a{display:block;min-width:0}.ml-project-image{aspect-ratio:4/3;position:relative;border-radius:14px;background:#eee8e2;box-shadow:0 3px 0 #d8ccd322;overflow:hidden;transition:transform .3s,box-shadow .3s}.ml-project-image img{display:block;width:100%;height:100%;object-fit:contain;background:#eee8e2;padding:14px}.ml-project-image:hover{transform:translateY(-4px) rotate(-.6deg);box-shadow:4px 12px 0 #d8ccd34d}.ml-card-open{position:absolute;bottom:12px;right:12px;display:grid;place-items:center;width:38px;height:38px;background:var(--ml-paper);border-radius:50%;box-shadow:0 3px 0 #9e879833}.ml-card-open svg{width:18px;height:18px}.ml-project-card .ml-label,.ml-gallery-item .ml-label{margin-top:21px;font-size:8px}.ml-project-card h3,.ml-gallery-item h3{font-size:27px;margin:8px 0 10px;letter-spacing:-.045em;display:flex;justify-content:space-between;gap:10px}.ml-project-card p,.ml-gallery-item p{font-size:12px;color:var(--ml-muted);line-height:1.7}.ml-empty{padding:30px 0}.ml-project-dialog{width:min(1180px,calc(100% - 64px))!important}.ml-project-top .ml-dialog-count{font-size:11px;letter-spacing:.13em;color:var(--ml-muted)}.ml-project-scroll{display:grid;grid-template-columns:1.25fr 1fr;overflow:auto;min-height:0;flex:1}.ml-dialog-image{display:flex;align-items:center;justify-content:center;min-height:490px;background:#ede7e1;padding:28px}.ml-dialog-image img{display:block;width:100%;height:100%;max-height:calc(100dvh - 180px);min-height:260px;object-fit:contain}.ml-dialog-copy{padding:48px 35px;align-self:center}.ml-dialog-copy h2{font-size:45px;margin:19px 0 24px;overflow-wrap:anywhere}.ml-dialog-copy>p{font-size:14px;line-height:1.8;margin-bottom:28px}.ml-dialog-arrows{display:flex;gap:10px;margin-top:30px}.ml-dialog-arrows button{display:grid;place-items:center;width:46px;height:46px;border:1px solid #d5c7d3!important;border-radius:50%;font-size:21px!important}.ml-dialog-arrows button:disabled{opacity:.3;cursor:default}.ml-custom-section{padding-top:32px;margin-top:32px;border-top:1px solid #e3dae1}.ml-custom-section h2,.ml-custom-section h3{font-size:29px;margin-bottom:17px}.ml-custom-section p{white-space:pre-line;margin-bottom:20px;line-height:1.8}
.ml-content{display:none;position:absolute;inset:0;overflow:auto;background:var(--ml-paper);padding:35px max(6%,calc((100% - 1120px)/2));z-index:60;overscroll-behavior:contain}.ml-reading .ml-content{display:block}.ml-reading .ml-worldlayer{visibility:hidden}.ml-reading-top{display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:10px;letter-spacing:.1em}.ml-reading-top button{min-height:44px;font-size:12px;letter-spacing:0}.ml-content>section{padding:45px 0;border-bottom:1px solid #ded4dc}.ml-content h1{font-size:clamp(43px,6vw,88px);margin:15px 0 20px}.ml-content h2{font-size:38px;margin-bottom:25px}.ml-content p{max-width:800px;white-space:pre-line;line-height:1.8;margin-bottom:20px}.ml-subtitle{font-size:24px}.ml-content .ml-socials{margin-top:30px}.ml-content .ml-project-grid p{font-size:12px}.ml-footer{display:flex;justify-content:space-between;gap:20px;padding:30px 0;font-size:11px}.ml-portfolio:not([data-ml-ready]){position:relative;height:auto;overflow:visible}.ml-portfolio:not([data-ml-ready]) .ml-worldlayer{display:none}.ml-portfolio:not([data-ml-ready]) .ml-content{display:block;position:relative;overflow:visible}
@keyframes ml-nod{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-4px) rotate(-2deg)}}@keyframes ml-sheet-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@media(min-width:1700px){.ml-welcome{top:145px;left:50px}.ml-guide{left:42px;bottom:32px}.ml-speech p{font-size:14px}.ml-mascot{width:125px;height:165px;flex-basis:125px}}
@media(max-width:1000px){.ml-top{inset:22px 24px auto;gap:12px}.ml-brand{flex-basis:100px;font-size:38px}.ml-top-tools{flex-basis:100px;gap:7px}.ml-dock button{padding:0 13px}.ml-dock button>span{display:none}.ml-welcome{left:25px;top:110px;max-width:240px}.ml-welcome h2{font-size:29px}.ml-guide{left:18px;max-width:calc(100% - 260px)}.ml-mascot{width:90px;height:120px;flex-basis:90px}.ml-speech{padding:14px 33px 15px 17px}.ml-speech p{font-size:11px}.ml-secrets{right:24px;bottom:32px}.ml-toys-toggle{font-size:11px!important;padding:12px 14px!important}.ml-sheet-scroll{padding:30px}.ml-dialog-copy{padding:30px}.ml-dialog-image{min-height:390px;padding:20px}.ml-dialog-copy h2{font-size:36px}}
@media(max-width:699px){.ml-top{inset:17px 17px auto;display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:18px}.ml-brand{font-size:36px}.ml-brand small{font-size:6px;margin-top:9px}.ml-top-tools{grid-column:2;grid-row:1;justify-self:end}.ml-icon{width:39px;height:39px;min-width:39px}.ml-top-tools svg{width:18px;height:18px}.ml-dock{grid-row:2;grid-column:1/-1;width:100%;padding:4px;gap:0;justify-content:space-between}.ml-dock button{height:39px;min-height:39px;padding:0 10px;font-size:11px;flex:1}.ml-welcome{top:140px;left:20px;max-width:240px}.ml-welcome>.ml-label{font-size:7px}.ml-welcome h2{font-size:23px;margin-top:7px;letter-spacing:-.055em}.ml-welcome h2 span{display:inline}.ml-welcome h2 span+span:before{content:' '}.ml-welcome p{margin-top:8px;font-size:10px;max-width:230px}.ml-guide{left:11px;right:11px;bottom:12px;max-width:none;gap:5px}.ml-mascot{width:73px;height:100px;flex-basis:73px}.ml-speech{flex:1;min-height:89px;padding:13px 29px 13px 15px;border-radius:18px 18px 18px 4px;margin:0 0 3px}.ml-speech>span{font-size:6px;letter-spacing:.07em;margin-bottom:5px}.ml-speech p{font-size:10px;line-height:1.65;max-width:none}.ml-speech-next{font-size:17px!important;min-width:29px;right:0;bottom:2px}.ml-secrets{bottom:130px;right:16px}.ml-toys-toggle{min-height:38px;padding:8px 13px!important;font-size:10px!important;gap:7px}.ml-toys-toggle svg{width:14px;height:14px}.ml-discovered{font-size:9px}.ml-toys-list{bottom:49px;width:min(315px,calc(100vw - 32px));padding:20px}.ml-toys-grid{max-height:39dvh}.ml-hotspot{font-size:9px!important;gap:5px;padding:5px 10px 5px 5px!important;min-height:39px;box-shadow:0 2px 0 #5e4a6a30,0 5px 14px #51405d12}.ml-hotspot>span:first-child{width:25px;height:25px;font-size:8px}.ml-settings{top:68px;right:17px;max-width:calc(100% - 34px);z-index:30}.ml-piano{bottom:178px;right:16px;width:270px;padding:20px}.ml-piano-keys button{height:80px}.ml-portfolio dialog,.ml-project-dialog{width:calc(100% - 20px)!important;max-height:calc(100% - 24px);border-radius:20px}.ml-sheet-top,.ml-project-top{min-height:68px;padding:12px 17px;gap:8px;flex-wrap:wrap}.ml-sheet-top>button:first-child{font-size:11px}.ml-sheet-top nav{order:3;width:100%;border-top:1px solid #e6dfe3;padding-top:8px;justify-content:center;gap:6px}.ml-sheet-top nav button{font-size:11px;padding:8px 15px!important;min-height:39px;flex:1}.ml-sheet-scroll{padding:26px 23px 35px}.ml-sheet-scroll>h2{font-size:38px;margin-top:14px;margin-bottom:24px}.ml-page-intro{font-size:17px}.ml-body-copy,.ml-method p{font-size:13px;line-height:1.85}.ml-method h3{font-size:26px}.ml-project-grid{grid-template-columns:1fr;gap:32px}.ml-project-image{aspect-ratio:4/3}.ml-gallery-item h3,.ml-project-card h3{font-size:27px}.ml-gallery-item .ml-label{margin-top:17px}.ml-socials{grid-template-columns:1fr}.ml-social{min-height:69px;padding:10px 15px}.ml-social-icon{width:39px;height:39px}.ml-primary{font-size:12px;padding:15px 20px;gap:20px;max-width:100%;overflow-wrap:anywhere}.ml-project-scroll{display:block}.ml-dialog-image{min-height:0;padding:21px;aspect-ratio:1}.ml-dialog-image img{min-height:0;max-height:none}.ml-dialog-copy{padding:28px 23px 35px}.ml-dialog-copy h2{font-size:36px;margin:14px 0 20px}.ml-dialog-copy p{font-size:13px}.ml-dialog-arrows{margin-top:24px}.ml-content{padding:23px}.ml-content h2{font-size:30px}.ml-reading-top{font-size:8px;letter-spacing:.02em}.ml-reading-top button{font-size:10px}.ml-footer{display:block}.ml-footer>a{display:block;margin-top:12px}}
@media(max-height:620px) and (min-width:700px){.ml-welcome{top:98px}.ml-welcome h2{font-size:25px}.ml-guide{bottom:12px}.ml-mascot{width:77px;height:105px;flex-basis:77px}.ml-speech{padding:12px 32px 12px 16px}.ml-speech p{font-size:10px}.ml-secrets{bottom:24px}.ml-toys-grid{max-height:45dvh}}
@media(prefers-reduced-motion:reduce){.ml-portfolio *,.ml-portfolio *:before,.ml-portfolio *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.ml-paused *{animation:none!important}

.ml-primary>span svg,.ml-project-card h3 svg,.ml-gallery-item h3 svg{width:17px;height:17px;flex:0 0 17px}.ml-contact-email .ml-primary>span{flex:0 0 auto}.ml-social>span:last-child{font-family:Arial,sans-serif}

.ml-object-tip{position:absolute;z-index:10;pointer-events:none;padding:8px 12px;border-radius:20px;background:var(--ml-ink);color:var(--ml-paper);font-size:10px;white-space:nowrap;box-shadow:0 4px 14px #33294415}

body.admin-bar .ml-portfolio:not(.ml-windowed){top:32px;height:calc(100dvh - 32px)}@media(max-width:782px){body.admin-bar .ml-portfolio:not(.ml-windowed){top:46px;height:calc(100dvh - 46px)}}
/* V7: a quiet introduction, then the same world becomes explorable. */
.ml-intro-screen{position:absolute;inset:0;z-index:7;pointer-events:none;touch-action:none;transition:opacity .25s,transform .4s}.ml-intro-copy{position:absolute;top:52%;left:50%;transform:translateX(-50%);width:min(620px,calc(100% - 40px));text-align:center}.ml-intro-copy h2{font-size:clamp(35px,4.1vw,58px);line-height:1.04;margin:14px 0 15px}.ml-intro-copy h2>span{display:block}.ml-intro-copy>p{max-width:440px;margin:0 auto;font-size:13px;line-height:1.75;color:var(--ml-muted)}.ml-intro-steps{display:flex;justify-content:center;gap:27px;margin:22px 0}.ml-intro-steps>span{font-size:11px}.ml-intro-steps b{font:9px MLMono,monospace;display:inline-grid;place-items:center;width:24px;height:24px;margin-right:7px;border:1px solid #d6c8d3;border-radius:50%;font-weight:400}.ml-intro-copy .ml-enter{pointer-events:auto;min-width:230px;justify-content:center;background:var(--ml-pink)!important;font-size:13px}.ml-intro-copy .ml-enter svg{transform:rotate(-45deg);width:17px;height:17px}.ml-intro-copy>small{display:block;font-size:9px;margin-top:12px;color:var(--ml-muted)}.ml-intro-skip{position:absolute;right:34px;top:103px;z-index:16;min-height:44px;padding:12px 17px!important;border-radius:40px;border:1px solid #d6cbd5!important;font-size:11px!important;background:#faf6edb3!important}
.ml-portfolio[data-phase='world'] .ml-intro-screen,.ml-portfolio[data-phase='world'] .ml-intro-skip{display:none}.ml-portfolio[data-phase='opening'] .ml-intro-screen{opacity:0;transform:translateY(12px);visibility:hidden}.ml-portfolio[data-phase='opening'] .ml-intro-skip{display:none}.ml-portfolio:not([data-phase='world']) .ml-dock,.ml-portfolio:not([data-phase='world']) .ml-welcome,.ml-portfolio:not([data-phase='world']) .ml-secrets,.ml-portfolio:not([data-phase='world']) .ml-hotspots,.ml-portfolio:not([data-phase='world']) .ml-explore-hud{visibility:hidden;pointer-events:none}.ml-portfolio:not([data-phase='world']) .ml-canvas{cursor:pointer}.ml-portfolio[data-phase='opening'] .ml-canvas{pointer-events:none}.ml-portfolio[data-phase='world'] .ml-welcome h2{font-size:clamp(23px,2.25vw,33px)}.ml-portfolio[data-focus]:not([data-focus='']) .ml-welcome{opacity:0;pointer-events:none}
.ml-explore-hud{position:absolute;right:34px;bottom:98px;display:flex;align-items:center;justify-content:flex-end;gap:8px;z-index:13}.ml-help-toggle{width:35px;height:35px;border-radius:50%;background:var(--ml-paper)!important;border:1px solid #dcd1db!important;font-size:13px!important}.ml-overview{min-height:37px;padding:9px 14px!important;border-radius:30px;background:var(--ml-paper)!important;border:1px solid #fff!important;font-size:10px!important;box-shadow:0 2px 0 #77658222}.ml-focus-location{font:9px MLMono,monospace;color:var(--ml-muted);max-width:140px}.ml-help{position:absolute;right:0;bottom:47px;width:285px;padding:21px;background:var(--ml-paper);border-radius:20px;box-shadow:0 12px 45px #42314f25}.ml-help p{font-size:12px;line-height:1.8;margin-top:10px}.ml-portfolio[data-phase='world'] .ml-canvas{cursor:grab}
@media(max-width:699px){.ml-intro-copy{top:49%;width:calc(100% - 36px)}.ml-intro-copy h2{font-size:35px;margin:11px 0 14px}.ml-intro-copy>p{font-size:11px;max-width:300px;line-height:1.75}.ml-intro-copy>.ml-label{font-size:8px}.ml-intro-steps{gap:15px;margin:18px 0}.ml-intro-steps>span{font-size:9px}.ml-intro-steps b{width:21px;height:21px;font-size:8px;margin-right:5px}.ml-intro-copy .ml-enter{min-width:220px;min-height:48px;font-size:12px;padding:13px 23px!important}.ml-intro-copy>small{font-size:8px;margin-top:9px}.ml-intro-skip{top:75px;right:18px;min-height:37px;font-size:10px!important;padding:8px 13px!important}.ml-explore-hud{bottom:177px;right:16px;gap:6px}.ml-help-toggle{width:32px;height:32px}.ml-focus-location{font-size:8px;max-width:110px}.ml-overview{min-height:34px;font-size:9px!important;padding:8px 12px!important}.ml-help{width:min(285px,calc(100vw - 32px));padding:18px}.ml-help p{font-size:11px}.ml-portfolio[data-phase='world'] .ml-welcome h2{font-size:22px}}
@media(max-height:700px) and (min-width:700px){.ml-intro-copy{top:42%;left:64%;width:430px}.ml-intro-copy h2{font-size:34px}.ml-intro-copy>p{font-size:11px}.ml-intro-steps{margin:15px 0}.ml-intro-copy>.ml-label{font-size:8px}.ml-intro-copy .ml-enter{min-height:45px;padding:12px 20px}.ml-portfolio:not([data-phase='world']) .ml-guide{max-width:45%}}
@media(max-height:740px) and (max-width:699px){.ml-intro-copy{top:43%}.ml-intro-copy h2{font-size:29px}.ml-intro-copy>p{font-size:10px}.ml-intro-steps{margin:12px 0}.ml-intro-copy .ml-enter{min-height:43px;padding:11px 20px!important}.ml-intro-copy>small{margin-top:7px}}

.ml-intro-skip{display:flex;align-items:center;gap:9px}.ml-intro-skip svg{width:12px;height:12px}.ml-help-go{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:13px}.ml-help-go button{font-size:10px;text-align:left;min-height:37px;padding:7px!important;border:1px solid #ded4df!important;border-radius:8px}
/* V8: Mattia welcomes visitors immediately while the actual 3D assets prepare. */
.ml-portfolio{--ml-avatar:url('chibi-atlas.webp')}.ml-portfolio:not([data-ml-ready]){position:fixed;inset:0;height:100dvh;overflow:hidden}.ml-portfolio:not([data-ml-ready]) .ml-worldlayer{display:block}.ml-portfolio:not([data-ml-ready]) .ml-content{display:none}
.ml-portfolio[data-phase='intro'] .ml-canvas{opacity:0;pointer-events:none}.ml-portfolio[data-phase='opening'] .ml-canvas,.ml-portfolio[data-phase='world'] .ml-canvas{opacity:1;transition:opacity .6s ease}
.ml-portfolio[data-phase='intro'] .ml-guide{top:calc(50% - 225px);left:calc(50% - 490px);bottom:auto;right:auto;width:320px;height:450px;max-width:none;gap:0;align-items:stretch;z-index:9;pointer-events:none}
.ml-portfolio[data-phase='intro'] .ml-mascot{flex:0 0 320px;width:320px;height:450px;cursor:pointer;filter:drop-shadow(0 13px 0 #8c78951a);animation:none!important;pointer-events:auto}.ml-mascot{transform-origin:0 0}.ml-portfolio[data-phase='intro'] .ml-speech{display:none}.ml-portfolio[data-phase='opening'] .ml-guide{z-index:18}.ml-portfolio[data-phase='opening'] .ml-speech{opacity:0}.ml-portfolio[data-phase='world'] .ml-speech{opacity:1;transition:opacity .35s ease}
.ml-intro-screen{pointer-events:none}.ml-intro-copy{top:50%;left:calc(50% + 190px);transform:translate(-50%,-50%);width:490px;text-align:left;padding:31px 34px 26px;background:#faf6edf5;border:1px solid #bcacbc70;border-radius:30px 30px 30px 8px;box-shadow:0 6px 0 #9c87a52b;max-height:calc(100dvh - 145px);overflow:auto;pointer-events:auto;touch-action:pan-y;scrollbar-width:thin}.ml-intro-copy h2{font-size:54px;line-height:1.03;margin:15px 0 20px;letter-spacing:-.06em}.ml-intro-copy>.ml-intro-greeting{font-size:19px;line-height:1.6;color:var(--ml-ink);max-width:none;margin:0 0 17px}.ml-intro-copy>.ml-intro-instructions{font-size:12px;line-height:1.8;color:var(--ml-muted);margin:0;max-width:none}.ml-intro-steps{justify-content:flex-start;margin:22px 0 23px;gap:24px}.ml-intro-copy .ml-enter{min-width:0;justify-content:space-between;gap:30px}.ml-intro-copy .ml-enter-label svg{display:none}.ml-intro-copy>small{margin-top:12px;font-size:9px}.ml-intro-copy .ml-enter:disabled{cursor:progress;opacity:.7;transform:none}.ml-intro-skip{top:95px}
.ml-loading{display:flex;align-items:center;gap:11px;margin-top:23px;padding-top:17px;border-top:1px solid #dcd1dc;font-size:9px;color:var(--ml-muted);line-height:1.5}.ml-loading progress{display:block;appearance:none;-webkit-appearance:none;border:0;height:4px;width:72px;flex:0 0 72px;border-radius:10px;overflow:hidden;background:#e1d8df;color:#b99bab}.ml-loading progress::-webkit-progress-bar{background:#e1d8df;border-radius:10px}.ml-loading progress::-webkit-progress-value{background:#b99bab;border-radius:10px;transition:width .2s}.ml-loading progress::-moz-progress-bar{background:#b99bab;border-radius:10px}.ml-loading.ml-loaded progress::-webkit-progress-value{background:#9cac91}.ml-loading.ml-loaded progress::-moz-progress-bar{background:#9cac91}.ml-awaiting-scene .ml-loading{color:var(--ml-ink)}
@media(min-width:1700px){.ml-portfolio[data-phase='intro'] .ml-guide{left:calc(50% - 540px);top:calc(50% - 255px);width:365px;height:510px}.ml-portfolio[data-phase='intro'] .ml-mascot{width:365px;height:510px;flex-basis:365px}.ml-intro-copy{left:calc(50% + 205px);width:530px;padding:39px 40px 30px}.ml-intro-copy h2{font-size:61px}.ml-intro-copy>.ml-intro-greeting{font-size:21px}}
@media(min-width:700px) and (max-width:1050px){.ml-portfolio[data-phase='intro'] .ml-guide{left:calc(50% - 355px);top:calc(50% - 190px);width:270px;height:380px}.ml-portfolio[data-phase='intro'] .ml-mascot{width:270px;height:380px;flex-basis:270px}.ml-intro-copy{left:calc(50% + 150px);width:390px;padding:26px}.ml-intro-copy h2{font-size:45px}.ml-intro-copy>.ml-intro-greeting{font-size:16px}.ml-intro-copy>.ml-intro-instructions{font-size:11px}.ml-intro-steps{gap:15px;margin:18px 0}.ml-intro-steps>span{font-size:10px}}
@media(max-width:699px){.ml-portfolio[data-phase='intro'] .ml-guide{left:calc(50% - 100px);top:95px;bottom:auto;right:auto;width:200px;height:275px}.ml-portfolio[data-phase='intro'] .ml-mascot{flex-basis:200px;width:200px;height:275px;filter:drop-shadow(0 7px 0 #8c789518)}.ml-intro-copy{top:378px;left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:410px;max-height:calc(100dvh - 396px);padding:22px 23px 20px;border-radius:23px 23px 23px 6px;box-shadow:0 4px 0 #9c87a52b;touch-action:none}.ml-intro-copy h2{font-size:37px;margin:10px 0 13px}.ml-intro-copy h2>span{display:inline}.ml-intro-copy h2>span+span:before{content:' '}.ml-intro-copy>.ml-intro-greeting{font-size:14px;line-height:1.65;margin-bottom:12px}.ml-intro-copy>.ml-intro-instructions{font-size:11px;line-height:1.7}.ml-intro-copy>.ml-label{font-size:7px}.ml-intro-steps{gap:17px;margin:16px 0}.ml-intro-copy .ml-enter{min-width:0;width:100%;min-height:45px;font-size:11px;padding:12px 18px!important}.ml-intro-copy>small{font-size:8px;margin-top:9px}.ml-loading{margin-top:16px;padding-top:12px;font-size:8px;gap:9px}.ml-loading progress{width:55px;flex-basis:55px}.ml-intro-skip{top:74px}.ml-portfolio:not([data-phase='world']) .ml-guide{max-width:none}}
@media(max-height:760px) and (max-width:699px){.ml-portfolio[data-phase='intro'] .ml-guide{top:76px;left:calc(50% - 79px);width:158px;height:217px}.ml-portfolio[data-phase='intro'] .ml-mascot{flex-basis:158px;width:158px;height:217px}.ml-intro-copy{top:300px;max-height:calc(100dvh - 316px);padding:18px 20px 16px}.ml-intro-copy h2{font-size:30px;margin:8px 0 11px}.ml-intro-copy>.ml-intro-greeting{font-size:12px;margin-bottom:9px}.ml-intro-copy>.ml-intro-instructions{font-size:10px}.ml-intro-steps{margin:12px 0;gap:16px}.ml-intro-copy .ml-enter{min-height:42px;padding:10px 17px!important}.ml-loading{margin-top:12px;padding-top:10px}}
@media(max-height:620px) and (min-width:700px){.ml-portfolio[data-phase='intro'] .ml-guide{top:calc(50% - 150px);height:300px;width:220px;left:calc(50% - 360px)}.ml-portfolio[data-phase='intro'] .ml-mascot{height:300px;width:220px;flex-basis:220px}.ml-intro-copy{left:calc(50% + 130px);top:50%;width:400px;padding:23px;max-height:calc(100dvh - 100px)}.ml-intro-copy h2{font-size:36px}.ml-intro-copy>.ml-intro-greeting{font-size:15px}.ml-intro-copy>.ml-intro-instructions{font-size:10px}.ml-intro-steps{margin:13px 0}.ml-loading{margin-top:14px;padding-top:11px}}
.ml-portfolio[data-phase='opening'] .ml-intro-screen{transition:opacity .22s ease,transform .35s ease,visibility 0s linear .22s}
/* Optional uploaded logo; the original wordmark remains the default. */
.ml-brand-fallback{display:block}.ml-brand-fallback>span{color:#a5899c}.ml-brand-fallback small{display:block;margin-top:11px;font:8px/1.2 MLText,Arial,sans-serif;letter-spacing:.18em}.ml-brand .ml-brand-image{display:block;width:auto;height:var(--ml-logo-height,48px);max-height:80px;max-width:180px;object-fit:contain;object-position:left center;letter-spacing:normal}.ml-brand:has(.ml-brand-image:not([hidden])){line-height:1;letter-spacing:normal}
@media(max-width:1000px){.ml-brand .ml-brand-image{max-width:130px}.ml-brand-fallback small{font-size:7px}}
@media(max-width:699px){.ml-brand .ml-brand-image{height:var(--ml-logo-mobile-height,36px);max-height:48px;max-width:150px}.ml-brand-fallback small{font-size:6px;margin-top:9px}}
.ml-brand>.ml-brand-fallback{color:var(--ml-ink)}

/* Keep WordPress theme button states inside this portfolio's palette.
   The surface token preserves each control's own background on hover/focus. */
.ml-portfolio[data-ml-studio] button {
  color: var(--ml-ink) !important;
  background-color: var(--ml-control-bg, transparent) !important;
  background-image: none !important;
  text-decoration: none !important;
  text-shadow: none !important;
}
.ml-portfolio .ml-icon { --ml-control-bg: #faf6edf2; }
.ml-portfolio .ml-sheet-top .ml-icon,
.ml-portfolio .ml-project-top .ml-icon { --ml-control-bg: #eee8e8; }
.ml-portfolio .ml-hotspot,
.ml-portfolio .ml-toys-toggle,
.ml-portfolio .ml-help-toggle,
.ml-portfolio .ml-overview { --ml-control-bg: var(--ml-paper); }
.ml-portfolio .ml-intro-skip { --ml-control-bg: #faf6edb3; }
.ml-portfolio button.ml-primary { --ml-control-bg: var(--ml-yellow); }
.ml-portfolio .ml-dock button:hover { --ml-control-bg: #e9e1e7; }
.ml-portfolio .ml-dock button[aria-current],
.ml-portfolio .ml-sheet-top nav button[aria-current] { --ml-control-bg: var(--ml-pink); }
.ml-portfolio .ml-piano-keys button {
  --ml-control-bg: #fffdf7;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.ml-portfolio .ml-piano-keys button:hover { --ml-control-bg: #f4edda; }
.ml-portfolio .ml-piano-keys button:active,
.ml-portfolio .ml-piano-keys button.ml-key-active { --ml-control-bg: var(--ml-yellow); }
.ml-portfolio .ml-mascot,
.ml-portfolio .ml-mascot:is(:hover,:focus,:active) {
  --ml-control-bg: transparent;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.ml-portfolio .ml-speech-next { border-radius: 50%; }
.ml-portfolio .ml-speech-next:hover { --ml-control-bg: #e3b9ce40; }
.ml-portfolio a:is(:hover,:focus,:active) { color: inherit; text-decoration: none; }
.ml-portfolio :is(button,a):focus-visible {
  outline: 3px solid #7f6d9d !important;
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .ml-portfolio .ml-piano-keys button { transition: none; }
}

/* Center icons independently of font metrics and the theme's button padding. */
.ml-portfolio .ml-dialog-arrows button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0 !important;
  line-height: 1;
  letter-spacing: 0;
}
.ml-portfolio .ml-dialog-arrows button svg {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
}
.ml-portfolio .ml-help-toggle,
.ml-portfolio .ml-speech-next,
.ml-portfolio .ml-piano-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  line-height: 1;
}

/* The gesture guide follows the primary input and the embedded scene mode. */
.ml-controls-guide{display:block;margin-top:.35em}
.ml-controls-guide .ml-controls-touch,.ml-controls-guide .ml-controls-windowed,
.ml-windowed .ml-controls-guide .ml-controls-mouse{display:none}
.ml-windowed .ml-controls-guide .ml-controls-windowed{display:inline}
@media(pointer:coarse){
 .ml-controls-guide .ml-controls-touch{display:inline}
 .ml-controls-guide .ml-controls-mouse,.ml-windowed .ml-controls-guide .ml-controls-windowed{display:none}
}
.ml-portfolio[data-phase='world'] .ml-canvas:focus-visible{outline:2px solid var(--ml-ink);outline-offset:-4px}
@media(max-width:699px) and (max-height:650px){
 .ml-portfolio[data-phase='intro'] .ml-guide{top:70px;left:calc(50% - 64px);width:128px;height:174px}
 .ml-portfolio[data-phase='intro'] .ml-mascot{flex-basis:128px;width:128px;height:174px}
 .ml-intro-screen{touch-action:auto}
 .ml-intro-copy{top:251px;max-height:calc(100dvh - 267px);touch-action:pan-y}
}
