/* ===== ai9 v2 — motion infographics (theme-matched) ===== */

/* --- "One connected discipline" diagram --- */
.connected{background:var(--sand);padding:104px 0}
.connected .shead{margin-bottom:24px}
.cdiag{max-width:620px;width:100%;margin:0 auto;display:block}
.cdiag .spin{transform-box:fill-box;transform-origin:center;animation:cd-spin 46s linear infinite}
.cdiag .node{transform-box:fill-box;transform-origin:center;animation:cd-pulse 3.8s ease-in-out infinite}
.cdiag .node.n2{animation-delay:.7s}
.cdiag .node.n3{animation-delay:1.4s}
.cdiag .flow{stroke-dasharray:6 9;animation:cd-flow 1.7s linear infinite}
.cdiag .nlabel{font:600 14px/1 'Work Sans';fill:var(--plum)}
.cdiag .cw{font-family:'Fraunces';font-weight:600;font-size:34px;fill:var(--ivory)}
.cdiag .cw .n9{fill:var(--amber)}
@keyframes cd-spin{to{transform:rotate(360deg)}}
@keyframes cd-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@keyframes cd-flow{to{stroke-dashoffset:-30}}

/* --- Process flow line (services "How we engage") --- */
.flowline{max-width:1040px;margin:0 auto -8px;padding:0 20px}
.flowline svg{width:100%;height:46px;display:block;overflow:visible}
.flowline .ln{fill:none;stroke:var(--line);stroke-width:2}
.flowline .lnp{fill:none;stroke:var(--amber);stroke-width:2;stroke-linecap:round;stroke-dasharray:900;stroke-dashoffset:900;transition:stroke-dashoffset 2s ease}
.flowline .d{fill:var(--amber)}
.flowline .d.pulse{animation:fl-pulse 2.6s ease-in-out infinite}
.flowline .d.pulse.p2{animation-delay:.5s}.flowline .d.pulse.p3{animation-delay:1s}.flowline .d.pulse.p4{animation-delay:1.5s}
@keyframes fl-pulse{0%,100%{r:5;opacity:1}50%{r:8;opacity:.65}}

@media (max-width:1024px){.connected{padding:80px 0}}
@media (max-width:680px){.connected{padding:60px 0}.flowline{display:none}}
@media (prefers-reduced-motion:reduce){
  .cdiag .spin,.cdiag .node,.cdiag .flow,.flowline .d.pulse{animation:none}
}

/* RTL: Arabic fonts for the connected-discipline diagram */
[dir="rtl"] .cdiag .nlabel{font-family:'Tajawal',sans-serif}
[dir="rtl"] .cdiag .cw{font-family:'Amiri',serif}
