@font-face{font-family:'Luckiest Guy';src:url(assets/luckiest-guy.ttf);font-weight:400;font-display:swap}
:root{--forest:#20291e;--blue:#c6dce8;--cream:#f2f0e7;--ink:#263125;--red:#570e1c}html{scroll-padding-top:100px}body{background:var(--cream)}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.page[hidden]{display:none!important}.page{min-height:100svh}.masthead{height:90px;position:fixed;top:0;left:0;right:0;z-index:60;display:flex;align-items:center;justify-content:space-between;padding:0 4vw;background:var(--cream);color:var(--ink);border-bottom:1px solid #26312512;transition:background .3s,color .3s}.hologram{display:block;width:74px;height:74px}.hologram img{width:100%;height:100%;object-fit:contain}.coin-still{display:none}.masthead-note{font-size:9px;letter-spacing:.16em}.masthead button{display:flex;align-items:center;gap:16px;min-height:44px;font-size:12px;padding:10px 0}.menu-lines{width:22px;height:8px;border-top:1px solid currentColor;border-bottom:1px solid currentColor}.home-page{color:var(--blue);background:var(--forest);position:relative;height:100svh;min-height:650px;display:flex;flex-direction:column;padding:100px 4.5vw 24px;overflow:hidden}body[data-page=home] .masthead{background:var(--forest);color:var(--blue);border-bottom-color:transparent}.home-stage{position:relative;flex:1;display:flex;align-items:center;justify-content:space-between;min-height:390px}.home-door{position:relative;z-index:3;display:flex;flex-direction:column;gap:17px;width:25%;padding:35px 0}.door-index{font-size:8px;letter-spacing:.13em;opacity:.65}.door-title{font:clamp(32px,4vw,68px)/1 Georgia;letter-spacing:-.045em;white-space:nowrap;display:flex;align-items:center;gap:14px}.door-title i{font:20px General;transition:transform .3s}.home-door:hover i{transform:translate(5px,-5px)}.door-caption{font-size:11px;opacity:.8}.door-adventures{text-align:right;align-items:flex-end}.heart-object{position:absolute;width:55%;left:22.5%;top:48%;transform:translateY(-50%);z-index:2}.heart-canvas-wrap{position:relative;aspect-ratio:10/7;width:100%}#soft-heart{width:100%;height:100%;display:block;position:relative;touch-action:none;cursor:crosshair;outline-offset:-40px}.heart-fallback{position:absolute;inset:7%;width:86%;height:86%;object-fit:contain;pointer-events:none}.heart-object.is-ready .heart-fallback{visibility:hidden}.heart-instruction{display:block;margin:2px auto 0;font-size:9px;letter-spacing:.02em;opacity:.6;padding:12px;transition:opacity .3s}.heart-instruction:hover{opacity:1}.heart-instruction span{font-size:16px;margin-right:7px;vertical-align:middle}.home-baseline{display:flex;justify-content:space-between;align-items:center;font:italic clamp(20px,2.8vw,40px) Georgia;letter-spacing:-.025em;padding:10px 0 35px}.home-scroll{display:flex;align-items:center;gap:10px;font:8px General;letter-spacing:.11em;align-self:center;opacity:.7}.home-scroll span{display:inline-flex;justify-content:center;align-items:center;width:32px;height:32px;border:1px solid #c6dce84a;border-radius:50%;font-size:17px}.home-colophon{display:flex;justify-content:space-between;align-items:center;font-size:9px;opacity:.65;border-top:1px solid #c6dce821;padding-top:17px}.home-colophon>span{font-size:7px;letter-spacing:.12em}.motion-toggle{font-size:9px;border-bottom:1px solid #9aa79377;padding:7px 0}.page-dock{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:55;display:flex;background:#20291ef5;color:var(--cream);border:1px solid #ffffff1c;border-radius:40px;padding:5px;box-shadow:0 5px 20px #10190c26;backdrop-filter:blur(12px)}.page-dock a{padding:12px 23px;border-radius:30px;font-size:12px;display:flex;gap:9px;align-items:center}.page-dock a span{font-size:8px;opacity:.55}.page-dock a[aria-current=page]{background:var(--cream);color:var(--forest)}#menu-dialog{max-width:100vw;width:100%;height:100svh;max-height:100svh;border-radius:0;padding:11vh 12vw;background:var(--forest);color:var(--blue);box-shadow:none}#menu-dialog::backdrop{background:var(--forest)}.menu-close{position:absolute;top:20px;right:4vw;display:flex;align-items:center;gap:20px;font-size:12px;padding:10px}.menu-close span{font-size:30px}.menu-bottom{display:flex;align-items:center;justify-content:space-between;position:absolute;left:12vw;right:12vw;bottom:8vh;font:italic 22px Georgia}#menu-dialog nav{display:flex;flex-direction:column;margin-top:8vh;gap:10px}#menu-dialog nav a{display:flex;align-items:center;gap:35px;font:clamp(40px,6vw,90px) Georgia;letter-spacing:-.04em;padding:15px 0;border-bottom:1px solid #c6dce826}#menu-dialog nav a>span{font:10px General;letter-spacing:0;opacity:.5}#menu-dialog nav a>i{margin-left:auto;font:35px General}.deck-entrance{height:145svh;min-height:850px;position:relative;background:var(--cream)}.deck-stage{position:sticky;top:90px;height:calc(100svh - 90px);min-height:500px;overflow:hidden;perspective:1100px}.deck-title{position:absolute;left:5vw;top:7vh;z-index:4}.deck-title h1{font:400 clamp(65px,9vw,145px)/.98 Georgia;letter-spacing:-.06em;margin:20px 0}.deck-title p{font:italic 16px Georgia}.deck-skip{position:absolute;bottom:35px;left:5vw;font-size:9px;letter-spacing:.1em;display:flex;align-items:center;gap:7px}.deck-skip>span:last-child{margin-left:25px;font-size:22px}.deck-card{position:absolute;left:calc(64% - 95px);top:calc(48% - 130px);width:190px;aspect-ratio:5/7;padding:0;transform-style:preserve-3d;will-change:transform;backface-visibility:hidden;filter:drop-shadow(0 12px 12px #1423102c)}.deck-card img{width:100%;height:100%;object-fit:contain;border-radius:9px}.deck-card:focus-visible{outline-offset:7px}#collection{padding-top:50px;padding-bottom:110px;scroll-margin-top:15px}.collection-heading h2{font-size:clamp(55px,7vw,108px);margin-top:10px}.collection-heading{margin:0 0 22px}.collection-intro p{font-size:12px}.collection-workbench{position:relative}.categories .category{opacity:.7}.categories .category.is-active{opacity:1}.collection-content.is-map{grid-template-columns:1.05fr 1fr;align-items:start}.map-wrap{height:calc(100svh - 160px);max-height:760px;min-height:420px;top:110px}.map-toolbar{position:absolute;left:12px;right:12px;bottom:26px;z-index:400;background:#f2f0e7ed;padding:10px 12px;border-radius:3px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px}.map-toolbar button{font-size:10px;text-decoration:underline;min-height:28px}.map-wrap #map-error{position:absolute;top:40%;left:25px;right:25px}.is-map .cards-column{max-height:calc(100svh - 160px);min-height:420px;overflow:auto;padding:7px 9px 14px 7px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9da18f transparent}.cards-grid{row-gap:32px}.wasta-key{font-size:11px;letter-spacing:.04em}.collection-end{margin-top:50px;padding:25px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:10px}.collection-end a{font:28px Georgia;letter-spacing:-.03em;display:flex;align-items:center;gap:30px}.collection-end a span{font:22px General}.empty{padding:55px 10px}.empty>span{font-size:36px}#adventures-page{background:#f6f4ed;padding-top:90px}.journal-pullback{height:200svh;position:relative}.journal-stage{position:sticky;top:90px;height:calc(100svh - 90px);min-height:510px;overflow:hidden}.journal-art{position:absolute;left:var(--art-left,2%);top:var(--art-top,2%);width:var(--art-width,96%);height:var(--art-height,92%);background:#fff;padding:0;overflow:hidden;cursor:pointer;z-index:2;box-shadow:0 0 0 1px #22332406}.sbuf-art{display:block;width:100%;height:100%;position:relative;overflow:hidden;background:#fff}.sbuf-track{position:absolute;width:1000px;height:1000px;top:0;left:0;transform-origin:0 0;pointer-events:none}.sbuf-ch{position:absolute;offset-rotate:auto;font-family:'Luckiest Guy','Arial Black',sans-serif;font-size:140px;line-height:1;color:#4ccc76;-webkit-text-stroke:4px #e4645c;paint-order:stroke fill;animation:sbufmove 50s linear infinite}.journal-opening{position:absolute;z-index:3;left:0;right:0;top:38%;text-align:center;pointer-events:none;opacity:var(--opening-opacity,1);color:#263125}.journal-opening h1{font:400 clamp(48px,8vw,115px)/1 Georgia;letter-spacing:-.055em;margin:12px 0}.journal-opening>span{font-size:12px}.journal-scroll{position:absolute;z-index:4;bottom:7%;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:20px;font-size:8px;letter-spacing:.1em;opacity:var(--opening-opacity,1)}.journal-scroll span{font-size:20px}.journal-story-info{position:absolute;left:56%;width:36%;top:27%;z-index:4;opacity:var(--info-opacity,0);transform:translateY(var(--info-y,25px))}.journal-story-info h2{font:400 clamp(36px,4.8vw,70px)/.98 Georgia;letter-spacing:-.055em;margin:23px 0}.journal-story-info p{font-size:13px;line-height:1.7;max-width:360px;margin-bottom:24px}.story-index{padding-top:25px;padding-bottom:130px}.story-index-row{display:grid;grid-template-columns:55px 1fr 150px 28px;gap:25px;align-items:center;width:100%;text-align:left;padding:25px 0;border-bottom:1px solid var(--line)}.story-index-row .story-index-title{font:32px Georgia;letter-spacing:-.04em}.story-index-row span:first-child{font-size:10px;opacity:.5}.story-index-row .story-index-date{font-size:10px}.story-index-row .story-index-arrow{font-size:25px}.article-page{padding-top:110px;padding-bottom:100px}.article-wrap{max-width:960px;margin:auto}.article-back{margin:0 7vw}.article-wrap article{padding-top:55px}.article-wrap article h1{font:clamp(45px,6vw,82px)/1 Georgia;letter-spacing:-.05em;font-weight:400;margin:25px 0 35px}.article-ring{aspect-ratio:1;width:100%;max-width:490px;margin:40px auto;height:auto}.article-ring .sbuf-track{height:1000px}.card-button:hover .card-star{animation:starlight 4.5s ease-in-out infinite}.motion-off .coin-motion{display:none}.motion-off .coin-still{display:block}.motion-off .sbuf-ch{animation-play-state:paused!important;animation-name:sbufmove!important;animation-duration:50s!important}.page-dock a:hover{background:#ffffff17}.page-dock a[aria-current=page]:hover{background:var(--cream)}
@keyframes sbufmove{from{offset-distance:0%}to{offset-distance:100%}}
@media(prefers-reduced-motion:reduce){.coin-motion{display:none}.coin-still{display:block}.sbuf-ch{animation-name:sbufmove!important;animation-play-state:paused!important;animation-duration:50s!important}}
@media(max-width:1000px){.door-title{font-size:4vw}.door-caption{font-size:9px}.heart-object{width:58%;left:21%}.deck-card{width:160px;left:calc(64% - 80px);top:calc(50% - 112px)}.journal-story-info{left:55%;width:39%}.journal-story-info p{font-size:12px}.journal-story-info h2{font-size:45px}.masthead-note{font-size:8px}.home-page{min-height:650px}.collection-content.is-map{gap:24px}}
@media(max-width:700px){html{scroll-padding-top:78px}.masthead{height:76px;padding:0 18px}.hologram{width:64px;height:64px}.masthead-note{font-size:6px;letter-spacing:.08em;margin-right:5px}.masthead button{gap:10px;font-size:11px}.menu-lines{width:17px}.home-page{padding:85px 22px 20px;height:100svh;min-height:720px}.home-stage{align-items:flex-end;min-height:410px;flex:1;padding-bottom:25px;gap:15px}.heart-object{width:118%;left:-9%;top:33%}.heart-instruction{font-size:8px;margin-top:4px;padding:9px}.home-door{width:50%;padding:0;gap:10px}.door-index{font-size:6px;letter-spacing:.07em}.door-title{font-size:29px;gap:8px}.door-title i{font-size:17px}.door-caption{font-size:9px;line-height:1.5;max-width:145px}.home-baseline{font-size:20px;position:relative;padding:30px 0 70px}.home-scroll{position:absolute;left:0;right:0;bottom:15px;justify-content:center;font-size:7px}.home-colophon{font-size:8px;padding-top:14px}.home-colophon>span{font-size:6px}.motion-toggle{font-size:8px}.page-dock{bottom:13px}.page-dock a{padding:11px 20px;font-size:11px;gap:7px}.page-dock a>span{font-size:7px}#menu-dialog{padding:15vh 8vw}.menu-close{right:15px;top:15px}.menu-bottom{left:8vw;right:8vw;bottom:12vh;font-size:17px}#menu-dialog nav{margin-top:7vh}#menu-dialog nav a{font-size:42px;gap:20px;padding:20px 0}#menu-dialog nav a>i{font-size:23px}.deck-entrance{height:135svh;min-height:800px}.deck-stage{top:76px;height:calc(100svh - 76px);min-height:540px}.deck-title{left:23px;top:32px}.deck-title h1{font-size:70px;margin:15px 0}.deck-title p{font-size:14px}.deck-card{width:124px;left:calc(50% - 62px);top:calc(57% - 87px);border-radius:5px}.deck-card img{border-radius:6px}.deck-skip{left:23px;bottom:35px;font-size:8px}.deck-skip>span:last-child{font-size:18px}#collection{padding:30px 20px 100px}.collection-heading h2{font-size:63px;margin-top:12px}.collection-heading{align-items:center;flex-wrap:nowrap;gap:20px}.collection-heading .city-select{flex-direction:column;align-items:flex-start;justify-content:center;width:auto;gap:5px}.collection-heading .city-select select{width:75px;font-size:10px}.collection-heading .city-select label{font-size:6px}.collection-intro{margin:20px 0;gap:8px}.collection-intro p{font-size:10px;max-width:155px}.collection-intro .text-button{font-size:9px}.collection-intro .dice{font-size:18px}.categories{gap:5px}.category>span:last-child{font-size:10px}.category small{display:block;font-size:7px;line-height:1.4;white-space:nowrap;margin-top:4px}.category .mini-deck{height:40px}.browse-tools{gap:9px;padding:14px 0}.search input{font-size:10px}.results-line{padding:15px 0 18px;font-size:8px;gap:8px}.wasta-key{font-size:10px}.collection-content.is-map{display:flex;flex-direction:column;gap:15px}.map-wrap{min-height:0;max-height:none;height:39svh;top:auto;position:relative;border-radius:5px}.is-map .cards-column{min-height:0;max-height:55svh;padding:6px 5px 20px;overflow:auto}.is-map .cards-grid{gap:18px 13px}.map-toolbar{font-size:8px;bottom:22px;left:7px;right:7px;padding:7px}.map-toolbar button{font-size:9px}.collection-end{margin-top:30px;gap:15px}.collection-end>span{font-size:9px;max-width:110px}.collection-end a{font-size:21px;gap:12px}.collection-end a span{font-size:18px}#adventures-page{padding-top:76px}.journal-pullback{height:185svh}.journal-stage{top:76px;height:calc(100svh - 76px);min-height:570px}.journal-opening{top:35%}.journal-opening h1{font-size:13vw;margin:15px 0}.journal-opening>span{font-size:10px}.journal-scroll{bottom:9%;font-size:7px}.journal-story-info{left:8%;width:84%;top:var(--info-top,46%)}.journal-story-info h2{font-size:35px;margin:16px 0}.journal-story-info p{font-size:11px;line-height:1.6;max-width:none;margin-bottom:12px}.journal-story-info h2 br{display:none}.journal-story-info h2 i:before{content:' '}.story-index{padding:15px 20px 115px}.story-index-row{grid-template-columns:22px 1fr 24px;gap:10px;padding:20px 0}.story-index-row .story-index-title{font-size:24px}.story-index-row .story-index-date{display:none}.article-page{padding-top:90px}.article-wrap article{padding-top:35px}.article-wrap article h1{font-size:44px}.article-ring{max-width:330px}.article-back{font-size:11px}}
#card-dialog{width:auto;max-width:94vw;max-height:96svh;background:transparent;border-radius:0;box-shadow:none;overflow:visible;padding:25px 38px}#card-dialog::backdrop{background:#152011cf;backdrop-filter:blur(10px)}#card-dialog .detail-image{width:auto;min-width:180px;height:86svh;max-height:1000px;color:#f2f0e7;font-size:12px}#card-dialog .detail-image img{width:auto;max-width:calc(94vw - 76px);height:100%;object-fit:contain;filter:drop-shadow(0 18px 25px #0004);border-radius:8px}#card-dialog .dialog-close{right:-2px;top:0;background:#f2f0e7;color:#263125;width:34px;height:34px;font-size:23px;border:0}
@media(max-width:700px){#card-dialog{padding:36px 5px 20px;max-width:96vw}#card-dialog .detail-image{height:auto;max-height:82svh}#card-dialog .detail-image img{max-width:92vw;max-height:82svh;width:auto;height:auto}#card-dialog .dialog-close{right:2px;top:0;width:34px;height:34px}}
.sbuf-track{text-align:left}.sbuf-ch{left:0;top:0;display:block}
#city-picker{padding:0;text-align:left;display:block}#city-picker h2{display:flex;align-items:center;gap:30px;font-size:clamp(65px,8vw,120px)}.city-chevron{font:32px General;display:inline-block;transform:translateY(6px);transition:transform .25s}#city-picker:hover .city-chevron{transform:translateY(12px)}.city-count{font-size:10px;align-self:flex-end;margin-bottom:12px}#city-dialog{max-width:630px;background:var(--cream);padding:55px 45px 40px;color:var(--forest);border-radius:4px}#city-dialog h2{font:65px Georgia;letter-spacing:-.05em;margin:25px 0 35px}.city-close{position:absolute;right:18px;top:13px;font-size:28px;width:38px;height:38px}.city-option{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left;padding:22px 0;border-top:1px solid var(--line)}.city-option strong{font:34px Georgia;letter-spacing:-.04em;display:block}.city-option small{display:block;font-size:10px;margin-top:5px;opacity:.65}.city-option>span:last-child{font-size:10px;display:flex;align-items:center;gap:30px}.city-option b{font-size:20px;font-weight:400}.city-option[aria-pressed=true] strong{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}
@media(max-width:700px){#city-picker h2{font-size:65px;gap:18px}.city-chevron{font-size:23px}.city-count{font-size:8px;max-width:65px;line-height:1.6}.collection-heading{gap:10px}#city-dialog{max-width:92vw;padding:45px 25px 25px}#city-dialog h2{font-size:48px;margin:20px 0 25px}.city-option strong{font-size:30px}.city-option>span:last-child{gap:15px}}

/* Home is an invitation; Explore clicks go directly to the collection. */
.orbit-word{position:absolute;pointer-events:none;white-space:nowrap;font:italic 21px Georgia;color:var(--blue);text-shadow:0 1px 9px #20291e65;will-change:transform}
#explore-page:not(.has-deck-entry) .deck-entrance{display:none}
#explore-page:not(.has-deck-entry) #collection{padding-top:135px}
.city-group+.city-group{margin-top:85px}
.city-group-heading{display:flex;align-items:flex-end;justify-content:space-between;padding:10px 0 23px;margin-bottom:28px;border-bottom:1px solid var(--line)}
.city-group-heading .eyebrow{font-size:8px;opacity:.6}
.city-group-heading h3{font:46px/1.1 Georgia;letter-spacing:-.04em;margin:10px 0 0}
.city-group-heading button{padding:0;display:flex;align-items:center;gap:25px}
.city-group-heading h3 span{font:21px General;opacity:.55}
.city-group-heading>span{font-size:10px;opacity:.65}
.is-map .city-group-heading{padding-top:0;margin-bottom:20px}
.is-map .city-group-heading h3{font-size:34px}
@media(max-width:700px){.orbit-word{font-size:16px}#explore-page:not(.has-deck-entry) #collection{padding-top:105px}.city-group+.city-group{margin-top:55px}.city-group-heading{padding-bottom:18px;margin-bottom:23px}.city-group-heading h3{font-size:37px}.city-group-heading>span{font-size:9px}.city-group-heading h3 span{font-size:18px}}
/* One continuous Home → DUNYA journey, with two colorways. */
body{--home-bg:#fafafa;--home-text:#5a6f5e;--home-muted:#718096}body[data-palette=forest]{--home-bg:#20291e;--home-text:#c6dce8;--home-muted:#adc2cc}
.home-page{height:auto;min-height:0;padding:0;display:block;overflow:visible;background:var(--home-bg);color:var(--home-text)}
.home-journey{height:240svh;position:relative}.home-sticky{height:100svh;min-height:650px;position:sticky;top:0;display:flex;flex-direction:column;padding:100px 4.5vw 22px;overflow:hidden;background:color-mix(in srgb,var(--home-bg) calc(var(--home-alpha,1)*100%),var(--cream));}
.home-stage,.home-baseline,.home-sticky>.home-scroll,.home-colophon{opacity:var(--home-alpha,1);transform:translateY(var(--home-lift,0px));}
.home-door{width:25%;flex-direction:row;align-items:baseline;gap:12px}.door-index{font-size:10px}.door-adventures{justify-content:flex-end}.door-title{font-size:clamp(30px,3.7vw,64px)}.door-title i{display:none}.heart-object{top:48%}
.orbit-word{font-family:'Luckiest Guy',sans-serif;font-style:normal;font-size:clamp(24px,3.2vw,42px);color:#4ccc76;-webkit-text-stroke:.6px #d65065;paint-order:stroke fill;text-shadow:0 2px 2px #4d0b142e}
.home-baseline{display:flex;justify-content:space-between;font-style:italic;padding:10px 8vw 18px}.fall-word{font:inherit;letter-spacing:inherit;padding:12px;opacity:0;animation:tag-land .9s cubic-bezier(.23,.9,.32,1.12) both;animation-delay:calc(1.25s + var(--word-order)*.16s);white-space:nowrap}.fall-word.landed{animation:none;opacity:1}.fall-word.falling{animation:tag-fall 1.15s cubic-bezier(.4,0,.9,.6) forwards!important;pointer-events:none}.fall-word.returning{animation:tag-return .5s ease both!important}.home-sticky>.home-scroll{display:flex;justify-content:center;align-self:center;margin-bottom:24px;font-size:9px;position:relative;left:auto;right:auto;bottom:auto}.home-scroll span{border-color:currentColor;opacity:.5}.home-colophon{border-color:color-mix(in srgb,var(--home-text) 17%,transparent);color:var(--home-muted)}.palette-switch{display:flex;gap:4px;align-items:center}.palette-switch button{font-size:9px;padding:6px 9px;border-radius:20px;border:1px solid transparent}.palette-switch button[aria-pressed=true]{border-color:currentColor}.home-colophon .motion-toggle{border-color:currentColor}
body[data-page=home]:not(.journey-in-collection) .masthead{background:var(--home-bg);color:var(--home-text)}body[data-page=home].journey-in-collection .masthead{background:var(--cream);color:var(--forest);border-bottom-color:#26312512}
#explore-page.from-home{margin-top:-100svh;position:relative;z-index:3;opacity:var(--collection-alpha,0)}#explore-page:not(.has-deck-entry) #collection{padding-top:135px}.from-home #collection{background:transparent}
#journey-cards{position:fixed;inset:0;z-index:40;pointer-events:none;perspective:1000px;visibility:hidden;overflow:hidden}.flight-card{position:absolute;left:0;top:0;width:180px;aspect-ratio:5/7;will-change:transform;filter:drop-shadow(0 14px 14px #18201126)}.flight-card img{width:100%;height:100%;object-fit:contain;border-radius:8px}.awaiting-landing{opacity:0!important}
.card-meta{display:none}.city-group-heading h3{margin-top:10px}.card-art{transform:perspective(900px) rotateX(calc(var(--cy,0deg) + var(--scroll-tilt,0deg))) rotateY(var(--cx,0deg));transition:transform .45s cubic-bezier(.23,1,.32,1),filter .4s}.card-button:hover .card-art{transform:perspective(900px) translateY(-6px) rotateX(var(--cy,0deg)) rotateY(var(--cx,0deg)) scale(1.02)}
.card-foil{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0;transition:opacity .35s;mix-blend-mode:color-dodge;background:radial-gradient(circle at var(--mx,50%) var(--my,50%),#ffffff8c 0%,#ffffff1f 18%,transparent 40%),linear-gradient(115deg,transparent 20%,#78bea048 38%,#b4a0dc4d 50%,#e6b49648 62%,transparent 80%);background-size:100% 100%,220% 220%;background-position:0 0,var(--mx,50%) var(--my,50%)}.card-button:hover .card-foil,.inspect-art:hover .card-foil{opacity:1}
.twinkle{position:absolute;pointer-events:none;color:#ffdfa5;opacity:0;z-index:3;text-shadow:0 0 2px #fffffff2,0 0 7px #c78a2acc;animation:twinkle var(--tw-dur,4.5s) ease-in-out var(--tw-delay,0s) infinite;animation-play-state:paused}.effects-visible .twinkle{animation-play-state:running}.wasta-glow{position:absolute;right:7%;top:8%;width:13%;aspect-ratio:1;background:radial-gradient(circle,#ffd78180,transparent 68%);border-radius:50%;pointer-events:none;animation:wasta-breathe 3s ease-in-out infinite}
#card-dialog .detail-image{perspective:1000px}#card-dialog .inspect-art{height:100%;max-width:calc(94vw - 76px);aspect-ratio:5/7;width:auto;overflow:hidden;filter:drop-shadow(0 18px 25px #0004)}#card-dialog .inspect-art img{width:100%;height:100%;max-width:none;filter:none;border-radius:0}.inspect-art:hover{transform:perspective(900px) rotateX(var(--cy,0deg)) rotateY(var(--cx,0deg))}
.globe-wrap{height:calc(100svh - 160px);min-height:420px;max-height:760px;position:sticky;top:110px;overflow:hidden;background:#eaece1;border-radius:8px;transition:opacity .3s}.globe-wrap.handing-off{opacity:0}#globe{width:100%;height:100%;touch-action:none}#globe *{touch-action:none}.globe-loading{position:absolute;inset:0;display:grid;place-items:center;padding:25px;text-align:center;font-size:13px}.globe-city{padding:6px 10px;background:#fafafae8;color:#4a5f4e;font-size:12px;font-style:italic;white-space:nowrap;border-radius:20px;border:1px solid #5a6f5e40;box-shadow:0 3px 10px #5a6f5e20}.globe-heart-beat{display:block;color:#c55269;font-size:23px;animation:wasta-breathe 2.8s ease infinite}.globe-toolbar{position:absolute;bottom:12px;left:15px;right:15px;display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:9px;color:#5a6f5e}.globe-toolbar button{font-size:9px;border-bottom:1px solid currentColor;padding:8px 0;white-space:nowrap}
@keyframes tag-land{0%{opacity:0;transform:translateY(-65vh) rotate(-8deg)}70%{opacity:1}86%{transform:translateY(6px) rotate(1deg)}100%{opacity:1;transform:translateY(0) rotate(0)}}@keyframes tag-fall{0%{opacity:1;transform:translateY(0) rotate(0)}30%{opacity:.9;transform:translateY(15vh) rotate(4deg)}100%{opacity:0;transform:translateY(80vh) rotate(14deg)}}@keyframes tag-return{from{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:translateY(0)}}@keyframes twinkle{0%,100%{opacity:0;transform:translate(-50%,-50%) scale(.5) rotate(0)}35%{opacity:.95;transform:translate(-50%,-50%) scale(1.05) rotate(15deg)}65%{opacity:.95;transform:translate(-50%,-50%) scale(1) rotate(28deg)}}@keyframes wasta-breathe{0%,100%{opacity:.3;transform:scale(.94)}50%{opacity:.9;transform:scale(1.08)}}
@media(max-width:1000px){.home-door{gap:9px}.door-title{font-size:3.7vw}.orbit-word{font-size:29px}.home-baseline{padding-left:2vw;padding-right:2vw}.browse-tools{gap:12px}.view-switch button{padding:7px 8px}}
@media(max-width:700px){.home-sticky{padding:85px 22px 20px;min-height:720px}.home-stage{padding-bottom:25px}.home-door{width:auto;gap:7px}.door-title{font-size:27px}.door-index{font-size:8px}.orbit-word{font-size:27px}.heart-object{top:33%;width:108%;left:-4%}.home-baseline{padding:15px 0 14px;font-size:20px}.fall-word{padding:10px 2px}.home-sticky>.home-scroll{margin-bottom:18px}.home-colophon{font-size:7px;gap:10px}.palette-switch button{font-size:8px;padding:5px 7px}#explore-page:not(.has-deck-entry) #collection{padding-top:105px}#card-dialog .inspect-art{height:auto;max-width:92vw;max-height:82svh;width:92vw}#card-dialog .inspect-art img{width:100%;height:auto;max-height:82svh}.globe-wrap{width:100%;height:45svh;min-height:320px;position:relative;top:auto}.globe-toolbar{font-size:8px}.view-switch button{padding:6px 8px}.view-switch button span{font-size:9px}.sort-label{gap:5px}.browse-tools{gap:9px}.sort-label select{max-width:107px}.city-group-heading h3{font-size:37px}.home-journey{height:240svh}}
.motion-off .home-journey{height:100svh}.motion-off #explore-page.from-home{margin-top:0;opacity:1}.motion-off .home-sticky{position:relative}.motion-off .fall-word{opacity:1}.motion-off .twinkle,.motion-off .wasta-glow{display:none}.motion-off #journey-cards{display:none}
@media(prefers-reduced-motion:reduce){.fall-word{opacity:1}.twinkle,.wasta-glow{display:none}}
.globe-city{pointer-events:auto;cursor:pointer}.globe-heart-beat{pointer-events:none}

/* Logo motion study: original artwork, no replacement typeface. */
.logo-word,.logo-ring-letter{position:absolute;pointer-events:none;will-change:transform;display:block;transform-origin:center}
.logo-word svg,.logo-ring-letter svg{width:100%;height:100%;display:block;overflow:hidden}
.home-door{transform:translateY(66px)}
.home-baseline{font-size:clamp(16px,1.5vw,21px);color:#81847e}
body[data-palette=forest] .home-baseline{color:#a4aaa0}
.flight-card .card-art{display:block;width:100%;height:100%;transform:none;transition:none;position:relative}
.flight-card .twinkle{animation-play-state:running}
@media(max-width:700px){.home-door{transform:translateY(14px)}.home-baseline{font-size:17px;padding-top:20px}.home-stage{padding-bottom:28px}}
body[data-focus=heart]{overflow:hidden;background:var(--home-bg)}
body[data-focus=heart] .masthead,body[data-focus=heart] .home-door,body[data-focus=heart] .home-baseline,body[data-focus=heart] .home-scroll,body[data-focus=heart] .home-colophon,body[data-focus=heart] #explore-page,body[data-focus=heart] .page-dock{display:none!important}
body[data-focus=heart] .home-journey{height:100svh}
body[data-focus=heart] .home-sticky{height:100svh;min-height:0;padding:0}
body[data-focus=heart] .home-stage{height:100svh;min-height:0;padding:0;width:100%;flex:1}
body[data-focus=heart] .heart-object{top:50%;width:82%;left:9%}
body[data-focus=heart] .home-sticky{background:var(--home-bg)}

/* Approved Letter Ring layout and a quieter Explore toolbar. */
.heart-object{top:43%}.home-door{transform:translateY(102px)}
.home-colophon .palette-switch{margin-left:auto}
.collection-intro{justify-content:flex-end;margin:0 0 25px;min-height:42px}
.collection-heading{margin-top:12px;margin-bottom:4px}
#city-picker h2{margin-top:0}
.journal-opening .journal-scroll{position:relative;left:auto;right:auto;bottom:auto;margin:27px auto 0;width:max-content;padding:12px 8px;pointer-events:auto;opacity:1}
#soft-heart{touch-action:pan-y;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
@media(max-width:700px){
 .heart-object{top:29%}.home-door{transform:translateY(27px)}
 .collection-heading{margin-top:0;margin-bottom:0}.city-count{display:none}
 .collection-intro{margin:0 0 15px;min-height:38px}
 .categories{display:grid;grid-template-columns:1.45fr .8fr .8fr 1fr;gap:0}
 .category{min-width:0;min-height:58px;padding:12px 4px;justify-content:center;text-align:center;gap:0}
 .category .mini-deck,.category small{display:none}
 .category>span:last-child{font-size:12px;line-height:1.35}
 .category:first-child>span:last-child{max-width:80px}
 .search{min-height:44px}.search input{font-size:12px}
 .view-switch button{min-height:40px}.view-switch button span{font-size:10px}
 .sort-label select{font-size:10px;min-height:40px;max-width:108px}
 .journal-opening .journal-scroll{margin-top:24px;font-size:8px}
 .journal-opening{top:32%}
}

/* Home: give the approved heart its own space, with two lower navigation links. */
.home-sticky>.home-scroll{margin-top:70px}
.home-door{transform:translateY(132px)}
@media(max-width:700px){
 .home-sticky>.home-scroll{margin-top:68px}
 .home-door{transform:translateY(45px)}
}
/* Flying cards resize through their compositor transform, never through layout. */
.flight-card{width:180px;contain:layout style;backface-visibility:hidden}
.flight-card .card-art{border-radius:8px;overflow:hidden}
/* The same two actions below a card as the live site; no side panel. */
#card-dialog[open]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}
#card-dialog .detail-image{height:min(76svh,800px);min-height:0;flex:0 1 auto;transition:none}
#card-dialog .inspect-art{height:100%;max-height:100%;width:auto;max-width:90vw;aspect-ratio:5/7}
#card-dialog .inspect-art img{height:100%;width:100%;max-height:100%;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.modal-actions{display:flex;gap:10px;flex-shrink:0}.modal-actions button{display:flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 20px;font-size:12px;border-radius:30px;border:1px solid #f4efe666;color:#f4efe6}.modal-actions #share-card{background:#f4efe6;color:#263125;border:0}.modal-actions button:hover{transform:translateY(-1px)}
#card-feedback{font-size:11px;color:#f4efe6;margin:0;max-width:90vw;overflow-wrap:anywhere}#card-feedback:empty{display:none}
.detail-image.snap{transition:transform .2s ease,opacity .2s ease!important}.detail-image.holding .inspect-art{transform:scale(1.035)}.detail-image.dragging~.modal-actions{opacity:0}
#maps-dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,420px);max-width:100%;padding:22px 18px calc(18px + env(safe-area-inset-bottom));background:#f4efe6;color:#263125;border:0;border-radius:18px 18px 0 0;box-shadow:0 -10px 40px #0004}#maps-dialog::backdrop{background:#0005}#maps-dialog p{text-align:center;font-size:13px;margin:0 0 15px}#maps-dialog a{display:flex;align-items:center;justify-content:center;min-height:52px;background:#fff;border-radius:10px;margin:8px 0;font-size:14px}#maps-cancel{width:100%;min-height:44px;color:#65715b;font-size:12px}
@media(max-width:700px){#card-dialog .detail-image{height:min(73svh,calc(90vw * 1.4));width:auto}.modal-actions button{font-size:11px;padding:0 17px}}

/* Never expose a canvas until its texture and first frame render correctly. */
#soft-heart{visibility:hidden}.heart-object.is-ready #soft-heart{visibility:visible}
.heart-fallback{inset:auto;left:50%;top:50%;width:auto;height:76%;max-width:none;transform:translate(-50%,-50%)}

/* Explore: clear sorting, the card's Wasta circle, and a living card count. */
.collection-intro{justify-content:space-between;gap:28px;margin:14px 0 28px;align-items:flex-end}
.collection-intro .collection-note{display:flex;flex-direction:column;gap:6px;margin:0;max-width:430px;font-size:13px;line-height:1.6}
.collection-note strong{font-weight:500;font-size:15px;color:var(--ink)}
.collection-note>span{color:#626b5c}
.collection-intro .text-button{flex-shrink:0}
.browse-tools{align-items:flex-end}
.browse-tools .search{align-self:center}
.sort-label{flex-direction:column;align-items:stretch;gap:7px;font-size:11px;letter-spacing:0;flex:0 0 180px;color:var(--ink)}
.sort-control{display:block;position:relative}
.sort-label select{display:block;appearance:none;-webkit-appearance:none;width:100%;max-width:none;min-height:46px;border:1px solid #78846f;border-radius:5px;background:#fcfbf6;color:var(--ink);padding:10px 32px 10px 12px;font-size:14px;font-weight:500;line-height:1.3;cursor:pointer}
.sort-control svg{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;pointer-events:none}
.sort-label select:hover{border-color:var(--ink);background:#fffef9}
.wasta-key{gap:7px;white-space:nowrap}
.wasta-key .wasta-dot{display:inline-block;width:12px;height:12px;flex:0 0 12px;border-radius:50%;background:#cd726e;border:1px solid #ad585b;box-shadow:inset 0 0 0 1px #ffffff22}
@media(max-width:700px){
 .collection-intro{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin:12px 0 18px}
 .collection-intro .collection-note{font-size:12px;max-width:100%;gap:4px;line-height:1.6}
 .collection-note strong{font-size:14px}
 .collection-intro .text-button{align-self:flex-end;font-size:10px;min-height:36px;padding:7px 0}
 .browse-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 12px;align-items:end}
 .browse-tools .search{grid-column:1/-1;min-width:0}
 .sort-label{min-width:0;gap:6px;font-size:11px}
 .sort-label select{font-size:12px;min-height:46px;padding-left:10px;padding-right:28px}
 .sort-control svg{right:10px;width:12px}
 .view-switch{align-self:end}.view-switch button{padding:6px 7px;min-height:38px}
 .results-line{font-size:10px}
}
@media(max-width:360px){.browse-tools{grid-template-columns:1fr;gap:12px}.sort-label{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px}.sort-label select{font-size:13px}.view-switch{width:100%}.view-switch button{flex:1;justify-content:center}}

/* Grouping changes the layout; the selected city, filters and sort stay put. */
.results-line #result-count{margin-right:auto}
.group-toggle{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:0 4px;color:var(--ink);font-size:12px;white-space:nowrap;cursor:pointer;user-select:none}
.group-toggle input{appearance:none;-webkit-appearance:none;position:relative;width:34px;height:20px;margin:0;flex:0 0 34px;border:1px solid #78846f;border-radius:20px;background:#d5d9ce;cursor:pointer;transition:background .18s}
.group-toggle input:before{content:'';position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:#fffef9;box-shadow:0 1px 2px #0002;transition:transform .18s}
.group-toggle input:checked{background:#344b38;border-color:#344b38}
.group-toggle input:checked:before{transform:translateX(14px)}
.group-toggle input:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.results-line .wasta-key{margin-left:12px}
@media(max-width:700px){.group-toggle{font-size:11px;gap:7px}.results-line .wasta-key{margin-left:0}}
@media(prefers-reduced-motion:reduce){.group-toggle input,.group-toggle input:before{transition:none}}
