/* Home 4: a project explorer and a staggered delivery roadmap. */
.automation-work{color:var(--ink);padding:95px var(--gutter) 85px;scroll-margin-top:110px}
.automation-heading{display:grid;grid-template-columns:1.5fr 1fr;gap:60px;align-items:end;margin-bottom:45px}
.automation-heading h2{font-size:clamp(34px,3.4vw,54px);font-weight:600;line-height:1.16;letter-spacing:-.055em;margin:0}
.automation-heading h2 span{color:#436cb3}
.automation-heading .automation-intro{max-width:365px;justify-self:end;margin:0 0 5px;font-size:13px;line-height:1.9;color:#526477}
.project-explorer{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:clamp(50px,6.5vw,110px);align-items:center}
.project-artwork{position:relative;isolation:isolate;min-width:0;margin:0;align-self:center;aspect-ratio:1.25;width:98%;max-width:460px;background:radial-gradient(ellipse at 30% 0,#123f81a8,transparent 65%),radial-gradient(ellipse at 100% 100%,#164b9a8a,transparent 60%),#03101f;border:1px solid #33578f40;border-radius:12px 12px 12px 38px}
.project-image-stage{position:absolute;inset:0;isolation:isolate;pointer-events:none}
.project-image{position:absolute;left:50%;top:35%;translate:-50% -50%;width:140%;height:auto;max-width:none;filter:url('#statement-neon-cutout');mask-image:radial-gradient(ellipse 38% 39% at 50% 50%,#000 65%,#000e 82%,transparent 100%);opacity:0;transform:translateY(12px) scale(.94);transition:opacity .45s ease,transform .7s cubic-bezier(.22,1,.36,1);will-change:auto}
.project-image.is-active{opacity:1;transform:translateY(0) scale(1)}
.project-artwork figcaption{position:absolute;bottom:24px;left:26px;right:26px;display:flex;justify-content:space-between;gap:20px;color:#d0e2ff;font-size:11px;line-height:1.6;z-index:2}
.project-artwork-index{font-variant-numeric:tabular-nums;color:#8cb4ff;white-space:nowrap}
.project-artwork-category{text-align:right}
.project-list{min-width:0}
.project-item{position:relative;border-bottom:1px solid transparent;padding:0 16px;border-radius:10px 10px 10px 22px;transition:background .3s}
.project-item:hover{background:#f8fafc}
.project-item.is-active{background:#f1f6ff}
.project-item::after{content:"";position:absolute;left:16px;right:16px;bottom:0;height:1px;background:#dce5f0;opacity:1;pointer-events:none;transition:opacity .2s}
.project-item.is-active::after,.project-item:has(+ .is-active)::after{opacity:0}
.project-item h3{margin:0;font-weight:500}
.project-trigger{display:grid;grid-template-columns:34px minmax(0,1fr) 44px;align-items:center;gap:16px;width:100%;border:0;padding:18px 0;text-align:left;background:transparent;color:#6d7a8b;transition:color .25s}
.project-trigger:hover,.project-trigger[aria-expanded=true]{color:#142234}
.project-trigger:focus-visible{outline:2px solid #3875ee;outline-offset:5px;border-radius:6px}
.project-title{font-size:clamp(19px,1.6vw,26px);line-height:1.4;letter-spacing:-.035em}
.project-number{font-size:15px;line-height:1.5;color:#7c8ba1;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.025em}
.project-arrow{position:relative;display:grid;place-items:center;justify-self:end;width:42px;height:42px;border:1px solid #d9e4f2;border-radius:50%;color:#3875ee;background:#fff;transition:background .3s,border-color .3s,rotate .45s cubic-bezier(.22,1,.36,1)}
.project-arrow-fallback,.project-arrow-player{position:absolute;inset:8px;display:block;pointer-events:none}
.project-arrow-fallback{width:24px;height:24px}
.project-arrow-player svg{display:block;width:100%;height:100%}
.project-arrow.is-ready .project-arrow-fallback{display:none}
.project-trigger:hover .project-arrow{border-color:#99b8ed}
.project-trigger[aria-expanded=true] .project-arrow{background:#3875ee;border-color:#3875ee;color:#fff;rotate:180deg}
.project-trigger[aria-expanded=true] .project-arrow-player{filter:brightness(0) invert(1)}
.project-trigger[aria-expanded=true] .project-number{color:#3875ee}
.project-description{margin:0 60px 24px 50px;animation:project-description-in .35s ease both}
.project-description[hidden]{display:none}
.project-category{display:inline-block;font-size:11px;line-height:1.6;color:#436cb3;margin-bottom:8px}
.project-description p{font-size:12px;line-height:1.9;color:#526477;max-width:550px;margin:0}

/* Four alternating cards joined by a responsive, decorative process line. */
.automation-delivery{margin:var(--section-inset);padding:75px calc(var(--gutter) - var(--section-inset)) 65px;border-radius:var(--section-radius);background:#f7f8fa;color:var(--ink);scroll-margin-top:110px}
.automation-delivery .automation-heading{grid-template-columns:1.7fr 1fr;gap:50px;align-items:end;margin-bottom:52px}
.automation-delivery .automation-heading h2{font-size:clamp(34px,3.6vw,56px)}
.automation-delivery .automation-intro{max-width:365px;justify-self:end;color:#526477;margin:0 0 5px}
.delivery-map{position:relative;max-width:1120px;margin:0 auto}
.delivery-steps{position:relative;list-style:none;display:grid;grid-template-columns:1fr 1fr;column-gap:clamp(80px,11vw,180px);row-gap:50px;margin:0;padding:0}
.delivery-step{position:relative;isolation:isolate;min-width:0;display:block;align-self:start;padding:30px;min-height:260px;border:1px solid #e0e7f0;border-radius:14px 14px 14px 34px;background:#fff}
.delivery-step:nth-child(1),.delivery-step:nth-child(4){background:#eaf2ff;border-color:#d5e3fa}
.delivery-step:nth-child(2){margin-top:130px}
.delivery-step:nth-child(3){margin-top:-25px}
.delivery-step:nth-child(4){margin-top:105px}
.delivery-card-body{min-width:0}
.delivery-card-topline{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}
.delivery-step-label{border:1px solid #c7d8f0;border-radius:18px 18px 18px 7px;padding:6px 11px;color:#526d96;font-size:10px;line-height:1.5;font-weight:500;letter-spacing:.025em}
.delivery-card-icon{display:grid;place-items:center;flex-shrink:0;width:54px;height:54px;color:#436cb3;background:#eaf2ff;border:1px solid #d5e3fa;border-radius:12px 12px 12px 20px}
.delivery-step:nth-child(1) .delivery-card-icon,.delivery-step:nth-child(4) .delivery-card-icon{background:#dce9fe;border-color:#c6daf9}
.delivery-card-icon svg{width:34px;height:34px;display:block}
.delivery-step h3{font-size:clamp(22px,1.8vw,28px);line-height:1.35;font-weight:500;letter-spacing:-.04em;margin:0 0 16px;text-wrap:pretty}
.delivery-card-body>p{font-size:13px;line-height:1.9;color:#526477;margin:0}
.delivery-connectors{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.delivery-connectors>path{stroke:#7595c8;stroke-width:1.3;fill:none;stroke-dasharray:4 6;marker-end:url('#delivery-arrowhead')}
@keyframes project-description-in{from{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}
@media(min-width:1700px){.project-description p,.delivery-card-body>p{font-size:14px}.project-trigger{padding:20px 0}.project-artwork figcaption{font-size:12px}.delivery-step{padding:34px}}
@media(max-width:1100px){.automation-heading{grid-template-columns:1.4fr 1fr;gap:36px}.project-explorer{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:40px}.project-title{font-size:20px}.project-trigger{padding:16px 0;grid-template-columns:30px minmax(0,1fr) 40px;gap:12px}.project-description{margin-left:42px;margin-right:52px}.project-artwork{aspect-ratio:1.2}.project-image{top:35%;width:140%}.automation-delivery .automation-heading{gap:35px}.delivery-steps{column-gap:70px}.delivery-step{padding:25px}.delivery-step h3{font-size:23px}}
@media(max-width:760px){.automation-work{padding:65px var(--gutter) 55px;overflow-x:clip}.automation-heading,.project-explorer{grid-template-columns:1fr;gap:22px}.automation-heading{margin-bottom:35px}.automation-heading h2{font-size:clamp(34px,7.8vw,48px)}.automation-heading .automation-intro{justify-self:start;font-size:12px;margin:0;max-width:500px}.project-explorer{gap:30px}.project-artwork{aspect-ratio:1.35;width:100%;max-width:350px;justify-self:center;margin-top:24px;border-radius:10px 10px 10px 30px}.project-image{width:115%;top:32%}.project-artwork figcaption{left:18px;right:18px;bottom:16px;font-size:9px}.project-title{font-size:20px}.project-trigger{padding:18px 0;grid-template-columns:28px minmax(0,1fr) 38px;gap:10px}.project-description{margin:0 0 22px 38px}.project-item{padding-inline:12px}.project-number{font-size:14px}.project-arrow{width:36px;height:36px}.project-arrow-fallback,.project-arrow-player{inset:6px}.automation-delivery{padding:50px calc(var(--gutter) - var(--section-inset))}.automation-delivery .automation-heading{grid-template-columns:1fr;gap:22px;margin-bottom:35px}.automation-delivery .automation-heading h2{font-size:clamp(32px,7.1vw,46px)}.automation-delivery .automation-intro{justify-self:start;margin:0}.delivery-map{max-width:520px}.delivery-steps{grid-template-columns:1fr;row-gap:42px;padding:0 0 0 18px}.delivery-step:nth-child(n){margin-top:0;padding:24px;min-height:0}.delivery-step h3{font-size:24px}.delivery-card-body>p{font-size:12px}.delivery-card-topline{margin-bottom:20px}.delivery-card-icon{width:50px;height:50px}.delivery-card-icon svg{width:32px;height:32px}}
@media(max-width:370px){.delivery-step:nth-child(n){padding:21px}.delivery-step h3{font-size:22px}.delivery-step-label{font-size:9px;padding:5px 9px}.delivery-card-icon{width:46px;height:46px}}
@media(prefers-reduced-motion:reduce){.project-image,.project-description{animation:none;transition:none}}

/* A single reveal sequence: card, icon, then the route to the next step. */
@media(prefers-reduced-motion:no-preference){
 .delivery-step.motion-reveal{scale:.975;transition:opacity .4s ease,filter .45s ease,translate .65s cubic-bezier(.22,1,.36,1),scale .65s cubic-bezier(.22,1,.36,1)}
 .delivery-step.motion-reveal.is-visible{scale:1;transition-duration:.7s,.8s,.85s,.85s;transition-delay:var(--reveal-delay)}
 .delivery-card-icon svg{transition:transform .7s cubic-bezier(.22,1,.36,1)}
 .delivery-step.motion-reveal:not(.is-visible) .delivery-card-icon svg{transform:rotate(-8deg) scale(.86)}
 .delivery-step.motion-reveal.is-visible .delivery-card-icon svg{transition-delay:calc(var(--reveal-delay) + 140ms)}
 .delivery-step:hover .delivery-card-icon svg{transform:translateY(-2px) scale(1.06);transition-delay:0s}
 .delivery-draw-path{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .35s ease}
 .delivery-draw-path.is-drawn{stroke-dashoffset:0;transition:stroke-dashoffset 1.1s .3s cubic-bezier(.22,1,.36,1)}
}
@media(prefers-reduced-motion:reduce){.delivery-draw-path{stroke-dasharray:none;stroke-dashoffset:0}.delivery-step{scale:1}}

@media(prefers-reduced-motion:reduce){.project-item::after,.project-arrow{transition:none}}
