/* A single, scroll-scrubbed customer story. */
.context-story{position:relative;height:500svh;background:#f1f6f3;border-block:1px solid #e3ebe5;isolation:isolate}
.context-pin{position:sticky;top:0;height:100svh;overflow:hidden;display:flex;align-items:center;padding:108px 0 24px}
.context-inner{display:flex;flex-direction:column;height:100%;max-height:820px;min-height:0}
.context-heading{flex:none;text-align:center;margin:0 auto 12px;max-width:880px}
.context-heading h2{font-size:clamp(28px,3.1vw,40px);line-height:1.16;letter-spacing:-.045em;text-wrap:balance;color:#283e31}
.context-viewport{position:relative;flex:1;min-height:0;width:100%;display:flex;justify-content:center;align-items:center}
.context-scene{position:relative;width:1120px;height:570px;flex:none;transform-origin:center;isolation:isolate}
.context-scene:before{content:'';position:absolute;inset:-25px;background:radial-gradient(ellipse,#d7e7db80,transparent 65%);z-index:-2}
.context-orbit{position:absolute;left:50%;top:48%;border:1px solid #a7c1b22b;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}
.orbit-one{width:400px;height:400px}.orbit-two{width:650px;height:650px;opacity:.55}
.context-wires{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.context-wires path{fill:none;stroke:#adc7b6;stroke-width:1.3;stroke-linecap:round}
.context-wires .context-edge{stroke:#a8bdae;stroke-width:1.2}
.context-wires .context-edge.featured{stroke:#5d9271;stroke-width:1.8}
.context-sources,.context-nodes{position:absolute;inset:0;pointer-events:none}
.context-story .source-group{position:absolute;width:302px;height:198px;padding:20px 22px;border:1px solid #d4e0d7;border-radius:15px;background:linear-gradient(145deg,#fff,#fcfefd);box-shadow:0 3px 6px #1f483108,0 18px 38px -22px #22432d40;transform-origin:center;will-change:transform,opacity}
.source-group-title{display:flex;align-items:center;gap:10px}.source-group-title>.icon{width:18px;height:18px;color:#74917e}.source-group-title h3{font-size:18px;font-weight:500;letter-spacing:-.025em;color:#36533f}.source-group-title p{display:none}
.source-brands{display:grid;grid-template-columns:1fr 1fr;gap:18px 14px;margin-top:21px;padding-top:19px;border-top:1px solid #edf1ee}
.map-brand,.signal-item{display:flex;align-items:center;gap:7px;min-width:0;font-size:13px;line-height:1.3;color:#58705f}.map-brand img{object-fit:contain;flex:none;width:25px;height:25px}.map-brand.map-wordmark img{width:112px;height:25px;max-width:100%;object-position:left center}.map-brand.map-wordmark-dark{background:#112f50;border-radius:5px;padding:5px 8px;max-width:116px}.map-brand.map-wordmark-dark img{height:18px}.map-brand img[src*="granola"]{border-radius:5px}.signal-item{font-size:13px;gap:7px}.signal-item .icon{width:16px;height:16px;color:#8ba592}
.context-account{position:absolute;left:50%;top:48%;width:204px;height:180px;padding:19px 15px;background:linear-gradient(145deg,#365f48,#204732);color:#fff;border:1px solid #3d634b;border-radius:17px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 15px 40px -15px #204b3a60,inset 0 1px #ffffff20;z-index:3;will-change:transform,opacity}
.context-account-logo{display:grid;place-items:center;width:43px;height:43px;margin-bottom:10px;background:#ffffff0b;border:1px solid #ffffff25;border-radius:11px;color:#e0eee4}.context-account-logo svg{width:30px;height:30px}.context-account strong{font-size:20px;letter-spacing:-.035em;font-weight:500;line-height:1.2}.context-account-meta{font-size:12px;color:#bdd2c4;margin-top:7px}.context-account-status{margin-top:13px;font-size:11px;display:flex;align-items:center;gap:6px;color:#cbdfd1}.context-account-status i{width:5px;height:5px;background:#add4b8;border-radius:50%}
.context-node{position:absolute;z-index:2;width:194px;padding:14px 16px;border:1px solid #d5e1d8;background:#ffffffed;border-radius:11px;box-shadow:0 3px 7px #24402d04,0 12px 25px -16px #284c3633;will-change:opacity,transform}
.context-node strong{display:block;font-size:15px;line-height:1.3;font-weight:500;letter-spacing:-.025em;color:#314f3c}.context-node small{display:block;font-size:12px;line-height:1.4;color:#7b8e80;margin-top:6px}.context-node-source{display:flex;align-items:center;gap:7px;margin-bottom:10px;color:#849489;font-size:11px;line-height:1.2}.context-node-source img{width:18px;height:18px;object-fit:contain}.context-node-source img[src*="hubspot"],.context-node-source img[src*="connectwise"]{width:55px;object-position:left center}.context-node-source .icon{width:15px;height:15px;color:#a28a5d}
.context-person{width:172px;background:#f7faf8ed;display:flex;align-items:center;gap:10px;padding:13px 14px}.context-avatar{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:50%;font-size:12px;color:#586d87;background:#e5ecf3;border:1px solid #d6e0e9}.context-person[data-id=maya] .context-avatar{background:#ede5df;color:#8a6e58;border-color:#e1d5cb}.context-person[data-id=alex] .context-avatar{background:#e9e5f0;color:#7a6a90;border-color:#dcd5e5}.context-person strong{font-size:14px}.context-person small{font-size:11px;line-height:1.3;margin-top:4px}.context-signal{background:#fcfaf4;border-color:#e4dcc8}.context-insight{position:absolute;bottom:0;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;color:#607c69;white-space:nowrap}.context-insight .icon{width:16px;height:16px;color:#759a81}
.context-caption{display:flex;align-items:center;justify-content:center;gap:23px;min-height:32px;flex:none;margin-top:12px}.context-caption p{font-size:14px;color:#678271;letter-spacing:-.015em}.context-meter{display:flex;gap:5px}.context-meter>span{width:25px;height:2px;background:#d2dfd6;border-radius:2px;overflow:hidden}.context-meter i{display:block;width:100%;height:100%;background:#5f8c70;transform-origin:left;transform:scaleX(0)}
@media(max-width:700px){.context-story{height:510svh}.context-pin{padding:98px 0 18px}.context-inner{width:calc(100% - 28px);max-height:780px}.context-heading{margin-bottom:10px;max-width:390px}.context-heading h2{font-size:27px;line-height:1.16}.context-scene{width:360px;height:540px}.context-story .source-group{width:166px;height:166px;padding:15px 13px;border-radius:12px}.source-group-title{gap:6px}.source-group-title>.icon{width:14px;height:14px}.source-group-title h3{font-size:15px}.source-brands{gap:12px 7px;margin-top:15px;padding-top:13px}.map-brand{font-size:0;gap:0;justify-content:center;height:27px}.map-brand img{width:27px;height:27px}.map-brand.map-wordmark img{width:60px;height:23px}.map-brand.map-wordmark-dark{padding:4px;max-width:62px}.map-brand.map-wordmark-dark img{height:15px}.signal-item{font-size:11px;line-height:1.35}.signal-item .icon{display:none}.context-account{width:146px;height:111px;border-radius:12px;padding:10px}.context-account-logo{width:26px;height:26px;margin-bottom:7px;border-radius:7px}.context-account-logo svg{width:20px;height:20px}.context-account strong{font-size:15px}.context-account-meta{font-size:10px;margin-top:5px}.context-account-status{display:none}.context-node{width:145px;padding:10px 11px;border-radius:9px}.context-node strong{font-size:13px}.context-node small{font-size:10px;line-height:1.3;margin-top:4px}.context-node-source{font-size:10px;gap:5px;margin-bottom:6px}.context-node-source img{width:14px;height:14px}.context-node-source img[src*="hubspot"],.context-node-source img[src*="connectwise"]{width:42px}.context-node-source .icon{width:12px;height:12px}.context-person{width:106px;padding:9px 5px;gap:6px;flex-direction:column;text-align:center;background:#f7faf8}.context-avatar{width:29px;height:29px;font-size:10px}.context-person strong{font-size:12px}.context-person small{font-size:10px;margin-top:3px}.orbit-one{width:230px;height:230px}.orbit-two{width:390px;height:390px}.context-insight{font-size:11px;gap:5px;bottom:0;white-space:normal;width:100%;text-align:center}.context-insight .icon{width:13px;height:13px;flex:none}.context-caption{gap:12px;min-height:28px;margin-top:6px}.context-caption p{font-size:12px}.context-meter>span{width:17px}}
@media(prefers-reduced-motion:reduce){.context-story{height:auto;padding:45px 0}.context-pin{position:relative;height:auto;padding:0;overflow:visible}.context-inner{height:auto;max-height:none}.context-viewport{height:600px;flex:none}.context-sources{display:none}.context-heading{margin-bottom:25px}.context-caption{display:none}@media(max-width:700px){.context-viewport{height:490px}}}

@media(min-width:701px) and (max-height:850px){.context-pin{padding-top:103px;padding-bottom:16px}.context-heading h2{font-size:32px}.context-heading{max-width:760px;margin-bottom:5px}.context-caption{margin-top:5px}.context-story .source-group{height:184px;padding-top:17px}.source-brands{margin-top:15px;padding-top:15px}.context-account{height:160px}.context-account-status{margin-top:9px}}

@media(min-width:701px) and (max-width:1000px){.context-story .source-group{width:250px;height:190px;padding:18px}.source-brands{gap:16px 12px}.map-brand.map-wordmark img{width:92px}.map-brand.map-wordmark-dark{max-width:97px}.map-brand,.signal-item{font-size:12px}.map-brand img{width:22px;height:22px}.source-group-title h3{font-size:17px}.context-heading h2{font-size:34px}.context-heading{max-width:700px}}

@media(max-width:700px) and (max-height:740px){
.context-pin{padding-top:88px;padding-bottom:10px}.context-heading h2{font-size:23px}.context-heading{margin-bottom:5px}.context-caption{margin-top:4px;min-height:24px}.context-caption p{font-size:11px}.context-insight{font-size:10px}
.context-story .source-group{height:132px;padding:12px}.source-group-title h3{font-size:14px}.source-group-title>.icon{width:12px;height:12px}.source-brands{gap:10px 7px;margin-top:11px;padding-top:11px}.map-brand{height:22px}.map-brand img{width:22px;height:22px}.map-brand.map-wordmark img{height:20px}.map-brand.map-wordmark-dark img{height:13px}.signal-item{font-size:10px}
.context-account{height:100px}.context-account-logo{width:23px;height:23px;margin-bottom:5px}.context-node:not(.context-person) small{display:none}.context-person{gap:4px;padding:6px 4px}.context-avatar{width:24px;height:24px}.context-person small{font-size:10px}.context-node-source{margin-bottom:5px}
}
/* Structured account layer: three semantic branches, no crossing edges. */
.context-heading{max-width:none;width:100%}.context-caption{min-height:18px;margin-top:6px}.context-scene:before{background:radial-gradient(ellipse,#dbe8df55,transparent 68%)}
.context-account{padding:12px;box-shadow:0 9px 24px -15px #204b3a55,inset 0 1px #ffffff20}.context-account-logo{width:calc(43px - var(--organized,0)*15px);height:calc(43px - var(--organized,0)*15px);margin-bottom:calc(10px - var(--organized,0)*5px);flex:none}.context-account-logo svg{width:75%;height:75%}.context-account-status{opacity:calc(1 - var(--organized,0));height:calc(16px * (1 - var(--organized,0)));margin-top:calc(13px * (1 - var(--organized,0)));overflow:hidden;flex:none}.context-account-meta{margin-top:5px}
.context-cluster{position:absolute;border:1px solid #d2dfd6;border-radius:13px;background:#ffffffb8;box-shadow:0 6px 20px -15px #1b4a2a30;will-change:transform,opacity;overflow:hidden}.context-cluster-heading{height:57px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e8e2;background:#f9fbf9}.context-cluster-heading strong{font-size:16px;font-weight:500;color:#42634d;letter-spacing:-.025em}.context-cluster-heading>span{font-size:12px;color:#8b9c90;font-variant-numeric:tabular-nums}.context-cluster-rows{height:calc(100% - 57px);display:flex;flex-direction:column;padding:0 20px}.context-entity{display:flex;align-items:center;gap:13px;flex:1;min-height:0}.context-entity+.context-entity{border-top:1px solid #e8eee9}.context-entity-copy{min-width:0}.context-entity strong{display:block;font-weight:500;font-size:16px;letter-spacing:-.025em;line-height:1.3;color:#304d3b}.context-entity small{display:block;font-size:12px;color:#7b8f81;line-height:1.4;margin-top:5px}.context-entity .context-avatar{width:35px;height:35px;font-size:11px}.context-entity[data-id=maya] .context-avatar{background:#efe8e2;color:#8e725d;border-color:#e3d9cf}.context-entity[data-id=alex] .context-avatar{background:#ebe6f2;color:#7a688c;border-color:#e0d8e9}.context-record-mark{display:grid;place-items:center;width:38px;height:35px;flex:none}.context-record-mark img{width:24px;height:24px;object-fit:contain}.context-record-mark img[src*="connectwise"],.context-record-mark img[src*="hubspot"]{width:38px;height:27px}.context-record-mark .icon{width:20px;height:20px;color:#a08c65}.context-wires .context-branch{stroke:#9ab7a4;stroke-width:1.3}
@media(min-width:1001px){.context-heading h2{font-size:clamp(26px,2.7vw,36px);white-space:nowrap;text-wrap:nowrap}}
@media(min-width:701px) and (max-width:1000px){.context-cluster-heading{padding:0 16px}.context-cluster-heading strong{font-size:15px}.context-cluster-rows{padding:0 14px}.context-entity{gap:8px}.context-entity strong{font-size:14px}.context-entity small{font-size:11px}.context-entity .context-avatar{width:30px;height:30px}.context-record-mark{width:30px}.context-record-mark img[src*="connectwise"],.context-record-mark img[src*="hubspot"]{width:30px}}
@media(max-width:700px){.context-account-logo{width:25px;height:25px;margin-bottom:5px}.context-account{padding:9px}.context-account strong{font-size:15px}.context-cluster-heading{height:29px;padding:0 12px}.context-cluster-heading strong{font-size:12px}.context-cluster-heading>span{font-size:10px}.context-cluster-rows{height:calc(100% - 29px);flex-direction:row;padding:8px 4px}.context-entity{flex-direction:column;justify-content:center;gap:5px;text-align:center;padding:0 4px}.context-entity+.context-entity{border-top:0;border-left:1px solid #e4ece6}.context-entity strong{font-size:12px}.context-entity small{font-size:10px;line-height:1.2;margin-top:4px}.context-entity .context-avatar{width:24px;height:24px;font-size:9px}.context-record-mark{width:30px;height:21px}.context-record-mark img{width:19px;height:19px}.context-record-mark img[src*="connectwise"],.context-record-mark img[src*="hubspot"]{width:32px;height:20px}.context-record-mark .icon{height:17px;width:17px}.context-cluster[data-group=service] .context-entity small{display:none}.context-cluster[data-group=people] .context-entity{flex-basis:0}.context-cluster[data-group=service] .context-entity{flex-basis:0}}
@media(max-width:700px) and (max-height:740px){.context-entity small{display:none}.context-cluster-heading{height:26px}.context-cluster-rows{height:calc(100% - 26px)}.context-entity{gap:4px}.context-entity strong{font-size:11px}.context-entity .context-avatar{width:22px;height:22px}.context-heading h2{font-size:23px}}

/* Quiet, lasting emphasis: no moving sheen, pulse, or layered outline. */
.context-story .source-group{border-color:color-mix(in srgb,#d4e0d7,#b5cabc calc(var(--card-focus,0)*100%));box-shadow:0 2px 5px #1f483106,0 12px 26px -16px rgb(34 67 45 / calc(.12 + var(--card-focus,0)*.12))}

/* Establish the MSP's shared workspace before focusing on one client. */
.context-tool-frame{position:absolute;top:0;left:50%;transform:translateX(-50%);border:1px solid #cbdcd080;border-radius:22px;background:#ffffff14;pointer-events:none;z-index:-1}
.context-tool-frame>span{display:block;text-align:center;margin-top:15px;font-size:15px;color:#54715e;line-height:1.4}
.context-portfolio-label{position:absolute;left:50%;transform:translateX(-50%);font-size:15px;line-height:1.4;color:#54715e;text-align:center;background:#f1f6f3;padding:0 12px;z-index:2;white-space:nowrap}
.context-portfolio-peer{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #d1dfd6;border-radius:15px;background:#f9fcfa;color:#456452;text-align:center;box-shadow:0 8px 22px -18px #294f3730;z-index:2}
.portfolio-logo{width:33px;height:33px;display:grid;place-items:center;border:1px solid #d4e0e9;border-radius:9px;background:#e9eff4;color:#627f96;margin-bottom:9px}
.portfolio-logo svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.portfolio-apex .portfolio-logo{background:#eeeaf4;border-color:#e0d8e9;color:#89749e}
.context-portfolio-peer strong{font-size:16px;font-weight:500;letter-spacing:-.025em;line-height:1.25}
.context-portfolio-peer small{font-size:12px;margin-top:5px;color:#7b9082}
.context-account-logo{width:30px;height:30px;margin-bottom:7px}
.context-account-meta{font-size:13px;color:#c7dbce}
.context-wires .context-portfolio-wire{stroke:#afc7b7;stroke-width:1.3}
@media(max-width:700px){
.context-tool-frame{border-radius:16px}.context-tool-frame>span{font-size:13px;margin-top:8px}
.context-portfolio-label{font-size:13px;padding:0 8px}
.context-portfolio-peer{border-radius:11px;padding:8px}.portfolio-logo{width:25px;height:25px;margin-bottom:6px;border-radius:7px}.portfolio-logo svg{width:20px;height:20px}
.context-portfolio-peer strong{font-size:12px;max-width:90px}.context-portfolio-peer small{font-size:10px;margin-top:4px}
.context-account strong{font-size:calc(13px + var(--organized,0)*2px)}.context-account-meta{font-size:11px}.context-account-logo{width:25px;height:25px;margin-bottom:6px}
}

/* Four calm spokes retain the original account-card format. */
.context-story .context-cluster-heading{height:48px;padding:0 16px;gap:8px}
.context-story .context-cluster-heading strong{font-size:15px;line-height:1.2}
.context-story .context-cluster-rows{height:calc(100% - 48px);flex-direction:column;padding:0 14px}
.context-story .context-entity{position:relative;flex:1;flex-direction:row;justify-content:flex-start;gap:9px;text-align:left;padding:10px 0;min-width:0}
.context-story .context-entity+.context-entity{border-left:0;border-top:1px solid #e5ece7}
.context-story .context-entity strong{font-size:15px;line-height:1.3}
.context-story .context-entity small{display:block;font-size:12px;line-height:1.45;margin-top:5px;color:#718779}
.context-story .context-entity .context-avatar{width:29px;height:29px;font-size:10px}
.context-story .context-record-mark{width:29px;height:29px}
.context-story .context-record-mark img[src*="connectwise"],.context-story .context-record-mark img[src*="hubspot"]{width:29px;height:24px}
.context-story .context-record-mark .icon{width:18px;height:18px;color:#839986}
.context-cluster[data-group="growth"]{border-color:color-mix(in srgb,#d2dfd6,#91b49d calc(var(--opportunity-emphasis,0)*100%));background:color-mix(in srgb,#ffffffb8,#f0f7f2 calc(var(--opportunity-emphasis,0)*100%))}
.context-story .context-cluster[data-group="growth"] .context-cluster-heading{background:color-mix(in srgb,#f9fbf9,#e6f0e9 calc(var(--opportunity-emphasis,0)*100%))}
.context-story .context-entity[data-id="email"]{background:linear-gradient(90deg,transparent,#eaf4ed99,transparent)}
.context-story .context-entity[data-id="email"] strong{color:#3c684c}
@media(min-width:701px) and (max-width:1000px){
  .context-story .context-cluster-heading{height:35px;padding:0 14px}.context-story .context-cluster-heading strong{font-size:14px}
  .context-story .context-cluster-rows{height:calc(100% - 35px);padding:0 13px}
  .context-story .context-entity{padding:5px 0;gap:10px}.context-story .context-entity strong{font-size:14px}.context-story .context-entity small{font-size:12px;line-height:1.3;margin-top:3px}
}
@media(max-width:700px){
  .context-story .context-cluster{border-radius:10px}
  .context-story .context-cluster-heading{height:34px;padding:0 9px;gap:3px}.context-story .context-cluster-heading strong{font-size:12px;line-height:1.2}.context-story .context-cluster-heading>span{display:none}
  .context-story .context-cluster-rows{height:calc(100% - 34px);padding:0 8px}
  .context-story .context-entity{padding:4px 0;gap:6px}.context-story .context-entity strong{font-size:11px;line-height:1.25}.context-story .context-entity small{font-size:10px;line-height:1.25;margin-top:3px}
  .context-story .context-entity .context-avatar{width:22px;height:22px;font-size:8px}.context-story .context-record-mark{width:22px;height:23px}.context-story .context-record-mark img{width:18px;height:18px}
  .context-story .context-record-mark img[src*="connectwise"],.context-story .context-record-mark img[src*="hubspot"]{width:22px;height:20px}.context-story .context-record-mark .icon{width:16px;height:16px}
}
.context-story .context-cluster .context-entity small{display:block}
@media(max-width:700px) and (max-height:740px){
  .context-story .context-cluster-heading{height:30px}.context-story .context-cluster-rows{height:calc(100% - 30px)}
  .context-story .context-entity{padding:2px 0;gap:0}.context-story .context-entity .context-avatar,.context-story .context-record-mark{display:none}
  .context-story .context-entity small{font-size:10px;line-height:1.2;margin-top:2px}
}
