/* A separate sunset edition. Interface captures retain their original color. */
:root{--bg:#1a101f;--panel:#2b1830;--fg:#fff3e8;--muted:#e9c6cf;--line:#70445f;--ice:#ffc28e;--lav:#eb86a8;--rose:#ff9db7;--ink:#281429}
body{background:var(--bg)}header{background:#24132a;border-color:#54344e}nav{min-height:68px}.brand img{border-radius:7px}.navlinks a,.brand span{letter-spacing:.08em}.navlinks a:hover,footer a:hover{color:var(--rose)}
h1 em{background-image:linear-gradient(110deg,#ffe0a0,#ffa295 54%,#ffa1cb);color:var(--ice)}.eyebrow{color:#ffc0bd;letter-spacing:.14em}.eyebrow i{background:#ffad98;box-shadow:0 0 14px #ed789a}.button{border-radius:3px;border-color:#a56b81;background:#351f39;color:var(--fg)}.button:hover{background:#502741;border-color:#ffc28e}.button.primary{color:#251127;border-color:#ffc28e;background:linear-gradient(110deg,#ffd398,#ffa3b4)}.button.primary:hover{background:#ffe2bc}.skip{background:#341938}
.studio-hero{background:radial-gradient(ellipse at 78% 12%,#522541 0,transparent 63%),linear-gradient(165deg,#251329,#241428);border-color:#77465f}.studio-stage{grid-template-columns:.94fr 1.06fr;gap:clamp(22px,5vw,70px);padding-block:clamp(32px,6vw,88px)}.studio-copy h1{font-size:clamp(2.25rem,4.65vw,4.75rem);line-height:1.25;letter-spacing:.035em}.studio-copy .intro{color:#f4cfd7}
.sunset-poster{position:relative;margin:0;line-height:0;padding:5px;border:1px solid #ad7482;box-shadow:0 18px 60px #16091899;isolation:isolate}.sunset-poster svg{width:100%;height:auto;display:block}.poster-cloud{animation:miami-breeze 14s ease-in-out infinite alternate}.poster-sun{animation:miami-glow 6s ease-in-out infinite alternate}@keyframes miami-breeze{to{transform:translateX(18px)}}@keyframes miami-glow{to{opacity:.83}}
.sectionhead h2::after{width:68px;background:linear-gradient(90deg,#ffc289,#eb86a8,transparent)}.studio-card{position:relative;gap:20px;background:linear-gradient(147deg,#3b233c,#231528 78%);border-radius:3px;border-color:#80506a;overflow:hidden}.studio-card::before{content:"";position:absolute;inset:5px;border:1px solid #b572853d;pointer-events:none}.studio-card.lens-card{background:linear-gradient(147deg,#43283a,#25172a 78%)}.studio-card.fold-card h3{font-family:Georgia,serif;letter-spacing:-.045em}.studio-card .card-pitch{color:#fff3e8}.card-meta{color:#ffb6bc}.tail{border-color:var(--line)}
.hero{background:radial-gradient(ellipse at 79% 42%,#59304a,transparent 65%),#221428;border-color:#76445e}.scene,.product-shot{border-color:#996479;background:linear-gradient(145deg,#46233f,#281a30 75%)}.device-shot img,.handoff-card img,.product-shot img{border-color:#a87385}.grid{background-image:linear-gradient(#f68ea82a 1px,transparent 1px),linear-gradient(90deg,#f68ea82a 1px,transparent 1px)}.orb{background:radial-gradient(circle,#f688a23b,transparent 68%)}.scan{background:linear-gradient(90deg,transparent,#ffb29e,transparent);box-shadow:0 0 24px #f89aae}.scene-label,.scene-bottom,.product-shot figcaption{color:#f6c5ce}.real-hero .track,.track{background:#55304d}.track span{background:linear-gradient(90deg,#ff9db7,#ffd59b)}.handoff-controls button[aria-pressed=true]{color:#251127}.features article,.supportcards article,.handoff-card:not([hidden]){border-radius:5px}.prose aside{background:#382239;color:var(--fg)}
@media(max-width:720px){.studio-stage{grid-template-columns:1fr;gap:26px;padding-block:36px 27px}.studio-copy h1{font-size:clamp(2.26rem,8.5vw,3.52rem)}.sunset-poster{width:min(100%,520px);justify-self:center}}

/* Afterglow v2: a full-bleed scene, not a framed poster. */
.home{--display:"Arial Black","PingFang SC","Microsoft YaHei",system-ui,sans-serif;--bg:#130d1e;--fg:#fff7f1;--muted:#edcbd6}
.home header{background:#170f22;border-color:#eed5f022;position:relative;z-index:2}
.feature-frame{min-height:clamp(540px, calc(100svh - 68px), 850px);position:relative;isolation:isolate;display:grid;align-items:center;overflow:hidden;background:#281938;border-bottom:1px solid #f890a07a}
.feature-image,.feature-image img,.feature-frame::after{position:absolute;inset:0;width:100%;height:100%;z-index:-2}
.feature-image img{object-fit:cover;object-position:60% 49%;transform:scale(1.015);animation:slow-dolly 17s cubic-bezier(.3,.15,.5,.9) forwards}
.feature-frame::after{content:"";z-index:-1;background:linear-gradient(90deg,#190d2bea 0%,#211331ce 26%,#25133345 50%,transparent 76%),linear-gradient(0deg,#140a21d4 0%,transparent 31%);pointer-events:none}
.feature-inner{padding-block:60px 78px}
.edition-code{margin-bottom:24px;font:700 .8rem/1.4 ui-monospace,monospace;letter-spacing:.17em;color:#ffe0d6}
.edition-code i{display:inline-block;width:20px;height:3px;margin-right:6px;vertical-align:middle;background:#ff94ac}
.feature-copy h1{margin:0 0 28px;line-height:.94;font-weight:1000;letter-spacing:-.06em;font-size:clamp(4.1rem,9.03vw,9.1rem);color:#fff5e7;text-shadow:0 5px 18px #2512288a}
.feature-copy h1 small{display:block;font-size:.238em;line-height:1.12;letter-spacing:.2em;margin:.72em 0 0 .14em;font-weight:850;color:#ffd0be}
.feature-sub{color:#fff2e9;font-size:clamp(1.14rem,1.85vw,1.65rem);font-weight:720;line-height:1.48;letter-spacing:.025em;margin-bottom:24px;text-shadow:0 1px 7px #251228}
.feature-copy .button{border:0;min-height:50px;padding-inline:23px;border-radius:2px;font-weight:850;background:#ffd0ac}
.feature-copy .button:hover{background:#ffe4c9}
.feature-caption{position:absolute;bottom:17px;left:50%;transform:translateX(-50%);display:flex;justify-content:space-between;color:#ffdbd0;font:700 .72rem/1.4 ui-monospace,monospace;letter-spacing:.16em;gap:10px;padding-top:10px;border-top:1px solid #ffe5da4a;pointer-events:none}
.home .studio-card h3{font-family:var(--display);font-weight:900;letter-spacing:-.045em}.home .studio-card{border-top:3px solid #f2a387}.home .lens-card{border-top-color:#ee86a6}.home .studio-card::before{display:none}.home .studio-card .card-meta{font-weight:700}
@keyframes slow-dolly{from{transform:scale(1.015)}to{transform:scale(1.07)}}
@media(max-width:680px){.feature-frame{min-height:max(600px,calc(100svh - 61px));align-items:end}.feature-image img{object-position:50% 33%}.feature-frame::after{background:linear-gradient(0deg,#190b27 1%,#241434f5 19%,#2d194dc4 34%,#200d3113 63%,transparent 83%)}.feature-inner{padding-block:320px 70px}.feature-copy h1{font-size:clamp(3.4rem,15vw,5.5rem);margin-bottom:16px}.feature-copy h1 small{margin-top:.68em}.feature-sub{font-size:1.1rem;line-height:1.45;margin-bottom:15px}.feature-sub br{display:none}.edition-code{font-size:.72rem;margin-bottom:13px}.feature-caption{font-size:.66rem}}

/* South Beach, shared by the homepage, both apps and all support pages. */
body{background:#1d102a;isolation:isolate}
.coast-backdrop{position:fixed;inset:0;z-index:-1;display:block;overflow:hidden;pointer-events:none;background:#271a37}
.coast-backdrop img{display:block;width:100%;height:100%;object-fit:cover;object-position:56% 53%}
.coast-backdrop::after{content:"";position:absolute;inset:0;background:linear-gradient(95deg,#160b2bea 0%,#231531dc 28%,#25153376 59%,#3b214344 100%),linear-gradient(0deg,#190d26b8,transparent 54%)}
.home .coast-backdrop img{transform:scale(1.01);animation:coast-dolly 16s ease-out both}
.home .coast-backdrop::after{background:linear-gradient(90deg,#1b0d2ddd 0%,#250e32bd 27%,#28143638 54%,transparent 81%),linear-gradient(0deg,#21112b91 0%,transparent 38%)}
@keyframes coast-dolly{from{transform:scale(1.01)}to{transform:scale(1.045)}}
.feature-frame{background:transparent;isolation:auto}
.feature-frame::after{display:none}
.home .feature-caption{color:#fff0e4}
.home main>.apps{width:100%;max-width:none;padding-inline:max(28px,calc((100vw - 1160px)/2));background:linear-gradient(180deg,#1c1028dc 0%,#251431bb 55%,#201128ce 100%);border-bottom:1px solid #fbc3b34a}
.home main>.tail{margin-top:24px;padding-inline:26px;background:#23152deb;border:1px solid #bf799a66;padding-bottom:30px;margin-bottom:26px}
.home .studio-card{background:linear-gradient(150deg,#542f46ee,#23152cf2 75%)}.home .lens-card{background:linear-gradient(150deg,#5c3548ef,#25152cf2 75%)}
body:not(.home) .hero{background:linear-gradient(90deg,#22142be6,#351d3ebf 76%,#422743aa);border-color:#b0788b70}
body:not(.home) .prose{padding-inline:clamp(18px,4vw,42px);margin-block:32px;background:#23142de8;border:1px solid #b0788b66;border-radius:8px}
body:not(.home) .handoff>.sectionhead{padding:20px 20px 5px;background:#281832e8;border:1px solid #aa71886b;border-radius:5px}
.features article,.supportcards article,.handoff-card:not([hidden]){background:#2a1b34ef}
body>footer.wrap{margin-bottom:20px;padding-inline:16px;background:#21152be8;border:1px solid #99697972}
@media(max-width:680px){.coast-backdrop img{object-position:50% 46%}.home .coast-backdrop::after{background:linear-gradient(0deg,#1a0d28 0%,#241232f0 16%,#30183f89 38%,transparent 66%)}.feature-frame{min-height:calc(100svh - 61px)}.feature-inner{padding-block:max(285px,43svh) 73px}.home main>.apps{padding-inline:16px}.home main>.tail{padding:20px}}

/* Iron Tide. Keep the scene fixed; animate only surface effects, not content. */
.home .coast-backdrop img{animation:none;transform:none}
.coast-backdrop img,.coast-effect{position:absolute;inset:0;width:100%;height:100%}
.coast-effect{display:block;pointer-events:none}
.coast-toggle{appearance:none;min-height:38px;padding:4px 8px;border:1px solid #af786f7d;background:#25172d;color:#ffe2d5;border-radius:3px;font-family:inherit;font-size:.8rem;font-weight:650;line-height:1.3;cursor:pointer;white-space:nowrap}
.coast-toggle:hover{background:#4b293d}.coast-toggle:focus-visible{outline:2px solid var(--ice);outline-offset:3px}
@media(max-width:680px){.coast-backdrop img{object-position:76% 44%}.navlinks{gap:10px}.feature-inner{padding-top:max(265px,40svh)}}
@media(prefers-reduced-motion:reduce){.coast-effect{display:none}}
@media(min-width:681px){.coast-backdrop{inset:46px 0 0}.coast-backdrop img{object-position:87% 42%}}

/* Two figures, one task. A deliberately small and reproducible studio mark. */
.brand-story{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:clamp(18px,4vw,45px);margin-block:24px;padding:clamp(20px,4vw,38px);background:linear-gradient(107deg,#321d37ed,#24152ce8);border:1px solid #af789782;border-radius:4px}
.relay-art{display:grid;place-items:center;width:clamp(80px,14vw,145px);aspect-ratio:1;border:1px solid #a1707791;border-radius:8px;background:#261833}
.relay-art img{width:83%;height:auto}
.relay-copy h2{margin-bottom:8px}.relay-copy p:last-child{color:var(--muted);margin-bottom:0;max-width:38rem}
.relay-copy .eyebrow{margin-bottom:8px}
@media(max-width:520px){.brand-story{grid-template-columns:1fr}.relay-art{width:82px}.relay-copy h2{font-size:1.42rem}}

@media(max-width:680px){.coast-backdrop img{object-position:64% 44%}}

@media(max-width:680px){.coast-backdrop img{object-position:76% 44%}}

/* One composited layer keeps scenery and surface effects aligned during the slow push. */
.coast-scene{position:absolute;inset:0;transform-origin:65% 54%}
.coast-backdrop[data-motion=playing] .coast-scene{will-change:transform}
@media(max-width:680px){.coast-scene{transform-origin:55% 47%}}
@media(prefers-reduced-motion:reduce){.coast-backdrop[data-motion=playing] .coast-effect{display:block}}

.map-scan{position:absolute;overflow:hidden;isolation:isolate;display:none;pointer-events:none;clip-path:polygon(0 0,100% 0,96% 30%,67% 59%,52% 82%,44% 100%,24% 100%,36% 71%,16% 54%,0 32%);mix-blend-mode:screen}
.coast-backdrop[data-motion=playing] .map-scan{display:block}
.map-scan i{position:absolute;left:0;right:0;height:32%;min-height:11px;transform:translateY(-100%);background:linear-gradient(0deg,#fff1bf 0 7%,#ffd187a8 9%,#ffd18734 50%,#ffd18700 100%);box-shadow:0 3px 8px -2px #fff0a9}

/* Match the viewport without widening the site's text columns. */
body.home .feature-frame{min-height:calc(100svh - 61px);border-bottom:0}
@media(min-width:681px){body.home .feature-frame{min-height:calc(100svh - 46px)}}
.game-embed{margin-block:clamp(32px,5vw,60px);scroll-margin-top:4rem}
.game-embed .sectionhead{padding-block-end:12px}
.game-dock{display:flex;flex-direction:column;width:100%;height:max(500px,100svh);background:#100d19}
.game-tools{display:flex;justify-content:flex-end;align-items:center;min-height:42px;padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right));background:#191223;flex:none}
.game-tools button{min-height:34px;padding:2px 12px;color:#ffe4df;background:#392340;border:0;border-radius:6px;cursor:pointer;font:inherit}
.game-tools button:focus-visible,.game-screen:focus-visible{outline:2px solid #f8c99d;outline-offset:-2px}
.game-screen{display:block;width:100%;height:0;min-height:0;flex:1 1 auto;border:0;border-radius:0;background:#100d19}
.game-dock:fullscreen,.game-dock.game-expanded{width:100%;height:100dvh;max-height:none}
.game-dock.game-expanded{position:fixed;inset:0;z-index:2147483647}
html.game-expanded-open{overflow:hidden}

.lala-intro{margin-block:clamp(30px,5vw,65px);scroll-margin-top:5rem}
.lala-intro-card{background:linear-gradient(110deg,#25152df7,#462644ee);min-height:0;padding:clamp(20px,4vw,40px)}
.lala-intro-card h2{font-size:clamp(2rem,5.2vw,3.7rem);margin:.35rem 0;color:#fff2df}
.lala-intro-card .button{align-self:start;justify-self:start}
.game-page{margin:0;background:#100d19;overflow:hidden;color-scheme:dark}
.game-page .game-dock{height:100vh;height:100dvh;min-height:0}
.game-page .game-tools{gap:12px;justify-content:space-between}
.game-page .game-back{color:#f2d9d1;text-decoration:none;line-height:1.2;padding-block:10px}
.game-page .game-back:focus-visible{outline:2px solid #f8c99d}

.lala-showcase{overflow:hidden;border-radius:18px;color:#fff2e7;background:#21162cf5;border:1px solid #bd87a868;box-shadow:0 16px 48px #10071955}
.lala-cover{position:relative;isolation:isolate}
.lala-cover img{display:block;width:100%;height:auto}
.lala-cover-title{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;text-align:center;text-shadow:0 2px 14px #100b20,0 2px 40px #100b20}
.lala-cover-title p{margin:0;color:#ffe1ad;font-size:clamp(.69rem,1.4vw,1rem);letter-spacing:.2em}
.lala-cover-title h2{font-size:clamp(1.9rem,6vw,5.4rem);line-height:1;margin:.22em 0 0;color:#fff0e0;letter-spacing:-.045em}
.lala-story{padding:0 clamp(17px,4vw,44px) clamp(22px,4vw,38px)}
.lala-credit{margin:10px 0 16px;color:#d9baaf;font-size:.82rem;text-align:right}
.lala-lead{font-size:clamp(1.3rem,3vw,2.2rem);line-height:1.3;font-weight:760;margin:0 0 10px}
.lala-desc{max-width:44rem;margin:0;color:#ead1dc;line-height:1.7}
.lala-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}
.lala-features div{padding:13px;border-top:1px solid #e7999da0;background:#ffffff09}
.lala-features dt{color:#ffe4b8;font-weight:750}
.lala-features dd{margin:6px 0 0;color:#ead1dc;font-size:.93rem;line-height:1.6}
.lala-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px 15px}
.lala-actions span{font-size:.86rem;color:#d9baaf}
@media(max-width:620px){
  .lala-showcase{border-radius:12px}
  .lala-features{grid-template-columns:1fr;gap:8px;margin:17px 0}
  .lala-features div{padding-block:9px}
}
