/* v3: black, big, calm. Movement follows your scrolling. */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:#000;color:#f5f5f7;font:17px/1.5 "Plus Jakarta Sans",-apple-system,system-ui,"Segoe UI",sans-serif;overflow-x:clip;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}a:focus-visible{outline:2px solid #0a84ff;outline-offset:3px}
header{position:fixed;inset:0 0 auto;z-index:20;height:54px;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:0 5vw;background:rgba(0,0,0,.72);backdrop-filter:saturate(180%) blur(18px);border-bottom:1px solid rgba(255,255,255,.09)}
.brand{display:flex;gap:10px;align-items:center;font-weight:800;line-height:1}.brand img{width:26px;height:26px}.brand small{display:block;font-size:8px;letter-spacing:.5em;color:#86868b;margin-top:3px}
nav{display:flex;gap:26px;font-size:13px;color:#c7c7cc;overflow-x:auto}nav a:hover{color:#fff}
h1,h2,h3{letter-spacing:-.035em;line-height:1.06;font-weight:800}
h1{font-size:clamp(38px,7vw,100px)}h2{font-size:clamp(40px,7.4vw,108px)}h3{font-size:clamp(30px,4.6vw,64px)}
.sub{color:#86868b;font-size:clamp(18px,2vw,27px);font-weight:600;margin-top:18px;max-width:26em}
.eyebrow{color:var(--p,#f5f5f7);font-weight:700;font-size:clamp(14px,1.4vw,19px);margin-bottom:12px}
/* a scene is taller than the screen; its contents hold still while you scroll through it */
.scene{height:var(--len);position:relative}
.stick{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:60px 5vw 20px}

/* nine stones start scattered and come together into the logo as you scroll */
.squares{--size:clamp(46px,6.4vw,88px);position:absolute;left:50%;top:50%;width:0;height:0}
.squares i{position:absolute;width:var(--size);height:var(--size);margin:calc(var(--size) / -2);border-radius:22%;background:rgba(228,221,210,var(--a));
 transform:translate(calc(var(--gx) * (var(--size) + 12px) * var(--t,0) + var(--sx) * 1vw * (1 - var(--t,0))),calc(var(--gy) * (var(--size) + 12px) * var(--t,0) + var(--sy) * 1vh * (1 - var(--t,0)))) rotate(calc(var(--r) * (1 - var(--t,0))));
 animation:arrive 1.4s var(--d) cubic-bezier(.16,1,.3,1) both}
@keyframes arrive{from{opacity:0;scale:.4}}
.together{position:absolute;left:0;right:0;top:calc(50% + clamp(46px,6.4vw,88px) * 1.5 + 48px);font-size:clamp(24px,3.4vw,46px);font-weight:800;letter-spacing:-.03em;opacity:var(--in,0);transform:translateY(calc((1 - var(--in,0)) * 24px))}
.still .squares{position:static;width:auto;height:calc(clamp(46px,6.4vw,88px) * 3 + 60px);align-self:stretch}.still .squares i{left:50%;top:50%;--t:1}.still .squares{position:relative}
.still .together{position:static;opacity:1;transform:none;margin-top:20px}
.herotext{position:relative;opacity:var(--h,1);transform:translateY(calc((1 - var(--h,1)) * -50px));animation:soft 1.2s .5s cubic-bezier(.16,1,.3,1) both}
.herotext .sub{margin-inline:auto}
@keyframes soft{from{opacity:0;translate:0 34px}}

.words{font-size:clamp(30px,4.8vw,68px);font-weight:800;line-height:1.22;letter-spacing:-.03em;max-width:19em}
.words span{opacity:.16;transition:opacity .2s}.words span.lit{opacity:1}

.title{position:relative;z-index:2;margin-bottom:6vh;opacity:var(--head,1);transform:translateY(calc((1 - var(--head,1)) * -40px))}
.stage{position:absolute;left:50%;top:50%;width:min(1080px,88vw,calc(72vh * var(--ar,1.6)));aspect-ratio:var(--ar,1.6);translate:-50% -50%;perspective:1400px}
.device{width:100%;height:100%;position:relative;border-radius:22px;border:10px solid #1c1c1e;background:#000;box-shadow:0 0 0 1px #3a3a3c,0 50px 120px color-mix(in srgb,var(--p,#7c3aed) 24%,transparent);overflow:hidden;
 transform:translateY(var(--y,62vh)) rotateX(var(--rx,42deg)) scale(var(--s,.82));transform-origin:50% 100%}
.device img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top;opacity:0;transition:opacity .6s}.device img.on{opacity:1}
.captions{opacity:var(--cap,0);position:absolute;bottom:3.5vh;inset-inline:5vw;display:grid;font-size:clamp(17px,1.9vw,25px);font-weight:700}
.captions p{grid-area:1/1;opacity:0;transform:translateY(16px);transition:.45s}.captions p.on{opacity:1;transform:none}

.trio h3{opacity:var(--o,1)}
.three{display:flex;align-items:center;justify-content:center;gap:2.4vw;margin-top:6vh;width:100%}
.three img{border:7px solid #1c1c1e;box-shadow:0 0 0 1px #3a3a3c;background:#000}
.three .mid{width:min(700px,50vw);border-radius:18px;transform:scale(calc(1.55 - var(--e,1) * .55))}
.three .side{height:min(52vh,31vw);border-radius:30px;opacity:var(--e,1)}
.three .l{transform:translateX(calc((1 - var(--e,1)) * -40vw)) rotate(calc((1 - var(--e,1)) * -12deg))}
.three .r{transform:translateX(calc((1 - var(--e,1)) * 40vw)) rotate(calc((1 - var(--e,1)) * 12deg))}

.product{min-height:80vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:16vh 5vw 8vh;border-top:1px solid #161617;background:radial-gradient(60% 40% at 50% 100%,color-mix(in srgb,var(--p) 14%,transparent),transparent)}
.icon{width:76px;height:76px;border-radius:19px;margin-bottom:22px}
.product .sub{margin-inline:auto}
figure{width:min(1080px,100%);margin-top:7vh;transform:scale(calc(.78 + var(--g,1) * .22));opacity:calc(.25 + var(--g,1) * .75)}
figure img{display:block;width:100%;border-radius:20px;border:9px solid #1c1c1e;box-shadow:0 0 0 1px #3a3a3c}
figure.tall{width:min(360px,80%)}figure.tall img{border-radius:34px}
figcaption{margin-top:16px;color:#86868b;font-size:13px}
.js .rise{opacity:0;transform:translateY(46px);transition:opacity 1s cubic-bezier(.16,1,.3,1),transform 1s cubic-bezier(.16,1,.3,1)}.js .rise.in{opacity:1;transform:none}
.js .rise:nth-of-type(2){transition-delay:.08s}.js h2.rise{transition-delay:.14s}.js .sub.rise{transition-delay:.24s}
.contact{min-height:80vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:10vh 5vw;border-top:1px solid #161617}
footer{text-align:center;color:#6e6e73;font-size:12px;padding:30px;border-top:1px solid #161617}
@media(max-width:720px){header{height:auto;flex-direction:column;gap:6px;padding:8px 4vw}nav{gap:16px;max-width:100%}.three{flex-wrap:wrap}.three .mid{width:90vw;order:-1}.three .side{height:34vh}.stage{width:94vw}.wide .stage{width:100vw}.wide .device{border-width:4px;border-radius:10px}.more ul,.more ol{grid-template-columns:1fr!important}.flow ol li:not(:last-child)::after{display:none}}
/* without movement the page is simply laid out top to bottom */
.still .captions{opacity:1}.still .scene{height:auto}.still .stick{position:static;height:auto;overflow:visible;padding:110px 5vw 60px}
.still .stage{position:static;translate:none;margin-top:40px}.still .device{transform:none}.still .captions{position:static;margin-top:20px}
.still .words span{opacity:1}.still *{animation:none!important;transition:none!important}

/* a wide LED wall */
.wide .stage{width:min(1280px,94vw)}.wide .device{border-radius:12px;border-width:8px}
/* what each app can do */
.more{display:flex;flex-direction:column;align-items:center;text-align:center;padding:14vh 5vw}
.more ul,.more ol{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;width:min(1080px,100%);margin-top:6vh;text-align:left}
.more li{background:#101012;border-radius:24px;padding:30px;position:relative}
.more li b{display:block;font-size:22px;letter-spacing:-.02em;color:var(--p);margin-bottom:8px}.more li span{color:#a1a1a6}
.flow ol li:not(:last-child)::after{content:"→";position:absolute;right:-17px;top:50%;translate:0 -50%;z-index:2;color:var(--p);font-size:22px;font-weight:800}
.still .showcase .device{aspect-ratio:auto;height:auto;border:0;box-shadow:none;background:none;overflow:visible}
.still .showcase .device img{position:static;opacity:1;height:auto;margin-bottom:18px;border-radius:14px}
.still .showcase .stage{aspect-ratio:auto;width:min(1080px,100%)}.still .showcase .captions p{grid-area:auto;opacity:1;transform:none}

/* each product moves in its own way. Grid tilts up (above). */
/* Pixel: the wall switches on from the middle, and each new design wipes across */
.js .fx-wall .device{transform:none;clip-path:inset(0 calc((1 - var(--up,0)) * 50%));filter:brightness(calc(.2 + var(--up,0) * .8))}
.js .fx-wall .device img{opacity:1;clip-path:inset(0 100% 0 0);transition:clip-path .9s cubic-bezier(.7,0,.2,1)}
.js .fx-wall .device img.on,.js .fx-wall .device img.past{clip-path:inset(0 0 0 0)}
/* Broadcast: the camera pulls back to the desk, and views cut across on a slant, with an on-air light */
.js .fx-zoom .device{transform:scale(calc(2.4 - var(--up,0) * 1.44));transform-origin:50% 50%;opacity:var(--up,0);border-color:#e5242e;box-shadow:0 0 0 1px #ff5a63,0 0 90px rgba(229,36,46,.45)}
.js .fx-zoom .device img{opacity:1;clip-path:polygon(115% 0,115% 0,100% 100%,100% 100%);transition:clip-path .55s ease-in-out}
.js .fx-zoom .device img.on,.js .fx-zoom .device img.past{clip-path:polygon(-15% 0,115% 0,100% 100%,-30% 100%)}
/* Connect: screens are dealt on to a pile like cards */
.js .fx-deck .device{transform:none;overflow:visible;border:0;background:none;box-shadow:none}
.js .fx-deck .device img{opacity:1;border-radius:18px;border:8px solid #1c1c1e;box-shadow:0 -10px 50px rgba(0,0,0,.55);transform:translateY(105vh) rotate(7deg);transition:transform .8s cubic-bezier(.2,.9,.25,1),filter .6s}
.js .fx-deck .device img.on{transform:none}
.js .fx-deck .device img.past{transform:translateY(-3%) scale(.93) rotate(-3deg);filter:brightness(.45)}
/* Kids: bouncy */
.js .fx-bounce .device{transform:translateY(100vh) rotate(-14deg) scale(.5);transition:transform .9s cubic-bezier(.34,1.5,.5,1);box-shadow:0 0 0 4px #4ade80,0 0 0 10px #facc15,0 0 0 16px #f472b6;border-color:#fff}
.js .fx-bounce.arrived .device{transform:scale(.94)}
.js .fx-bounce .device img{transform:scale(.3) rotate(-12deg);transition:transform .65s cubic-bezier(.34,1.6,.5,1),opacity .25s}
.js .fx-bounce .device img.on{transform:none}
.js .fx-bounce .device img.past{transform:scale(1.25) rotate(10deg)}
/* Feed: the signal runs along a line and lights each step */
.flow ol{position:relative}
.js .flow ol::before{content:"";position:absolute;left:0;top:-22px;height:4px;border-radius:4px;width:calc(var(--f,0) * 100%);background:var(--p);box-shadow:0 0 18px var(--p)}
.js .flow ol li.rise{opacity:.22;transform:none;box-shadow:inset 0 0 0 1px transparent;transition:opacity .4s,box-shadow .4s}
.js .flow ol li.rise.lit{opacity:1;box-shadow:inset 0 0 0 1px var(--p)}
.js .flow figure{transform:perspective(1200px) rotateY(calc((1 - var(--g,1)) * 65deg)) translateX(calc((1 - var(--g,1)) * 40vw))}
/* feature cards arrive differently too */
.js .m-flip li.rise{transform:perspective(900px) rotateX(-85deg);transform-origin:top}
.js .m-slide li.rise{transform:translateX(-30vw)}
.js .m-grow li.rise{transform:scale(.4)}
.js .m-hop li.rise{transform:translateY(90px) rotate(-8deg) scale(.7);transition-timing-function:cubic-bezier(.34,1.6,.5,1)}
.js .more li.rise.in{transform:none}
/* while scattered, the stones drift gently; the drift dies away as they come together */
.squares i{animation:arrive 1.4s var(--d) cubic-bezier(.16,1,.3,1) both,float var(--time,6s) ease-in-out infinite alternate}
@keyframes float{from{translate:calc(var(--fx,8px) * (1 - var(--t,0))) calc(var(--fy,-14px) * (1 - var(--t,0)));rotate:calc(-5deg * (1 - var(--t,0)))}to{translate:calc(var(--fx,8px) * -1 * (1 - var(--t,0))) calc(var(--fy,-14px) * -1 * (1 - var(--t,0)));rotate:calc(5deg * (1 - var(--t,0)))}}
.squares i:nth-child(3n){--time:7.5s;--fx:-11px;--fy:12px}.squares i:nth-child(3n+1){--time:5.2s;--fx:10px;--fy:15px}.squares i:nth-child(3n+2){--time:6.4s;--fx:-8px;--fy:-16px}
.still .squares i{animation:none}

/* policy pages */
.doc{max-width:720px;margin:0 auto;padding:120px 5vw 60px}.doc h1{font-size:clamp(34px,5vw,56px)}.doc h2{font-size:22px;letter-spacing:-.01em;margin:36px 0 8px}
.doc p,.doc li{color:#c7c7cc;margin-top:10px}.doc ul{padding-left:20px}.doc a,.mail{text-decoration:underline;color:#f5f5f7}.date{font-size:13px}
.draft{display:inline-block;border:1px solid #fb923c;color:#fb923c!important;border-radius:8px;padding:4px 12px;margin:0 0 18px!important;font-size:13px}
mark{background:#facc15;color:#000;padding:0 4px;border-radius:3px}
footer .links{display:flex;flex-wrap:wrap;gap:18px;justify-content:center;margin-bottom:14px}footer a{text-decoration:underline}
