/* Additive homepage chapters. Existing home and WEB styles stay untouched.
   Native view timelines scrub in either direction; static is the default. */
.home-scroll-story{--story-ink:#191f28;--story-muted:#586371;--story-blue:#1465f5;color:var(--story-ink);position:relative;isolation:isolate}
.home-scroll-story .story-pin{position:relative;max-width:1440px;margin-inline:auto;padding:100px 40px 70px}
.home-scroll-story .story-heading{text-align:center;position:relative;z-index:2}
.home-scroll-story .story-eyebrow{font-size:12px;font-weight:650;letter-spacing:.12em;color:var(--story-blue);margin:0 0 24px}
.home-scroll-story h2{font-size:clamp(38px,4.1vw,64px);font-weight:780;letter-spacing:-.055em;line-height:1.24;text-wrap:balance}
.home-scroll-story h2>span{color:var(--story-blue)}
.home-scroll-story .story-icon{display:block;flex:none;width:88px;height:88px;background:url('/web/assets/web-service-icons-solid.webp') no-repeat;background-size:400% 200%}
.home-scroll-story .story-icon-call{background-position:66.666% 0}
.home-scroll-story .story-icon-system{background-position:0 100%;clip-path:inset(9% 0 0)}
.home-scroll-story .story-icon-flow{background-position:33.333% 100%;clip-path:inset(9% 0 0)}
.home-scroll-story .story-icon-create{background-position:0 0}
.home-scroll-story .story-icon-web{background-position:66.666% 100%;clip-path:inset(9% 0 0)}
.connection-story{background:#f5f7fa;margin-bottom:70px}
.connection-scene{width:min(100%,1020px);height:390px;margin:50px auto 32px;position:relative}
.connection-surface{position:absolute;inset:0;border:1px solid #fff;border-radius:38px;background:linear-gradient(130deg,#fff9,#fff5),linear-gradient(110deg,#e1edff,#eef3fa 55%,#dbe8fc);box-shadow:inset 0 2px 1px #fff,0 25px 65px -38px #3457895c}
.connection-hub{position:absolute;top:9%;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:20px;white-space:nowrap}
.connection-hub img{width:100px;height:auto}.connection-hub>span{font-size:14px;font-weight:550;color:#41516a}
.connection-line{position:absolute;top:34%;left:14.25%;right:14.25%;height:25px;border:2px solid #94b6f3;border-bottom:0;border-radius:12px 12px 0 0}
.connection-line::before,.connection-line::after{content:"";position:absolute;top:0;height:23px;border-left:2px solid #94b6f3}.connection-line::before{left:33.3%}.connection-line::after{left:66.6%}
.connection-item{position:absolute;top:40%;width:18.5%;height:46%;min-height:154px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border-radius:24px;background:linear-gradient(140deg,#fff,#ffffffe0);border:1px solid #fff;box-shadow:0 8px 24px #273e620a;text-align:center}
.connection-item-1{left:5%}.connection-item-2{left:28.85%}.connection-item-3{left:52.65%}.connection-item-4{left:76.5%}
.connection-item .story-icon{width:64px;height:64px;margin-bottom:0}
.connection-item strong{font-size:18px;letter-spacing:-.035em}.connection-item>span:last-child{font-size:12px;color:var(--story-muted)}
.connection-note{position:absolute;bottom:4%;width:100%;text-align:center;font-size:10px;color:#5b687b;line-height:1.5;padding:0 20px}
.story-outro{position:relative;text-align:center}.story-outro>p{font-size:17px;color:var(--story-muted);line-height:1.7}.story-outro>a{display:inline-flex;align-items:center;gap:22px;min-height:44px;font-size:14px;font-weight:650;color:#1460d8;margin-top:12px}
.story-outro>a:hover{color:#00398f}

.focus-story{padding-top:0;background:white}
.focus-window{position:relative;width:100%;height:500px;margin:44px auto 0;overflow:hidden;border-radius:28px;background:#f2f5f9;clip-path:inset(0 round 28px)}
.focus-window img{width:100%;height:100%;object-fit:cover;object-position:60% 50%}
.focus-caption{text-align:center;margin:25px 0 0;font-size:19px;font-weight:600;letter-spacing:-.02em;color:#4e5968;line-height:1.6}
.story-mobile-break{display:none}
.story-growth{max-width:1140px;margin:0 auto;padding:70px 40px 135px;display:grid;grid-template-columns:1fr 1.15fr;gap:80px;align-items:start}
.story-growth h3{font-size:clamp(36px,3.3vw,49px);font-weight:760;letter-spacing:-.05em;line-height:1.3}
.story-growth-heading>p:last-child{font-size:17px;line-height:1.8;color:var(--story-muted);margin-top:25px}
.story-growth-list{list-style:none;padding:0;margin:0;display:grid;gap:34px}
.story-growth-list>li{display:flex;align-items:center;gap:25px;min-height:128px}
.story-growth-list h4{margin:0;font-size:22px;letter-spacing:-.035em;font-weight:700;line-height:1.45}
.story-growth-list p{font-size:15px;line-height:1.7;color:var(--story-muted);margin-top:7px;word-break:keep-all}
.story-growth-list a{display:inline-flex;gap:18px;align-items:center;min-height:44px;font-size:13px;font-weight:600;color:#1460d8;margin-top:3px}
.story-growth-list a:hover{color:#00398f}
/* Entrance fallback is short, once-only, and never hides keyboard focus. */
.story-reveals-ready [data-story-reveal]{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .85s cubic-bezier(.22,1,.36,1)}
.story-reveals-ready [data-story-reveal].is-visible,.story-reveals-ready [data-story-reveal]:focus-within{opacity:1;transform:none}
@supports(animation-timeline:view()){
 @media(min-width:961px) and (min-height:650px){
  .scroll-stories-live .connection-story{height:225svh;view-timeline-name:--connect;view-timeline-axis:block;view-timeline-inset:96px 0}
  .scroll-stories-live .focus-scroll-track{height:210svh;view-timeline-name:--focus;view-timeline-axis:block;view-timeline-inset:96px 0}
  .scroll-stories-live .home-scroll-story .story-pin{position:sticky;top:96px;height:calc(100svh - 96px);min-height:0;padding:24px 40px 38px;display:flex;flex-direction:column;justify-content:center}
  .scroll-stories-live .story-heading .story-eyebrow{margin-bottom:16px}
  .scroll-stories-live .home-scroll-story h2{font-size:clamp(36px,4vw,62px)}
  .scroll-stories-live .connection-scene{height:clamp(250px,39svh,390px);margin:32px auto 22px;flex:none}
  .scroll-stories-live .connection-item{min-height:120px;gap:5px}
  .scroll-stories-live .connection-item .story-icon{width:clamp(45px,6svh,64px);height:clamp(45px,6svh,64px)}
  .scroll-stories-live .story-outro>p{font-size:15px}.scroll-stories-live .story-outro>a{margin-top:3px}
  .scroll-stories-live .connection-surface{animation:story-surface linear both;animation-timeline:--connect;animation-range:contain 0% contain 100%}
  .scroll-stories-live .connection-hub{animation:story-hub linear both;animation-timeline:--connect;animation-range:contain 0% contain 100%}
  .scroll-stories-live .connection-line{transform-origin:50% 0;animation:story-line linear both;animation-timeline:--connect;animation-range:contain 0% contain 100%}
  .scroll-stories-live .connection-item{animation:story-assemble linear both;animation-timeline:--connect;animation-range:contain 0% contain 100%}
  .connection-item-1{--scatter-x:-34px;--scatter-y:-40px;--scatter-turn:-12deg}
  .connection-item-2{--scatter-x:-12px;--scatter-y:16px;--scatter-turn:9deg}
  .connection-item-3{--scatter-x:25px;--scatter-y:-45px;--scatter-turn:-7deg}
  .connection-item-4{--scatter-x:36px;--scatter-y:10px;--scatter-turn:11deg}
  .scroll-stories-live .connection-story h2>span{display:inline-block;animation:story-title linear both;animation-timeline:--connect;animation-range:contain 0% contain 100%}
  .scroll-stories-live .focus-window{height:clamp(270px,49svh,580px);margin-top:30px;flex:none;animation:story-open-window linear both;animation-timeline:--focus;animation-range:contain 0% contain 100%}
  .scroll-stories-live .focus-window img{animation:story-photo linear both;animation-timeline:--focus;animation-range:contain 0% contain 100%}
  .scroll-stories-live .focus-caption{font-size:17px;margin-top:20px;animation:story-caption linear both;animation-timeline:--focus;animation-range:contain 0% contain 100%}
 }
}
@keyframes story-assemble{0%,8%{transform:translate(var(--scatter-x),var(--scatter-y)) rotate(var(--scatter-turn));box-shadow:0 16px 35px #1c385a14}60%,100%{transform:translate(0,0) rotate(0);box-shadow:0 8px 24px #273e620a}}
@keyframes story-surface{0%,5%{opacity:0;transform:scale(.8,.9)}60%,100%{opacity:1;transform:scale(1)}}
@keyframes story-hub{0%,18%{opacity:0;transform:translate(-50%,-14px)}55%,100%{opacity:1;transform:translate(-50%,0)}}
@keyframes story-line{0%,32%{opacity:0;transform:scaleX(.2)}70%,100%{opacity:1;transform:scaleX(1)}}
@keyframes story-title{0%,8%{opacity:.2;transform:translateY(12px)}50%,100%{opacity:1;transform:translateY(0)}}
@keyframes story-open-window{0%,6%{clip-path:inset(4% 27% 4% 27% round 90px)}78%,100%{clip-path:inset(0 0 0 0 round 28px)}}
@keyframes story-photo{0%,6%{transform:scale(1.14)}78%,100%{transform:scale(1)}}
@keyframes story-caption{0%,30%{opacity:0;transform:translateY(16px)}75%,100%{opacity:1;transform:none}}
@media(min-width:961px) and (min-height:650px) and (max-height:760px){
 .scroll-stories-live .home-scroll-story .story-pin{padding:16px 40px 30px}
 .scroll-stories-live .home-scroll-story h2{font-size:clamp(34px,3.6vw,46px)}
 .scroll-stories-live .story-heading .story-eyebrow{margin-bottom:12px}
 .scroll-stories-live .connection-scene{height:32svh;margin:24px auto 20px}
 .scroll-stories-live .connection-item{min-height:115px;top:36%;height:50%}
 .scroll-stories-live .connection-line{top:28%}
 .scroll-stories-live .connection-hub{top:6%}
 .scroll-stories-live .connection-item strong{font-size:16px}
 .scroll-stories-live .focus-window{height:43svh;margin-top:24px}
 .scroll-stories-live .focus-caption{margin-top:16px;font-size:16px}
}
@media(max-width:960px),(max-height:649px){
 .home-scroll-story .story-pin{padding:80px 24px 65px}
 .home-scroll-story h2{font-size:clamp(32px,5.5vw,46px)}
 .connection-scene{height:330px;margin:40px auto 25px}.connection-item{border-radius:20px;gap:6px;min-height:142px}.connection-item strong{font-size:16px}.connection-item>span:last-child{font-size:10px}.connection-item .story-icon{width:55px;height:55px}
 .focus-window{height:430px;margin-top:35px}.story-growth{padding:30px 24px 85px;gap:40px}.story-growth-list>li{gap:16px}.story-growth-list h4{font-size:19px}.story-growth-list p{font-size:13px}.home-scroll-story .story-growth-list .story-icon{width:65px;height:65px}
 .story-growth-heading>p:last-child{font-size:15px}.story-outro>p{font-size:15px}
}
@media(max-width:600px){
 .home-scroll-story .story-pin{padding:65px 20px 50px}.home-scroll-story .story-eyebrow{font-size:10px;margin-bottom:18px}
 .home-scroll-story h2{font-size:clamp(28px,7.7vw,40px);line-height:1.3}
 .connection-story{margin-bottom:60px}.connection-scene{height:465px;margin-top:32px}.connection-surface{border-radius:26px}
 .connection-hub{top:7%;gap:13px}.connection-hub img{width:75px}.connection-hub>span{font-size:11px}.connection-line{display:none}
 .connection-item{width:40%;height:31%;min-height:0;border-radius:20px;gap:6px}.connection-item-1,.connection-item-3{left:7%}.connection-item-2,.connection-item-4{left:53%}
 .connection-item-1,.connection-item-2{top:21%}.connection-item-3,.connection-item-4{top:57%}
 .connection-item .story-icon{width:58px;height:58px}.connection-item strong{font-size:16px}.connection-item>span:last-child{font-size:10px}
 .connection-note{font-size:9px;bottom:3%;padding:0 24px}.story-outro>p{font-size:14px;line-height:1.8}.story-outro>a{font-size:13px}
 .focus-window{height:340px;margin-top:30px;border-radius:24px;clip-path:inset(0 round 24px)}.focus-window img{object-position:68% 50%}.focus-caption{font-size:16px;margin-top:22px}.story-mobile-break{display:block}
 .story-growth{display:block;padding:25px 24px 80px}.story-growth h3{font-size:34px}.story-growth-heading>p:last-child{font-size:15px;margin-top:18px}
 .story-growth-list{gap:20px;margin-top:30px}.story-growth-list>li{gap:18px;min-height:132px}.home-scroll-story .story-growth-list .story-icon{width:68px;height:68px}.story-growth-list h4{font-size:19px}.story-growth-list p{font-size:13px}.story-growth-list a{font-size:12px}
}
.motion-paused .home-scroll-story [data-story-reveal]{opacity:1;transform:none;transition:none}
@media(prefers-reduced-motion:reduce){.home-scroll-story [data-story-reveal]{opacity:1;transform:none;transition:none}}
@media(prefers-reduced-transparency:reduce){.connection-surface{background:#eaf0f8}.connection-item{background:white}}

/* Mobile gets real scroll choreography, in normal document flow. Each visual
   settles before it reaches reading position; reverse scrolling rewinds it. */
@media(max-width:960px){
 :is(.mobile-scroll-native,.mobile-scroll-fallback) .connection-scene[data-story-reveal],
 :is(.mobile-scroll-native,.mobile-scroll-fallback) .focus-window[data-story-reveal]{opacity:1;transform:none;transition:none}
 .mobile-scroll-native [data-mobile-motion]{animation:mobile-rise linear both;animation-timeline:view();animation-range:entry 0% cover 40%}
 .mobile-scroll-native [data-mobile-motion="surface"]{animation-name:mobile-surface;animation-range:entry 0% cover 48%}
 .mobile-scroll-native [data-mobile-motion="hub"]{animation-name:mobile-hub}
 .mobile-scroll-native [data-mobile-motion="assemble"]{animation-name:mobile-assemble;animation-range:entry 0% cover 42%}
 .mobile-scroll-native [data-mobile-motion="window"]{animation-name:mobile-window;animation-range:entry 0% cover 52%}
 .mobile-scroll-native [data-mobile-motion="photo"]{animation-name:mobile-work-photo}
 .mobile-scroll-native [data-mobile-motion="window"],
 .mobile-scroll-native [data-mobile-motion="photo"]{view-timeline-name:--mobile-photo;view-timeline-axis:block}
 .mobile-scroll-native [data-mobile-motion="window"]>img,
 .mobile-scroll-native [data-mobile-motion="photo"]>img{animation:mobile-photo-zoom linear both;animation-timeline:--mobile-photo;animation-range:entry 0% cover 52%}
 .mobile-scroll-native [data-mobile-motion="step"]{animation-name:mobile-step}
 /* The native animation owns transforms; don't queue a hover transition on
    every scroll sample. Links remain fully clickable and focusable. */
 .mobile-scroll-native [data-mobile-motion],.mobile-scroll-native [data-mobile-motion]>img{transition:none}
 .mobile-scroll-native [data-mobile-motion]:focus-within{animation:none;opacity:1;transform:none;clip-path:none}

 .mobile-scroll-fallback [data-mobile-motion]{opacity:.35;transform:translateY(32px) scale(.96);transition:opacity .7s ease,transform .9s cubic-bezier(.22,1,.36,1)}
 .mobile-scroll-fallback [data-mobile-motion="surface"]{opacity:.2;transform:scale(.9)}
 .mobile-scroll-fallback [data-mobile-motion="hub"]{transform:translate(-50%,22px)}
 .mobile-scroll-fallback [data-mobile-motion="assemble"]{opacity:.5;transform:translate(calc(var(--mobile-side)*16px),32px) rotate(calc(var(--mobile-side)*7deg)) scale(.9)}
 .mobile-scroll-fallback .focus-window[data-mobile-motion="window"]{opacity:1;transform:none;clip-path:inset(4% 22% round 100px);transition:clip-path 1.05s cubic-bezier(.22,1,.36,1)}
 .mobile-scroll-fallback [data-mobile-motion="window"]>img,
 .mobile-scroll-fallback [data-mobile-motion="photo"]>img{transform:scale(1.16);transition:transform 1.2s cubic-bezier(.22,1,.36,1)}
 .mobile-scroll-fallback [data-mobile-motion].mobile-revealed,
 .mobile-scroll-fallback [data-mobile-motion]:focus-within{opacity:1;transform:none}
 .mobile-scroll-fallback [data-mobile-motion="hub"].mobile-revealed{transform:translateX(-50%)}
 .mobile-scroll-fallback [data-mobile-motion="window"].mobile-revealed{clip-path:inset(0 round 24px)}
 .mobile-scroll-fallback [data-mobile-motion].mobile-revealed>img{transform:none}
}
@keyframes mobile-rise{from{opacity:.35;transform:translateY(36px) scale(.94)}to{opacity:1;transform:none}}
@keyframes mobile-surface{from{opacity:.15;transform:scale(.86)}to{opacity:1;transform:scale(1)}}
@keyframes mobile-hub{from{opacity:.3;transform:translate(-50%,24px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes mobile-assemble{from{opacity:.45;transform:translate(calc(var(--mobile-side)*16px),36px) rotate(calc(var(--mobile-side)*9deg)) scale(.86)}to{opacity:1;transform:translate(0,0) rotate(0) scale(1)}}
@keyframes mobile-window{from{clip-path:inset(4% 22% round 100px)}to{clip-path:inset(0 round 24px)}}
@keyframes mobile-photo-zoom{from{transform:scale(1.16)}to{transform:scale(1)}}
@keyframes mobile-work-photo{from{opacity:.6;transform:translateY(25px) scale(.94)}to{opacity:1;transform:none}}
@keyframes mobile-step{from{opacity:.35;transform:translate(18px,28px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
 [data-mobile-motion],[data-mobile-motion]>img{animation:none!important;transition:none!important}
}
