/* The static welcome is separate from the canvas experience and its query links. */
#app{display:none}
html[data-route=experience] #app{display:block}
html[data-route=experience] #home{display:none}
html[data-route=home] body,html:not([data-route]) body{overflow:auto}
html:not([data-route]) #home{display:none}

#home{--home-accent:#baf8e9;min-height:100svh;background:#101b28;color:#fffdf6}
#home a{color:inherit;text-decoration:none}
#home a:focus-visible,#home button:focus-visible{outline:2px solid var(--home-accent);outline-offset:4px}
.home-hero{position:relative;min-height:100svh;min-height:max(720px,100svh);display:flex;flex-direction:column;isolation:isolate;overflow:hidden}
.home-scene,.home-veil,.home-petals,.home-glints{position:absolute;inset:0;pointer-events:none}
.home-scene{z-index:-3;background:#aec7d6 url('/assets/skybloom-hero.jpg') center center/cover no-repeat;filter:brightness(1.08) saturate(1.2) contrast(1.04);animation:home-breathe 24s ease-in-out infinite alternate}
.home-veil{z-index:-2;background:linear-gradient(90deg,rgba(9,23,36,.82) 0%,rgba(12,27,39,.62) 30%,rgba(16,32,43,.1) 70%,rgba(12,32,42,.02) 100%),linear-gradient(0deg,rgba(8,22,29,.65) 0%,rgba(13,27,37,.06) 46%,rgba(8,22,35,.26) 100%)}
.home-header,.home-content,.home-foot{position:relative;z-index:1;transition:opacity .2s ease,transform .2s ease}
.home-header{display:flex;align-items:center;justify-content:space-between;gap:28px;width:100%;padding:34px clamp(26px,5.1vw,98px)}
.home-brand{display:inline-flex;align-items:center;gap:11px;font:600 24px/1 'Manrope',sans-serif;letter-spacing:-.045em;text-shadow:0 1px 14px #11293b80}
.home-brand img{filter:drop-shadow(0 1px 7px #162b36a8)}
.home-nav{display:flex;align-items:center;gap:clamp(22px,3vw,48px);font-size:14px;font-weight:600;letter-spacing:.01em}
.home-nav a,.home-browse{border-bottom:1px solid transparent;transition:border-color .25s,color .25s}
.home-nav a:hover,.home-browse:hover{border-color:currentColor;color:var(--home-accent)}
.home-content{width:min(850px,100%);margin:auto 0;padding:46px clamp(26px,5.1vw,98px) 74px}
.home-world-label{display:flex;align-items:center;gap:14px;margin:0 0 22px;text-shadow:0 2px 12px #16263090}
.home-world-type{display:inline-block;padding:8px 11px 7px;background:#973e5a;color:#fff;font:800 11px/1 'Manrope',sans-serif;letter-spacing:.065em;text-transform:uppercase;box-shadow:0 3px 14px #1c1d2b33}
.home-world-name{color:#fff;font:italic 24px/1.2 Georgia,'Times New Roman',serif;letter-spacing:-.025em}
.home-content h1{margin:0;max-width:780px;font:500 clamp(60px,7.15vw,120px)/.99 'Manrope',sans-serif;letter-spacing:-.072em;text-wrap:balance;text-shadow:0 2px 28px #0b26307a}
.home-content h1 em{font-style:normal;color:var(--home-accent)}
.home-intro{max-width:480px;margin:29px 0 0;color:#f8f5ec;font-size:clamp(16px,1.35vw,19px);line-height:1.55;text-shadow:0 2px 12px #10242cb5}
.home-device{display:inline-grid;vertical-align:baseline;white-space:nowrap;color:var(--home-accent);font-weight:700}
.home-device span{grid-area:1/1;opacity:0;animation:home-device-cycle 12s linear infinite}
.home-device span:nth-child(2){animation-delay:-8s}.home-device span:nth-child(3){animation-delay:-4s}
.home-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px 30px;margin-top:34px}
.home-enter{display:inline-flex;align-items:center;justify-content:center;gap:26px;min-height:58px;padding:15px 20px 15px 25px;background:var(--home-accent);color:#102f34!important;font-size:15px;font-weight:700;letter-spacing:.01em;box-shadow:0 12px 38px #17291f36;transition:background .25s,transform .25s,box-shadow .25s}
.home-enter:hover{background:#dbfff5;transform:translateY(-2px);box-shadow:0 17px 42px #17291f55}
.home-enter svg{transition:transform .25s}.home-enter:hover svg{transform:translateX(3px)}
.home-browse{font-size:14px;font-weight:600;padding:9px 0;text-shadow:0 2px 12px #10242cb5}
.home-foot{display:flex;align-items:center;justify-content:space-between;gap:14px 28px;margin:0 clamp(26px,5.1vw,98px);padding:18px 0 26px;border-top:1px solid #fff9e866;color:#f7f2e5;font-size:12px;font-weight:500;letter-spacing:.02em;text-shadow:0 1px 9px #07161a}
.home-foot small{font:inherit}.home-foot nav{display:flex;align-items:center;gap:22px}.home-foot a{text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px;transition:text-decoration-color .2s}.home-foot a:hover{text-decoration-color:currentColor}

/* Blossom petals and water glints echo Skybloom without animating the screenshot itself aggressively. */
.home-petals i{position:absolute;width:17px;height:10px;border-radius:80% 12% 72% 18%;background:linear-gradient(115deg,#fffdf2e8,#f8cde3b8 75%,#d7a5d0a3);box-shadow:0 0 14px #fff6ee8c;opacity:0;animation:home-petal 15s linear infinite}
.home-petals i:nth-child(1){left:12%;top:9%;--s:1.1;--x:130px;animation-delay:-5s}
.home-petals i:nth-child(2){left:29%;top:2%;--s:.65;--x:95px;animation-duration:18s;animation-delay:-12s}
.home-petals i:nth-child(3){left:47%;top:18%;--s:.85;--x:110px;animation-duration:17s;animation-delay:-3s}
.home-petals i:nth-child(4){left:71%;top:8%;--s:1.15;--x:145px;animation-duration:19s;animation-delay:-15s}
.home-petals i:nth-child(5){left:86%;top:27%;--s:.8;--x:90px;animation-duration:16s;animation-delay:-7s}
.home-petals i:nth-child(6){left:60%;top:3%;--s:.6;--x:155px;animation-duration:21s;animation-delay:-10s}
.home-petals i:nth-child(7){left:39%;top:34%;--s:1;--x:125px;animation-duration:20s;animation-delay:-17s}
.home-glints i{position:absolute;width:4px;height:4px;border-radius:50%;background:#fffced;box-shadow:0 0 12px 3px #fff9dcbb;animation:home-glint 5s ease-in-out infinite}
.home-glints i:nth-child(1){left:51%;top:51%;animation-delay:-1s}.home-glints i:nth-child(2){left:68%;top:64%;animation-delay:-3.4s}.home-glints i:nth-child(3){left:35%;top:55%;animation-delay:-2.1s}.home-glints i:nth-child(4){left:83%;top:57%;animation-delay:-4.3s}
@keyframes home-breathe{from{transform:scale(1)}to{transform:scale(1.035)}}
@keyframes home-petal{0%{opacity:0;transform:translate3d(0,-20px,0) rotate(-15deg) scale(var(--s))}12%{opacity:.6}82%{opacity:.55}100%{opacity:0;transform:translate3d(var(--x),78vh,0) rotate(480deg) scale(var(--s))}}
@keyframes home-glint{0%,100%{opacity:.12;transform:scale(.6)}50%{opacity:.85;transform:scale(1.3)}}
@keyframes home-device-cycle{0%,29%{opacity:1;transform:translateY(0)}33%,96%{opacity:0;transform:translateY(4px)}100%{opacity:1;transform:translateY(0)}}
@media(max-width:700px){
  .home-hero{min-height:max(680px,100svh)}
  .home-scene{background-position:52% center}
  .home-veil{background:linear-gradient(0deg,rgba(8,24,34,.88) 0%,rgba(12,31,43,.68) 30%,rgba(15,35,48,.1) 74%,rgba(8,26,38,.3) 100%)}
  .home-header{padding:24px 25px}.home-brand{font-size:21px}.home-brand img{width:31px;height:31px}
  .home-nav{gap:0}.home-nav a{font-size:13px}.home-nav a+ a{display:none}
  .home-content{padding:58px 25px 54px}.home-content h1{font-size:clamp(50px,10.8vw,76px);letter-spacing:-.065em}
  .home-intro{max-width:410px;font-size:16px;margin-top:24px}.home-actions{margin-top:28px}
  .home-foot{margin:0 25px;padding:16px 0 21px;font-size:11px;line-height:1.4;flex-wrap:wrap}.home-foot nav{gap:16px}
}
@media(max-width:390px){.home-hero{min-height:max(650px,100svh)}.home-content h1{font-size:48px}.home-content{padding-bottom:42px}.home-world-name{font-size:22px}.home-actions{gap:12px 22px}.home-enter{min-height:54px}}
@media(prefers-reduced-motion:reduce){.home-scene,.home-petals i,.home-glints i,.home-device span{animation:none}.home-petals i{opacity:.38}.home-glints i{opacity:.5}.home-device span:first-child{opacity:1}.home-enter,.home-enter svg,.home-header,.home-content,.home-foot{transition:none}}
