/* A continuous location story. The original cleaner image becomes the next scene. */
.location-detection{overflow:clip}
.location-story-track,.location-story-stage{position:relative}
.nearby-story{position:relative;margin-top:150px;isolation:isolate}
.nearby-signal-field{position:absolute;inset:0;display:none;width:100%;height:100%;pointer-events:none;z-index:-1}
.nearby-layout{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:80px;max-width:1320px;margin:0 auto;width:100%}
.nearby-editorial{position:relative;z-index:2;min-width:0}
.nearby-copy-space{position:relative;margin-bottom:32px}
.nearby-copy{position:relative;margin:0}
.nearby-eyebrow{display:flex;align-items:center;gap:9px;margin:0 0 25px;color:#b6b9c2;font-size:11px;font-weight:500;line-height:1.4;letter-spacing:.08em}
.nearby-eyebrow>span{width:5px;height:5px;flex:none;background:#74baff;border-radius:50%}
.nearby-copy h2{margin:0;font-size:clamp(45px,4.75vw,76px);font-weight:500;line-height:1.035;letter-spacing:-.065em}
.nearby-copy h2>span{display:block;white-space:nowrap}
.nearby-copy em{font-style:normal;color:#58a8ff;background:linear-gradient(105deg,#8fceff 0%,#4c9eff 48%,#597cf9 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.nearby-description{margin:24px 0 0;font-size:clamp(15px,1.14vw,18px);font-weight:400;line-height:1.55;letter-spacing:-.016em;color:#969ba5}
.nearby-copy--tap{display:none}
.nearby-photo-slot{position:relative;width:min(390px,100%);aspect-ratio:1002/1212}
.nearby-photo-slot>img{display:block;width:100%;height:100%;object-fit:contain;border-radius:15%/12.5%;user-select:none}
.nearby-photo-slot>.nearby-tap-photo{position:absolute;inset:0;display:none;clip-path:inset(0 1.65% 1.9% 0 round 14%)}
.nearby-photo-label{position:relative;min-height:16px;margin:16px 0 0;font-size:10px;line-height:1.4;letter-spacing:.005em;color:#8c919c}
.nearby-photo-label>span>span{padding:0 5px;color:#505661}
.nearby-label--tap{display:none}
.nearby-device-area{position:relative;z-index:1;min-width:0;--nearby-phone-width:min(405px,100%);display:flex;flex-direction:column;align-items:center;justify-content:center;perspective:1400px}
.nearby-phone{position:relative;z-index:2;width:var(--nearby-phone-width);aspect-ratio:485/984;margin:0;perspective:1400px;filter:drop-shadow(0 18px 44px rgba(0,0,0,.24))}
.nearby-phone-motion{position:absolute;inset:0;transform-origin:50% 70%;transform-style:preserve-3d}
.nearby-phone-art{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:visible;pointer-events:none;user-select:none}
.nearby-phone-art--tap,.nearby-phone-depth{opacity:0}
.nearby-phone-depth{-webkit-mask-image:linear-gradient(transparent 42%,#000 78%);mask-image:linear-gradient(transparent 42%,#000 78%)}
/* Use the supplied hardware artwork directly, including its original wordmark. */
.nearby-source{position:absolute;left:calc(50% - var(--nearby-phone-width)/2 - 54px);top:19%;z-index:0;display:block;width:72px;height:72px;pointer-events:none}
.nearby-source--zone{width:144px;height:144px;left:calc(50% - var(--nearby-phone-width)/2 - 128px)}
.nearby-source>img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}
.nearby-source--tap{display:none}
.nearby-device-caption{position:relative;align-self:stretch;min-height:32px;margin-top:26px;text-align:center;color:#858d99;font-size:11px;line-height:1.5;letter-spacing:-.01em}
.nearby-device-caption p{margin:0;display:flex;justify-content:center;align-items:center;gap:8px}
.nearby-presence-dot{display:inline-block;flex:none;width:4px;height:4px;border-radius:50%;background:#78b8df}
.nearby-device-caption .nearby-caption--tap{display:none}
.nearby-caption--tap svg{width:17px;height:17px;fill:none;stroke:#35d478;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.nearby-static-tap{position:relative;isolation:isolate;margin:140px auto 0;max-width:1040px}
.nearby-tap-signal-field{position:absolute;inset:0;display:none;width:100%;height:100%;pointer-events:none;z-index:0}
.nearby-static-tap>.nearby-copy,.nearby-static-caption{position:relative;z-index:1}
.nearby-static-visuals{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:80px;margin-top:40px}
.nearby-static-photo{display:block;width:100%;height:auto;border-radius:15%;clip-path:inset(0 1.65% 1.9% 0 round 14%)}
.nearby-static-device-area{position:relative;isolation:isolate;min-width:0;width:100%;display:grid;place-items:center;perspective:1400px;--nearby-phone-width:min(400px,100%)}
.nearby-static-device-area>.nearby-source--tap{display:block}
.nearby-static-phone{position:relative;z-index:2;display:block;width:var(--nearby-phone-width);aspect-ratio:1440/2988;height:auto;justify-self:center}
.nearby-static-phone-motion{position:absolute;inset:0;transform-origin:50% 70%;transform-style:preserve-3d}
.nearby-static-phone-motion>.iphone17-device{width:100%;height:100%}
.nearby-static-phone .iphone17-screen{background:#08212b}
.nearby-static-caption{margin:24px 0 0;text-align:right;font-size:12px;color:#969ba5}

/* Smaller viewports keep their native page flow. Only visible scenes advance;
   the handset remains opaque while its focus and tap perspective change. */
.is-story-natural .nearby-layout{z-index:1}
.is-story-natural .nearby-signal-field,.is-story-natural .nearby-tap-signal-field{display:block;z-index:0;-webkit-mask-image:linear-gradient(transparent 4%,#000 29%,#000 93%,transparent);mask-image:linear-gradient(transparent 4%,#000 29%,#000 93%,transparent)}
.is-story-natural-motion .nearby-cleaner-fallback,.is-story-natural-motion .nearby-static-photo{opacity:var(--natural-photo-opacity,0);filter:blur(var(--natural-photo-blur,7px));transform:translate3d(0,var(--natural-photo-y,12px),0);transform-origin:50% 65%}
.is-story-natural-motion .nearby-phone,.is-story-natural-motion .nearby-static-phone{opacity:1;filter:drop-shadow(0 15px 25px rgba(0,0,0,.24)) blur(var(--natural-phone-blur,8px));transform:translate3d(0,var(--natural-phone-y,10px),0)}
.is-story-natural-motion .nearby-source{opacity:var(--natural-source-opacity,0);transform:scale(var(--natural-source-scale,.94));transform-origin:50% 50%}
.is-story-natural-motion .nearby-static-phone-motion{transform:perspective(1400px) translate3d(var(--natural-tap-x,0px),var(--natural-tap-y,0px),0) rotateY(var(--natural-tap-ry,0deg)) rotateX(var(--natural-tap-rx,0deg)) rotateZ(var(--natural-tap-rz,0deg))}
.is-story-natural-motion .nearby-static-phone .iphone17-screen::before{content:'';position:absolute;z-index:5;inset:42% 0 0;pointer-events:none;opacity:var(--natural-contact,0);-webkit-backdrop-filter:blur(var(--natural-contact-blur,0px));backdrop-filter:blur(var(--natural-contact-blur,0px));-webkit-mask-image:linear-gradient(transparent,#000 90%);mask-image:linear-gradient(transparent,#000 90%)}
.is-story-natural-motion .nearby-device-caption,.is-story-natural-motion .nearby-static-caption{opacity:var(--natural-caption-opacity,0);transform:translate3d(0,var(--natural-caption-y,6px),0)}

/* Desktop pinning is opt-in after measurement, so failed/disabled JS leaves a complete page. */
.is-story-pinned .location-story-track{height:calc(var(--story-height,100svh) * 4.65)}
.is-story-pinned .location-story-stage{position:sticky;top:24px;height:var(--story-height,calc(100svh - 48px));display:flex;align-items:center;justify-content:center;isolation:isolate}
.is-story-pinned .location-grid{position:relative;z-index:3;flex:none;width:min(100%,calc((var(--story-height) - 105px) * 1.6535 + 38px));margin:0 auto}
.is-story-pinned .location-demo{position:relative}
.is-story-pinned .location-demo:first-child{z-index:4}
.is-story-pinned .location-demo:first-child>.signal-scene{transform-origin:0 0;transform:translate3d(var(--story-photo-x,0px),var(--story-photo-y,0px),0) scale(var(--story-photo-scale,1));opacity:var(--story-photo-opacity,1);will-change:transform,opacity;cursor:var(--story-cursor,pointer)}
.is-story-pinned .location-demo:last-child{opacity:var(--story-nfc-opacity,1);transform:translate3d(0,var(--story-nfc-y,0px),0) scale(var(--story-nfc-scale,1));filter:blur(var(--story-nfc-blur,0px));transform-origin:50% 55%;will-change:transform,opacity}
.is-story-pinned .signal-caption{opacity:var(--story-original-caption,1);transform:translate3d(0,var(--story-caption-y,0px),0)}
.is-story-pinned .location-demo:first-child .signal-canvas{opacity:var(--story-original-layer,1)}
.is-story-pinned .location-demo:first-child .signal-depth-photo{opacity:calc(var(--signal-depth,0) * .96 * var(--story-original-layer,1))}
.is-story-pinned .location-demo:first-child .signal-focus-photo{opacity:var(--story-original-layer,1)}
.is-story-pinned .location-demo:first-child .signal-shade{opacity:calc(.24 * var(--story-original-layer,1))}
.is-story-pinned .location-demo:first-child .signal-feedback{opacity:0}
.is-story-pinned .location-demo:first-child .signal-scene.is-detected .signal-feedback{opacity:var(--story-original-layer,1)}
.is-story-pinned .nearby-story{position:absolute;inset:0 auto 0 50%;width:100vw;height:100%;margin:0;transform:translateX(-50%);pointer-events:none;z-index:2;opacity:var(--story-visibility,0)}
.is-story-pinned .nearby-layout{height:100%;width:calc(100% - 128px);max-width:1320px;gap:80px}
.is-story-pinned .nearby-copy-space{min-height:var(--story-copy-height,270px);margin-bottom:30px}
.is-story-pinned .nearby-copy--automatic,.is-story-pinned .nearby-copy--tap{position:absolute;inset:0 0 auto;display:block}
.is-story-pinned .nearby-photo-slot{width:min(390px,29vw,calc((100svh - 395px) * .8267));height:auto}
.is-story-pinned .nearby-cleaner-fallback{display:none}
.is-story-pinned .nearby-photo-slot>.nearby-tap-photo{display:block;opacity:var(--story-tap-photo,0);transform:translate3d(0,var(--story-tap-photo-y,35px),0) scale(var(--story-tap-photo-scale,.965));filter:blur(var(--story-tap-photo-blur,6px));transform-origin:50% 60%}
.is-story-pinned .nearby-photo-label{opacity:var(--story-label-opacity,0)}
.is-story-pinned .nearby-label--automatic,.is-story-pinned .nearby-label--tap{display:block;position:absolute;inset:0}
.is-story-pinned .nearby-label--automatic{opacity:var(--story-nearby-label,1)}
.is-story-pinned .nearby-label--tap{opacity:var(--story-tap-label,0)}
.is-story-pinned .nearby-device-area{--nearby-phone-width:min(450px,calc((var(--story-height) - 100px) * .492886),100%);height:100%}
.is-story-pinned .nearby-phone{opacity:var(--story-phone-opacity,0);transform:translate3d(0,var(--story-phone-y,85px),0) scale(var(--story-phone-scale,.94));filter:drop-shadow(0 18px 44px rgba(0,0,0,.24)) blur(var(--story-phone-blur,5px));will-change:transform,opacity}
.is-story-pinned .nearby-phone-motion{transform:translate3d(var(--story-contact-x,0px),var(--story-contact-y,0px),0) rotateY(var(--story-contact-ry,0deg)) rotateX(var(--story-contact-rx,0deg)) rotateZ(var(--story-contact-rz,0deg))}
.is-story-pinned .nearby-phone-art--automatic{opacity:1}
.nearby-phone .iphone17-screen{background:#08212b}
.is-story-pinned .nearby-phone-art--tap{opacity:var(--story-tap-art,0)}
.is-story-pinned .nearby-phone-depth{opacity:var(--story-phone-depth-opacity,0);filter:blur(var(--story-phone-depth,0px))}
.is-story-pinned .nearby-source--zone{opacity:var(--story-zone-opacity,0);transform:scale(var(--story-zone-scale,.8))}
.is-story-pinned .nearby-source--tap{display:block;opacity:var(--story-tap-source,0);transform:scale(var(--story-tap-source-scale,.9))}
.is-story-pinned .nearby-device-caption{opacity:var(--story-device-caption,0)}
.is-story-pinned .nearby-device-caption p{position:absolute;inset:0;display:flex}
.is-story-pinned .nearby-caption--automatic{opacity:var(--story-nearby-label,1)}
.is-story-pinned .nearby-caption--tap{opacity:var(--story-complete,0);transform:translate3d(0,var(--story-complete-y,8px),0)}
.is-story-pinned .nearby-signal-field{display:block;z-index:0;opacity:var(--story-wave-opacity,0)}
.is-story-pinned .nearby-static-tap{display:none}
.is-story-pinned [data-nearby-line],.is-story-pinned [data-tap-line]{will-change:transform,opacity,filter;transform-origin:0 50%}
.is-story-pinned.is-story-transitioning .location-grid{pointer-events:none}

@media(min-width:1600px){.is-story-pinned .nearby-copy-space{margin-bottom:38px}.nearby-copy h2{font-size:78px}.nearby-photo-label{margin-top:19px}.nearby-device-caption{font-size:12px}}
@media(max-width:1100px){
 .nearby-layout{gap:42px}.nearby-copy h2{font-size:clamp(40px,4.85vw,56px)}.nearby-description{font-size:14px}.nearby-description br{display:none}
 .is-story-pinned .nearby-layout{width:calc(100% - 80px);gap:42px}.is-story-pinned .nearby-photo-slot{width:min(340px,30vw,calc((100svh - 365px)*.8267))}
 .nearby-source{width:58px;height:58px;left:calc(50% - var(--nearby-phone-width)/2 - 44px)}
 .nearby-source--zone{width:116px;height:116px;left:calc(50% - var(--nearby-phone-width)/2 - 104px)}
 .nearby-device-caption{font-size:10px;max-width:270px;align-self:center;width:100%}
}
@media(max-width:759px){
 .nearby-story{margin-top:92px}.nearby-layout{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:22px;align-items:end}
 .nearby-editorial{display:contents}.nearby-copy-space{grid-column:1/-1;margin:0 0 10px}.nearby-copy h2{font-size:clamp(38px,8.4vw,61px);letter-spacing:-.06em}.nearby-description{max-width:350px;font-size:14px;margin-top:20px}.nearby-eyebrow{font-size:10px;margin-bottom:21px}
 .nearby-photo-slot{grid-column:1;width:100%;margin-bottom:53px}.nearby-photo-label{display:none}.nearby-device-area{grid-column:2;--nearby-phone-width:100%;height:auto}
 .nearby-source{width:37px;height:37px;left:-28px;top:18%}
 .nearby-source--zone{width:74px;height:74px;left:-66px}
 .nearby-device-caption{height:auto;min-height:34px;margin-top:17px;font-size:8px;max-width:190px}.nearby-device-caption p{display:block}.nearby-presence-dot{margin-right:5px}
 .nearby-static-tap{margin-top:104px}.nearby-static-visuals{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:22px;align-items:end;margin-top:30px}.nearby-static-photo{margin-bottom:20px}.nearby-static-device-area{grid-column:2;--nearby-phone-width:100%}.nearby-static-caption{font-size:10px;margin-top:16px}
}
@media(prefers-reduced-motion:reduce){.nearby-story *,.nearby-static-tap *{scroll-behavior:auto!important}.is-story-pinned [data-nearby-line],.is-story-pinned [data-tap-line]{filter:none!important;transform:none!important}}
.motion-paused .nearby-story *{transition:none!important}
