/* Homepage scroll story: homes and business, photo stages that fade in place as you scroll.
   Everything is scoped under .jx so it cannot affect the rest of the site. */
.jx{--jx-blue:#429fe5;--jx-blue-hi:#73baf0;--jx-heat:#ff8a3d;--jx-line:#2c3742;--jx-muted:#adb4bd;position:relative;height:720vh;background:#050505;color:#f4f6f8}
.jx-stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;background:#050505}
.jx-poster{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:53% 50%;transition:opacity .5s ease}
.jx.is-ready .jx-poster{opacity:0}
.jx-set{position:absolute;inset:0;overflow:hidden;opacity:0;transition:opacity .6s ease;pointer-events:none}
.jx-set.is-on{opacity:1}
.jx-cam{position:absolute;left:0;top:0;width:1600px;height:1066px;transform-origin:0 0;will-change:transform}
.jx-cam img{position:absolute;left:0;top:0;width:1600px;height:1066px;max-width:none;display:block;user-select:none;-webkit-user-drag:none}
.jx.is-portrait .jx-set:after{content:'';position:absolute;left:0;right:0;top:calc(var(--jx-boxh,70vh) - 150px);bottom:0;background:linear-gradient(to bottom,rgba(5,5,5,0),#050505 150px)}
.jx-topscrim{position:absolute;inset:0 0 auto;height:150px;background:linear-gradient(to bottom,rgba(5,5,5,.6),rgba(5,5,5,0));pointer-events:none}
.jx-scrim{position:absolute;inset:auto 0 0;height:45%;background:linear-gradient(to top,rgba(5,5,5,.86),rgba(5,5,5,.4) 55%,rgba(5,5,5,0));pointer-events:none}
@media(min-aspect-ratio:20/19){.jx-scrim{inset:0 auto 0 0;width:min(60%,calc(32vw + 260px));height:auto;background:linear-gradient(to right,rgba(5,5,5,.74),rgba(5,5,5,.38) 50%,rgba(5,5,5,0))}}

/* labels pinned to the photo */
.jx-mark{position:absolute;left:0;top:0;z-index:3;opacity:0;pointer-events:none;will-change:transform,opacity}
.jx-mark i{position:absolute;left:-7px;top:-7px;width:14px;height:14px;border-radius:50%;background:var(--jx-blue);box-shadow:0 0 0 4px rgba(66,159,229,.35),0 0 18px rgba(66,159,229,.85)}
.jx-mark i:after{content:'';position:absolute;inset:-10px;border-radius:50%;border:2px solid rgba(115,186,240,.85);animation:jx-ping 1.8s ease-out infinite}
@keyframes jx-ping{0%{transform:scale(.4);opacity:1}100%{transform:scale(1.7);opacity:0}}
.jx-mark span{position:absolute;left:18px;top:-15px;white-space:nowrap;padding:6px 10px;border-radius:6px;background:rgba(8,11,15,.84);border:1px solid var(--jx-line);font:650 12.5px/1.2 Manrope,Arial,sans-serif;color:#fff}
.jx-mark.is-flip span{left:auto;right:18px}
.jx-mark.is-warn i{background:#ffcf3d;box-shadow:0 0 0 4px rgba(255,207,61,.35),0 0 18px rgba(255,207,61,.85)}
.jx-mark.is-warn i:after{border-color:rgba(255,215,90,.9)}

/* homes / business switch */
.jx-seg{position:absolute;top:18px;left:50%;transform:translateX(-50%);z-index:6;display:flex;padding:4px;gap:4px;border-radius:8px;background:rgba(10,13,17,.66);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:inset 0 0 0 1px #2c3742}
.jx-seg button{appearance:none;border:0;background:transparent;color:#d9dfe5;font:650 13px/1 Manrope,Arial,sans-serif;min-height:40px;padding:0 18px;border-radius:5px;cursor:pointer;display:flex;align-items:center;gap:8px;transition:background .25s}
.jx-seg button svg{width:16px;height:16px}
.jx-seg button[aria-pressed=true]{background:var(--jx-blue);color:#050b10}

/* stage rail */
.jx-rail{position:absolute;right:8px;top:80px;z-index:6;display:flex;flex-direction:column;align-items:flex-end;gap:0;font-size:12px}
.jx-rail button{appearance:none;border:0;background:none;color:#fff;font:650 12px/1 Manrope,Arial,sans-serif;min-height:42px;min-width:42px;display:none;align-items:center;justify-content:flex-end;gap:10px;padding:0 8px;cursor:pointer}
.jx[data-story=home] .jx-rail button[data-story=home],.jx[data-story=biz] .jx-rail button[data-story=biz]{display:flex}
.jx-rail button span{padding:6px 9px;border-radius:5px;white-space:nowrap;opacity:.7;transition:opacity .25s}
.jx-rail button i{width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.45);box-shadow:0 0 0 3px rgba(5,5,5,.35);transition:background .25s,transform .25s;flex:none}
.jx-rail button.is-on i{background:var(--jx-blue);transform:scale(1.35)}
.jx-rail button.is-on span{opacity:1;background:rgba(10,13,17,.7)}
.jx.is-portrait .jx-rail button span{display:none}

.jx-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.1);z-index:6}
.jx-progress i{display:block;height:100%;background:var(--jx-blue);transform-origin:0 50%;transform:scaleX(0)}
.jx-skip{position:absolute;right:14px;bottom:12px;z-index:6;font:650 12px/1 Manrope,Arial,sans-serif;color:#cfd8e1;padding:9px 10px;border-radius:5px;background:rgba(10,13,17,.55)}
.jx-skip:hover{color:#fff;background:rgba(10,13,17,.8)}
.jx-note{position:absolute;left:14px;bottom:12px;z-index:6;margin:0;font:500 10.5px/1 Manrope,Arial,sans-serif;color:rgba(255,255,255,.62);letter-spacing:.04em}
.jx.is-portrait .jx-skip,.jx.is-portrait .jx-note{display:none}

/* text cards */
.jx-card{position:absolute;left:12px;right:12px;bottom:18px;padding:20px 20px 22px;border-radius:10px;background:rgba(8,11,15,.76);-webkit-backdrop-filter:blur(16px) saturate(1.15);backdrop-filter:blur(16px) saturate(1.15);border:1px solid var(--jx-line);border-top:3px solid var(--jx-blue);box-shadow:0 22px 50px rgba(0,0,0,.35);opacity:0;transform:translateY(22px);visibility:hidden;pointer-events:none;transition:opacity .32s ease,transform .32s ease,visibility 0s linear .32s;z-index:5}
.jx-card.is-show{opacity:1;transform:none;visibility:visible;pointer-events:auto;transition:opacity .32s ease .06s,transform .32s ease .06s,visibility 0s}
.jx-card.jx-hero{background:none;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;padding:0 8px 6px;bottom:calc(18px + var(--jx-off,0px))}
.jx-card.is-heat{border-top-color:var(--jx-heat)}
.jx-eyebrow{display:flex;align-items:center;gap:9px;margin:0;font:650 11px/1.4 Manrope,Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;color:#80bfe9}
.jx-eyebrow b{display:inline-grid;place-items:center;min-width:26px;height:22px;border-radius:4px;background:rgba(66,159,229,.18);color:#bfe0f8;font-size:11px;letter-spacing:0}
.jx-card.is-heat .jx-eyebrow{color:#ffb380}.jx-card.is-heat .jx-eyebrow b{background:rgba(255,138,61,.2);color:#ffd0ae}
.jx .jx-stripe{display:block;width:150px;height:6px;background:linear-gradient(90deg,#429fe5 0 42%,#6d7278 42% 64%,#fff 64% 80%,transparent 80%);transform:skewX(28deg);transform-origin:0 0;margin:0 0 18px 2px}
.jx h1{font-size:36px;line-height:1.08;margin:12px 0 14px;font-weight:500;letter-spacing:-.045em;color:#fff}
.jx h1 em{color:var(--jx-blue)}
.jx h2{font-size:28px;line-height:1.12;margin:12px 0 8px;font-weight:600;letter-spacing:-.035em;color:#fff}
.jx-card p{margin:0;color:#c9d2da;font-size:15px;line-height:1.6}
.jx-hero .jx-lead{font-size:16px;color:#dfe6ec;max-width:31em;text-shadow:0 1px 14px rgba(0,0,0,.4)}
.jx-hero .jx-extra{display:none}
.jx-choices,.jx-ctas{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.jx-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:6px;background:var(--jx-blue);color:#050b10;font:650 14px/1 Manrope,Arial,sans-serif;border:0;cursor:pointer;white-space:nowrap;transition:background .2s}
.jx-btn:hover{background:var(--jx-blue-hi);text-decoration:none}
.jx-btn.is-ghost{background:rgba(255,255,255,.06);color:#f4f6f8;box-shadow:inset 0 0 0 1px #405566}
.jx-btn.is-ghost:hover{background:rgba(66,159,229,.16)}
.jx-btn:focus-visible,.jx-seg button:focus-visible,.jx-rail button:focus-visible,.jx-skip:focus-visible,.jx-more:focus-visible{outline:3px solid var(--jx-blue-hi);outline-offset:3px}
.jx-hint{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:16px;font:600 13px Manrope,Arial,sans-serif;color:rgba(255,255,255,.78)}
.jx-hint a{color:#9fd1f5;text-decoration:underline;text-underline-offset:3px}
.jx-more{display:inline-block;margin-top:14px;font:650 13px Manrope,Arial,sans-serif;color:#68b7f0}
.jx-more:hover{color:#9fd1f5;text-decoration:underline}
.jx-stat{margin-top:14px;display:flex;align-items:center;gap:12px;font:600 14px/1.25 Manrope,Arial,sans-serif;color:#e7edf2}
.jx-num{font:700 23px/1 Manrope,Arial,sans-serif;letter-spacing:-.03em;min-width:3ch;color:#fff}
.jx-stat small{display:block;color:var(--jx-muted);font-weight:500;font-size:12.5px}
.jx-meter{flex:1;height:6px;border-radius:6px;background:rgba(255,255,255,.12);overflow:hidden}
.jx-meter i{display:block;height:100%;width:0;background:var(--jx-blue);border-radius:6px}
.jx-thermo{margin-top:14px;display:flex;align-items:center;gap:14px}
.jx-dial{--k:0;width:60px;height:60px;border-radius:50%;flex:none;display:grid;place-items:center;background:conic-gradient(from 210deg,var(--jx-heat) calc(var(--k) * 300deg),rgba(255,255,255,.14) 0 300deg,transparent 0)}
.jx-dial span{width:48px;height:48px;border-radius:50%;background:#0c1117;display:flex;align-items:center;justify-content:center;font:700 14px/1 Manrope,Arial,sans-serif}
.jx-thermo small{display:block;color:var(--jx-muted);font-size:12.5px;margin-top:2px}
.jx-thermo div:last-child{font-weight:650;font-size:14.5px}
.jx-swap-home,.jx-swap-biz{display:none}
.jx[data-story=home] .jx-swap-biz,.jx[data-story=biz] .jx-swap-home{display:inline-flex}
/* ---- layout: the card is sized by screen height as well as width, so it never hides the photo ---- */
/* portrait phones and tablets: a compact card along the bottom */
.jx-card{left:max(12px,3vw);right:auto;width:min(520px,calc(100% - 24px));bottom:14px;padding:14px 16px 15px;background:rgba(8,11,15,.68)}
.jx-card.jx-hero{width:min(560px,calc(100% - 24px));bottom:calc(14px + var(--jx-off,0px))}
.jx h1{font-size:clamp(28px,5.4vh,38px);margin:8px 0 10px}
.jx h2{font-size:clamp(20px,3.2vh,28px);line-height:1.1;margin:8px 0 6px}
.jx-card p{font-size:14px;line-height:1.5}
.jx-hero .jx-lead{font-size:15px;line-height:1.5}
.jx-eyebrow{font-size:10.5px}
.jx-eyebrow b{min-width:24px;height:20px;font-size:10.5px}
.jx .jx-stripe{margin-bottom:12px}
.jx-stat,.jx-thermo{margin-top:10px}
.jx-num{font-size:20px}
.jx-dial{width:46px;height:46px}.jx-dial span{width:36px;height:36px;font-size:12px}
.jx-more{margin-top:8px;font-size:12.5px}
.jx-choices,.jx-ctas{margin-top:14px}
.jx-hint{margin-top:12px}
.jx-ctas .jx-btn{padding:0 14px;font-size:13.5px}
@media(max-height:620px){.jx-card p{font-size:13px}.jx-hero .jx-lead{font-size:14px}.jx-hint span{display:none}}
@media(max-width:370px){.jx h1{font-size:28px}.jx-seg button{padding:0 13px}}
/* landscape (tablets, laptops, phones on their side, foldables open): card on the left, photo framed to its right */
@media(min-aspect-ratio:20/19){
  .jx-card{left:max(14px,4vw);bottom:auto;top:50%;width:clamp(270px,32vw,440px);transform:translateY(calc(-50% + 22px));padding:clamp(14px,2.6vh,26px) clamp(16px,2vw,28px)}
  .jx-card.is-show{transform:translateY(-50%)}
  .jx-card.jx-hero{width:clamp(320px,46vw,600px);bottom:auto;top:calc(50% - var(--jx-off,0px) / 2)}
  .jx h1{font-size:clamp(26px,6.6vh,58px)}
  .jx h2{font-size:clamp(19px,4vh,38px)}
  .jx-card p{font-size:clamp(13px,1.85vh,16px)}
  .jx-hero .jx-lead{font-size:clamp(13.5px,2vh,16.5px)}
  .jx-hero .jx-extra{display:block;margin-top:8px;color:#c9d2da;font-size:15px}
  .jx-num{font-size:clamp(18px,2.6vh,23px)}
  .jx-rail{right:clamp(8px,1.6vw,22px);top:50%;transform:translateY(-50%)}
  .jx-seg{top:clamp(10px,2.4vh,24px)}
}
@media(min-aspect-ratio:20/19) and (max-height:760px){.jx-hero .jx-extra{display:none}}
/* short landscape screens: the card drops to the bottom corner and tightens up */
@media(min-aspect-ratio:20/19) and (max-height:560px){
  .jx-card{top:auto;bottom:12px;transform:translateY(22px)}
  .jx-card.is-show{transform:none}
  .jx-card.jx-hero{top:auto;bottom:calc(12px + var(--jx-off,0px))}
  .jx-card p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .jx-hero .jx-stripe,.jx-hero .jx-eyebrow,.jx-hint span{display:none}
  .jx h1{margin-top:0}
  .jx h1 br{display:none}
  .jx-btn,.jx-ctas .jx-btn{min-height:40px;padding:0 14px;font-size:13px}
  .jx-choices,.jx-ctas{margin-top:10px}
  .jx-hint{margin-top:8px}
  .jx-seg button{min-height:36px;padding:0 14px;font-size:12px}
  .jx-rail button{min-height:36px}
  .jx-rail button span{display:none}
  .jx-rail button.is-on span{display:inline-block}
  .jx-note{left:auto;right:14px;bottom:50px}
}
@media(min-aspect-ratio:20/19) and (max-height:420px){
  .jx-hero .jx-lead{display:none}
  .jx-card p{-webkit-line-clamp:2}
  .jx-card{padding:11px 14px 12px}
  .jx h2{margin:6px 0 4px}
  .jx-stat,.jx-thermo{margin-top:6px}
  .jx-more{margin-top:5px}
}
@media(min-aspect-ratio:20/19) and (max-height:360px){.jx-card.jx-hero{width:clamp(320px,58vw,600px)}.jx h1{font-size:24px;margin-bottom:6px}}
/* the opening card has its own Homes / Business buttons, so the switch and stage dots wait until the tour starts */
.jx-seg,.jx-rail{transition:opacity .3s ease,visibility .3s ease}
.jx.is-intro .jx-seg,.jx.is-intro .jx-rail{opacity:0;visibility:hidden}
/* without JavaScript: show the opening card and photo, hide the controls */
.jx:not(.is-live) .jx-seg,.jx:not(.is-live) .jx-rail,.jx:not(.is-live) .jx-choices,.jx:not(.is-live) .jx-progress{display:none}
.jx:not(.is-live){height:auto}
.jx:not(.is-live) .jx-stage{position:relative}
@media(prefers-reduced-motion:reduce){.jx-mark i:after{animation:none}.jx-set,.jx-poster,.jx-card,.jx-card.is-show{transition:none}}
