/* The page itself is the doorway: retain the book, its maps and the two windows. */
.atlas-stage.atlas-room{max-width:1800px;aspect-ratio:auto;overflow:hidden;background:#101c29}
.atlas-canvas{position:relative;aspect-ratio:1672/941;isolation:isolate}
.atlas-canvas>img{display:block;width:100%;height:100%;object-fit:contain;max-width:100%;transform:none}
.atlas-invitation{position:absolute;top:6%;left:36%;width:30%;text-align:center;text-shadow:0 2px 18px #000,0 2px 5px #000;pointer-events:none}
.atlas-invitation:before{content:'';position:absolute;inset:-12% -12% -6%;background:radial-gradient(ellipse,#061320b8,transparent 72%);z-index:-1}
.atlas-invitation h1{font-size:clamp(35px,4.6vw,76px);line-height:.87;color:#fff1cb;margin:0 0 24px}
.atlas-invitation h1>span{font-size:1.02em}
.atlas-invitation .eyebrow{font-size:clamp(7px,.63vw,11px);letter-spacing:.19em;color:#b7e9e9;margin-bottom:17px}
.atlas-invitation .atlas-whisper{font-family:var(--serif);font-style:italic;font-size:clamp(16px,1.65vw,27px);line-height:1.25;color:#fff0c9;margin:0}
.whisper-forest,.whisper-root{display:none}
.atlas-light-trails{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.atlas-light-trails path{fill:none;stroke:#ffe6a3;stroke-width:1.2;stroke-linecap:round;stroke-dasharray:2 15;opacity:.45;filter:drop-shadow(0 0 4px #ffcf77);animation:atlas-trail-current 6s linear infinite}
.atlas-light-trails .trail-forest{stroke:#a5f9df;animation-delay:-3s}
.atlas-guide{position:absolute;left:50%;top:56%;width:clamp(30px,3.1vw,52px);transform:translate(-50%,-50%);pointer-events:none;z-index:3;animation:atlas-guide-flight 15s ease-in-out infinite;filter:drop-shadow(0 0 12px #ffd57f99)}
.atlas-guide svg{width:100%;display:block;position:relative;z-index:1}
.atlas-guide:before{content:'';position:absolute;inset:-35%;border-radius:50%;background:radial-gradient(ellipse,#ffecb866,transparent 64%);animation:atlas-guide-breathe 3s ease-in-out infinite}
.atlas-guide>span{position:absolute;top:88%;left:40%;height:70%;width:20%;background:linear-gradient(#ffe8a999,transparent);filter:blur(4px);transform:rotate(18deg);transform-origin:top}
.atlas-page-portals{position:absolute;inset:0;pointer-events:none}
.atlas-page{position:absolute;top:59%;width:36%;height:32%;padding:0;border:0;background:transparent;color:#fff5db;pointer-events:auto;isolation:isolate;-webkit-tap-highlight-color:transparent;cursor:pointer}
.atlas-page.page-whisperwood{left:13%;transform:rotate(-5deg);--portal-rgb:105,243,218;--page-tilt:-6deg}
.atlas-page.page-rootdeep{left:52%;transform:rotate(5deg);--portal-rgb:157,162,255;--page-tilt:6deg}
.page-light{position:absolute;inset:8% 6% 0;border-radius:50%;transform:perspective(500px) rotateX(55deg);background:radial-gradient(ellipse,rgba(var(--portal-rgb),.09),transparent 66%);transition:filter .45s,background .45s;pointer-events:none}
.page-light:before,.page-light:after{content:'';position:absolute;inset:6%;border-radius:50%;border:1px solid rgba(var(--portal-rgb),.35);box-shadow:0 0 14px rgba(var(--portal-rgb),.25),inset 0 0 20px rgba(var(--portal-rgb),.15);animation:atlas-page-ripple 5s ease-out infinite}
.page-light:after{animation-delay:-2.5s}
.page-light i{position:absolute;left:50%;top:50%;width:4px;height:4px;border-radius:50%;background:#fffae3;box-shadow:0 0 12px 3px rgba(var(--portal-rgb),.8);animation:atlas-page-mote 5s ease-in-out infinite;--mote-x:-65px}
.page-light i:nth-child(2){left:25%;animation-delay:-1.7s;--mote-x:30px}.page-light i:nth-child(3){left:70%;animation-delay:-3.4s;--mote-x:-15px}
.page-name{position:absolute;top:43%;left:0;right:0;display:grid;justify-items:center;gap:3px;transform:perspective(800px) rotateX(13deg);text-shadow:0 2px 3px #1b201e,0 0 12px #04141f,0 0 25px #04141fcc;transition:transform .4s,filter .4s;pointer-events:none}
.page-name>span{font-family:var(--serif);font-size:clamp(24px,3.3vw,55px);font-weight:600;line-height:1.06;letter-spacing:.015em}
.page-name small{font-size:clamp(9px,.85vw,14px);letter-spacing:.12em;color:#fff2c6}
.page-touch{position:absolute;left:0;right:0;top:79%;font-size:clamp(9px,.8vw,13px);font-style:italic;text-shadow:0 2px 6px #000;color:#f3e4b7;opacity:.75;transition:opacity .3s}
.atlas-page:hover .page-light,.atlas-page:focus-visible .page-light{filter:brightness(1.6);background:radial-gradient(ellipse,rgba(var(--portal-rgb),.33),transparent 70%)}
.atlas-page:hover .page-name,.atlas-page:focus-visible .page-name{transform:perspective(800px) rotateX(0) translateY(-5px);filter:drop-shadow(0 0 8px rgba(var(--portal-rgb),.9))}
.atlas-page:hover .page-touch,.atlas-page:focus-visible .page-touch{opacity:1}
#app .atlas-page:focus-visible{outline:2px solid #fff2c9;outline-offset:-4px;border-radius:50%;background:radial-gradient(ellipse,rgba(var(--portal-rgb),.13),transparent 70%)}
.atlas-room:has(.page-whisperwood:hover) .whisper-default,.atlas-room:has(.page-whisperwood:focus-visible) .whisper-default,.atlas-room:has(.page-rootdeep:hover) .whisper-default,.atlas-room:has(.page-rootdeep:focus-visible) .whisper-default{display:none}
.atlas-room:has(.page-whisperwood:hover) .whisper-forest,.atlas-room:has(.page-whisperwood:focus-visible) .whisper-forest,.atlas-room:has(.page-rootdeep:hover) .whisper-root,.atlas-room:has(.page-rootdeep:focus-visible) .whisper-root{display:inline}
.atlas-room:has(.atlas-page:hover) .atlas-guide,.atlas-room:has(.atlas-page:focus-visible) .atlas-guide{animation-play-state:paused}
.site-header{flex-wrap:wrap}.header-actions{flex-wrap:wrap;justify-content:flex-end}.entrance .welcome-strip>p:not(.eyebrow){max-width:710px;margin-left:auto;margin-right:auto}
@keyframes atlas-guide-flight{0%,100%{left:50%;top:55%;rotate:-5deg}22%{left:34%;top:66%;rotate:8deg}48%{left:50%;top:55%;rotate:-6deg}73%{left:70%;top:66%;rotate:8deg}}
@keyframes atlas-guide-breathe{50%{opacity:.5;scale:.85}}
@keyframes atlas-trail-current{to{stroke-dashoffset:-102}}
@keyframes atlas-page-ripple{0%{scale:.6;opacity:0}20%{opacity:.8}100%{scale:1.15;opacity:0}}
@keyframes atlas-page-mote{0%,100%{translate:0 0;opacity:0;scale:.5}30%{opacity:.9}75%{translate:var(--mote-x) -90px;opacity:0;scale:1.1}}
::view-transition-old(root){animation:atlas-enter-book .65s ease-in both;transform-origin:var(--atlas-entry-x,50%) 76%}
::view-transition-new(root){animation:atlas-world-arrives .65s ease-out both}
@keyframes atlas-enter-book{to{opacity:0;transform:scale(1.5);filter:blur(5px)}}
@keyframes atlas-world-arrives{from{opacity:0;filter:blur(5px);transform:scale(.98)}to{opacity:1;filter:none;transform:none}}
@media(max-width:800px){.atlas-invitation{top:6%;left:35%;width:31%}.atlas-invitation h1{font-size:clamp(29px,4.7vw,42px);margin-bottom:17px}.atlas-invitation .eyebrow{display:none}.atlas-invitation .atlas-whisper{font-size:clamp(14px,2.1vw,19px)}.page-name>span{font-size:clamp(22px,3.5vw,32px)}}
@media(max-width:600px){.site-header{justify-content:center}.header-actions{justify-content:center}.atlas-stage.atlas-room{display:flex;flex-direction:column;background:radial-gradient(ellipse at 75% 35%,#42386966,transparent 60%),#0c2331}.atlas-canvas{width:100%;order:1}.atlas-invitation{position:relative;top:auto;left:auto;width:100%;order:0;padding:24px 20px 18px;text-shadow:0 2px 12px #0005}.atlas-invitation:before{display:none}.atlas-invitation h1{font-size:39px;line-height:.95;margin-bottom:14px}.atlas-invitation h1 br{display:none}.atlas-invitation .atlas-whisper{font-size:19px}.atlas-invitation .atlas-whisper br{display:none}.page-name{top:40%;gap:2px}.page-name>span{font-size:clamp(18px,5.2vw,28px);letter-spacing:0}.page-name small{font-size:7px;letter-spacing:.06em}.page-touch{font-size:8px;top:86%}.atlas-guide{width:25px}.atlas-light-trails path{stroke-width:2}.page-light i{width:2px;height:2px}.atlas-page.page-whisperwood{left:10%;width:40%;height:34%;top:58%}.atlas-page.page-rootdeep{left:51%;width:40%;height:34%;top:58%}}
@media(prefers-reduced-motion:reduce){.atlas-canvas *,.atlas-canvas *:before,.atlas-canvas *:after{animation:none!important;transition:none!important}.atlas-guide{left:50%;top:56%}.page-light:before{opacity:.6;scale:1}.page-light:after{display:none}.page-light i{opacity:.6}::view-transition-old(root),::view-transition-new(root){animation:none!important}}
.entrance .world-card:first-child img{object-position:50% 12%}.entrance .world-card:nth-child(2) img{object-position:50% 42%}.entrance .world-card{min-height:390px;border-color:#76b5aa66;box-shadow:0 16px 48px #0005}.entrance .world-card .card-copy{padding-top:225px}.entrance .world-card:after{background:linear-gradient(0deg,#071c30f2,transparent 85%)}
.entrance .weekly-home{position:relative;isolation:isolate;overflow:hidden;border-color:#7dd7e0aa;background:linear-gradient(90deg,#092c43ed,#1939539c),url('/assets/first-journey/treehouse-arrival.webp') center 58%/cover;box-shadow:0 12px 45px #020c2199}.entrance .weekly-home:after{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 85% 15%,#ab75ef44,transparent 65%)}.entrance .weekly-home .eyebrow{color:#9ce5ef}.entrance .weekly-home h2{color:#f7e8c4}.entrance .weekly-home .button{background:linear-gradient(125deg,#8ee0db,#e9ddaa);border-color:#bceee8;color:#102d3f}.entrance .welcome-strip{position:relative;max-width:none;padding:42px 24px;background:radial-gradient(ellipse at 18% 20%,#174a7166,transparent 55%),radial-gradient(ellipse at 80% 50%,#69539644,transparent 55%),linear-gradient(#102f32,#10212d)}.entrance .welcome-strip p{color:#d3e3e7}.entrance .welcome-strip .eyebrow{color:#91ddd9}.entrance .world-previews{padding-top:28px}.entrance{background:radial-gradient(ellipse at 20% 70%,#224664aa,transparent 65%),radial-gradient(ellipse at 90% 95%,#49346488,transparent 65%),#0b202a}
@media(max-width:600px){.entrance .world-card{min-height:360px}.entrance .world-card .card-copy{padding-top:210px}.entrance .world-card:first-child img{object-position:50% 8%}}
