/* Responsive optimized artwork: mobile never downloads the full raw scene backgrounds. */
:root{--tn-bg-forest:url('/_next/image?url=%2Ftraumnest%2Fforest-depth.webp&w=1080&q=75');--tn-bg-garden:url('/_next/image?url=%2Ftraumnest%2Fgarden-depth.webp&w=1080&q=75');--tn-bg-hero:url('/_next/image?url=%2Ftraumnest%2Fhero.webp&w=828&q=75');}
@media(max-width:760px){:root{--tn-bg-forest:url('/_next/image?url=%2Ftraumnest%2Fforest-depth.webp&w=640&q=58');--tn-bg-garden:url('/_next/image?url=%2Ftraumnest%2Fgarden-depth.webp&w=640&q=75');--tn-bg-hero:url('/_next/image?url=%2Ftraumnest%2Fhero.webp&w=640&q=75');}}
:root{--ink:#fff7e8;--gold:#f6d299;--purple:#b28ae6;--bg:#100e29;--rx:0deg;--ry:0deg;--px:0px;--py:0px;--scroll:0;--depth:0px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:85px}body{margin:0;background:var(--bg);color:var(--ink);font:600 16px/1.5 var(--font-nunito),system-ui,sans-serif;overflow-x:hidden}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer;color:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,svg [tabindex]:focus-visible{outline:3px solid #ffe3a6;outline-offset:5px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}header{position:absolute;inset:0 0 auto;z-index:30;display:flex;align-items:center;gap:25px;height:90px;padding:0 6%;background:linear-gradient(#100e29b5,transparent)}.brand{font-size:31px;font-weight:900;letter-spacing:-1.5px;white-space:nowrap;text-shadow:0 2px 15px #0006}.brand>span{color:var(--gold);font-size:42px;vertical-align:middle}nav{display:flex;gap:30px;margin-left:auto;font-size:14px}nav a:hover{color:var(--gold)}#motion{border:1px solid #fff4;background:#282044a0;border-radius:50%;width:36px;height:36px}.eyebrow{font-size:11px;letter-spacing:2.5px;color:var(--gold);font-weight:800;margin:0 0 14px}h1,h2,h3{line-height:1.12;font-weight:900;letter-spacing:-1.5px;margin:0 0 16px}h1{font-size:clamp(36px,4.3vw,66px)}h2{font-size:clamp(32px,3.5vw,49px)}em{font-style:normal;color:#e1c5ff}p{margin:0 0 20px}.button{border-radius:100px;border:1px solid #d8bdfb70;background:#30234c70;color:var(--ink);min-height:58px;padding:15px 27px;display:inline-flex;align-items:center;justify-content:center;gap:24px;font-weight:800;box-shadow:0 10px 35px #09041640;transition:transform .25s,box-shadow .25s}.button:hover{transform:translateY(-4px);box-shadow:0 14px 45px #9f61e244}.primary{background:linear-gradient(110deg,#b58add,#7854bb);border:1.5px solid #e0c1ff;box-shadow:inset 0 2px 0 #ffffff45,0 8px 35px #8454c650;text-shadow:0 1px 4px #422a63}.scroll-chapter{height:165svh;position:relative}.world{height:100svh;min-height:760px;isolation:isolate;overflow:hidden;perspective:1000px;background:#11112e}.home-world{position:sticky;top:0}.sky-plane{position:absolute;inset:-6% -6%;z-index:-5;transform:translate3d(calc(var(--px)*-.35),calc(var(--py)*-.35),-50px) scale(calc(1.12 + var(--scroll)*.2));will-change:transform}.sky-plane img{width:100%;height:100%;object-fit:cover;object-position:50% 42%}.home-world .sky-plane img{object-position:center 36%}.atmosphere{position:absolute;inset:0;pointer-events:none;z-index:-3;background:linear-gradient(180deg,#100e2940,transparent 22%,transparent 52%,#100e29da 94%,#100e29),radial-gradient(ellipse at center,transparent 25%,#100e2930 80%)}.moon-halo{position:absolute;top:12%;left:calc(50% - 160px);width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,#eacbff16,transparent 65%);animation:moon-glow 5s ease-in-out infinite alternate}.scene-object{position:absolute;top:15%;left:50%;width:min(700px,70vw);height:50%;transform-style:preserve-3d;transform:translateX(-50%) translateY(calc(var(--scroll)*-42px)) scale(calc(1 + var(--scroll)*.3));z-index:2}.book-space{position:absolute;bottom:-2%;width:100%;height:50%;perspective:900px;transform-style:preserve-3d;animation:book-float 6s ease-in-out infinite}.book-model{width:100%;height:100%;position:relative;transform-style:preserve-3d;transform:rotateX(calc(9deg + var(--rx))) rotateY(var(--ry));transition:transform .16s ease-out}.book-art{position:absolute;inset:-10% -5%;transform:translateZ(28px)}.book-art img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 15px 22px #0008)}.book-cover{position:absolute;left:12%;top:32%;width:76%;height:55%;border-radius:12% 12% 18% 18%;background:linear-gradient(100deg,#513628,#9e6840 48%,#3b251a 50%,#9e6840 52%,#513628);transform:rotateX(54deg) translateZ(-16px);box-shadow:0 18px 0 #2d1d18,0 25px 35px #0007;border:3px solid #b1854d}.page-block{position:absolute;left:14%;top:28%;width:72%;height:53%;background:repeating-linear-gradient(#f2d9ad 0px,#f2d9ad 2px,#967850 3px,#f0d7a7 4px);border-radius:12%;transform:rotateX(54deg) translateZ(-8px)}.book-light{position:absolute;left:20%;right:20%;top:-60%;height:165%;pointer-events:none;background:conic-gradient(from -30deg at 50% 100%,transparent 0deg,#ffe7a530 14deg,#ffefbc08 30deg,#ffe3a538 45deg,transparent 60deg);filter:blur(13px);mix-blend-mode:screen;transform:translateZ(20px);animation:light-breathe 3s ease-in-out infinite alternate}.page-turn{position:absolute;left:50%;top:21%;width:34%;height:51%;background:linear-gradient(100deg,#ffe7afdd,#fff4d4aa);border:1px solid #fff4c980;border-radius:1px 25% 15% 1px;transform-origin:left center;transform:rotateX(54deg) rotateY(0deg) translateZ(23px);opacity:0;pointer-events:none}.page-turn-one{animation:page-turn 12s 2s infinite}.page-turn-two{animation:page-turn 12s 2.5s infinite}.book-space.turning{animation:book-spin 1.7s cubic-bezier(.2,.65,.2,1)}.character-stage{position:absolute;left:13%;bottom:26%;width:74%;height:85%;transform-style:preserve-3d;transform:translate3d(calc(var(--px)*1.1),calc(var(--py)*.5),90px) rotateY(calc(var(--ry)*.35));animation:character-breathe 4.5s ease-in-out infinite}.animal-group{width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 16px 15px #13082970)}.character-hits{position:absolute;inset:22% 2% 1%;display:flex}.character-hits button{background:none;border:0;width:25%;border-radius:40%;min-height:44px}.hello{position:absolute;top:8%;left:50%;transform:translateX(-50%) translateY(10px);background:#fff0d5;color:#58356d;border-radius:40px;padding:8px 19px;font-size:14px;white-space:nowrap;opacity:0;transition:.3s;box-shadow:0 7px 20px #0004}.hello.shown{opacity:1;transform:translateX(-50%) translateY(0)}.foreground{position:absolute;z-index:5;font-size:180px;line-height:1;color:#e2bd7380;filter:blur(8px);pointer-events:none;text-shadow:0 0 70px #f7bd46}.foreground-left{left:-80px;top:42%;transform:translate3d(calc(var(--px)*2.2),calc(var(--py)*1.5),120px) rotate(-15deg);animation:foreground-sway 8s ease-in-out infinite alternate}.foreground-right{right:-70px;top:20%;font-size:230px;transform:translate3d(calc(var(--px)*-2),calc(var(--py)*1.5),150px);animation:foreground-sway 11s ease-in-out infinite alternate-reverse}.mist{position:absolute;left:-30%;width:160%;height:19%;bottom:19%;background:radial-gradient(ellipse at 35% 40%,#d2b7f13d,transparent 55%),radial-gradient(ellipse at 70% 60%,#c8d1ff24,transparent 50%);filter:blur(22px);pointer-events:none;animation:mist-drift 12s ease-in-out infinite alternate;z-index:3}.hero-copy{position:absolute;bottom:6%;left:50%;transform:translateX(-50%);z-index:6;width:90%;text-align:center;text-shadow:0 3px 24px #07051be0}.hero-copy .eyebrow{margin-bottom:8px}.hero-copy h1{font-size:clamp(33px,3.4vw,51px);margin-bottom:10px}.hero-copy>p:not(.eyebrow){font-size:14px;color:#e6dcf3;margin-bottom:17px}.store-row{display:flex;gap:12px;justify-content:center;margin-top:15px}.store-row a{background:#0d13279c;border:1px solid #c7bbde70;border-radius:12px;padding:8px 19px;font-size:12px;min-width:120px}.scroll-hint{position:absolute;bottom:15px;left:6%;font-size:10px;color:#dfd5ee;display:flex;align-items:center;gap:10px;z-index:7}.scroll-hint>span{width:16px;height:25px;border:1px solid #e1d2f8;border-radius:10px;position:relative}.scroll-hint>span:after{content:'';width:3px;height:5px;position:absolute;top:5px;left:5px;background:white;border-radius:3px;animation:scroll-dot 1.8s infinite}.scene-control{position:absolute;bottom:15px;right:6%;z-index:7;background:#20193880;border:1px solid #dfbff34d;border-radius:50px;padding:8px 13px;font-size:11px}.dust{position:absolute;inset:0;pointer-events:none;z-index:4;overflow:hidden}.dust i{position:absolute;width:4px;height:4px;border-radius:50%;background:#ffe4ad;box-shadow:0 0 13px 3px #ffc45c75;animation:firefly var(--time,8s) var(--delay,0s) ease-in-out infinite alternate}.friends{text-align:center;padding:90px 7%;position:relative;background:radial-gradient(ellipse at 50% 0,#65407c50,transparent 60%)}.friends>p{color:#c7bad9;font-size:14px}.friend-grid{display:flex;max-width:760px;margin:35px auto 20px;gap:18px;justify-content:center}.friend-grid button{width:25%;border:1px solid #be9ae538;border-radius:24px;background:linear-gradient(#7d509629,#1e193780);padding:15px 8px;transition:transform .3s,background .3s}.friend-grid button:hover,.friend-grid button.selected{transform:translateY(-10px) rotate(-2deg);background:#70468d45;border-color:#e2c092}.friend-portrait{display:block;width:100%;height:140px;background-image:url('/traumnest/characters-layer.webp');background-repeat:no-repeat;background-size:400% auto}.f-luna{background-position:0% center}.f-mira{background-position:33.33% center}.f-max{background-position:66.66% center}.f-ben{background-position:100% center}.friend-grid strong{display:block;font-size:22px}.friend-grid small{font-size:11px;color:#c7b3da}#friend-message{min-height:42px!important;color:var(--gold);margin:15px 0 25px}.map-world{min-height:100svh;position:relative;padding:110px 6% 60px;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:0 5%;background:#15122f}.map-backdrop{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#130f2be6,#130f2b66),var(--tn-bg-forest) center/cover;filter:brightness(.75)}.map-heading{z-index:6;align-self:end}.map-heading h1{font-size:clamp(32px,3.2vw,49px)}.back{border:1px solid #cfbce15c;background:#2a204f99;border-radius:40px;padding:9px 17px;font-size:12px;margin-bottom:25px;box-shadow:0 5px 20px #100b2755}.back:hover{background:#6b4f9080}.search{display:flex;gap:13px;align-items:center;background:#7956b03d;border:1px solid #dfc3ff75;border-radius:35px;max-width:400px;padding:11px 20px;margin:23px 0 8px;box-shadow:inset 0 2px 8px #c7b2ff15}.search>span:first-child{font-size:26px}.search input{width:100%;background:none;border:none;outline:none;color:white;font-size:14px;min-width:0}.search input::placeholder{color:#d4c4e7}#search-status{font-size:11px;color:#e2d5ee;min-height:22px}.map-table{grid-column:2;grid-row:1 / 3;position:relative;perspective:900px;width:100%;max-width:540px;z-index:5}.map-3d{transform-style:preserve-3d;transform:rotateX(calc(11deg + var(--rx)*.4)) rotateY(calc(-6deg + var(--ry)*.5));animation:map-float 6s ease-in-out infinite}.map-3d svg{display:block;width:100%;max-height:670px;overflow:visible;filter:drop-shadow(0 25px 18px #08051caa);touch-action:none;cursor:grab}#map-scene{transform-origin:50% 60%;transition:transform .3s}#kl-pin{cursor:pointer;filter:drop-shadow(0 6px 6px #58352780)}.pin-ring{animation:pin-ring 3s ease-out infinite}.map-tools{position:absolute;right:0;top:25px;display:grid;gap:8px;z-index:5}.map-tools button{border:1px solid #f4d8ab6b;border-radius:50%;width:36px;height:36px;font-size:20px;background:#322344d9}.map-tools button:disabled{opacity:.35}.map-footnote{text-align:center;font-size:9px;letter-spacing:2px;color:#e0c496;margin:0}.city-feature{grid-column:1;align-self:start;display:flex;gap:20px;align-items:center;text-align:left;border:1px solid #e5c2ff9c;background:linear-gradient(110deg,#8451b6c9,#4b316ae6);border-radius:22px;overflow:hidden;padding:0 24px 0 0;width:100%;max-width:430px;position:relative;z-index:7;box-shadow:0 12px 50px #0004;transition:transform .3s}.city-feature:hover{transform:translateY(-6px) rotate(-1deg)}.city-feature-art{width:115px;min-height:125px;align-self:stretch;flex-shrink:0;background:var(--tn-bg-garden) center/cover}.city-feature small{display:block;font-size:8px;letter-spacing:1px;color:#eed4ff;margin-bottom:8px}.city-feature strong{font-size:24px;line-height:1.1;display:block}.city-feature b{margin-left:auto;font-size:25px}.city-world{min-height:850px}.city-world .sky-plane{inset:-4% -5%}.city-world .sky-plane img{object-position:center 50%}.city-heading{position:absolute;top:105px;left:50%;transform:translateX(-50%);text-align:center;z-index:7;width:90%;text-shadow:0 2px 22px #120e29e0}.city-heading .back{margin-bottom:25px}.city-heading h1{font-size:clamp(37px,5vw,73px);color:#fff4e0}.city-heading>p:last-child{font-size:18px}.city-characters{position:absolute;bottom:19%;left:50%;width:min(580px,65%);height:45%;z-index:2;transform:translateX(-50%) translate3d(var(--px),var(--py),80px);animation:city-float 5s ease-in-out infinite}.city-characters img{width:100%;height:100%;object-fit:contain;object-position:bottom;filter:drop-shadow(0 12px 20px #11152c66)}.city-cta{position:absolute;bottom:6%;left:50%;transform:translateX(-50%);z-index:7;text-align:center;width:90%}.city-cta small{display:block;color:#e2d5eb;font-size:9px;margin-top:16px}.water-light{position:absolute;left:0;right:0;bottom:10%;height:35%;background:repeating-linear-gradient(175deg,transparent 0,transparent 21px,#f9d39312 22px,transparent 24px);opacity:.6;animation:water-flow 7s linear infinite;mix-blend-mode:screen;z-index:-2}.story-section{text-align:center;padding:80px 6%;background:radial-gradient(ellipse at top,#50396b70,transparent 60%)}#story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1200px;margin:40px auto}.story-card{border:1px solid #e4c5ff70;border-radius:22px;overflow:hidden;position:relative;height:400px;text-align:left;background:#302346;transform-style:preserve-3d;transition:transform .4s,box-shadow .4s;box-shadow:0 12px 25px #0004}.story-card:hover{transform:perspective(800px) rotateY(-5deg) rotateX(3deg) translateY(-10px);box-shadow:12px 25px 50px #0006}.story-art{position:absolute;inset:0;background-size:cover;background-position:center;transition:transform .6s}.story-card:hover .story-art{transform:scale(1.08)}.story-art:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 30%,#160f2eea 94%)}.story-number{position:absolute;left:16px;top:16px;background:#251b3da0;border:1px solid #f0d5ff70;border-radius:50%;padding:7px 10px;font-size:12px}.story-content{position:absolute;inset:auto 24px 25px;color:white;transform:translateZ(20px)}.story-content small{font-size:9px;color:var(--gold);letter-spacing:1px}.story-content h3{font-size:27px;letter-spacing:-.5px;margin-top:8px}.story-content p{font-size:12px;color:#dfd3ed}.story-bottom{display:flex;justify-content:space-between;font-size:12px;color:var(--gold)}.demo-note{max-width:650px;margin:0 auto 35px;font-size:12px;color:#bfb1d3}footer{padding:30px 6%;border-top:1px solid #e1c1ff20;display:flex;flex-wrap:wrap;align-items:center;gap:22px;font-size:11px;color:#bcafce}footer .brand{color:var(--ink);font-size:23px}footer small{margin-left:auto;font-size:10px}#portal{position:fixed;inset:0;z-index:99;pointer-events:none;opacity:0;overflow:hidden;display:grid;place-items:center;background:radial-gradient(circle,#fbdfb0 0%,#bc9bd9 20%,#282041 67%);transition:opacity .45s}.portal-ring{width:180px;height:180px;border:8px solid #fff3ce;border-radius:50%;box-shadow:0 0 90px 35px #ffde9e, inset 0 0 70px #fcda9a;transform:scale(.1);transition:transform .7s cubic-bezier(.3,.1,.2,1)}#portal>span{position:absolute;color:#fffbe8;font-size:90px}body.travelling #portal{opacity:1}body.travelling .portal-ring{transform:scale(12)}body.travelling main:not([hidden]){transform:scale(1.07);filter:blur(3px)}main{transition:transform .5s,filter .5s}.view-enter{animation:arrive 1.1s cubic-bezier(.2,.8,.2,1)}dialog{background:linear-gradient(135deg,#34224b,#181b35);color:var(--ink);border:1px solid #d1aeff80;border-radius:25px;padding:40px;width:calc(100% - 30px);max-width:600px;max-height:85svh;box-shadow:0 25px 100px #0007}dialog::backdrop{background:#100a25d9;backdrop-filter:blur(12px)}dialog h2{font-size:33px;padding-right:12px}.close{position:absolute;right:12px;top:10px;font-size:30px;border:0;background:none;width:40px;height:40px}.player{display:flex;gap:20px;align-items:center;background:#ffffff09;border:1px solid #ffffff15;border-radius:18px;padding:20px;margin-top:26px}.play{width:60px;height:60px;border:1px solid #f6dbff;border-radius:50%;background:#a479d7;font-size:23px;flex-shrink:0}.player strong{font-size:14px}.player small,.small{font-size:11px;color:#cbbfdb}.wave{display:flex;align-items:center;height:35px;gap:5px}.wave i{height:12px;width:4px;background:#c9a3f5;border-radius:5px}.wave i:nth-child(3n){height:24px}.wave i:nth-child(2n){height:18px}.speaking .wave i{animation:wave .7s ease-in-out infinite alternate}.speaking .wave i:nth-child(2n){animation-delay:.2s}details{margin-top:25px}summary{color:var(--gold);cursor:pointer;font-size:13px}#story-text{white-space:pre-line;font-size:15px;color:#e3daed;line-height:1.9}.no-motion *,.no-motion *:before,.no-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.no-motion .scroll-chapter{height:100svh}.no-motion .page-turn{display:none}.no-motion .world,.no-motion .map-world{--px:0px!important;--py:0px!important;--rx:0deg!important;--ry:0deg!important;--scroll:0!important}
@keyframes book-float{0%,100%{translate:0 0;rotate:-2deg}50%{translate:0 -18px;rotate:2deg}}@keyframes book-spin{0%{transform:rotateY(0)}50%{transform:rotateY(24deg) rotateX(12deg) scale(1.15)}100%{transform:rotateY(0)}}@keyframes character-breathe{0%,100%{translate:0 0;rotate:-.6deg}50%{translate:0 -13px;rotate:.6deg}}@keyframes page-turn{0%,5%{opacity:0;transform:rotateX(54deg) rotateY(0) translateZ(23px)}7%{opacity:.75}25%{opacity:.7;transform:rotateX(54deg) rotateY(-165deg) translateZ(23px)}28%,100%{opacity:0;transform:rotateX(54deg) rotateY(-180deg) translateZ(23px)}}@keyframes light-breathe{to{opacity:.5;filter:blur(22px)}}@keyframes mist-drift{to{translate:12% -10px;opacity:.6}}@keyframes foreground-sway{to{translate:15px -22px;rotate:8deg}}@keyframes firefly{0%{translate:0 0;opacity:.2}50%{opacity:.85}100%{translate:18px -65px;opacity:.35}}@keyframes scroll-dot{to{translate:0 8px;opacity:0}}@keyframes moon-glow{to{scale:1.2;opacity:.5}}@keyframes map-float{0%,100%{translate:0 0;rotate:-1deg}50%{translate:0 -12px;rotate:1deg}}@keyframes pin-ring{to{scale:1.08;opacity:0}}@keyframes city-float{50%{translate:0 -11px}}@keyframes water-flow{to{background-position:60px 35px}}@keyframes wave{to{scale:1 .3}}@keyframes arrive{from{opacity:.4;transform:scale(1.08)}to{opacity:1;transform:scale(1)}}
@media(min-width:1100px){.home-world{min-height:850px}.scene-object{top:11%;height:51%;width:720px}.hero-copy{bottom:6%}.hero-copy h1{font-size:45px}.sky-plane img{object-position:50% 35%}.friends{padding-top:80px}}
@media(max-width:760px){header{height:77px;padding:0 6%;gap:14px}.brand{font-size:28px}.brand>span{font-size:36px}nav{gap:0;font-size:11px}header nav a:last-child{display:none}#motion{width:30px;height:30px;font-size:12px}.world{min-height:740px;height:100svh}.scroll-chapter{height:145svh}.sky-plane{inset:-3% -15%}.sky-plane img{object-position:50% 38%}.scene-object{top:19%;width:112%;height:43%;max-width:600px}.character-stage{left:15%;width:70%;bottom:25%;height:80%}.book-space{bottom:0%;height:50%;left:6%;width:88%}.hero-copy{bottom:7%;width:94%}.hero-copy .eyebrow{font-size:8px;letter-spacing:1.6px}.hero-copy h1{font-size:37px;line-height:1.1;margin-bottom:9px}.hero-copy>p:not(.eyebrow){font-size:11px;margin-bottom:15px}.hero-copy .button{min-height:55px;padding:13px 23px;font-size:14px}.store-row{margin-top:12px}.store-row a{font-size:11px;min-width:113px;padding:8px 15px}.scroll-hint{bottom:11px;left:5%;font-size:8px;gap:6px}.scroll-hint span{height:19px;width:13px}.scroll-hint span:after{left:4px;top:3px}.scene-control{right:5%;bottom:9px;font-size:9px;padding:6px 10px}.foreground-left{font-size:120px;left:-65px;top:47%}.foreground-right{font-size:150px;right:-65px;top:21%}.mist{bottom:29%}.friends{padding:65px 6%}.friend-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:400px}.friend-grid button{width:100%;padding:7px 6px 15px}.friend-portrait{height:150px}.friend-grid strong{font-size:20px}.friends h2{font-size:33px}.friends>.button{font-size:12px;padding:14px 20px}.eyebrow{font-size:9px;letter-spacing:1.6px}.map-world{display:flex;flex-direction:column;min-height:100svh;padding:92px 6% 35px;gap:0}.map-backdrop{background:linear-gradient(#160f2b60,#160f2bb0),var(--tn-bg-forest) center/cover}.map-heading{text-align:center;align-self:auto;width:100%;z-index:6}.map-heading .back{margin-bottom:18px;padding:7px 14px;font-size:10px}.map-heading .eyebrow{margin-bottom:8px}.map-heading h1{font-size:29px;line-height:1.12;margin-bottom:14px}.search{padding:6px 16px;margin:12px auto 6px;max-width:360px}.search input{font-size:12px}.search span:first-child{font-size:24px}#search-status{font-size:9px;margin-bottom:0}.map-table{margin-top:-4px;max-width:380px;width:100%}.map-3d svg{max-height:430px}.map-3d{transform:rotateX(12deg) rotateY(-4deg)}.map-tools{top:28px;right:0}.map-tools button{width:29px;height:29px;font-size:17px}.map-footnote{font-size:7px;letter-spacing:1px;margin:5px 0 14px}.city-feature{width:100%;max-width:380px;align-self:center;gap:16px;min-height:100px;border-radius:18px}.city-feature-art{width:95px;min-height:100px}.city-feature strong{font-size:21px}.city-feature small{font-size:7px}.city-feature b{font-size:24px}.city-world{min-height:790px}.city-world .sky-plane{inset:-3% -12%}.city-world .sky-plane img{object-position:50% center}.city-heading{top:95px}.city-heading .back{font-size:11px;margin-bottom:24px}.city-heading .eyebrow{font-size:9px;margin-bottom:7px}.city-heading h1{font-size:39px}.city-heading>p:last-child{font-size:13px}.city-characters{bottom:20%;width:98%;height:35%;}.city-cta{bottom:7%}.city-cta .button{width:94%;max-width:370px;font-size:17px}.city-cta small{font-size:8px}.city-world .mist{bottom:17%}.story-section{padding:55px 6%}.story-section h2{font-size:33px}#story-grid{grid-template-columns:1fr;gap:20px;margin:28px auto;max-width:500px}.story-card{height:300px}.story-content{inset:auto 20px 20px}.story-content h3{font-size:27px}.story-content p{max-width:270px}.demo-note{font-size:10px}.story-section>.button{font-size:12px}footer{gap:15px;padding:25px 6%}footer>span{width:100%;font-size:10px}footer small{margin-left:0}dialog{padding:35px 22px}dialog h2{font-size:29px}.player{padding:15px;gap:15px}.map-world .dust i:nth-child(2n){display:none}}
@media(max-height:700px) and (min-width:761px){.world{min-height:740px}.hero-copy h1{font-size:38px}.scene-object{height:43%;top:15%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.scroll-chapter{height:100svh}.page-turn{display:none}}
/* Stable foreground, moving environment. */
.scene-object{top:15%;width:min(640px,70vw);height:47%;transform:translateX(-50%);transform-style:preserve-3d}
.character-stage{left:13%;width:74%;height:81%;bottom:29%;transform:translateZ(65px);animation:none!important;translate:none;rotate:none}
.animal-group{filter:drop-shadow(0 3px 1px #f9dfb82b) drop-shadow(0 12px 7px #09092070) drop-shadow(0 22px 20px #07061b80)}
.character-ground{position:absolute;left:20%;width:60%;height:11%;bottom:24%;border-radius:50%;background:radial-gradient(ellipse,#130c25a6,transparent 70%);filter:blur(5px);transform:rotateX(55deg);z-index:1;pointer-events:none}
.book-space{animation:none!important;translate:none;rotate:none;height:48%;bottom:0%;}
.book-model{transform:rotateX(9deg);transition:none;}
.book-art{transform:translateZ(22px);}
.book-art img{filter:drop-shadow(0 12px 5px #110b2380) drop-shadow(0 22px 22px #080516a0)}
.page-turn{display:none}.book-light{animation:none;opacity:.55}.foreground{animation:none;transform:none;opacity:.45}
.home-world .sky-plane{animation:scenery-drift 22s ease-in-out infinite alternate;transform:translate3d(calc(var(--px)*-.4),calc(var(--py)*-.4),-50px) scale(calc(1.12 + var(--scroll)*.12))}
.city-world .sky-plane{animation:scenery-drift 25s ease-in-out infinite alternate;transform:translate3d(calc(var(--px)*-.4),calc(var(--py)*-.4),-50px) scale(1.12)}
.city-characters{bottom:18%;width:min(590px,66%);height:44%;transform:translateX(-50%);animation:none!important;translate:none;rotate:none}
.city-characters img{filter:drop-shadow(0 3px 1px #f7e4ba30) drop-shadow(0 15px 8px #13202080) drop-shadow(0 24px 20px #0a162bb0)}
.city-ground{position:absolute;left:50%;bottom:17.5%;width:min(510px,58%);height:5%;transform:translateX(-50%);background:radial-gradient(ellipse,#132428c9,transparent 69%);filter:blur(7px);z-index:1;pointer-events:none}
.friend-grid button:hover,.friend-grid button.selected{transform:none;box-shadow:0 0 25px #c496e92b}
.map-3d{animation:none!important;translate:none;rotate:none;transform:rotateX(16deg);transform-origin:50% 55%;}
.map-table{perspective:1300px;padding-bottom:15px}.map-3d svg{filter:drop-shadow(0 26px 15px #070d2390);touch-action:pan-y;cursor:default;}
.map-backdrop{filter:brightness(.57) saturate(.65)}
.map-grid{pointer-events:none}.reference-city{fill:#213c39;pointer-events:none}.reference-city text{font-family:var(--font-nunito),sans-serif;font-size:10px;letter-spacing:.1px;font-weight:800;paint-order:stroke;stroke:#e6e9cc;stroke-width:2.3px;stroke-linejoin:round}.reference-city circle{fill:#e9eddb;stroke:#355d4b;stroke-width:1.1px}
.sea-label{font-family:var(--font-nunito),sans-serif;fill:#c0d3d6;opacity:.7;font-size:8px;letter-spacing:2px}.map-compass{fill:#dbe5d4;font-size:10px;font-family:var(--font-nunito),sans-serif}.pin-ring{animation:none!important}#kl-pin{filter:drop-shadow(0 3px 2px #17332a50)}.map-footnote{margin-top:4px}.map-source{font-size:9px;opacity:.7}
@keyframes scenery-drift{from{translate:-9px -4px;scale:1}to{translate:9px 5px;scale:1.035}}
@media(min-width:1100px){.scene-object{top:13%;height:48%;width:650px}.hero-copy{bottom:6%}.character-stage{bottom:29%}}
@media(max-width:760px){.scene-object{top:18%;width:108%;height:42%;max-width:540px}.character-stage{left:15%;width:70%;height:78%;bottom:30%;transform:none}.character-ground{bottom:27%;left:21%;width:58%;height:9%}.book-space{left:5%;width:90%;height:46%;bottom:1%}.hero-copy{bottom:7%}.hero-copy h1{font-size:35px}.city-characters{bottom:19.5%;width:97%;height:35%;transform:translateX(-50%)}.city-ground{bottom:19%;width:80%;height:4%}.map-3d{transform:rotateX(12deg)}.map-table{max-width:390px;perspective:1100px;margin-top:0}.map-3d svg{max-height:450px}.reference-city text{font-size:10.5px}.map-footnote{font-size:7px;margin:0 0 8px}.scroll-hint{left:50%;transform:translateX(-50%);white-space:nowrap}}
/* Entrance: luminous landscape, colorful identity and prominent store links. */
.scroll-chapter{height:100svh;min-height:800px}.home-world{height:100svh;min-height:800px;position:relative}
.home-world .sky-plane{overflow:hidden;animation:entrance-drift 18s ease-in-out infinite alternate}
.home-world .sky-plane img{object-position:50% 12%}
.castle-lights{position:absolute;pointer-events:none;overflow:visible;max-width:none;visibility:hidden}
.castle-lights.castle-lights--positioned{visibility:visible}
.window-glow{animation:castle-glimmer var(--window-time) var(--window-delay) ease-in-out infinite}
.window-dim{animation:castle-dim var(--window-time) var(--window-delay) ease-in-out infinite}
.home-world .atmosphere{background:linear-gradient(180deg,#100e292b,transparent 28%,transparent 40%,#100e2970 62%,#100e29ed 97%)}
.home-world .mist{height:27%;bottom:18%;filter:blur(24px);animation:mist-drift 8s ease-in-out infinite alternate;opacity:.8}
.home-world .moon-halo{animation:moon-glow 7s ease-in-out infinite alternate}
header .brand .brand-word{font-size:34px;vertical-align:baseline;background:linear-gradient(105deg,#ffd994 0%,#ff9fd5 22%,#bdacff 46%,#87e5ff 68%,#fff0ae 83%,#ffd994 100%);background-size:250% 100%;background-clip:text;-webkit-background-clip:text;color:transparent;text-shadow:none;animation:brand-colors 8s ease-in-out infinite,brand-luminance 4.8s ease-in-out infinite}
.hero-copy{bottom:8%;width:94%;max-width:850px}
.hero-copy h1{margin-bottom:14px;line-height:1.1}
.hero-brand{display:block;font-size:82px;line-height:1.13;letter-spacing:-3px;font-weight:900;background:linear-gradient(110deg,#ffdf9e 4%,#ff9ece 26%,#c7b0ff 46%,#8ce8ff 67%,#ffe7a7 88%);background-size:250% 100%;background-clip:text;-webkit-background-clip:text;color:transparent;text-shadow:none;filter:drop-shadow(0 2px 12px #ae77ef70);animation:brand-colors 8s ease-in-out infinite,brand-luminance 5.7s -1s ease-in-out infinite}
.hero-tagline{display:block;font-size:31px;font-weight:800;color:#fff4e5;letter-spacing:-.7px;margin-top:7px;text-shadow:0 2px 12px #0b092b}
.hero-copy .eyebrow{font-size:10px;letter-spacing:3px;color:#ffdfb1;margin-bottom:3px}
.hero-copy>p:not(.eyebrow){font-size:14px;margin-bottom:18px}.hero-copy>.primary{min-height:54px;font-size:14px}
.store-row{gap:18px;margin:23px auto 0;max-width:500px;align-items:stretch}
.store-row .store-card{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex:1;min-width:0;min-height:82px;text-align:left;border:1.5px solid #e4dbff;border-radius:19px;padding:14px 17px;position:relative;isolation:isolate;overflow:hidden;box-shadow:inset 0 1px 0 #ffffff65,0 7px 0 #08091c7a,0 13px 35px #0006;text-shadow:0 1px 3px #17132970;transition:transform .25s,box-shadow .25s}
.store-row .store-apple{background:linear-gradient(120deg,#2459ce,#5863e6 58%,#9259cc);border-color:#bcdbff;box-shadow:inset 0 1px 0 #ffffff80,0 7px 0 #101b4d,0 10px 34px #547dff50}
.store-row .store-google{background:linear-gradient(120deg,#206966,#234b67 45%,#5d3e91);border-color:#a6ecdb;box-shadow:inset 0 1px 0 #ffffff80,0 7px 0 #112f3a,0 10px 34px #6ad8ce40}
.store-card svg{width:38px;height:38px;flex-shrink:0}.store-card>span{display:block;min-width:0}.store-card small{display:block;font-size:9px;font-weight:800;letter-spacing:1px;opacity:.92}.store-card strong{display:block;font-size:23px;line-height:1.2;font-weight:900;white-space:nowrap;letter-spacing:-.5px}.store-card b{font-size:20px;margin-left:auto;align-self:center}.store-card:after{content:'';position:absolute;inset:-70% auto -70% -50%;width:30%;transform:rotate(25deg);background:linear-gradient(90deg,transparent,#fff4,transparent);pointer-events:none;animation:store-sheen 7.5s ease-in-out infinite}.store-google:after{animation-delay:2.5s}.store-row .store-card:hover{transform:translateY(-5px);box-shadow:inset 0 1px 0 #fff9,0 9px 0 #151332,0 15px 40px #9c9aff75}.store-row .store-card:active{transform:translateY(2px)}
.scroll-hint{display:none}
@keyframes castle-glimmer{0%,100%{opacity:.12}14%{opacity:.8}28%{opacity:.35}47%{opacity:1}63%{opacity:.9}79%{opacity:.08}91%{opacity:.65}}
@keyframes castle-dim{0%,100%{opacity:.65}14%{opacity:.05}28%{opacity:.4}47%{opacity:0}63%{opacity:.1}79%{opacity:.75}91%{opacity:.18}}
@keyframes brand-colors{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes brand-luminance{0%,100%{filter:brightness(.9) drop-shadow(0 0 4px #bc92ef40)}50%{filter:brightness(1.22) drop-shadow(0 0 15px #bc92ef85)}}
@keyframes store-sheen{0%,55%{left:-50%;opacity:0}60%{opacity:1}90%,100%{left:140%;opacity:0}}
@keyframes entrance-drift{from{translate:-11px -5px;scale:1}to{translate:11px 6px;scale:1.045}}
@media(max-width:760px){header .brand .brand-word{font-size:30px}.scroll-chapter,.home-world{min-height:780px;height:100svh}.home-world .sky-plane img{object-position:50% 38%}.hero-copy{bottom:7%;width:92%;max-width:500px}.hero-brand{font-size:61px;letter-spacing:-2px}.hero-tagline{font-size:27px;margin-top:6px}.hero-copy .eyebrow{font-size:8px;letter-spacing:2px}.hero-copy>p:not(.eyebrow){font-size:12px;margin-bottom:17px}.hero-copy>.primary{font-size:13px;min-height:53px;padding:12px 22px}.store-row{gap:11px;margin-top:21px}.store-row .store-card{padding:12px 11px;border-radius:16px;gap:8px;min-height:77px}.store-card svg{width:29px;height:29px}.store-card strong{font-size:19px}.store-card small{font-size:7px;letter-spacing:.8px}.store-card b{font-size:16px}.home-world .mist{bottom:31%;height:24%}}
@media(max-width:360px){header{gap:10px}header .brand .brand-word{font-size:25px}.hero-brand{font-size:54px}.store-row .store-card{gap:7px;padding:10px 8px}.store-card svg{width:24px;height:24px}.store-card strong{font-size:17px}.store-card b{display:none}}
@media(prefers-reduced-motion:reduce){.window-glow{opacity:.35}.window-dim{opacity:.1}.store-card:after{display:none}}
.no-motion .window-glow{opacity:.35}.no-motion .window-dim{opacity:.1}.no-motion .store-card:after{display:none}
/* Complete TraumNest experience. */
header .brand{line-height:1.1}header .brand .brand-word{font-size:34px}header{gap:20px}nav{gap:23px;font-size:12px}#menu-toggle{display:none}#click-sound{border:1px solid #fff3;background:#24203870;border-radius:50%;height:34px;width:34px;flex-shrink:0;font-size:17px}#motion{flex-shrink:0}#click-sound[aria-pressed="false"]{opacity:.6}
.content-section{max-width:1240px;padding:90px 6%;margin:0 auto;scroll-margin-top:35px}.section-intro{text-align:center;max-width:720px;margin:0 auto 42px}.section-intro>p:last-child{font-size:16px;line-height:1.8;color:#c8bed7}.content-section p{color:#c8bed7;line-height:1.8}.content-section .eyebrow{color:var(--gold)}.experience-section{max-width:1400px}.experience-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.experience-card{display:flex;flex-direction:column;min-height:340px;position:relative;padding:27px 23px;border:1px solid #c6abdf40;border-radius:23px;overflow:hidden;background:#211a38;transition:transform .3s,border-color .3s,box-shadow .3s}.experience-card:hover{transform:translateY(-6px);border-color:#e2c195;box-shadow:0 14px 35px #08061755}.experience-card:before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 100% 0,#b78ae229,transparent 65%)}.radio-card{background:linear-gradient(140deg,#233342,#1b1b34)}.ready-card{background:linear-gradient(140deg,#3b2a45,#201831)}.personal-card{background:linear-gradient(140deg,#34294c,#211a37)}.city-card{background:linear-gradient(#172d31db,#14212ce8),var(--tn-bg-garden) center/cover}.card-emblem{font-size:37px;line-height:1;color:#e6cfa6;display:block;margin-bottom:27px}.experience-card>small{font-size:8px;letter-spacing:1.7px;color:#c9b1de;min-height:25px}.experience-card h3{font-size:25px;letter-spacing:-.7px;line-height:1.15;margin:8px 0 12px}.experience-card p{font-size:13px;line-height:1.7;flex:1}.card-action{display:flex;align-items:center;gap:8px;font-size:11px;color:#f0d6b0;padding-top:20px;border-top:1px solid #ffffff14}.card-action b{margin-left:auto;font-size:18px}
.detail-split,.about-section{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.detail-split.reverse>.section-image{order:2}.detail-split p,.about-section p{font-size:15px}.detail-split h2,.about-section h2{font-size:43px}.section-image{height:450px;border-radius:28px;overflow:hidden;position:relative;box-shadow:0 15px 55px #03031355;border:1px solid #d5bdeb30}.section-image img{width:100%;height:100%;object-fit:cover}.section-image>span{position:absolute;inset:auto 0 0;padding:40px 24px 24px;background:linear-gradient(transparent,#100d26d9);font-size:14px}.mode-info,.purpose-tags{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0}.mode-info>span,.purpose-tags>span{padding:7px 12px;font-size:11px;border:1px solid #d0b7e533;border-radius:40px;color:#e2d1f1;background:#ffffff05}.fine-print{font-size:11px!important;opacity:.85}.radio-illustration{height:390px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle,#48606c55,transparent 70%)}.radio-disc{position:relative;width:240px;height:240px;border-radius:50%;background:repeating-radial-gradient(circle,#263646 0px,#263646 3px,#334152 4px,#263646 5px);border:1px solid #e3c1ff50;box-shadow:0 0 0 25px #8d73920a,0 0 0 55px #8d739208,0 20px 40px #060a2138;display:flex;flex-direction:column;align-items:center;justify-content:center}.radio-disc{padding:0;color:inherit;font:inherit;cursor:pointer;appearance:none;text-align:center;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}.radio-disc:hover{transform:scale(1.02);border-color:#dbb2e7}.radio-disc:focus-visible{outline:3px solid #ffe3a6;outline-offset:10px}.radio-disc .radio-control-icon{position:absolute;right:24px;bottom:24px;display:grid;place-items:center;width:36px;height:36px;border:1px solid #ffffff40;border-radius:50%;font-size:14px;color:#fff;background:#6e5489e6;box-shadow:0 4px 14px #060a2180}.radio-status{margin:14px 16px 0;max-width:320px;text-align:center;color:#c8d5e6;font-size:13px;line-height:1.4}.radio-illustration.is-playing .radio-lines i{transform-origin:center;animation:radio-equalizer 800ms ease-in-out infinite alternate}.radio-illustration.is-playing .radio-lines i:nth-child(2n){animation-delay:-.35s}.radio-illustration.is-playing .radio-lines i:nth-child(3n){animation-delay:-.6s}@keyframes radio-equalizer{from{transform:scaleY(.55)}to{transform:scaleY(1.1)}}@media(prefers-reduced-motion:reduce){.radio-illustration.is-playing .radio-lines i{animation:none}}.radio-disc>span:first-child{font-size:65px;color:#dbb2e7}.radio-disc>b{font-size:23px}.radio-lines{display:flex;height:42px;align-items:center;gap:7px;margin-top:28px}.radio-lines i{display:block;width:5px;height:17px;background:#a5b6cd;border-radius:5px}.radio-lines i:nth-child(2n){height:30px}.radio-lines i:nth-child(3n){height:40px}.personal-illustration{min-height:380px;padding:40px 30px;text-align:center;border-radius:25px;background:radial-gradient(ellipse at top,#86558c3d,#211a3500);border:1px solid #cfb2ed35}.personal-illustration>.eyebrow{font-size:9px}.idea-note{max-width:270px;margin:30px auto 15px;border-radius:15px;border:1px solid #d7bded50;background:#e9d6f810;padding:21px;box-shadow:0 10px 20px #0d092735}.idea-note small{font-size:8px;letter-spacing:1px;display:block;color:#c0a9d4}.idea-note strong{font-size:22px;display:block;margin-top:7px;color:#e8d3fa}.idea-tags{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.idea-tags span{font-size:10px;background:#ffffff09;border-radius:20px;padding:6px 10px;color:#d7bfe6}.idea-spark{display:block;font-size:28px;color:var(--gold);margin:15px}.personal-illustration p{font-size:16px;margin:0}.city-teaser{max-width:none;background:linear-gradient(90deg,#111328f5,#11132880),var(--tn-bg-garden) center 42%/cover;padding:100px max(7%,calc((100vw - 1100px)/2))}.city-teaser>div{max-width:550px}.city-teaser p{font-size:15px;color:#dfd8e5}.value-grid,.steps-grid,.partner-ideas{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.value-grid article,.steps-grid article{padding:25px 8px}.value-grid article>span{font-size:37px;color:var(--gold);display:block;margin-bottom:18px}.value-grid h3,.steps-grid h3,.partner-ideas h3{font-size:23px;letter-spacing:-.5px}.value-grid p,.steps-grid p,.partner-ideas p{font-size:14px}.about-section{align-items:start}.about-section .section-image{height:600px;position:sticky;top:30px}.about-section h3{font-size:23px;margin-top:30px}.about-section strong{color:#eee5f5;font-weight:700}.steps-grid article>span{font-size:40px;font-weight:900;color:#ac87c5;display:block;margin-bottom:19px}.partnerships{text-align:center;max-width:1300px}.partner-ideas{text-align:left;margin-bottom:35px}.partner-ideas article{border:1px solid #fff2;padding:25px;border-radius:18px;background:#fff03}.partner-ideas article>span{font-size:30px;color:var(--gold);display:block;margin-bottom:18px}.partner-status{margin:25px auto;max-width:650px;padding:20px;border-top:1px solid #fff2}.partner-status p{font-size:12px;margin:8px 0}.partner-status strong{font-size:15px}.news-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.news-grid article{padding:32px;border:1px solid #c5afd338;border-radius:20px;background:linear-gradient(140deg,#37263e40,#17182e)}.news-label{font-size:9px;letter-spacing:1.5px;color:#b69ccc;display:block;margin-bottom:18px}.news-grid h3{font-size:27px}.news-grid p{font-size:14px}.news-grid a{font-size:13px;color:var(--gold)}.press-note{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:25px;padding:28px 0;border-bottom:1px solid #fff2}.press-note h3{font-size:22px;margin-bottom:7px}.press-note p{font-size:12px;margin:0}.press-note .button{font-size:12px;min-height:45px}.faq-section{max-width:900px}.faq-section>h2{margin-bottom:35px}.faq-section details{padding:20px 0;border-bottom:1px solid #c7b7dd26;margin:0}.faq-section summary{font-size:16px;color:#eee3f4;font-weight:700}.faq-section details p{font-size:14px;padding:17px 0 0;margin:0}.download-section{text-align:center;background:radial-gradient(ellipse at bottom,#54366235,transparent 70%)}.download-section>p{max-width:600px;margin:20px auto}.download-section .store-row{margin:30px auto}.hero-copy .store-row{margin-top:20px}
/* Restrained store cards with clear typography. */
.store-row{max-width:460px;gap:15px}.store-row .store-card{min-height:73px;padding:14px 17px;gap:12px;border-radius:15px;border:1px solid #d6cfe255;box-shadow:0 7px 18px #05041450;text-shadow:none}.store-row .store-apple{background:linear-gradient(130deg,#252d42,#182134);border-color:#b9c9e65e}.store-row .store-google{background:linear-gradient(130deg,#243739,#1b2532);border-color:#b6d5cd55}.store-card:after{display:none}.store-card strong{font-size:21px;letter-spacing:-.3px}.store-card small{font-size:8px;letter-spacing:1.2px;color:#c3c7d2}.store-card svg{width:32px;height:32px}.store-card b{font-size:17px;opacity:.7}.store-row .store-card:hover{transform:translateY(-3px);border-color:#ece2f2;box-shadow:0 12px 25px #04021565}
@media(max-width:1000px){.experience-grid{grid-template-columns:1fr 1fr}.detail-split,.about-section{gap:35px}header{gap:13px}nav{gap:14px;font-size:11px}.detail-split h2,.about-section h2{font-size:36px}}
@media(max-width:760px){header{padding:0 5%;gap:11px}.brand{margin-right:auto}header .brand .brand-word{font-size:29px}#menu-toggle{display:block;width:33px;height:33px;background:#292039aa;border:1px solid #fff3;border-radius:50%;font-size:16px}#click-sound{width:30px;height:30px;font-size:15px}#main-nav{display:none;position:absolute;top:70px;left:5%;right:5%;padding:14px;background:#19142ef5;border:1px solid #c0a6dc55;border-radius:17px;box-shadow:0 12px 30px #0005;z-index:45;margin:0;backdrop-filter:blur(12px)}#main-nav.menu-open{display:flex;flex-direction:column;gap:0}#main-nav a,#main-nav a:last-child{display:block;padding:12px 14px;font-size:14px}#main-nav a:hover{background:#fff1;border-radius:8px}.content-section{padding:60px 6%;scroll-margin-top:15px}.section-intro{margin-bottom:27px}.section-intro h2{font-size:33px}.section-intro>p:last-child{font-size:14px}.experience-grid{gap:12px}.experience-card{padding:21px 16px;min-height:320px;border-radius:19px}.card-emblem{font-size:29px;margin-bottom:18px}.experience-card>small{font-size:7px;letter-spacing:1px;min-height:27px}.experience-card h3{font-size:22px;overflow-wrap:anywhere;line-height:1.15}.experience-card p{font-size:12px}.card-action{font-size:10px;padding-top:13px}.detail-split,.about-section{grid-template-columns:1fr;gap:30px}.detail-split.reverse>.section-image{order:0}.detail-split h2,.about-section h2{font-size:35px}.detail-split p,.about-section p{font-size:14px}.section-image{height:320px;border-radius:23px}.radio-illustration{height:auto;min-height:340px}.radio-disc{width:200px;height:200px}.radio-disc>span:first-child{font-size:55px}.radio-disc>b{font-size:20px}.personal-illustration{min-height:330px;padding:30px 22px}.city-teaser{padding:70px 7%;background-position:65% center}.city-teaser h2{font-size:34px}.city-teaser p{font-size:14px}.city-teaser .button{font-size:12px;padding:13px 19px}.value-grid,.steps-grid,.partner-ideas{grid-template-columns:1fr;gap:12px}.value-grid article,.steps-grid article{padding:20px 10px;border-bottom:1px solid #fff1}.value-grid article>span{font-size:29px;margin-bottom:13px}.steps-grid article>span{font-size:31px;margin-bottom:13px}.about-section .section-image{position:relative;top:0;height:360px}.partner-ideas article{padding:22px}.news-grid{grid-template-columns:1fr;gap:16px}.news-grid article{padding:26px}.news-grid h3{font-size:25px}.press-note{display:block;padding:24px 0}.press-note .button{margin-top:16px}.faq-section summary{font-size:14px}.faq-section details p{font-size:13px}.download-section h2{font-size:34px}.download-section>p{font-size:14px}.store-row{gap:11px}.store-row .store-card{padding:12px 11px;gap:8px;min-height:70px;border-radius:13px}.store-card strong{font-size:18px}.store-card svg{width:28px;height:28px}.store-card small{font-size:7px}.store-card b{font-size:15px}}
@media(max-width:360px){.experience-grid{grid-template-columns:1fr}.experience-card{min-height:270px}.experience-card h3{overflow-wrap:normal}.card-action{font-size:12px}.store-row .store-card{padding:11px 9px;gap:6px}.store-card strong{font-size:16px}.store-card svg{width:24px;height:24px}.store-card b{display:none}header .brand .brand-word{font-size:26px}header{gap:9px}}

/* Kaiserslautern: living garden and factual city chapter */
.garden-petals{position:absolute;inset:0;pointer-events:none;z-index:4;overflow:hidden}.garden-petals i{position:absolute;left:var(--x);top:-8%;width:9px;height:14px;border-radius:80% 10% 80% 20%;background:linear-gradient(135deg,#fff1ed,#e8a9ce);box-shadow:0 0 10px #f2b1db55;opacity:0;animation:petal-fall var(--duration) var(--delay) linear infinite}.garden-petals i:nth-child(3n){width:5px;height:8px;filter:blur(1px)}
@keyframes petal-fall{0%{transform:translate3d(-30px,0,0) rotate(0deg);opacity:0}10%{opacity:.8}50%{transform:translate3d(55px,52svh,0) rotate(190deg);opacity:.6}90%{opacity:.7}100%{transform:translate3d(-5px,110svh,0) rotate(400deg);opacity:0}}
.pond-ripples{position:absolute;left:12%;right:12%;bottom:14%;height:27%;pointer-events:none;z-index:2}.pond-ripples i{position:absolute;width:100px;height:24px;border:1px solid #f8dca36b;border-radius:50%;left:27%;top:25%;animation:pond-ring 6s ease-out infinite}.pond-ripples i:nth-child(2){left:58%;top:60%;animation-delay:-2s}.pond-ripples i:nth-child(3){left:12%;top:75%;animation-delay:-4s}@keyframes pond-ring{from{transform:scale(.2);opacity:0}20%{opacity:.7}to{transform:scale(3);opacity:0}}
.city-world .water-light{opacity:.85;animation-duration:5s}.city-world .mist{animation-duration:9s}.city-history-link{display:block;margin:15px auto 0;font-size:13px;color:#ffdfad;text-decoration:underline;text-underline-offset:5px}
#story-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-width:1400px;gap:18px}.story-card{height:430px}.history-card{display:block;background:radial-gradient(ellipse at 50% 0,#72543d,#231d3b 72%);border-color:#d4ad6d99}.history-card-art{position:absolute;inset:30px 28px auto;display:flex;align-items:center;gap:12px;color:#ffe1a9;font-size:20px;letter-spacing:2px}.history-card-art>span:last-child{font-size:10px}.history-line{height:1px;background:#e8c58b88;flex:1}.history-card .story-content small{color:#f9d8a1}
.city-history{max-width:1250px;margin:auto;padding:70px 6% 100px;display:grid;grid-template-columns:1fr 1fr;gap:50px;text-align:left;scroll-margin-top:25px}.history-intro p:not(.eyebrow){color:#cec5df;max-width:460px}.history-intro h2{font-size:clamp(30px,3vw,44px)}.history-timeline{list-style:none;padding:0;margin:0}.history-timeline li{position:relative;display:grid;grid-template-columns:88px 1fr;gap:20px;padding:0 0 30px}.history-timeline li>span{font-size:12px;letter-spacing:1px;color:#f2d09c;padding-top:5px}.history-timeline li>div{border-left:1px solid #c7a2eb44;padding-left:22px}.history-timeline h3{font-size:20px;letter-spacing:-.4px;margin-bottom:9px}.history-timeline p{font-size:14px;color:#c9c1d8;margin:0}.history-source{grid-column:1/-1;font-size:12px;color:#a99ebc;border-top:1px solid #ffffff1a;padding-top:22px}.history-source a{color:#f1d39e;text-decoration:underline}
@media(max-width:1100px){#story-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:850px}.story-card{height:390px}}
@media(max-width:760px){#story-grid{grid-template-columns:1fr;max-width:500px}.story-card{height:350px}.city-history{grid-template-columns:1fr;gap:35px;padding:45px 7% 65px}.history-timeline li{grid-template-columns:72px 1fr;gap:10px}.garden-petals i:nth-child(2n){display:none}.city-history-link{font-size:12px}.city-cta{bottom:5%}}

/* Landscape map and luminous city typography */
.state-borders{stroke:#edf0ce;stroke-opacity:.27;stroke-width:.6}.terrain-note{font-size:9px;text-align:center;color:#cbc5ad;letter-spacing:.3px;margin:0 0 12px}.terrain{pointer-events:none}.city-heading h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(43px,6.6vw,88px);letter-spacing:-2px;line-height:1.15;background:linear-gradient(110deg,#ffe9bc 5%,#fff5e0 25%,#f1bfde 45%,#bde9eb 65%,#e4ccff 82%,#ffe9bc 100%);background-size:240% auto;color:#fff1d7;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 3px 5px #180f27) drop-shadow(0 0 15px #f8d1a966);text-shadow:none;animation:city-title-glow 9s ease-in-out infinite alternate}.city-heading h1:after{content:'';display:block;margin:16px auto 0;width:90px;height:1px;background:linear-gradient(90deg,transparent,#f7ddac,transparent)}.city-heading .eyebrow{letter-spacing:4px}.city-heading>p:last-child{font-weight:500;letter-spacing:.6px}.city-feature strong{font-family:Georgia,serif;font-weight:400;letter-spacing:.2px}#kl-pin text{font-family:Georgia,serif;font-weight:400;letter-spacing:.4px}.garden-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.city-world .sky-plane img.garden-live{opacity:0}@keyframes city-title-glow{0%{background-position:0% 50%;filter:drop-shadow(0 3px 5px #180f27) drop-shadow(0 0 10px #f8d1a955)}50%{filter:drop-shadow(0 3px 5px #180f27) drop-shadow(0 0 20px #dcb7ec99)}100%{background-position:100% 50%;filter:drop-shadow(0 3px 5px #180f27) drop-shadow(0 0 14px #b6e9e977)}}
@media(max-width:760px){.city-heading h1{font-size:clamp(37px,8.6vw,61px);letter-spacing:-1.5px}.city-heading .eyebrow{letter-spacing:2px}.terrain-note{font-size:8px}}@media(prefers-reduced-motion:reduce){.city-heading h1{animation:none}}

/* Compact, colourful store links and four illustrated story worlds. */
.store-row{max-width:360px;gap:12px}.store-row .store-card{min-height:57px;padding:9px 12px;gap:8px;border-radius:13px;border-width:1px;box-shadow:inset 0 1px 0 #ffffff35,0 6px 18px #08041d55}.store-row .store-apple{background:linear-gradient(120deg,#315fc2,#6950bd 65%,#934c98);border-color:#c0b5ff99}.store-row .store-google{background:linear-gradient(120deg,#107b79,#246f9a 60%,#5652a0);border-color:#9ee2d599}.store-card svg{width:25px;height:25px}.store-card strong{font-size:17px;letter-spacing:-.3px}.store-card small{font-size:7px;letter-spacing:.8px;color:#f4eeff}.store-card b{display:none}.store-row .store-card:hover{transform:translateY(-3px);box-shadow:0 9px 22px #8a72d644;border-color:#f1dbff}
.experience-card{--card-image:var(--tn-bg-forest);--card-color:#172d40;background:var(--card-color);min-height:430px;padding:155px 22px 25px;isolation:isolate;border-color:#ddc4f254;box-shadow:0 12px 28px #05031155}.experience-card:before{inset:0;z-index:-1;background:linear-gradient(180deg,transparent 0%,#11102915 21%,var(--card-color) 47%,var(--card-color) 100%),var(--card-image) center top/100% auto no-repeat;transition:filter .4s}.experience-card:after{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;box-shadow:inset 0 1px 0 #ffffff30;pointer-events:none}.experience-card .card-emblem{position:absolute;top:19px;left:20px;width:42px;height:42px;display:grid;place-items:center;font-size:24px;border-radius:14px;background:#17142d75;border:1px solid #ffffff45;backdrop-filter:blur(8px);color:#ffe2a3;text-shadow:0 2px 8px #251630}.experience-card>small{color:#ead1ff;text-shadow:0 1px 3px #0008}.experience-card p{color:#e3def0}.experience-card h3{color:#fff8e9}.experience-card .card-action{color:#ffe0ad}.experience-card:hover:before{filter:brightness(1.12)}.radio-card{--card-image:var(--tn-bg-forest);--card-color:#142c3c}.ready-card{--card-image:var(--tn-bg-hero);--card-color:#30213d}.personal-card{--card-image:url('/traumnest/family.webp');--card-color:#322446}.city-card{--card-image:var(--tn-bg-garden);--card-color:#163333}
@media(max-width:760px){.store-row{max-width:340px;gap:10px}.store-row .store-card{min-height:54px;padding:9px 10px;gap:7px}.store-card strong{font-size:16px}.store-card svg{width:23px;height:23px}.experience-card{min-height:410px;padding:145px 18px 22px}.experience-card:before{background-size:auto,cover;background-position:center,center 35%}}
@media(max-width:420px){.store-row{max-width:310px;gap:8px}.store-row .store-card{padding:8px 9px;gap:6px}.store-card strong{font-size:15px}.experience-card{min-height:390px}.experience-card:before{background-size:auto,cover}}
/* Responsive release: phone, tablet, desktop and short landscape screens. */
.content-section,.story-section,.city-history{width:100%;box-sizing:border-box}.experience-grid>* , .detail-split>*,.about-section>*{min-width:0}.hero-copy{width:calc(100% - 40px)}.hero-brand{font-size:clamp(49px,8vw,88px)}.hero-copy>p:not(.eyebrow){max-width:610px;margin-left:auto;margin-right:auto}.store-row{width:100%;max-width:360px}.store-row .store-card{min-height:56px}.experience-card h3{overflow-wrap:normal;hyphens:auto}.experience-card p{font-size:14px}.experience-card .card-action{min-height:44px;align-items:center}.map-table{min-width:0;justify-self:center}.map-3d svg{max-width:100%}.city-heading{max-width:100%;padding:0 12px}.city-heading h1{overflow-wrap:normal}.city-cta .button{max-width:100%}dialog{max-width:calc(100vw - 28px);max-height:calc(100dvh - 40px);overflow-y:auto}.history-timeline li>div{min-width:0}.history-source{overflow-wrap:anywhere}
@media(min-width:1101px){.experience-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.experience-card{min-height:450px}.content-section{max-width:1380px;margin-left:auto;margin-right:auto}.map-world{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.map-table{max-width:540px}.hero-copy{max-width:850px}}
@media(min-width:601px) and (max-width:1100px){.experience-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.experience-card{min-height:420px}.experience-card:before{background-size:auto,cover;background-position:center,center 30%}}
@media(max-width:900px){header{gap:10px;padding:0 4%}nav{gap:15px;font-size:12px}.map-world{gap:20px}.map-heading h1{font-size:clamp(30px,4.3vw,44px)}}
@media(max-width:760px){header{height:80px;padding:0 4%;gap:7px}header .brand .brand-word{font-size:clamp(24px,6vw,29px)}#menu-toggle,#motion,#click-sound{min-width:42px;width:42px;height:42px;flex-shrink:0}#main-nav{top:75px}.home-world{min-height:700px}.hero-copy{bottom:8%;width:calc(100% - 32px)}.hero-brand{font-size:clamp(46px,12vw,68px)}.hero-tagline{font-size:clamp(23px,5.7vw,31px)}.hero-copy>p:not(.eyebrow){font-size:13px;line-height:1.6;max-width:390px}.hero-copy .store-row{margin-top:17px}.map-world{padding:94px 5% 32px;gap:18px;height:auto}.map-table{width:100%;max-width:410px;margin:0;padding:0 9px 12px}.map-3d svg{max-height:none;width:100%;height:auto;overflow:visible}.city-world{min-height:730px}.city-heading{top:100px;width:100%}.city-heading h1{font-size:clamp(35px,8.6vw,61px)}.city-cta{width:calc(100% - 32px);bottom:6%}.city-cta .button{font-size:15px;min-height:52px}.city-history-link{line-height:1.6}.story-section{padding-left:6%;padding-right:6%}.city-feature{max-width:100%;width:100%}.scroll-hint{font-size:9px}}
@media(max-width:600px){.experience-grid{grid-template-columns:1fr;gap:20px}.experience-card{min-height:405px;padding:170px 24px 24px}.experience-card:before{background-size:auto,cover;background-position:center,center 35%}.experience-card h3{font-size:27px;line-height:1.18}.experience-card p{font-size:14px;line-height:1.7}.experience-card>small{font-size:9px;min-height:18px;letter-spacing:1.5px}.experience-card .card-action{font-size:12px}.section-image{height:auto;min-height:280px;aspect-ratio:4/3}.section-image img{height:100%}.about-section .section-image{height:auto}.button{max-width:100%;white-space:normal;text-align:center}.city-history{padding-left:6%;padding-right:6%}}
@media(max-width:360px){header{gap:4px}header .brand .brand-word{font-size:23px}#menu-toggle,#motion,#click-sound{min-width:38px;width:38px;height:42px}.store-row{gap:8px}.store-row .store-card{padding:9px 8px;gap:5px}.store-card strong{font-size:14px}.store-card svg{width:22px;height:22px}.hero-brand{font-size:46px}.city-heading h1{font-size:34px}}
@media(max-height:600px) and (orientation:landscape){.home-world{min-height:660px}.city-world{min-height:700px}.scroll-chapter{height:900px}.hero-copy{bottom:7%}.hero-brand{font-size:60px}.map-world{height:auto;min-height:700px}header{height:74px}.city-heading{top:90px}}
@media(hover:none){.experience-card:hover,.story-card:hover{transform:none}.button:hover,.store-row .store-card:hover{transform:none}}


/* Moonlit lake backgrounds for non-home city sections */
#city-view .story-section,
#city-view .city-history {
  background-color: #100e29;
  background-image:
    linear-gradient(180deg, rgba(16, 14, 41, .76) 0%, rgba(16, 14, 41, .58) 50%, rgba(16, 14, 41, .84) 100%),
    url('/traumnest/moonlit-lake-background.webp');
  background-position: center, center 54%;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}
#city-view .city-history {
  background-position: center, center 68%;
}


/* Full-bleed moonlit lake backdrop for dark homepage sections.
   Keep section content at its existing readable width; extend only the scenery. */
#home-view .content-section:not(.city-teaser) {
  position: relative;
  isolation: isolate;
  background: transparent;
}
#home-view .content-section:not(.city-teaser)::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-color: #100e29;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(178, 138, 230, .10), transparent 58%),
    linear-gradient(180deg, rgba(16, 14, 41, .78) 0%, rgba(16, 14, 41, .60) 52%, rgba(16, 14, 41, .80) 100%),
    url('/traumnest/moonlit-lake-background.webp');
  background-position: center, center, center 54%;
  background-size: cover, cover, cover;
  background-repeat: no-repeat, no-repeat, no-repeat;
  pointer-events: none;
}

@media (max-width: 760px) {
  #home-view .content-section:not(.city-teaser)::before {
    background-position: center, center, 56% 52%;
  }
}


/* Extend the Stadtmärchen photograph to the viewport edges while keeping the copy centered. */
#home-view .city-teaser {
  position: relative;
  isolation: isolate;
  background: transparent;
}
#home-view .city-teaser::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-color: #100e29;
  background-image:
    linear-gradient(90deg, #111328f5, #11132880),
    var(--tn-bg-garden);
  background-position: center, center 42%;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  pointer-events: none;
}
@media (max-width: 760px) {
  #home-view .city-teaser::before {
    background-image:
      linear-gradient(180deg, rgba(17, 19, 40, .48), rgba(17, 19, 40, .70)),
      var(--tn-bg-garden);
    background-position: center, 65% center;
  }
}


/* TraumRadio: moving note and a stream of flying notes around the record. */
.radio-note-symbol{display:inline-block;transform-origin:center;animation:radio-note-bob 2.2s ease-in-out infinite}
@keyframes radio-note-bob{0%,100%{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(-8px) rotate(8deg)}}
.radio-flying-notes{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none}
.radio-flying-notes span{position:absolute;display:block;font-size:30px;line-height:1;color:#f6d299;text-shadow:0 0 14px #f6d299cc;opacity:0;animation:radio-note-flight 5.4s ease-in-out infinite}
.radio-flying-notes span:nth-child(1){left:calc(50% - 145px);top:65%;--note-x:-22px;--note-y:-150px;animation-delay:-.2s}
.radio-flying-notes span:nth-child(2){left:calc(50% + 108px);top:71%;--note-x:26px;--note-y:-170px;color:#dbb2e7;animation-delay:-1.5s}
.radio-flying-notes span:nth-child(3){left:calc(50% - 88px);top:78%;--note-x:-28px;--note-y:-164px;color:#b7d1ee;animation-delay:-2.8s}
.radio-flying-notes span:nth-child(4){left:calc(50% + 52px);top:66%;--note-x:23px;--note-y:-148px;color:#ffe3a6;animation-delay:-4.1s}
@keyframes radio-note-flight{0%{opacity:0;transform:translate(0,22px) scale(.65) rotate(-12deg)}14%{opacity:.96}72%{opacity:.86}100%{opacity:0;transform:translate(var(--note-x),var(--note-y)) scale(1.12) rotate(16deg)}}
@media(prefers-reduced-motion:reduce){.radio-note-symbol{animation:none}.radio-flying-notes span{animation:none;opacity:.55}}


/* Finished stories: responsive, accessible audio cards. */
.finished-stories {
  width: 100%;
  margin: 0 auto;
  border-top: 1px solid #ffffff20;
}
.finished-stories-intro {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}
.finished-stories-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
}
.finished-stories-intro h2 em {
  display: block;
  color: #e6cfa6;
  font-family: Georgia, serif;
  font-size: .92em;
  font-weight: 400;
}
.finished-stories-intro > p:last-child {
  max-width: 600px;
  margin: 0 auto;
  color: #ddd2e9;
  font-size: 14px;
  line-height: 1.7;
}
.finished-story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1320px;
  margin: 34px auto 0;
}
.finished-story-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e4c5ff45;
  border-radius: 20px;
  background: linear-gradient(145deg, #322744, #171a32);
  box-shadow: 0 12px 30px #0004;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.finished-story-card:hover {
  transform: translateY(-5px);
  border-color: #e6cfa6aa;
  box-shadow: 0 18px 36px #0006;
}
.finished-story-art {
  position: relative;
  isolation: isolate;
  min-height: 132px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px;
  background-image: linear-gradient(180deg, #0e102008, #11132838), var(--story-art);
  background-position: center;
  background-size: cover;
}
.finished-story-art::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: .82;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 4px #ffd66d99);
  background-image:
    radial-gradient(circle, #fff1b8 0 1.1px, transparent 1.9px),
    radial-gradient(circle, #f7d47c 0 1px, transparent 1.8px),
    radial-gradient(circle, #fff5ce 0 .9px, transparent 1.6px),
    radial-gradient(circle, #f5cf70 0 1px, transparent 1.8px);
  background-size: 57px 47px, 91px 67px, 127px 83px, 163px 109px;
  background-position: 0 0, 21px 13px, 43px 31px, 67px 19px;
}
.finished-story-art > * {
  position: relative;
  z-index: 1;
}
.finished-story-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #f0d5ff70;
  border-radius: 50%;
  background: #251b3da0;
  color: #fff0d1;
  font-size: 11px;
}
.finished-story-icon {
  align-self: flex-end;
  color: #ffe2a4;
  font-size: 30px;
  line-height: 1;
  text-shadow: 0 0 18px #f3d18caa;
}
.finished-story-copy {
  padding: 17px 17px 19px;
}
.finished-story-copy > small {
  display: block;
  min-height: 2.3em;
  color: #e6cfa6;
  font-size: 8px;
  letter-spacing: 1.3px;
  line-height: 1.5;
}
.finished-story-copy h4 {
  min-height: 2.45em;
  margin: 7px 0 8px;
  color: #fff;
  font-size: 18px;
  letter-spacing: -.35px;
  line-height: 1.25;
}
.finished-story-copy > p {
  min-height: 5.2em;
  margin: 0 0 18px;
  color: #ddd2e9;
  font-size: 12px;
  line-height: 1.65;
}
.finished-audio-player {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-top: 13px;
  border-top: 1px solid #ffffff18;
}
.finished-play {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid #f5dfb8;
  border-radius: 50%;
  background: linear-gradient(140deg, #e6cfa6, #b993d2);
  color: #20182b;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.finished-play:hover {
  transform: scale(1.06);
  box-shadow: 0 0 18px #e6cfa655;
}
.finished-play:focus-visible,
.finished-seek:focus-visible {
  outline: 3px solid #ffe3a6;
  outline-offset: 3px;
}
.finished-audio-meta {
  flex: 1;
  min-width: 0;
}
.finished-audio-status {
  display: block;
  margin-bottom: 7px;
  color: #e9dcbf;
  font-size: 10px;
}
.finished-seek {
  display: block;
  width: 100%;
  height: 7px;
  margin: 0;
  appearance: none;
  border: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #e6cfa6 var(--progress, 0%), #ffffff35 var(--progress, 0%));
  cursor: pointer;
}
.finished-seek:disabled {
  cursor: default;
  opacity: .65;
}
.finished-seek::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  appearance: none;
  border: 1px solid #fff4d8;
  border-radius: 50%;
  background: #e6cfa6;
}
.finished-seek::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid #fff4d8;
  border-radius: 50%;
  background: #e6cfa6;
}
.finished-times {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: #cbbfdb;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 1080px) {
  .finished-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .finished-stories {
    margin-top: 34px;
    padding-top: 28px;
  }
  .finished-story-grid {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 25px;
  }
  .finished-story-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }
  .finished-story-art {
    min-height: 100%;
    padding: 12px;
    flex-direction: column;
  }
  .finished-story-copy {
    padding: 14px;
  }
  .finished-story-copy > small,
  .finished-story-copy h4,
  .finished-story-copy > p {
    min-height: 0;
  }
  .finished-story-copy h4 {
    font-size: 16px;
  }
  .finished-story-copy > p {
    margin-bottom: 12px;
    font-size: 11px;
  }
  .finished-audio-player {
    gap: 8px;
    padding-top: 10px;
  }
  .finished-play {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}
@media (max-width: 390px) {
  .finished-story-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .finished-story-copy {
    padding: 12px;
  }
}

/* Soft, staggered gold-dust twinkles around the finished-stories section. */
.finished-stories {
  position: relative;
  isolation: isolate;
}
.finished-gold-dust {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  overflow: hidden;
  transform: translateX(-50%);
  pointer-events: none;
}
.finished-stories-intro,
.finished-story-grid {
  position: relative;
  z-index: 2;
}
.finished-gold-dust i {
  position: absolute;
  top: var(--y);
  left: var(--x);
  display: block;
  width: var(--size);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #fffbe5 0 18%, #ffe18a 35%, #ffc24c 51%, transparent 76%);
  box-shadow: 0 0 8px 2px #ffd76b88, 0 0 18px #ffc64a55;
  opacity: .24;
  animation: finished-gold-twinkle var(--duration) ease-in-out var(--delay) infinite;
}
@keyframes finished-gold-twinkle {
  0%, 100% { opacity: .16; transform: translate3d(0, 2px, 0) scale(.68); }
  45% { opacity: .94; transform: translate3d(1px, -3px, 0) scale(1.35); }
  72% { opacity: .34; transform: translate3d(-1px, 0, 0) scale(.86); }
}

/* Improve readability in the partnership section. */
.partnerships .section-intro > p:last-child {
  font-size: 17px;
  line-height: 1.75;
}
.partnerships .partner-ideas h3 {
  font-size: 25px;
  line-height: 1.3;
}
.partnerships .partner-ideas p {
  font-size: 16px;
  line-height: 1.75;
}
.partnerships .partner-status strong {
  font-size: 17px;
}
.partnerships .partner-status p {
  font-size: 14px;
  line-height: 1.7;
}
.partnerships > .button {
  font-size: 15px;
}

/* Clearer navigation labels. */
#main-nav a {
  font-size: 15px;
}
@media (max-width: 1000px) {
  #main-nav a { font-size: 13px; }
}
@media (max-width: 760px) {
  #main-nav.menu-open a { font-size: 15px; }
}


/* Slightly larger and clearer top navigation, keeping responsive spacing. */
header #main-nav { gap: 20px; }
header #main-nav a { font-size: 17px; font-weight: 750; line-height: 1.35; }
header #click-sound,
header #motion { width: 39px; height: 39px; min-width: 39px; font-size: 18px; }
@media (max-width: 1150px) and (min-width: 761px) {
  header { gap: 14px; }
  header #main-nav { gap: 14px; }
  header #main-nav a { font-size: 15px; }
  header #click-sound, header #motion { width: 37px; height: 37px; min-width: 37px; }
}
@media (max-width: 760px) {
  header #main-nav.menu-open { gap: 0; }
  header #main-nav.menu-open a { font-size: 16px; padding: 13px 14px; }
  header #click-sound, header #motion { width: 42px; height: 42px; min-width: 42px; font-size: 17px; }
}
@media (max-width: 360px) {
  header #click-sound, header #motion { width: 38px; min-width: 38px; }
}

/* Featured press coverage */
.press-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);overflow:hidden;margin:0 0 28px;border:1px solid #f6d29966;border-radius:24px;background:linear-gradient(135deg,#273346ee,#211b35f5);box-shadow:0 20px 60px #080a1838}
.press-feature-visual{position:relative;margin:0;min-width:0;background:#182939}
.press-feature-visual img{display:block;width:100%;height:100%;min-height:390px;object-fit:cover;object-position:center}
.press-feature-visual figcaption{position:absolute;left:16px;bottom:14px;background:#101524ce;color:#fff5e3;border-radius:20px;padding:5px 11px;font-size:10px;letter-spacing:.4px}
.press-feature-copy{padding:clamp(24px,4vw,48px);align-self:center;min-width:0}
.press-feature .press-feature-kicker{color:var(--gold);font-size:10px;font-weight:900;letter-spacing:2px;margin:0 0 16px}
.press-feature .press-feature-source{font-size:12px;color:#f0e6d9;line-height:1.7;margin:0 0 18px}
.press-feature-source span{margin:0 7px;color:var(--gold)}
.press-feature h3{font-size:clamp(25px,3vw,36px);line-height:1.2;margin:0 0 20px;color:#fff7e8}
.press-feature-copy>p{font-size:15px;line-height:1.75;color:#e1dce8}
.press-feature .press-feature-button{display:inline-flex;align-items:center;gap:12px;margin-top:12px;white-space:normal;font-size:13px}
.press-feature .press-feature-credit{font-size:11px;color:#c8bfd2;margin:16px 0 0}
@media(max-width:700px){.press-feature{grid-template-columns:1fr}.press-feature-visual img{min-height:0;height:auto;aspect-ratio:3/2}.press-feature-copy{padding:26px 22px}.press-feature .press-feature-button{width:100%;justify-content:center}}

/* Prevent the dynamically populated app counter from shifting the page. */
#app-counter-slot { display: flow-root; min-height: 218px; }
@media (max-width: 720px) { #app-counter-slot { min-height: 264px; } }

/* Mobile: preserve the fairytale artwork and glowing windows, but avoid
   animating full-screen layers that are expensive to repaint on low-end GPUs. */
@media (max-width: 760px) {
  .home-world .sky-plane {
    animation: none;
    transform: translate3d(0, 0, -50px) scale(1.12);
    will-change: auto;
  }
  .home-world .mist {
    animation: none;
    filter: blur(10px);
    opacity: .7;
  }
  .home-world .moon-halo { animation: none; }
  .hero-brand,
  header .brand .brand-word { animation: none; }
  /* Window glimmers and small magical effects remain animated. */
}

/* Performance: the main artwork is still shown on phones, but compositing a
   full-viewport 3-D layer and animating SVG gradients is not needed for its
   first paint. Small decorative lights remain visible without repainting. */
@media (max-width: 760px) {
  .home-world .sky-plane {
    animation: none !important;
    transform: none !important;
    will-change: auto !important;
  }
  .home-world .window-glow,
  .home-world .window-dim {
    animation: none !important;
  }
  .home-world .window-glow { opacity: .78; }
  .home-world .window-dim { opacity: .12; }
  .home-world .mist {
    filter: none !important;
    animation: none !important;
    background: linear-gradient(180deg, transparent, rgba(162, 142, 225, .19) 58%, transparent) !important;
  }
  .home-world .moon-halo { animation: none !important; }
  /* Defer layout and painting for offscreen home sections; retain their
     natural sizes once visited for normal scrolling and anchor links. */
  #home-view > .content-section,
  #home-view > .tn-knowledge {
    content-visibility: auto;
    contain-intrinsic-size: auto 700px;
  }
}

/* Phone GPUs: keep the complete illustrated castle as the hero, but avoid
   large independent SVG/blur/3D composites on the very first screen. The
   original forest art already includes stars, warm window lights and moon. */
@media (max-width: 760px) {
  .home-world {
    perspective: none !important;
    transform-style: flat !important;
  }
  .home-world .castle-lights,
  .home-world .dust,
  .home-world .mist,
  .home-world .moon-halo {
    display: none !important;
  }
  .home-world .hero-brand { filter: none !important; }
  .home-world .store-card { backdrop-filter: none !important; }
}

/* The phone-only <picture> must not create a new sizing layer around the
   existing full-screen scene illustration or affect the castle overlay. */
.home-world .sky-plane .hero-responsive-art { display: contents; }


/* Premium 3D TraumNest homepage hero — 2026-11-14 */
/* High-quality responsive illustration. The HTML text and real store links
   remain selectable, searchable, accessible, and individually clickable. */
.home-world {
  background: #07152c;
}
.home-world .sky-plane {
  inset: 0;
  overflow: hidden;
  transform: none !important;
  animation: none !important;
  will-change: auto;
}
.home-world .sky-plane .hero-responsive-art { display: contents; }
.home-world .sky-plane img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  filter: saturate(1.08) contrast(1.04);
}
.home-world .castle-lights,
.home-world .moon-halo,
.home-world .mist,
.home-world .dust { display: none !important; }
.home-world .atmosphere {
  background:
    linear-gradient(90deg, rgba(5,12,38,.14),rgba(4,14,44,.27) 32%,rgba(4,14,44,.26) 63%,rgba(4,14,44,.10)),
    linear-gradient(180deg,rgba(3,8,25,.38) 0%,rgba(4,9,30,.07) 23%,rgba(4,9,32,.17) 67%,rgba(4,9,27,.32) 100%);
  pointer-events:none;
}
.home-world .hero-copy {
  position: absolute;
  z-index: 7;
  top: clamp(124px,16%,160px);
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
  width: min(1110px,calc(100% - 38px));
  max-width: 1110px;
  text-align: center;
  text-shadow: 0 3px 12px rgba(0,3,22,.96),0 5px 25px rgba(0,4,26,.82);
}
.home-world .hero-copy .eyebrow {
  margin: 0 0 11px;
  color: #ffe5ab;
  font-size: clamp(11px,1.08vw,15px);
  font-weight: 900;
  letter-spacing: .24em;
  text-shadow: 0 2px 12px #030923,0 0 17px #ffcf8799;
}
.home-world .hero-copy h1 {
  margin: 0 0 18px;
  line-height: 1.04;
}
.home-world .hero-brand {
  display: block;
  font-family: var(--font-fairytale),Georgia,serif;
  font-size: clamp(81px,9.2vw,144px);
  line-height: 1.01;
  font-weight: 700;
  letter-spacing: -.052em;
  background: linear-gradient(104deg,#eee4ff 2%,#fff5d6 26%,#f4d2fc 43%,#b5f1ff 65%,#55e6ff 77%,#fff6d4 96%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 4px 0 #33266a70) drop-shadow(0 8px 15px #020622c7) drop-shadow(0 0 16px #b49aff88);
  animation: none;
}
.home-world .hero-tagline {
  display: block;
  margin: 10px auto 0;
  font-family: var(--font-fairytale),Georgia,serif;
  font-size: clamp(37px,4.15vw,58px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.025em;
  color: #fff6e5;
  text-shadow: 0 3px 1px #41315d,0 5px 18px #05071d,0 0 12px #f6ddaa38;
}
.home-world .hero-copy>p:not(.eyebrow) {
  max-width: 970px;
  margin: 19px auto 25px;
  color: #fffaf3;
  font-size: clamp(15px,1.55vw,21px);
  font-weight: 650;
  line-height: 1.5;
  text-shadow: 0 2px 8px #02071df5,0 0 20px #02061ac7;
}
.home-world .hero-copy>.primary {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 68px;
  min-width: 320px;
  padding: 14px 33px;
  border: 2px solid #f5d6ff;
  border-radius: 999px;
  background: linear-gradient(154deg,#d3a3ff 0%,#9d69eb 34%,#7642d2 78%,#6938c0 100%);
  color: #fffefa;
  font-size: clamp(17px,1.7vw,22px);
  font-weight: 900;
  letter-spacing: .01em;
  text-shadow: 0 2px 6px #332052c7;
  box-shadow:
    inset 0 3px 1px #fffdfc9c,
    inset 0 -6px 11px #5329aacf,
    0 4px 0 #5a318e,
    0 11px 24px #3b1188a8,
    0 0 28px #a95fffcc,
    0 0 43px #9654e872;
  transition: transform .2s ease,box-shadow .2s ease,filter .2s ease;
}
.home-world .hero-copy>.primary span { font-size: 1.3em;line-height:1; }
.home-world .hero-copy>.primary:hover,
.home-world .hero-copy>.primary:focus-visible {
  transform: translateY(-3px);
  filter: saturate(1.09);
  box-shadow:inset 0 3px 1px #fff, inset 0 -6px 11px #5329aacf,0 6px 0 #5a318e,0 17px 31px #3b1188ba,0 0 37px #b37afff0;
}
.home-world .store-row {
  width: min(660px,100%);
  max-width: 660px;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  margin: 34px auto 0;
}
.home-world .store-row .store-card {
  display: flex;
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 85px;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  padding: 15px 24px;
  overflow: hidden;
  border-radius: 25px;
  border: 2px solid #afdcff;
  background: linear-gradient(140deg,#1c55aa 0%,#273d9b 44%,#782ab5 100%);
  color: #fff;
  text-shadow: 0 2px 5px #02081bd0;
  box-shadow:inset 0 3px 2px #ffffff82,inset 0 -5px 9px #1111569e,0 3px 0 #1e2d63,0 13px 24px #050b23b8,0 0 20px #3f8afbd0;
  backdrop-filter: none;
  transform: none;
  transition: transform .2s ease,box-shadow .2s ease;
}
.home-world .store-row .store-card.store-google {
  border-color: #83f5f5;
  background: linear-gradient(140deg,#06647c 0%,#095679 49%,#183773 100%);
  box-shadow:inset 0 3px 2px #ffffff69,inset 0 -5px 9px #063353ae,0 3px 0 #14516c,0 13px 24px #050b23b8,0 0 22px #33e4eec7;
}
.home-world .store-row .store-card svg {
  flex: 0 0 47px;
  width: 47px;
  height: 47px;
  filter: drop-shadow(0 3px 5px #05142bba);
}
.home-world .store-row .store-card span {flex:1; min-width:0;}
.home-world .store-row .store-card small {
  display:block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.15px;
  line-height: 1.3;
  white-space: nowrap;
}
.home-world .store-row .store-card strong {
  display:block;
  font-size:clamp(20px,2.2vw,26px);
  font-weight:900;
  line-height:1.18;
  letter-spacing:-.04em;
  white-space:nowrap;
}
.home-world .store-row .store-card b { display:none; }
.home-world .store-row .store-card::before {
  content:"";
  position:absolute;
  inset:3px 6px auto;
  height:44%;
  border-radius:50% 50% 35% 35%;
  background:linear-gradient(180deg,#ffffff6b,transparent);
  opacity:.30;
  pointer-events:none;
}
.home-world .store-row .store-card::after {display:none;animation:none;}
.home-world .store-row .store-card:hover,
.home-world .store-row .store-card:focus-visible {
  transform:translateY(-4px);
  box-shadow:inset 0 3px 2px #ffffff9b,inset 0 -5px 9px #202065ac,0 6px 0 #1e2d63,0 18px 31px #050b23c9,0 0 31px #7c9bfff0;
}
.home-world .store-row .store-card.store-google:hover,
.home-world .store-row .store-card.store-google:focus-visible {
  box-shadow:inset 0 3px 2px #ffffff9b,inset 0 -5px 9px #063353ae,0 6px 0 #14516c,0 18px 31px #050b23c9,0 0 33px #3feafde6;
}
@media(max-width: 760px) {
  .scroll-chapter,.home-world { min-height: 820px; height: 100svh; }
  .home-world .sky-plane img {object-position: 53% 50%; filter:saturate(1.03);}
  .home-world .atmosphere {
    background:linear-gradient(180deg,#0510278c 0%,#07173335 27%,#07173372 63%,#05102aa6 100%);
  }
  .home-world .hero-copy {
    top: clamp(115px,15svh,147px);
    bottom: auto;
    width: calc(100% - 30px);
    max-width: 545px;
  }
  .home-world .hero-copy .eyebrow {font-size:10px;letter-spacing:.17em;margin-bottom:12px;}
  .home-world .hero-brand {font-size:clamp(59px,12.5vw,91px);line-height:1.04;letter-spacing:-.05em;}
  .home-world .hero-tagline {font-size:clamp(28px,6.3vw,40px);line-height:1.11;margin-top:8px;}
  .home-world .hero-copy>p:not(.eyebrow) {font-size:clamp(13px,3.4vw,16px);margin:19px auto 21px;max-width:470px;}
  .home-world .hero-copy>.primary {min-height:59px;min-width:0;width:min(100%,350px);padding:12px 20px;font-size:17px;}
  .home-world .store-row {max-width:510px;width:100%;gap:12px;margin-top:25px;}
  .home-world .store-row .store-card {padding:12px 12px;min-height:74px;border-radius:18px;gap:9px;}
  .home-world .store-row .store-card svg {width:31px;height:31px;flex-basis:31px;}
  .home-world .store-row .store-card small {font-size:8px;letter-spacing:.45px;}
  .home-world .store-row .store-card strong {font-size:clamp(16px,3.9vw,22px);}
}
@media(max-width:420px) {
  .scroll-chapter,.home-world { min-height: 840px; }
  .home-world .hero-copy {top:120px;}
  .home-world .hero-brand {font-size:clamp(54px,13vw,66px);}
  .home-world .hero-tagline {font-size:clamp(27px,6.8vw,34px);}
  .home-world .hero-copy>p:not(.eyebrow) {font-size:13px;margin:17px auto 19px;}
  .home-world .store-row { flex-direction:column;align-items:center;gap:12px;margin-top:21px;max-width:310px;}
  .home-world .store-row .store-card {flex:0 0 auto;width:100%;min-height:65px;padding:10px 22px;}
  .home-world .store-row .store-card strong {font-size:21px;}
  .home-world .store-row .store-card small {font-size:9px;}
  .home-world .store-row .store-card svg {flex-basis:35px;width:35px;height:35px;}
}
@media(max-height:760px) and (min-width:761px) {
  .scroll-chapter,.home-world{min-height:750px;}
  .home-world .hero-copy{top:120px;}
  .home-world .hero-brand{font-size:clamp(76px,7.5vw,115px);}
  .home-world .hero-tagline{font-size:clamp(35px,3.3vw,47px);}
  .home-world .store-row{margin-top:25px;}
}
@media(prefers-reduced-motion:reduce){
  .home-world .store-row .store-card,.home-world .hero-copy>.primary{transition:none;}
  .home-world .store-row .store-card:hover,.home-world .hero-copy>.primary:hover{transform:none;}
}


/* 2026-11-14: refined TraumNest hero typography — maintain vivid artwork and functional CTA. */
.home-world .hero-copy{
  width:min(960px,calc(100% - 42px));
  max-width:960px;
  top:clamp(126px,15%,160px);
}
.home-world .hero-copy .eyebrow{
  margin-bottom:12px;
  font-size:clamp(10px,.87vw,12px);
  font-weight:750;
  letter-spacing:.29em;
  color:#ffdfaa;
  text-shadow:0 2px 11px #05102ee6,0 0 9px #ecb66a55;
}
.home-world .hero-copy h1{
  margin:0 0 14px;
  line-height:1.08;
}
.home-world .hero-brand{
  font-size:clamp(66px,6.85vw,96px);
  line-height:1.08;
  letter-spacing:-.041em;
  font-weight:600;
  background:linear-gradient(108deg,#fff1d9 8%,#f4defb 35%,#d3e7ff 59%,#86e9f0 86%,#e1faff 98%);
  background-clip:text;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  filter:drop-shadow(0 3px 2px #1a1b5278) drop-shadow(0 9px 20px #030c2caf);
  animation:none;
}
.home-world .hero-tagline{
  font-size:clamp(27px,2.65vw,37px);
  line-height:1.17;
  font-weight:600;
  letter-spacing:-.018em;
  margin:13px auto 0;
  color:#fff1dc;
  text-shadow:0 2px 13px #020b2df0,0 0 10px #e6bd7845;
}
.home-world .hero-copy>p:not(.eyebrow){
  max-width:770px;
  margin:18px auto 23px;
  font-size:clamp(14px,1.25vw,17px);
  font-weight:550;
  line-height:1.58;
  letter-spacing:.004em;
  color:#f4f0f2;
}
.home-world .hero-copy>.primary{font-size:clamp(16px,1.38vw,19px);font-weight:800;}
.home-world .store-row{margin-top:29px;}
@media(max-width:760px){
  .home-world .hero-copy{
    top:clamp(117px,14svh,145px);
    width:calc(100% - 32px);
    max-width:550px;
  }
  .home-world .hero-copy .eyebrow{
    font-size:9px;
    letter-spacing:.22em;
    margin-bottom:12px;
  }
  .home-world .hero-brand{
    font-size:clamp(46px,9.7vw,70px);
    letter-spacing:-.045em;
    line-height:1.09;
  }
  .home-world .hero-tagline{
    font-size:clamp(23px,5.2vw,30px);
    line-height:1.18;
    margin-top:10px;
  }
  .home-world .hero-copy>p:not(.eyebrow){
    max-width:450px;
    font-size:clamp(12px,3.3vw,15px);
    line-height:1.56;
    margin:18px auto 22px;
  }
  .home-world .hero-copy>.primary{font-size:16px;}
  .home-world .store-row{margin-top:23px;}
}
@media(max-width:420px){
  .home-world .hero-copy{top:117px;}
  .home-world .hero-brand{font-size:clamp(43px,11.8vw,54px);}
  .home-world .hero-tagline{font-size:clamp(23px,6.1vw,27px);}
  .home-world .hero-copy>p:not(.eyebrow){font-size:13px;margin:16px auto 18px;}
  .home-world .store-row{margin-top:20px;}
}
@media(max-height:760px) and (min-width:761px){
  .home-world .hero-copy{top:120px;}
  .home-world .hero-brand{font-size:clamp(63px,6.6vw,92px);}
  .home-world .hero-tagline{font-size:clamp(27px,2.6vw,36px);}
}


/* Reliable TraumNest app first-open counter. Rendered in the HTML, not created
   by the main homepage script, so the previously empty reserved slot is filled. */
#home-view #app-counter-slot{
  display:block;
  width:100%;
  min-height:0;
  margin:0;
  padding:14px 24px 16px;
  box-sizing:border-box;
  background:linear-gradient(180deg,#081332 0%,#10102b 72%,#100e29 100%);
}
#home-view .tn-counter{
  position:relative;
  isolation:isolate;
  width:100%;
  max-width:1090px;
  margin:0 auto;
  padding:12px;
  border:1px solid rgba(255,211,151,.36);
  border-radius:27px;
  background:
    radial-gradient(ellipse at 18% 7%,rgba(124,91,194,.2),transparent 44%),
    radial-gradient(ellipse at 86% 90%,rgba(63,172,174,.13),transparent 45%),
    linear-gradient(125deg,rgba(22,22,52,.96),rgba(29,25,55,.97),rgba(18,24,51,.96));
  box-shadow:inset 0 1px 0 rgba(255,248,220,.19),0 14px 34px rgba(2,5,24,.34),0 0 19px rgba(174,126,212,.12);
  color:#fff1dc;
}
#home-view .tn-counter-stars{
  position:absolute;
  top:-6px;
  left:50%;
  transform:translateX(-50%);
  padding:0 14px;
  color:#ffe0a5;
  background:#1a1a3b;
  font-size:13px;
  white-space:nowrap;
  text-shadow:0 0 8px rgba(255,219,154,.45);
}
#home-view .tn-counter-stars span{opacity:.7;margin:0 6px;}
#home-view .tn-counter-glass{
  display:grid;
  grid-template-columns:minmax(175px,1fr) minmax(245px,1.3fr) minmax(190px,1fr);
  align-items:center;
  gap:16px;
  padding:15px 22px;
  min-height:106px;
}
#home-view .tn-counter-clock{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  color:#f5dfbe;
  font-size:10px;
  font-weight:700;
  letter-spacing:.08em;
}
#home-view .tn-counter-clock time{
  color:#ffefdc;
  font-size:16px;
  font-variant-numeric:tabular-nums;
  font-weight:750;
  letter-spacing:0;
  white-space:nowrap;
}
#home-view .tn-counter-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#ffd991;
  box-shadow:0 0 0 3px rgba(250,200,115,.13),0 0 12px rgba(255,206,126,.67);
}
#home-view .tn-counter-main{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:center;
  column-gap:11px;
  row-gap:4px;
  text-align:center;
}
#home-view .tn-counter-main strong{
  font-size:clamp(32px,3.6vw,45px);
  letter-spacing:-.045em;
  line-height:1;
  font-weight:750;
  color:#ffe4a5;
  font-variant-numeric:tabular-nums;
  text-shadow:0 0 16px rgba(255,213,146,.29);
}
#home-view .tn-counter-sparkle{color:#ffd69a;font-size:18px;}
#home-view #app-counter-title{
  color:#fff2e0;
  font-size:13px;
  font-weight:650;
  letter-spacing:.01em;
}
#home-view .tn-counter-context{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:4px;
  text-align:right;
  color:#e7d9d5;
  font-size:11px;
}
#home-view .tn-counter-context small{font-size:11px;}
#home-view .tn-counter-context time{color:#ffe1ae;font-variant-numeric:tabular-nums;}
#home-view .tn-counter-context summary{
  display:inline-block;
  cursor:pointer;
  font-size:11px;
  color:#dfd0ff;
  text-decoration:underline;
  text-decoration-color:rgba(225,201,255,.65);
  text-underline-offset:3px;
}
#home-view .tn-counter-context details p{
  max-width:275px;
  margin:7px 0 0;
  color:#ebe3de;
  font-size:11px;
  line-height:1.5;
}
@media(max-width:760px){
  #home-view #app-counter-slot{
    min-height:0;
    padding:12px 13px 16px;
  }
  #home-view .tn-counter{border-radius:22px;padding:8px;}
  #home-view .tn-counter-glass{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:10px;
    padding:19px 10px 13px;
  }
  #home-view .tn-counter-clock{justify-content:center;}
  #home-view .tn-counter-clock time{font-size:13px;}
  #home-view .tn-counter-main{gap:8px;}
  #home-view .tn-counter-main strong{font-size:39px;}
  #home-view #app-counter-title{font-size:12px;}
  #home-view .tn-counter-context{align-items:center;text-align:center;gap:4px;}
  #home-view .tn-counter-context details p{text-align:center;margin:6px auto 0;}
}
