:root{--brown:#5A2810;--ink:#2B1A10;--gold:#C78851;--gold2:#E9C79F;--goldink:#A96A32;--cream:#FBF7F0;--sand:#F3EAE0;--terra:#8A3519;--line:#E8DED0}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;background:#E9E1D5;overflow:hidden;font-family:Lexend,system-ui,sans-serif;color:var(--ink)}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
/* ---- stage: a 1080 x 1920 vertical video, scaled to fit any window ---- */
#stage{position:fixed;left:50%;top:50%;width:1920px;height:1080px;transform-origin:center;overflow:hidden;
  background:radial-gradient(760px 900px at 50% 46%,#FFFDF8,transparent 72%),radial-gradient(900px 500px at 50% 100%,rgba(199,136,81,.20),transparent 70%),linear-gradient(180deg,#FBF7F0,#F3EBE0 60%,#E9E1D5)}
#stage::before{content:"";position:absolute;inset:0;opacity:.035;background:repeating-linear-gradient(45deg,#5A2810 0 2px,transparent 2px 36px),repeating-linear-gradient(-45deg,#5A2810 0 2px,transparent 2px 36px)}
.paused *{animation-play-state:paused!important}
/* ---- captions ---- */
#cap{position:absolute;left:70px;right:70px;top:110px;height:330px;text-align:center;color:var(--ink)}
.cap{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;opacity:0;transform:translateY(30px);transition:opacity .5s,transform .5s}
.cap.on{opacity:1;transform:none}
.cap small{font-size:30px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--goldink);margin-bottom:22px}
.cap h2{font-size:84px;line-height:1.08;font-weight:700;letter-spacing:-.01em}
.cap h2 em{font-style:normal;color:var(--terra)}
/* ---- phone ---- */
#phoneWrap{position:absolute;left:50%;top:500px;width:390px;height:844px;margin-left:-195px;transform:scale(1.62);transform-origin:top center;transition:opacity .6s,transform .8s cubic-bezier(.2,.8,.2,1);opacity:0;translate:0 60px}
#phoneWrap.show{opacity:1;translate:0 0}
.phone{position:absolute;inset:-14px;border-radius:62px;background:#0e0704;box-shadow:0 0 0 2px #6b4a2e,0 50px 120px rgba(0,0,0,.65)}
.screen{position:absolute;inset:0;border-radius:48px;overflow:hidden;background:var(--cream)}
.notch{position:absolute;top:10px;left:50%;width:110px;height:28px;margin-left:-55px;border-radius:20px;background:#0e0704;z-index:50}
.status{position:absolute;top:0;left:0;right:0;height:46px;z-index:40;display:flex;justify-content:space-between;align-items:center;padding:6px 30px 0;font-size:13px;font-weight:600}
/* scenes inside the phone */
.sc{position:absolute;inset:0;padding-top:48px;opacity:0;transition:opacity .45s;pointer-events:none}
.sc.on{opacity:1}
.ph{position:relative;display:block;overflow:hidden;background:linear-gradient(135deg,#E9C79F,#C78851 55%,#8A3519)}
.ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ic{width:22px;height:22px;flex:none}
.hdr{display:flex;align-items:center;justify-content:space-between;padding:8px 18px 10px}
.logo{font-weight:800;letter-spacing:.14em;color:var(--brown);font-size:19px;display:flex;align-items:center;gap:8px}
.logo i{width:24px;height:24px;border-radius:7px;background:linear-gradient(135deg,var(--gold),var(--terra));display:block}
.pill{display:flex;gap:6px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:22px;padding:9px 14px;font-size:12.5px;color:#7a6556}
.tabs{position:absolute;left:0;right:0;bottom:0;height:78px;background:#fff;border-top:1px solid var(--line);display:flex;justify-content:space-around;align-items:flex-start;padding-top:10px;z-index:30}
.tab{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10.5px;color:#9a8878;font-weight:500}
.tab.act{color:var(--brown);font-weight:700}
.sec{display:flex;justify-content:space-between;align-items:baseline;padding:16px 18px 8px}
.sec b{font-size:17px}.sec span{font-size:12px;color:var(--goldink);font-weight:600}
.price{color:var(--brown);font-weight:700}
.btn{display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(180deg,#7a3a1a,var(--brown));color:#fff;font-weight:600;border-radius:16px;height:50px;font-size:15px}
.tag{position:absolute;left:10px;top:10px;background:#fff;color:var(--terra);font-size:10.5px;font-weight:700;border-radius:8px;padding:4px 8px;z-index:2}
/* tap indicator */
.tap{position:absolute;width:54px;height:54px;margin:-27px 0 0 -27px;border-radius:50%;border:3px solid var(--gold);background:rgba(199,136,81,.30);opacity:0;z-index:90;pointer-events:none}
.on .tap,.tap.go{animation:tap .9s ease-out both;animation-delay:var(--d)}
@keyframes tap{0%{opacity:0;transform:scale(.4)}25%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.7)}}
/* entrance helpers */
.on .rise{animation:rise .7s cubic-bezier(.2,.8,.2,1) both;animation-delay:var(--d,0s)}
@keyframes rise{from{opacity:0;transform:translateY(34px)}to{opacity:1;transform:none}}
.on .pop{animation:pop .5s cubic-bezier(.3,1.6,.5,1) both;animation-delay:var(--d,0s)}
@keyframes pop{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
.on .slidein{animation:slidein .8s cubic-bezier(.2,.8,.2,1) both;animation-delay:var(--d,0s)}
@keyframes slidein{from{transform:translateY(100%)}to{transform:none}}
.on .fadein{animation:fadein .5s both;animation-delay:var(--d,0s)}
@keyframes fadein{from{opacity:0}to{opacity:1}}
.on .press{animation:press .4s both;animation-delay:var(--d)}
@keyframes press{50%{transform:scale(.94);filter:brightness(.9)}}
/* home */
.hero{margin:4px 18px 0;height:210px;border-radius:24px}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(43,26,16,.85),rgba(43,26,16,0) 70%)}
.hero div{position:absolute;left:18px;right:18px;bottom:16px;color:#fff;z-index:2}
.hero h3{font-size:21px;line-height:1.2}.hero p{font-size:12px;opacity:.9;margin-top:4px}
.hrow{display:flex;gap:12px;padding:0 18px}
.pc{width:150px;flex:none}.pc .ph{height:140px;border-radius:18px}.pc b{display:block;font-size:13px;margin-top:8px}.pc small{font-size:11.5px;color:#7a6556}
.cr{display:flex;gap:14px;padding:0 18px}.cr .a{text-align:center;font-size:11px;font-weight:600;width:76px}.cr .ph{width:68px;height:68px;border-radius:50%;margin:0 auto 6px;border:3px solid var(--gold2)}
/* explore */
.search{display:flex;gap:8px;align-items:center;margin:4px 18px 14px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px 14px;font-size:13px;color:#9a8878}
.cats{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 18px}
.cat{background:#fff;border:1px solid var(--line);border-radius:20px;padding:14px;display:flex;flex-direction:column;gap:10px;height:118px;transition:.4s}
.cat .ci{width:42px;height:42px;border-radius:13px;background:var(--sand);color:var(--terra);display:grid;place-items:center}
.cat b{font-size:14px;line-height:1.2}
.cat.hl{background:var(--brown);color:#fff;border-color:var(--brown);transform:scale(1.04);box-shadow:0 14px 24px -10px rgba(90,40,16,.6)}
.cat.hl .ci{background:rgba(255,255,255,.16);color:var(--gold2)}
/* shop */
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0 18px}
.card .ph{height:150px;border-radius:18px}.card b{display:block;font-size:13px;margin-top:8px}.card small{display:block;font-size:11.5px;color:#7a6556}
.detail{position:absolute;inset:48px 0 0;background:var(--cream);z-index:20}
.detail .ph{height:330px;border-radius:0 0 28px 28px}
.detail .in{padding:18px}.detail h3{font-size:22px;line-height:1.2}.detail p{font-size:13px;color:#7a6556;margin:6px 0 12px}
.toast{position:absolute;left:50%;bottom:104px;transform:translateX(-50%);background:var(--ink);color:#fff;border-radius:14px;padding:12px 18px;font-size:13px;z-index:60;white-space:nowrap}
/* experience */
.facts{display:flex;gap:8px;margin:10px 0 14px;flex-wrap:wrap}.facts span{background:var(--sand);border-radius:10px;padding:6px 10px;font-size:12px;font-weight:600;color:var(--brown)}
.sheet{position:absolute;left:0;right:0;bottom:0;background:#fff;border-radius:28px 28px 0 0;padding:22px 18px 28px;z-index:50;box-shadow:0 -20px 50px rgba(43,26,16,.3)}
.sheet h4{font-size:17px;margin-bottom:12px}
.dates{display:flex;gap:8px;margin-bottom:16px}.dates div{flex:1;border:1px solid var(--line);border-radius:14px;text-align:center;padding:10px 0;font-size:12px;color:#7a6556}.dates div b{display:block;font-size:19px;color:var(--ink)}
.dates .sel{background:var(--brown);border-color:var(--brown);color:#fff}.dates .sel b{color:#fff}
.done{position:absolute;inset:0;background:rgba(43,26,16,.55);z-index:70;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;gap:12px}
.done .ck{width:92px;height:92px;border-radius:50%;background:var(--gold);display:grid;place-items:center}
.done .ck svg{width:48px;height:48px;stroke:#fff;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:40;stroke-dashoffset:40}
.on .done .ck svg{animation:draw .6s .1s forwards}@keyframes draw{to{stroke-dashoffset:0}}
/* books */
.books{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;padding:0 18px}
.bk .ph{height:150px;border-radius:6px 12px 12px 6px;box-shadow:-4px 6px 14px -4px rgba(43,26,16,.45)}.bk b{display:block;font-size:11.5px;margin-top:8px;line-height:1.25}.bk small{font-size:10.5px;color:#7a6556}
.chips{display:flex;gap:8px;padding:0 18px 14px;overflow:hidden}.chips span{white-space:nowrap;background:#fff;border:1px solid var(--line);border-radius:20px;padding:8px 13px;font-size:12px;font-weight:600}.chips .c1{background:var(--brown);color:#fff;border-color:var(--brown)}
/* community */
.post{margin:4px 18px 14px;background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden}
.post .ph{height:230px}.post .pb{padding:14px}.post .who{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.av{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,var(--gold),var(--terra));color:#fff;display:grid;place-items:center;font-weight:700;font-size:14px}
.post p{font-size:13px;line-height:1.5;color:#4a372b}.post .act{display:flex;gap:18px;margin-top:12px;color:#7a6556;font-size:12.5px;align-items:center}
.heart{color:#B5342F}.on .heart{animation:beat .7s 1.6s both}@keyframes beat{40%{transform:scale(1.7)}}
/* intro / outro */
.full{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--brown);opacity:0;transition:opacity .7s;pointer-events:none;z-index:5}
.full.on{opacity:1}
.mark{width:230px;height:230px;border-radius:64px;background:linear-gradient(135deg,var(--gold),var(--terra));display:grid;place-items:center;box-shadow:0 30px 80px rgba(199,136,81,.38);margin-bottom:56px;position:relative;overflow:hidden}
.mark img{position:absolute;inset:26px;width:calc(100% - 52px);height:calc(100% - 52px);object-fit:contain}
.mark svg{width:120px;height:120px;stroke:#fff;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.word{font-size:112px;font-weight:800;letter-spacing:.16em;margin-right:-.16em}
.tagl{font-size:36px;font-weight:300;line-height:1.5;margin-top:26px;color:var(--goldink);letter-spacing:.03em}
.full .cta{margin-top:70px;background:linear-gradient(180deg,#7a3a1a,var(--brown));color:#fff;font-weight:700;font-size:40px;padding:30px 72px;border-radius:70px}
.full .url{margin-top:30px;font-size:30px;opacity:.7;color:var(--ink);letter-spacing:.06em}
.full.on .mark{animation:swing 1.4s cubic-bezier(.2,.8,.2,1) both}@keyframes swing{from{transform:scale(.4) rotate(-25deg);opacity:0}to{transform:none;opacity:1}}
.full.on .word,.full.on .tagl,.full.on .cta,.full.on .url{animation:rise .9s .5s cubic-bezier(.2,.8,.2,1) both}
.full.on .tagl{animation-delay:.8s}.full.on .cta{animation-delay:1.1s}.full.on .url{animation-delay:1.4s}
@media (prefers-reduced-motion:reduce){.on .rise,.on .pop,.on .slidein{animation-duration:.01s}}

/* ---- phone 3D motion (like the export video) ---- */
#phoneWrap{perspective:1600px}
#tilt,#swoop{position:absolute;inset:0;transform-style:preserve-3d}
#tilt{animation:floaty 7s ease-in-out infinite}
@keyframes floaty{0%,100%{transform:translateY(0) rotateY(-7deg) rotateX(3deg)}50%{transform:translateY(-16px) rotateY(7deg) rotateX(-2deg)}}
#swoop.swL{animation:swoopL 1.3s cubic-bezier(.2,.8,.2,1) both}
#swoop.swR{animation:swoopR 1.3s cubic-bezier(.2,.8,.2,1) both}
#swoop.swIn{animation:swoopIn 1.6s cubic-bezier(.2,.8,.2,1) both}
@keyframes swoopL{0%{transform:rotateY(-34deg) rotateZ(-9deg) translateZ(160px) translateX(-40px)}100%{transform:none}}
@keyframes swoopR{0%{transform:rotateY(34deg) rotateZ(8deg) translateZ(160px) translateX(40px)}100%{transform:none}}
@keyframes swoopIn{0%{transform:translateY(260px) rotateX(38deg) rotateY(-22deg) scale(.7);opacity:0}60%{opacity:1}100%{transform:none}}
.phone{background:linear-gradient(115deg,#3b2a1a,#0e0704 30%,#0e0704 70%,#4a3420);box-shadow:0 0 0 2px #8a6a44,inset 0 0 0 3px #1c120a,0 50px 110px rgba(90,40,16,.35)}
.phone::before,.phone::after{content:"";position:absolute;width:4px;border-radius:2px;background:#6b4a2e}
.phone::before{left:-4px;top:150px;height:70px}.phone::after{right:-4px;top:190px;height:100px}
.screen::after{content:"";position:absolute;inset:0;z-index:95;pointer-events:none;background:linear-gradient(120deg,rgba(255,255,255,.22),transparent 38%);border-radius:inherit}
#floor{position:absolute;left:50%;top:1880px;width:620px;height:70px;margin-left:-310px;border-radius:50%;background:radial-gradient(closest-side,rgba(90,40,16,.32),transparent);opacity:0;transition:opacity .6s;animation:shadowfl 7s ease-in-out infinite}
#floor.show{opacity:1}
@keyframes shadowfl{50%{transform:scale(.86)}}
/* ---- opening animation inside the phone (same as mobile.html) ---- */
#sc-launch{padding:0;background:#FBF7F0;display:grid;place-items:center;z-index:35}
#sc-launch .launch-in{display:grid;justify-items:center;text-align:center;margin-top:-40px}
#sc-launch .l-stage{position:relative;display:grid;place-items:center;width:170px;height:170px}
#sc-launch .l-ring{position:absolute;inset:18px;border-radius:50%;border:2px solid #C78851;opacity:0}
#sc-launch .l-swing{display:block;transform-origin:50% 8%}
#sc-launch .l-mark{height:118px;width:auto;display:block}
#sc-launch .l-word{height:36px;width:auto;margin-top:14px;display:block}
#sc-launch .l-tagline{height:16px;width:auto;margin:6px auto 0;display:block}
#sc-launch .l-tag{margin-top:16px;font-size:13px;font-weight:600;line-height:1.45;color:#8A7B6E;display:grid}
#sc-launch .l-bar{position:absolute;left:50%;bottom:64px;width:132px;height:4px;margin-left:-66px;border-radius:2px;background:#EDE3D6;overflow:hidden}
#sc-launch .l-bar span{display:block;height:100%;background:linear-gradient(90deg,#C78851,#7A2E1E);transform-origin:left}
#sc-launch .l-weave{position:absolute;left:0;right:0;height:10px;transform-origin:center;background:repeating-linear-gradient(90deg,#7A2E1E 0 14px,#C78851 14px 22px,#2A1A12 22px 26px,#C78851 26px 34px)}
#sc-launch .l-weave-top{top:0}#sc-launch .l-weave-bottom{bottom:0}
.on .l-mark{animation:l-drop .9s cubic-bezier(.3,1.45,.5,1) .15s both}
.on .l-swing{animation:l-swing 1.3s ease-in-out 1s forwards}
.on .l-ring{animation:l-ring 1.2s ease-out .8s both}
.on .l-ring-2{animation-delay:1.15s}
.on .l-word,.on .l-tagline{animation:l-wipe .8s cubic-bezier(.6,0,.2,1) .85s both}
.on .l-tagline{animation-delay:1.1s}
.on .l-tag{animation:l-up .6s ease-out 1.45s both}
.on .l-bar span{animation:l-load 2.3s cubic-bezier(.4,0,.2,1) .1s both}
.on .l-weave{animation:l-grow .9s cubic-bezier(.6,0,.2,1) 1.1s both}
@keyframes l-drop{0%{opacity:0;transform:translateY(-80px) scale(.7)}50%{opacity:1}100%{opacity:1;transform:none}}
@keyframes l-swing{0%,100%{transform:rotate(0)}25%{transform:rotate(-6deg)}55%{transform:rotate(4deg)}80%{transform:rotate(-1.5deg)}}
@keyframes l-ring{0%{opacity:.9;transform:scale(.55)}100%{opacity:0;transform:scale(1.5)}}
@keyframes l-wipe{from{clip-path:inset(0 100% 0 0);opacity:.3}to{clip-path:inset(0 0 0 0);opacity:1}}
@keyframes l-up{from{opacity:0;transform:translateY(8px)}}
@keyframes l-load{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes l-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* ---- camera angles: each screen gets its own pose + slow drift ---- */
#swoop.p0{animation:p0 5.4s cubic-bezier(.2,.8,.2,1) both}
#swoop.p1{animation:p1 5.4s cubic-bezier(.2,.8,.2,1) both}
#swoop.p2{animation:p2 5.4s cubic-bezier(.2,.8,.2,1) both}
#swoop.p3{animation:p3 5.4s cubic-bezier(.2,.8,.2,1) both}
#swoop.p4{animation:p4 5.4s cubic-bezier(.2,.8,.2,1) both}
#swoop.p5{animation:p5 5.4s cubic-bezier(.2,.8,.2,1) both}
/* close-up, tilted from the left (like the video) */
@keyframes p0{0%{transform:rotateY(-40deg) rotateZ(-12deg) translateZ(300px) translateX(-60px)}25%{transform:rotateY(-26deg) rotateZ(-9deg) translateZ(240px) translate(30px,40px)}100%{transform:rotateY(-14deg) rotateZ(-5deg) translateZ(170px) translate(10px,10px)}}
/* close-up from the right */
@keyframes p1{0%{transform:rotateY(42deg) rotateZ(10deg) translateZ(300px) translateX(60px)}25%{transform:rotateY(26deg) rotateZ(7deg) translateZ(230px) translate(-30px,30px)}100%{transform:rotateY(12deg) rotateZ(4deg) translateZ(150px)}}
/* full 360 spin then settle */
@keyframes p2{0%{transform:rotateY(-360deg) scale(.8)}30%{transform:rotateY(0) scale(1)}100%{transform:rotateY(8deg) rotateX(4deg)}}
/* top-down, lying back */
@keyframes p3{0%{transform:rotateX(55deg) rotateZ(-18deg) translateY(120px) scale(.85)}30%{transform:rotateX(30deg) rotateZ(-10deg) translateY(60px)}100%{transform:rotateX(14deg) rotateZ(-4deg)}}
/* low angle, looking up */
@keyframes p4{0%{transform:rotateX(-40deg) rotateY(20deg) translateY(-80px) scale(.9)}30%{transform:rotateX(-18deg) rotateY(12deg)}100%{transform:rotateX(-6deg) rotateY(-6deg) translateZ(80px)}}
/* flat front, slow zoom + push */
@keyframes p5{0%{transform:translateY(300px) rotateZ(14deg) scale(.6);opacity:0}25%{transform:rotateZ(-3deg) scale(1.02);opacity:1}100%{transform:rotateZ(0) scale(1.12) translateZ(60px)}}

/* ---- v3: reference-video style ---- */
/* giant words sliding behind the phone */
#bigword{position:absolute;left:0;right:0;top:860px;height:420px;overflow:hidden;pointer-events:none}
#bigword span{position:absolute;top:0;left:0;white-space:nowrap;font-size:400px;line-height:420px;font-weight:800;letter-spacing:-.02em;color:#5A2810;opacity:0;transition:opacity .5s}
#bigword span.on{opacity:.09;animation:wordslide 6s linear both}
@keyframes wordslide{from{transform:translateX(1080px)}to{transform:translateX(-60%)}}
/* back of the phone for the flip */
.phone,.screen{backface-visibility:hidden}
.back{position:absolute;inset:-14px;border-radius:62px;transform:rotateY(180deg);backface-visibility:hidden;background:linear-gradient(135deg,#5b4330,#2a1a10 45%,#3d2a1b);box-shadow:0 0 0 2px #8a6a44}
.back::before{content:"";position:absolute;left:28px;top:28px;width:150px;height:150px;border-radius:40px;background:#1c120a;box-shadow:inset 0 0 0 2px #6b4a2e}
.back::after{content:"";position:absolute;left:44px;top:44px;width:52px;height:52px;border-radius:50%;background:radial-gradient(#2c3a4a 30%,#0a0604 60%);box-shadow:66px 0 0 #0a0604,33px 62px 0 #0a0604}
.back i{position:absolute;left:50%;top:50%;width:90px;height:90px;margin:-45px;border-radius:24px;background:url(photo/locarta-mark.png) center/contain no-repeat;opacity:.85}
#swoop.flip{animation:flip 2.2s cubic-bezier(.5,0,.2,1) both}
@keyframes flip{0%{transform:translateY(500px) rotateX(50deg) rotateY(180deg) rotateZ(-30deg) scale(.7)}45%{transform:rotateY(180deg) rotateZ(-8deg) scale(1)}100%{transform:rotateY(360deg)}}
/* side phones (trio / wall) */
.side{position:absolute;top:640px;width:390px;height:844px;transform-origin:top center;opacity:0;transition:opacity .5s,transform 1s cubic-bezier(.2,.8,.2,1);pointer-events:none}
.side .phone,.side .screen{backface-visibility:visible}
.side .screen .sc{opacity:1}
.side .screen *{animation:none!important}
#sideL{left:-10px;transform:translateX(-420px) scale(1.15) rotate(-8deg)}
#sideR{right:-10px;transform:translateX(420px) scale(1.15) rotate(8deg)}
.trio #sideL{opacity:1;transform:translateX(0) scale(1.15) rotate(-6deg)}
.trio #sideR{opacity:1;transform:translateX(0) scale(1.15) rotate(6deg)}
.trio #phoneWrap{z-index:5}
#stage.trio #tilt{animation-duration:9s}

/* ---- landscape layout ---- */
#cap{left:130px;right:auto;width:720px;top:300px;height:480px;text-align:left}
.cap{align-items:flex-start;transform:translateX(-40px)}
.cap.on{transform:none}
.cap h2{font-size:88px}
#phoneWrap{left:1290px;top:120px;transform:scale(.92)}
#floor{left:1290px;top:1010px;width:520px;margin-left:-260px}
#bigword{top:300px;height:480px}
#bigword span{font-size:440px;line-height:480px}
.side{top:200px}
#sideL{left:770px;right:auto;transform:translateX(200px) scale(.82) rotate(-8deg)}
#sideR{right:30px;left:auto;transform:translateX(-200px) scale(.82) rotate(8deg)}
.trio #sideL{transform:translateX(0) scale(.82) rotate(-7deg)}
.trio #sideR{transform:translateX(0) scale(.82) rotate(7deg)}
.trio #cap{opacity:1}
.mark{width:auto;height:auto;border-radius:0;background:none;box-shadow:none;overflow:visible;margin-bottom:40px}
.mark img{position:static;width:auto;height:230px;inset:auto;filter:drop-shadow(0 24px 40px rgba(90,40,16,.25))}
.mark svg{display:none}
.wordimg{height:120px;width:auto;display:block}

/* ---- v4: reference-image positioning (text left, 3 phones fanned right) ---- */
#cap{left:120px;width:820px;top:250px;height:560px}
.cap{justify-content:center}
.cap small{font-size:22px;letter-spacing:.24em;margin-bottom:26px;display:flex;align-items:center;gap:22px}
.cap small::before{content:"";width:70px;height:2px;background:currentColor;opacity:.8}
.cap h2{font-size:96px;line-height:1.06;max-width:820px}
#phoneWrap{left:1370px;top:175px;transform:scale(.9);z-index:5}
#floor{left:1370px;top:960px;width:560px;margin-left:-280px}
.side{top:280px;z-index:3;filter:drop-shadow(0 40px 60px rgba(90,40,16,.3))}
#sideL{left:880px;right:auto;transform:translateX(160px) scale(.76) rotate(-12deg);transform-origin:top center}
#sideR{left:1500px;right:auto;transform:translateX(-160px) scale(.76) rotate(12deg);transform-origin:top center}
.trio #sideL{opacity:.95;transform:translateX(0) scale(.76) rotate(-11deg) translateY(10px)}
.trio #sideR{opacity:.95;transform:translateX(0) scale(.76) rotate(11deg) translateY(10px)}
#bigword{top:330px}
#phoneWrap{left:1360px;top:200px;transform:scale(.78)}
#sideL{left:840px}
#sideR{left:1530px}
.side{top:300px}

/* ---- embed mode (website hero): square showcase, phone always facing the viewer, brown & gold ---- */
.embed,.embed body{background:transparent}
.embed .full{display:none}
.embed #stage{width:900px;height:900px;background:none}
.embed #stage::before{display:none}
.embed #phoneWrap{left:450px;top:24px;transform:scale(.98)}
.embed #floor{left:450px;top:864px;width:430px;height:46px;margin-left:-215px}
.embed .side{top:150px;filter:drop-shadow(0 30px 40px rgba(59, 30, 18,.28))}
.embed #sideL{left:-45px;transform:translateX(90px) scale(.72) rotate(-9deg)}
.embed #sideR{left:555px;transform:translateX(-90px) scale(.72) rotate(9deg)}
.embed .trio #sideL{opacity:.96;transform:scale(.72) rotate(-8deg)}
.embed .trio #sideR{opacity:.96;transform:scale(.72) rotate(8deg)}
.embed .phone{background:linear-gradient(115deg,#4A2A14,#1E0F07 30%,#1E0F07 70%,#5C3B1B);box-shadow:0 0 0 2px #B58A47,inset 0 0 0 3px #2A1608,0 46px 80px -28px rgba(59, 30, 18,.5)}
.embed .phone::before,.embed .phone::after{background:#9A7339}
.embed .notch{background:#1E0F07}
/* gentle, always-frontal camera: no edge-on flips, no close-ups that clip */
.embed #swoop.flip,.embed #swoop.p0,.embed #swoop.p1,.embed #swoop.p2,.embed #swoop.p3,.embed #swoop.p4,.embed #swoop.p5{animation:embedIn 1s cubic-bezier(.2,.8,.2,1) both}
@keyframes embedIn{from{transform:translateY(16px) rotateY(-6deg) scale(.985)}to{transform:none}}
.embed #tilt{animation:floatE 8s ease-in-out infinite}
@keyframes floatE{0%,100%{transform:translateY(0) rotateY(-4deg) rotateX(1.5deg)}50%{transform:translateY(-12px) rotateY(4deg) rotateX(-1deg)}}
.embed #bigword{top:230px;height:420px}
.embed #bigword span{font-size:360px;line-height:420px}
.embed #bigword span.on{opacity:.07}
/* scene captions become a floating card */
.embed #cap{left:12px;right:auto;top:auto;bottom:26px;width:300px;height:108px;z-index:20}
.embed .cap{align-items:flex-start;justify-content:center;padding:16px 20px;border-radius:22px;background:rgba(255,251,243,.94);border:1px solid rgba(199, 138, 53,.65);box-shadow:0 22px 40px -22px rgba(59, 30, 18,.55),inset 0 0 0 1px rgba(255,255,255,.7);transform:translateY(14px)}
.embed .cap.on{transform:none}
.embed .cap small{font-size:14px;letter-spacing:.14em;margin-bottom:8px;gap:10px;color:#A84F2A}
.embed .cap small::before{width:22px}
.embed .cap h2{font-size:27px;line-height:1.18;max-width:none;color:#3B1E12}
.embed .cap h2 em{color:#A84F2A}
@media (prefers-reduced-motion:reduce){.embed #tilt,.embed #swoop,.embed #floor{animation:none!important}.embed #bigword{display:none}}

/* ---- Loka AI chat scene ---- */
.lk-id{display:flex;align-items:center;gap:10px}
.lk-av{display:block;width:44px;height:44px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#E8D4B3,#C78A35);box-shadow:0 0 0 2px #fff,0 0 0 4px #C78A35}
.lk-av img{width:100%;height:100%;object-fit:contain}
.lk-id b{display:block;font-size:19px;line-height:1.1}.lk-id small{font-size:11.5px;color:#7a6556}
.chat{display:flex;flex-direction:column;gap:10px;padding:8px 18px}
.bub{max-width:80%;padding:11px 14px;border-radius:18px;font-size:13.5px;line-height:1.45}
.bub.me{align-self:flex-end;background:linear-gradient(135deg,#4A2618,#2A150C);color:#FFFCF7;border-bottom-right-radius:6px}
.bub.lk{align-self:flex-start;background:#fff;border:1px solid #E3CFA6;border-bottom-left-radius:6px;color:var(--ink)}
.bub.dots{display:flex;gap:5px;padding:14px 16px;overflow:hidden}
.bub.dots i{width:7px;height:7px;border-radius:50%;background:#C78A35;animation:dotb .7s ease-in-out infinite}
.bub.dots i:nth-child(2){animation-delay:.12s}.bub.dots i:nth-child(3){animation-delay:.24s}
@keyframes dotb{50%{transform:translateY(-4px);opacity:.5}}
.on .bub.dots{animation:dotlife 1.4s var(--d) both}
@keyframes dotlife{0%{opacity:0;transform:translateY(10px)}15%,80%{opacity:1;transform:none}100%{opacity:0;max-height:0;padding-top:0;padding-bottom:0;margin:-5px 0}}
.lkcard{display:flex;gap:12px;align-self:flex-start;width:88%;padding:10px;background:#fff;border:1px solid #E3CFA6;border-radius:18px;box-shadow:0 14px 24px -16px rgba(59, 30, 18,.5)}
.lkcard .ph{flex:none;width:76px;height:76px;border-radius:14px}
.lkcard b{display:block;font-size:13px;line-height:1.25}.lkcard small{display:block;font-size:11.5px;color:#7a6556;margin:2px 0 6px}.lkcard .price{font-size:13px}
.askbar{position:absolute;left:18px;right:18px;bottom:92px;display:flex;align-items:center;justify-content:space-between;padding:7px 7px 7px 16px;background:#fff;border:1px solid #E3CFA6;border-radius:24px;font-size:13px;color:#9a8878}
.askbar span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--brown);color:#E8C987}
.side .dots{display:none}

/* ---- embed v2: fitted Lexend captions, floating promo chips, livelier phones ---- */
.embed #cap{left:14px;bottom:22px;width:360px;height:140px}
.embed .cap,.embed .cap *{font-family:Lexend,system-ui,sans-serif}
.embed .cap{padding:14px 20px}
.embed .cap small{font-size:13px;font-weight:600;margin-bottom:6px}
.embed .cap h2{font-size:25px;font-weight:700;line-height:1.2;letter-spacing:-.01em}
.embed .side{top:130px;animation:bobT 6.5s ease-in-out infinite}
.embed #sideR{animation-delay:-3s}
@keyframes bobT{50%{translate:0 -12px}}
.embed .screen::after{background:linear-gradient(115deg,transparent 36%,rgba(255,240,200,.3) 48%,transparent 60%);background-size:260% 100%;animation:sheen 5.5s ease-in-out infinite}
@keyframes sheen{0%{background-position:130% 0}55%,100%{background-position:-70% 0}}
.fl{display:none}
.embed .fl{display:flex;position:absolute;z-index:20;align-items:center;gap:14px;padding:14px 22px 14px 14px;border-radius:24px;background:rgba(255,251,243,.95);border:1px solid rgba(199, 138, 53,.7);box-shadow:0 22px 40px -22px rgba(59, 30, 18,.55);font-family:Lexend,system-ui,sans-serif;animation:bobT 5.5s ease-in-out infinite}
.fl img{width:56px;height:56px;object-fit:contain;border-radius:50%;background:linear-gradient(135deg,#E8D4B3,#C78A35)}
.fl b{display:block;font-size:22px;line-height:1.2;font-weight:700;color:#3B1E12}.fl small{font-size:15px;color:#7A5C4A}
.fl .d{flex:none;width:14px;height:14px;margin:0 6px;transform:rotate(45deg);background:linear-gradient(135deg,#E2B76A,#C78A35)}
.fl1{left:6px;top:56px}.fl2{right:6px;top:30px;animation-delay:-2s}.fl3{right:10px;bottom:76px;animation-delay:-3.5s}
@media (prefers-reduced-motion:reduce){.embed .fl,.embed .side,.embed .screen::after{animation:none}}

/* ---- map scene ---- */
.mapv{position:absolute;left:0;right:0;top:170px;bottom:78px;overflow:hidden;border-top:1px solid var(--line)}
.mapsvg{position:absolute;inset:0;width:100%;height:100%}
.on .mapsvg{animation:mapPan 5s cubic-bezier(.2,.8,.2,1) both}
@keyframes mapPan{from{transform:scale(1.18) translate(-12px,14px)}to{transform:none}}
.pin{position:absolute;width:34px;height:34px;margin:-34px 0 0 -17px;transform-origin:50% 100%}
.pin svg{width:34px;height:34px;fill:#C78A35;stroke:#3B1E12;stroke-width:1.6;filter:drop-shadow(0 6px 6px rgba(59, 30, 18,.35))}
.pin.sel::after{content:"";position:absolute;left:50%;bottom:-6px;width:26px;height:10px;margin-left:-13px;border-radius:50%;border:2px solid #C78A35;opacity:0}
.on .pin.sel::after{animation:pinring 1.2s ease-out 2.3s 2 both}
@keyframes pinring{0%{opacity:.9;transform:scale(.5)}100%{opacity:0;transform:scale(3)}}
.on .pin.sel svg{animation:pinsel .5s 2.3s both;transform-origin:50% 100%}
@keyframes pinsel{to{fill:#3B1E12;stroke:#E8C987;transform:scale(1.3)}}
.mapcard{position:absolute;left:12px;right:12px;bottom:90px;z-index:50;display:flex;gap:12px;padding:10px;background:#fff;border:1px solid #E3CFA6;border-radius:20px;box-shadow:0 -10px 30px rgba(43,26,16,.2)}
.mapcard .ph{flex:none;width:84px;height:84px;border-radius:14px}
.mapcard b{display:block;font-size:14px;line-height:1.25}.mapcard small{display:block;font-size:11.5px;color:#7a6556;margin:2px 0 8px}
.mapbtn{display:inline-block;padding:7px 14px;border-radius:999px;background:linear-gradient(135deg,#4A2618,#2A150C);color:#FFFCF7;font-size:12px;font-weight:600}