/* Desert pavilion: semantic roles are declared per material, not color-inverted. */
:root{--dune-100:#f1dcb7;--dune-200:#e6c89b;--umber-900:#332213;--umber-700:#65462b;--night-950:#171817;--linen-100:#f7e4bd;--brass-400:#dfb168}
body{--paper:var(--dune-200);--panel:#f3dfbd;--ink:var(--umber-900);--muted:#654c34;--accent:#694321;--line:#a9886070;--focus:#234d61;--on-accent:#fff1cf;--scene-height:950px;--sand-rgb:218,176,115;position:relative;isolation:isolate;background-color:var(--paper);transition:background-color .8s ease,color .65s ease}
body:before{content:'';pointer-events:none;position:absolute;inset:780px 0 0;z-index:-3;background:repeating-linear-gradient(173deg,transparent 0 39px,#76563205 40px,transparent 42px),radial-gradient(ellipse at 80% 50%,#bd8f5720,transparent 70%)}
.scene-backdrop{position:absolute;z-index:-2;pointer-events:none;top:0;left:0;width:100%;height:var(--scene-height);overflow:hidden;mask-image:linear-gradient(#000 0 72%,transparent 100%)}
.scene-layer{position:absolute;inset:0;opacity:0;transition:opacity .85s ease,transform 1.1s cubic-bezier(.2,.7,.3,1);background-position:center top;background-size:cover;transform:translateY(0) scale(1.018)}
.scene-layer.is-active{opacity:1;transform:translateY(0) scale(1)}
.scene-day{background-image:url(assets/caravan-day-r2-1672.webp)}
.scene-night[data-ready]{background-image:url(assets/caravan-night-r2-1672.webp)}
.scene-knit[data-ready]{background-image:linear-gradient(#1711082e,#17110838),url(https://www.bulatlab.com/games/assets/journey-original-r13-1896.webp);background-position:center,center 8%;background-size:cover}
#sand-wind{position:fixed;inset:0;z-index:15;pointer-events:none;width:100%;height:100%}#sand-wind[hidden]{display:none!important}
.wrap{width:min(1320px,calc(100% - 100px))}
.site-header{position:relative;min-height:102px;border:0;align-items:center;z-index:3;color:#f5e3bf}
.site-header:before{content:'';position:absolute;z-index:-1;inset:0 auto -25px;left:calc((100% - 100vw)/2);width:100vw;background:linear-gradient(#21160cd9,#21160c83 58%,transparent);pointer-events:none}
.brand{font-size:27px;text-shadow:0 1px 2px #21160970}.brand svg{stroke:#ecd1a0}.brand small{color:#eddbbd;font-size:9px;letter-spacing:.13em}.header-contact{color:#f6e4c4;font-size:12px;gap:18px}.header-contact span{color:#e8bf7f}
.pavilion-entry{padding:0 0 36px;position:relative}
.directions{width:min(850px,100%);margin:0 auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:60px;border:0;position:relative}
.direction,.direction.is-active{padding:0 4px 13px;min-height:0;display:flex;flex-direction:column;align-items:center;gap:0;border:0!important;background:none!important;color:var(--ink);text-align:center;transition:color .65s ease;user-select:none;-webkit-user-select:none;position:relative}
.direction.is-active:after{content:none}.direction:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:90px 90px 8px 8px}.direction:hover{background:none}
.lamp-pull{position:relative;display:block;width:123px;height:287px;transform:translateY(var(--pull-distance,0));transform-origin:50% 0;flex:none;cursor:grab}
.lamp-pull:before{content:'';position:absolute;z-index:-1;top:-130px;left:calc(50% - 1px);height:135px;width:2px;background:repeating-linear-gradient(135deg,#876537 0 2px,#d1a565 2px 4px,#5a3a1e 4px 5px)}
.lamp-pull:active{cursor:grabbing}.lamp-pull img{width:100%;height:100%;display:block;pointer-events:none;filter:drop-shadow(2px 5px 3px #26160c35)}
.lamp-aura{position:absolute;z-index:-1;pointer-events:none;width:200%;height:60%;left:-50%;top:29%;background:radial-gradient(ellipse,#ffcc766b,transparent 67%);opacity:0;transition:opacity .65s ease;transform:scale(.85)}
.lamp-flame{position:absolute;pointer-events:none;left:calc(50% - 3px);top:52.7%;width:6px;height:18px;border-radius:75% 25% 55% 45%;background:linear-gradient(#fffbe6,#ffe399 55%,#d0873060);box-shadow:0 0 13px #ffd56d;opacity:.12;transform-origin:50% 90%;transition:opacity .6s ease}
.is-active .lamp-aura{opacity:1}.is-active .lamp-flame{opacity:.95}.direction:hover .lamp-aura{opacity:.7}
.lamp-label{display:block;min-height:92px;position:relative;margin-top:0;padding:0 5px;text-shadow:0 1px 7px #efd3a276}
.direction b{font:600 31px/1.1 var(--display);letter-spacing:-.02em}.direction small{font-size:11px;line-height:1.5;max-width:195px;color:var(--muted);margin:8px auto 0}.direction.is-active small{color:var(--muted)}
.lamp-state{font-size:9px;font-weight:700;letter-spacing:.09em;line-height:1.6;display:inline-block;color:var(--accent);margin-top:14px;text-transform:uppercase;border-bottom:1px solid transparent}
.direction.is-active .lamp-state{border-color:var(--accent)}
.pull-hint{display:flex;align-items:center;justify-content:center;gap:10px;text-align:center;color:var(--muted);font-size:10px;margin:7px 0 0;letter-spacing:.035em}.pull-hint>span{font-size:18px;color:var(--accent)}
.portal-intro{display:block;text-align:center;padding:30px 0 10px}.portal-intro>.eyebrow{font-size:10px;letter-spacing:.18em}.portal-intro h1{font-size:clamp(53px,5.2vw,80px);line-height:.98;margin:19px auto 16px;max-width:750px;text-shadow:0 1px 14px #e5c9973b}.intro-copy{max-width:470px;margin:auto;font-size:13px;line-height:1.75;padding:0;color:var(--muted)}
.direction-panel{position:relative;padding-top:32px;scroll-margin-top:32px}.direction-panel:before{content:'';display:block;margin:0 auto 46px;width:96px;height:12px;background:linear-gradient(45deg,transparent 45%,var(--accent) 46% 54%,transparent 55%) 50% 50%/12px 12px no-repeat,linear-gradient(var(--line),var(--line)) 0 50%/34px 1px no-repeat,linear-gradient(var(--line),var(--line)) 100% 50%/34px 1px no-repeat}
.studio-hero{padding:15px 0 54px;grid-template-columns:1.15fr 1fr;gap:85px}.studio-heading>h2{font-size:clamp(44px,4.6vw,70px);margin:20px 0 24px}.lead{font-size:16px;line-height:1.8}.eyebrow{color:var(--accent);font-size:10px}.fine{color:var(--muted);font-size:11px}
.button{border-radius:2px}.primary{background:var(--accent);color:var(--on-accent);border:1px solid #67401b}.primary:hover{background:#4a2c16}.text-link{text-decoration-color:var(--line)}
.design-study{background:linear-gradient(155deg,#f8e6c440,#b5895429);min-height:390px;overflow:hidden;border:1px solid #a887533c;border-radius:48% 48% 3px 3px}.study-caption{top:28px;left:0;width:100%;text-align:center;color:#6e502e;letter-spacing:.13em}.study-sheet{background:#edd5a9;box-shadow:5px 14px 30px #6b451727;border:1px solid #b6966752;transform:rotate(-5deg);width:62%;min-height:272px;padding:30px;gap:14px;margin-top:36px;border-radius:2px}.study-sheet strong{color:#59391e;font-size:45px}.sheet-label,.sheet-foot{color:#74512c}.sheet-line{background:#927042}.study-seal{background:#956530;color:#ffe6b8;right:28px;bottom:24px;width:69px;height:69px;font-size:32px;box-shadow:2px 4px 9px #74502427}.study-orbit{border-color:#a77d4666}.orbit-one{top:90px}.orbit-two{bottom:-140px}
.capabilities{gap:42px;border-color:var(--line)}.capabilities h3{font-size:17px}.capabilities p{font-size:13px;color:var(--muted)}
.section-lead>p:not(.eyebrow),.section-intro>p,.note,.steps span,.portfolio-terms{color:var(--muted)}
.card{background:#f4dfbc7d;border-color:#aa885558}.card:hover{background:#f5e2c0;border-color:#98713f}.card p{font-size:13px;color:#624830}.card h2{font-size:21px}.go{color:var(--accent)}.head{color:var(--muted)}
.card-knitted-games{background:linear-gradient(90deg,#1c160eed,#1c160eaa),url(https://www.bulatlab.com/games/assets/journey-original-r13-640.webp) 80% 35%/cover}.card-knitted-games:hover{background:linear-gradient(90deg,#1c160eed,#1c160e80),url(https://www.bulatlab.com/games/assets/journey-original-r13-640.webp) 80% 35%/cover}.card-knitted-games p{color:#e8dac0}
.tier{background:#f3ddba99;border-color:var(--line)}.tier ul{font-size:13px;color:#624830}.tier-for{color:var(--muted);font-size:12px}.tier-price strong{color:#523419}.portfolio-offer{background:#d8b78370;border:1px solid #aa834951}.portfolio-copy{font-size:13px;color:var(--muted)}.steps li,.closing,.site-footer{border-color:var(--line)}.steps span{font-size:13px}.site-footer{color:var(--muted);margin-top:60px}.footer-brand{color:var(--ink)}
body[data-direction=games]{--paper:#1c160f;--panel:#2b2117;--ink:#f4e4bd;--muted:#d4c4a6;--accent:#e0b26b;--line:#b59a6a55;--focus:#f5d18d;--on-accent:#2c1a0b;--sand-rgb:211,166,104}
body[data-direction=media]{--paper:#191817;--panel:#28221c;--ink:#f5e3bf;--muted:#d2c3a9;--accent:#dfb57e;--line:#bba27745;--focus:#f2d295;--on-accent:#281d13;--sand-rgb:188,143,90}
body[data-direction=games]:before{background:repeating-linear-gradient(125deg,#fff2 0 .3px,transparent 1px 13px);opacity:.08}
body[data-direction=media]:before{background:radial-gradient(ellipse at 5% 50%,#a676351c,transparent 60%)}
body:is([data-direction=games],[data-direction=media]) .lamp-label{ text-shadow:0 1px 9px #18120cd9 }
body:is([data-direction=games],[data-direction=media]) .portal-intro h1{text-shadow:0 2px 14px #17120970}
.world-hero{background:transparent;min-height:580px;border-radius:0;isolation:isolate;overflow:visible}.world-copy{width:65%;padding:36px 0 45px}.world-copy h2{font-size:clamp(47px,5vw,74px)}.world-art{width:66%;left:auto;right:-50px;object-position:65% 15%;mask-image:linear-gradient(90deg,transparent,black 35%),linear-gradient(transparent,black 15% 85%,transparent);mask-composite:intersect;opacity:.9}.world-hero:after{content:none}.world-caption{right:0;bottom:0}.warm{color:#2d1b0c;background:#dfb16b}.games-note{border-top:1px solid var(--line);padding-top:32px}.games-note p:not(.eyebrow){color:var(--muted)}
.media-hero{background:transparent;min-height:570px;grid-template-columns:1.2fr 1fr;overflow:visible;position:relative}.media-copy{padding:25px 0 40px}.media-copy h2{font-size:clamp(50px,5.1vw,78px);margin:22px 0 30px;max-width:680px}.media-copy .lead{color:var(--ink);max-width:490px}.media-copy .eyebrow{color:var(--accent)}.media-copy em{color:var(--accent)}.media-description{color:var(--muted);font-size:13px}.media-button{color:#2b2015;background:#e1bd85}.media-button:hover{background:#eed5aa}
.media-art{min-height:450px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 70% 90%,#b8783030,transparent 65%);align-items:end;justify-content:end;padding:0 15px 35px}.media-art>span{font-size:29px;color:#e4d0aa;text-align:right;max-width:260px}.night-dune{position:absolute;bottom:20px;right:-80px;width:120%;height:230px;border-radius:100% 5% 0 0;transform:rotate(-13deg);background:linear-gradient(155deg,#66432130,#3a2d2090 55%,#191817);border-top:1px solid #c795513b;z-index:-1}.dune-back{transform:rotate(-23deg);bottom:90px;right:-60px;opacity:.5;height:290px}.night-path{position:absolute;right:33%;top:35%;width:2px;height:170px;background:linear-gradient(transparent,#e5b7657a,transparent);transform:rotate(52deg);opacity:.7}.media-note{border-top:1px solid var(--line);color:var(--muted);padding-top:30px}
@media(prefers-reduced-motion:no-preference){.direction.is-pulling .lamp-pull{animation:lamp-tug .82s cubic-bezier(.2,.7,.3,1)}.is-active .lamp-flame{animation:small-flame 2.6s ease-in-out infinite alternate}.is-active .lamp-aura{animation:lamp-breath 4.2s ease-in-out infinite alternate}.is-shifting .direction-panel{animation:sand-reveal .9s cubic-bezier(.2,.7,.3,1) both}@keyframes lamp-tug{0%{transform:translateY(0) rotate(0)}22%{transform:translateY(20px) rotate(-2deg)}52%{transform:translateY(-3px) rotate(2deg)}100%{transform:translateY(0) rotate(0)}}@keyframes small-flame{0%{transform:scale(.9,1) rotate(-4deg);opacity:.75}50%{transform:scale(1.1,.9) rotate(3deg);opacity:1}100%{transform:scale(.88,1.08) rotate(-1deg);opacity:.85}}@keyframes lamp-breath{to{transform:scale(1.02);opacity:.76}}@keyframes sand-reveal{from{opacity:.35;transform:translate(14px,8px)}to{opacity:1;transform:none}}}
.lamps-asleep .lamp-flame,.lamps-asleep .lamp-aura{animation-play-state:paused!important}
/* The glow stays inside its navigation column, including a 320px screen. */
@media(max-width:760px){.lamp-aura{width:140%;left:-20%}}
/* A horizontal panel translation would overflow full-bleed artwork mid-sweep. */
@keyframes sand-reveal{from{opacity:.35;transform:translateY(8px)}to{opacity:1;transform:none}}
.lamp-pull img{opacity:.7;transition:opacity .6s ease}
.is-active .lamp-pull img,.direction:hover .lamp-pull img{opacity:1}
@media(min-width:1900px){body{--scene-height:1050px}.wrap{width:min(1450px,calc(100% - 160px))}.directions{width:950px;gap:80px}.lamp-pull{width:132px;height:308px}.portal-intro{padding-top:33px}.portal-intro h1{font-size:88px}.pavilion-entry{padding-bottom:55px}}
@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.directions{width:760px;max-width:100%;gap:30px}.studio-hero{gap:38px}.study-sheet{width:70%}.study-sheet strong{font-size:39px}.world-copy{width:70%}.media-copy{padding:25px 0 35px}.world-art{right:-32px}}
@media(max-width:760px){body{--scene-height:830px}.wrap{width:calc(100% - 36px)}.site-header{min-height:89px}.brand{font-size:23px;gap:9px}.brand small{font-size:7px;max-width:150px;letter-spacing:.09em}.brand svg{width:29px}.header-contact{font-size:10px;max-width:95px;gap:9px}.scene-day{background-image:url(assets/caravan-day-r2-960.webp);background-size:auto 760px;background-position:center top}.scene-night{background-image:url(assets/caravan-night-r2-960.webp);background-size:auto 760px;background-position:center top}.scene-knit{background-size:cover;background-position:72% 0}.scene-backdrop{mask-image:linear-gradient(#000 0 73%,transparent)}.pavilion-entry{padding-bottom:22px}.directions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 auto}.direction,.direction.is-active{padding:0 0 10px;gap:0;min-height:0}.lamp-pull{width:87px;height:203px}.lamp-pull:before{top:-90px;height:95px}.lamp-label{min-height:105px;width:100%;padding:0 1px}.direction b{font-size:22px}.direction small,.direction.is-active small{font-size:9px;line-height:1.5;max-width:122px;margin-top:8px}.lamp-state{font-size:8px;letter-spacing:0;line-height:1.4;margin-top:12px;max-width:98px}.pull-hint{font-size:9px;line-height:1.5;margin-top:0;gap:6px}.portal-intro{padding:22px 0 7px}.portal-intro>.eyebrow{font-size:8px;letter-spacing:.13em}.portal-intro h1{font-size:55px;margin:16px auto}.intro-copy{font-size:12px;max-width:300px}.direction-panel{padding-top:24px}.direction-panel:before{margin-bottom:32px}.studio-hero{grid-template-columns:1fr;padding:5px 0 34px;gap:30px}.studio-heading>h2{font-size:48px}.lead{font-size:14px}.design-study{min-height:350px;max-width:420px;width:100%;justify-self:center}.study-sheet{min-height:245px;width:60%;padding:25px;gap:10px}.study-sheet strong{font-size:39px}.study-seal{right:35px;bottom:28px;width:63px;height:63px}.capabilities{gap:25px}.capabilities p{font-size:13px}.card .inner{padding:22px 19px;gap:20px}.card p{font-size:12px}.tier ul{font-size:12px}.portfolio-copy{font-size:12px}.world-hero{min-height:620px;overflow:hidden}.world-copy{width:100%;padding:15px 0 235px}.world-copy h2{font-size:51px;margin:21px 0}.world-copy .lead{font-size:14px;max-width:420px}.world-art{width:100%;right:-22%;top:27%;height:75%;object-position:65% 30%;mask-image:linear-gradient(transparent,black 40% 75%,transparent);opacity:.55}.world-copy .fine{max-width:270px}.world-caption{font-size:8px;bottom:5px;right:0;left:0}.games-note h3{font-size:31px}.games-note p:not(.eyebrow){font-size:13px}.media-hero{display:block;min-height:0}.media-copy{padding:10px 0 20px}.media-copy h2{font-size:55px;line-height:1.04;max-width:600px}.media-copy .lead{font-size:14px}.media-description{font-size:12px}.media-art{min-height:240px;padding:0 4px 28px}.media-art>span{font-size:27px;max-width:280px}.night-dune{height:190px}.dune-back{bottom:55px;height:230px}.night-path{top:13%;right:42%;height:140px}.media-note{font-size:12px;padding-top:25px;gap:16px}.site-footer{margin-top:45px;padding:22px 0;min-height:100px}}
@media(max-width:380px){.wrap{width:calc(100% - 28px)}.brand{font-size:20px}.brand small{font-size:6px;max-width:135px}.header-contact{font-size:9px;max-width:82px}.lamp-pull{width:76px;height:177px}.direction b{font-size:20px}.direction small{font-size:8px}.lamp-label{min-height:100px}.lamp-state{font-size:7px}.portal-intro h1{font-size:47px}.portal-intro>.eyebrow{font-size:7px}.studio-heading>h2{font-size:41px}.world-copy h2{font-size:44px}.media-copy h2{font-size:47px}.study-sheet{width:68%}.card h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){.scene-layer,.direction,.lamp-pull,.lamp-aura,.lamp-flame,body{transition:none!important;animation:none!important}.lamp-pull{transform:none!important}#sand-wind{display:none!important}}
@media(max-width:760px){.scene-night{background-image:none}.scene-night[data-ready]{background-image:url(assets/caravan-night-r2-960.webp)}}
/* The knitted landscape runs behind the whole direction, without a repeated scene. */
body[data-direction=games]{--scene-height:1700px}
body[data-direction=games] .world-hero{min-height:480px}
body[data-direction=games] .world-copy{padding-bottom:55px}
@media(max-width:760px){body[data-direction=games]{--scene-height:1450px}body[data-direction=games] .world-hero{min-height:510px}body[data-direction=games] .world-copy{padding-bottom:45px}}
/* HTML fallback keeps both dark worlds legible when no script executes. */
html:not(.portal-ready) :is(#games,#media){--ink:#f4e4bd;--muted:#d4c4a6;--accent:#e0b26b;--focus:#f5d18d;--line:#b59a6a55;background:#1c160f;color:var(--ink);padding-inline:24px;margin-top:35px}
html:not(.portal-ready) .pull-hint{display:none}
.pull-hint .hint-copy{font:inherit;color:inherit}.pull-hint .hint-tap{display:none}
@media(pointer:coarse){.pull-hint .hint-pull{display:none}.pull-hint .hint-tap{display:inline}}
/* Photo-backed text: validated separately from solid theme tokens. */
body[data-direction=studio] .intro-copy{color:var(--ink)}
.brand small{color:#fff1cf}.site-header a:focus-visible{outline-color:#fff1cf}
body[data-direction=games] .lamp-label{isolation:isolate}
body[data-direction=games] .lamp-label:before{content:'';position:absolute;z-index:-1;pointer-events:none;inset:-18px -12px -10px;background:radial-gradient(ellipse,#171108ed 0 60%,#171108b8 78%,transparent 100%)}
.direction:focus-visible{outline-color:#fff1cf;box-shadow:0 0 0 4px #332213}

/* Revision 2: one continuous scene, no plaques beneath the lamps. */
body[data-direction=games] .lamp-label:before{content:none}
.lamp-label,.direction.is-active .lamp-label{background:transparent;border:0;box-shadow:none}
.direction:focus-visible{outline:none;box-shadow:none}
.direction:focus-visible:after{content:'';position:absolute;bottom:1px;left:22%;width:56%;height:3px;background:#fff1cf;box-shadow:0 2px 0 #332213}
.header-contact .contact-label{font:inherit;color:inherit}
.portal-intro{padding-top:42px}
.portal-intro .intro-copy{max-width:540px}
.intro-actions{display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:center;margin:25px auto 8px}
.portal-intro h1{max-width:950px}
body[data-direction=games] .intro-copy{color:#f1e1c0}
/* Pale linen keeps small labels legible across bright yarn and isolated stars. */
body:is([data-direction=games],[data-direction=media]) .lamp-label small,
body[data-direction=games] .lamp-state{color:#f4e4bd}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
body[data-direction=games] .scene-backdrop{position:fixed;height:100svh;mask-image:none}
.scene-knit[data-ready]{background-image:url(https://www.bulatlab.com/games/assets/journey-original-r13-1896.webp);background-position:72% top;height:var(--knit-height,100vh);background-size:cover}
body[data-direction=games] .scene-knit{transform:translate3d(0,var(--knit-shift,0px),0);transition:opacity .85s ease;will-change:transform}
body[data-direction=games] .scene-backdrop:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#100d0ac7 0%,#100d0a85 60%,#100d0a8f 100%);pointer-events:none}
.games-panel{width:100vw;margin-inline:calc((100% - 100vw)/2);padding:20px 0 0}
.games-panel:before{display:none}
bulat-games{display:block;min-height:120px}
.games-fallback{width:min(1180px,calc(100% - 48px));margin:24px auto;padding:25px 0;border-top:1px solid var(--line);font-size:13px}
.games-fallback .text-link+.text-link{margin-left:25px}
.games-fallback-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.games-fallback-list h3{font-size:24px;margin:0 0 8px}.games-fallback-list p{margin:0}
.games-fallback-list .text-link{display:inline-block;margin:0 18px 10px 0}
.games-fallback-list .text-link+.text-link{margin-left:0}
@media(max-width:640px){.games-fallback-list{grid-template-columns:1fr}}
bulat-games[data-ready=true]+.games-fallback{display:none}
body[data-direction=games]>.site-footer{display:none}
.media-hero{display:block;min-height:0}
.media-copy{max-width:750px;margin-inline:auto;text-align:center;padding:15px 0 35px}
.media-copy .lead,.media-description{margin-inline:auto}
.media-description{max-width:510px}
.media-copy h2{margin-inline:auto}
.pilgrim-trail{position:relative;width:100vw;margin:0 calc((100% - 100vw)/2) -50px;isolation:isolate}
.pilgrim-trail picture,.pilgrim-trail img{display:block;width:100%}
.pilgrim-trail img{height:clamp(520px,56vw,1100px);object-fit:cover;object-position:50% 65%;mask-image:linear-gradient(transparent 0,#000 18% 86%,transparent 100%)}
.pilgrim-trail figcaption{position:absolute;bottom:8%;width:100%;text-align:center;color:#f5e3bf;font:600 clamp(26px,3vw,48px)/1.2 var(--display);text-shadow:0 2px 6px #191817}
.service-conditions{border-top:1px solid var(--line);padding-top:15px;font-size:13px;margin-top:12px}
.service-conditions summary{cursor:pointer;min-height:44px;display:list-item;align-content:center;color:var(--ink);font-weight:700}
.tier[data-service=support] .service-conditions ul{display:block;font-size:12px}
@media(max-width:760px){.portal-intro{padding-top:25px}.portal-intro h1{font-size:clamp(42px,11vw,56px)}.intro-actions{gap:12px;margin-top:20px}.intro-actions .button{font-size:11px}.intro-copy{max-width:325px!important}.scene-knit[data-ready]{background-image:url(https://www.bulatlab.com/games/assets/journey-original-r13-948.webp)}.media-copy{text-align:left;padding:10px 0 25px}.pilgrim-trail img{height:570px;object-position:50% 68%}.pilgrim-trail{margin-bottom:-35px}.media-copy h2{font-size:46px}.games-panel{padding-top:15px}.service-conditions{font-size:12px}}
@media(prefers-reduced-motion:reduce){body[data-direction=games] .scene-knit{will-change:auto}}

/* Living desert: material images remain decorative; copy is real HTML. */
html{background:#dfbe88}
body[data-direction=studio]{--paper:#dfbe88;--muted:#4c3621;--accent:#543519;background-image:linear-gradient(#e8c997b8,#e8c997b8),url(assets/living-sand-r4.webp);background-size:auto,760px 760px}
body[data-direction=studio]:before{display:none}
body[data-direction=studio] .intro-copy{color:#332213}
body[data-direction=studio] :is(.studio-heading .lead,.pricing>.section-lead>p:not(.eyebrow),.capabilities p){color:var(--ink)}
.design-study{border:0;border-radius:0;background:none;overflow:visible;isolation:isolate;min-height:370px}
.study-orbit{display:none}
.study-caption{top:6px;color:#4c3621}
.study-sheet{position:relative;width:90%;padding:30px 20px;margin:0;min-height:0;gap:0;background:none;box-shadow:none;border:0;border-radius:0;transform:rotate(-5deg)}
.study-sheet:before{content:none}
.study-sheet strong{color:var(--accent);font-size:clamp(58px,5.8vw,86px);line-height:1.02;text-shadow:0 1px 0 #fff2dca6,0 -1px 0 #301f1540}.sheet-label,.sheet-foot{color:#5e4025}.sheet-line{background:#7e532d}
.study-seal{right:35px;bottom:18px;background:#805331;color:#fbe0b2;box-shadow:2px 5px 8px #4c2b1938}
.genie-rest{position:relative;isolation:isolate;overflow:clip;width:100vw;margin:30px calc((100% - 100vw)/2) -110px;min-height:clamp(650px,50vw,950px);padding:0;border:0;display:grid;align-items:center}
.genie-scenery{position:absolute;z-index:-1;width:min(100%,1840px);aspect-ratio:2;right:max(0px,calc((100% - 1840px)/2));bottom:0;pointer-events:none;--genie-spout-x:44.5%;--genie-spout-y:22.2%;--genie-glint-x:70.8%;--genie-glint-y:24%}
.genie-rest picture,.genie-art{display:block;width:100%;height:auto}
.genie-art{mask-image:linear-gradient(transparent,#000 20% 83%,transparent),linear-gradient(90deg,transparent,#000 5% 95%,transparent);mask-composite:intersect}
.closing-copy{position:relative;z-index:1;width:min(1320px,calc(100% - 100px));margin:auto;padding:60px 0 150px}
.closing-copy h2{font-size:clamp(48px,4.4vw,70px);max-width:38%}.closing-copy p{max-width:35%;color:var(--ink)}
.closing-copy :is(p,.text-link){color:#170f08}
body[data-direction=studio]>.site-footer{position:relative;margin-top:0;border:0}
.scene-night[data-ready]{background-image:url(assets/caravan-night-trail-r3-1672.webp)}
body[data-direction=media]{--scene-height:1110px}
body[data-direction=media] .scene-backdrop{mask-image:linear-gradient(#000 0 88%,transparent 100%)}
body[data-direction=media] .pavilion-entry{padding-bottom:200px}
body[data-direction=media] .direction-panel:before{margin-bottom:30px}
/* Let the warm dune material continue beneath real text, instead of ending
   in a flat black panel. Reuse the admitted sand texture: no extra artwork. */
body[data-direction=media]{--paper:#321f19;background-image:linear-gradient(155deg,#42271ee8,#2c1b18ec),url(assets/living-sand-r4.webp);background-size:auto,760px 760px}
body[data-direction=media]:before{inset:850px 0 0;opacity:.7;background:radial-gradient(ellipse at 92% 90%,#a352342b,transparent 68%),radial-gradient(ellipse at 0 5%,#7d442c24,transparent 70%)}
body[data-direction=media] .scene-backdrop{mask-image:linear-gradient(#000 0 77%,transparent 100%)}
body[data-direction=media] :is(.media-hero,.media-copy,.media-note,.site-footer){background:transparent}
@media(min-width:1900px){body[data-direction=media]{--scene-height:1250px}body[data-direction=media] .pavilion-entry{padding-bottom:240px}}
@media(max-width:760px){
 body[data-direction=studio]{background-size:auto,760px 760px}
 .design-study{min-height:270px}.study-sheet{width:100%;min-height:0;padding:20px 26px;margin:0}.study-sheet strong{font-size:66px}
 .genie-rest{min-height:690px;margin-top:40px;margin-bottom:-60px;align-items:start}
 .genie-scenery{width:170%;max-width:none;right:-1%;bottom:25px}
 .closing-copy{width:calc(100% - 36px);padding:20px 0 330px}.closing-copy h2{font-size:52px;max-width:100%}.closing-copy p{max-width:100%}
 .scene-night[data-ready]{background-image:url(assets/caravan-night-trail-r3-960.webp);background-size:auto 940px;background-position:center top}
 body[data-direction=media]{background-size:auto,660px 660px}
 body[data-direction=media]{--scene-height:990px}body[data-direction=media] .pavilion-entry{padding-bottom:230px}
}

/* Sand is the working surface, not a collection of floating cards.
   Text remains selectable HTML. Only large inscriptions use a shallow relief;
   body copy has solid ink and links keep their focus/underline affordance. */
body[data-direction=studio]{--sand-relief:0 1px 0 #fff2dca6;--line:#805c363f}
body[data-direction=studio] :is(h1,h2,h3,.tier-price strong){text-shadow:var(--sand-relief)}
body[data-direction=studio] :is(.card,.tier,.portfolio-offer){background:transparent;box-shadow:none;border:0;border-top:1px solid var(--line)}
body[data-direction=studio] .card:hover{background:transparent;border-color:var(--accent)}
body[data-direction=studio] .card .inner{padding:26px 0;gap:24px}
body[data-direction=studio] .card :is(h2,.go){text-decoration:underline;text-decoration-color:transparent;text-underline-offset:5px}
body[data-direction=studio] .card:hover :is(h2,.go){text-decoration-color:currentColor}
body[data-direction=studio] .card .go{color:var(--ink)}
body[data-direction=studio] :is(.card p,.tier ul,.tier-for,.portfolio-copy,.portfolio-terms,.note,.steps span,.section-lead>p:not(.eyebrow),.section-intro>p){color:var(--ink)}
body[data-direction=studio] .tier{padding:27px 6px 32px 0}
body[data-direction=studio] .portfolio-offer{padding:30px 0}
body[data-direction=studio] .primary{padding:10px 0;background:transparent;color:var(--ink);border:0;border-bottom:1px solid var(--accent);border-radius:0}
body[data-direction=studio] .primary:hover{background:transparent;color:var(--accent);transform:none}
body[data-direction=studio] .offer{column-gap:40px;row-gap:24px}
/* A direct night/games visit must not request the unused daytime photograph. */
.scene-day{background-image:none}
.scene-day[data-ready]{background-image:url(assets/caravan-day-r2-1672.webp)}
@media(max-width:1100px) and (min-width:761px){.closing-copy{width:calc(100% - 64px)}.closing-copy h2{font-size:48px}.genie-rest{min-height:620px}}
@media(min-width:1900px){.closing-copy{width:min(1450px,calc(100% - 160px))}}
@media(max-width:760px){.scene-day[data-ready]{background-image:url(assets/caravan-day-r2-960.webp)}.card .chip{width:74px}.card .inner{min-height:0}.card p{font-size:13px}.tier ul{font-size:13px}.offer{gap:22px}.study-sheet strong{font-size:clamp(57px,16vw,70px)}}
@media(max-width:380px){.closing-copy{width:calc(100% - 28px)}.closing-copy h2{font-size:46px}.genie-rest{min-height:630px}}

/* r5: weathered, rounded contours on sand; compact two-family typography. */
.skip-link{top:auto;left:50%;bottom:max(20px,env(safe-area-inset-bottom));transform:translate(-50%,calc(100% + 80px));opacity:0;pointer-events:none;border-radius:24px 28px 22px 26px;background:#f2dcba;color:#332213;box-shadow:0 5px 20px #30200e33;white-space:nowrap}
.skip-link:focus{transform:translate(-50%,calc(100% + 80px))}
.skip-link:focus-visible{transform:translateX(-50%);opacity:1;pointer-events:auto}
.header-contact svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.4;flex:none}
.header-contact .contact-label{font:inherit}
.button:not(.knit-button){border-radius:20px 26px 18px 24px}
body[data-direction=studio] .primary{padding:11px 17px;border:1px solid #916c4066;border-radius:23px 29px 21px 26px;background:#f3dbaa24;box-shadow:inset 0 1px 0 #fff1cf66,0 2px 2px #7451240d}
body[data-direction=studio] .primary:hover{background:#f3dbaa55}
body[data-direction=studio] .card{border-radius:34px 25px 29px 20px}
body[data-direction=studio] .card .inner{padding:22px 8px;gap:16px;align-items:flex-start;min-height:0}
body[data-direction=studio] .card .chip{width:92px;aspect-ratio:1;overflow:hidden;margin-top:5px;flex:none;border-radius:48% 48% 20% 20%;padding:3px;background:#af875d33;box-shadow:inset 0 1px 2px #61442330,0 1px 0 #fff0cc66}
body[data-direction=studio] .card .chip :is(svg,img){width:100%;height:100%;max-height:none;object-fit:cover;border-radius:inherit;filter:saturate(.65) sepia(.18);opacity:.92}
body[data-direction=studio] .card .inner>div:last-child{min-width:0}
body[data-direction=studio] .card h2{font-size:20px;line-height:1.24;margin:3px 0 9px;letter-spacing:-.025em}
body[data-direction=studio] .card p{font-size:14px;line-height:1.56}
body[data-direction=studio] .card .go{font-size:11px;margin-top:13px}
body[data-direction=studio] :is(.tier ul,.portfolio-copy,.portfolio-terms,.steps span){line-height:1.6}
body[data-direction=studio] .tier{border-radius:28px 22px 0 0}
.service-conditions{border-radius:18px}.service-conditions summary{border-radius:18px}
@media(max-width:760px){
 .brand small{font-size:8px;letter-spacing:.06em;max-width:170px}
 .header-contact{max-width:106px;font-size:11px;gap:7px}.header-contact svg{width:22px;height:22px}
 body[data-direction=studio]{background-size:auto,660px 660px}
 body[data-direction=studio] .card .inner{padding:19px 5px;gap:13px}
 body[data-direction=studio] .card .chip{width:67px}
 body[data-direction=studio] .card h2{font-size:18px;margin-bottom:8px}
 body[data-direction=studio] .card p{font-size:13px;line-height:1.52}
 body[data-direction=studio] .card .go{font-size:10px;margin-top:12px}
 .projects-grid{gap:10px}
 .skip-link{bottom:max(24px,env(safe-area-inset-bottom));font-size:13px}
}
@media(max-width:380px){.brand small{font-size:7px;max-width:145px}.header-contact{font-size:10px;max-width:94px}.card .inner{gap:11px!important}.card .chip{width:57px!important}.card h2{font-size:17px!important}}
