
/* Case-study motion and layout. Scope exclusively to the portfolio and its detail pages. */
.ow-refresh main{--ow-accent:#00c2a0;--ow-ink:#0b1d3a;--ow-dark:#081428}
.ow-refresh main>.zp-section{padding:clamp(48px,6vw,90px) 0}
.ow-refresh main>.zp-section .wrap,.ow-refresh main>.ow-hero .wrap{max-width:1240px}
.ow-refresh .ow-hero{padding:clamp(68px,8vw,116px) 0}
.ow-refresh .ow-hero .zp-hero-grid{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:clamp(26px,4vw,64px)}
.ow-refresh .ow-hero h1{font-size:clamp(2.55rem,4.4vw,4.85rem);line-height:1.075;letter-spacing:-.052em;overflow-wrap:anywhere}
.ow-refresh .ow-hero p:not(.zp-kicker):not(.ow-breadcrumb){line-height:1.65}
.ow-refresh .ow-cover{margin:0;position:relative;isolation:isolate;border-radius:22px;padding:1px;background:#35546a;min-width:0;overflow:hidden;box-shadow:0 22px 60px #0005}
.ow-refresh .ow-cover:before{content:"";position:absolute;inset:-50%;z-index:-1;background:conic-gradient(from 0deg,transparent 0 65%,#00f5a0 83%,transparent 100%);animation:ow-cover-orbit 14s linear infinite}
.ow-refresh .ow-cover .ow-visual{border:0;border-radius:21px;aspect-ratio:16/11;width:100%;object-fit:cover}
.ow-refresh main .ow-split{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:center;gap:clamp(24px,4vw,56px)}
.ow-refresh main .ow-summary{padding:clamp(24px,3vw,38px);min-width:0;box-shadow:0 12px 32px #0814280a;border-radius:20px}
.ow-refresh main .zp-section h2{font-size:clamp(2rem,3.6vw,3.55rem);line-height:1.12;max-width:950px;letter-spacing:-.045em;margin:12px 0 26px}
.ow-refresh main .ow-modules{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,24px)}
.ow-refresh main .ow-step-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,1.6vw,20px)}
.ow-refresh main .ow-panel{position:relative;overflow:hidden;display:flex;flex-direction:column;min-width:0;padding:clamp(22px,2.5vw,32px);border-radius:18px;animation:ow-panel-edge 7s ease-in-out infinite}
.ow-refresh main .ow-panel:before{content:"";height:3px;position:absolute;top:0;left:0;right:0;background:linear-gradient(90deg,transparent,#00a987,transparent);background-size:45% 100%;background-repeat:no-repeat;animation:ow-card-trace 6s linear infinite}
.ow-refresh main .ow-panel:nth-child(2n):before{animation-delay:-2s}
.ow-refresh main .ow-panel:nth-child(3n):before{animation-delay:-4s}
.ow-refresh main .ow-panel h3{font-size:clamp(1.15rem,1.55vw,1.4rem);line-height:1.27;overflow-wrap:anywhere}
.ow-refresh main .ow-panel p{line-height:1.62}
.ow-refresh main .ow-panel .ow-tech{margin-top:auto;padding-top:15px}
.ow-refresh main .ow-demo{padding:clamp(20px,3vw,38px);margin-top:24px}
.ow-refresh main .ow-demo-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:start;gap:clamp(18px,3vw,36px)}
.ow-refresh main .ow-metric{padding:clamp(16px,2vw,24px);border:1px solid #41677b;border-radius:14px}
.ow-refresh main .ow-metric span{line-height:1.45}
.ow-refresh main .ow-chart-fill{position:relative;overflow:hidden}
.ow-refresh main .ow-chart-fill:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,#ffffff40,transparent);width:40%;animation:ow-chart-sweep 5s linear infinite}
.ow-refresh main #workflow-map{background:#081428;color:#fff}
.ow-refresh main #workflow-map:before{background:radial-gradient(ellipse at 80% 0%,#0b584b66,transparent 62%);opacity:1}
.ow-refresh main #workflow-map h2{color:#fff}
.ow-refresh main #workflow-map .zp-kicker{color:#81e4ca!important}
.ow-refresh .ow-workflow-shell{position:relative;border:1px solid #34576b;border-radius:24px;padding:clamp(18px,3vw,38px);background:linear-gradient(135deg,#102a40,#091a2c);box-shadow:0 24px 55px #0003;overflow:hidden}
.ow-refresh .ow-workflow-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-bottom:1px solid #2c4b60;padding-bottom:20px;margin-bottom:26px}
.ow-refresh .ow-workflow-top strong{font-size:.77rem;letter-spacing:.1em;text-transform:uppercase;color:#b4d7e2}
.ow-refresh .ow-motion-control{display:inline-flex;align-items:center;gap:8px;color:#c9deea;font-size:.78rem;cursor:pointer}
.ow-refresh .ow-motion-control input{accent-color:#00c2a0;width:16px;height:16px}
.ow-refresh .ow-motion-control input:focus-visible{outline:2px solid #00f5a0;outline-offset:3px}
.ow-refresh main #workflow-map .ow-process-map{display:grid;grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr) 46px minmax(0,1fr);grid-template-rows:minmax(148px,auto) 42px minmax(148px,auto);gap:0;margin:0;align-items:stretch;isolation:isolate}
.ow-refresh main #workflow-map .ow-flow-node{position:relative;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:clamp(16px,2vw,24px);border:1px solid #456479;border-radius:16px;background:linear-gradient(145deg,#17364c,#10273d);box-shadow:0 8px 20px #0002;animation:ow-node-cycle 12s linear infinite;animation-delay:var(--ow-delay)}
.ow-refresh main #workflow-map .ow-flow-node:nth-of-type(1){grid-area:1/1}
.ow-refresh main #workflow-map .ow-flow-node:nth-of-type(2){grid-area:1/3}
.ow-refresh main #workflow-map .ow-flow-node:nth-of-type(3){grid-area:1/5}
.ow-refresh main #workflow-map .ow-flow-node:nth-of-type(4){grid-area:3/5}
.ow-refresh main #workflow-map .ow-flow-node:nth-of-type(5){grid-area:3/3}
.ow-refresh main #workflow-map .ow-flow-node:nth-of-type(6){grid-area:3/1}
.ow-refresh main #workflow-map .ow-node-head{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin:0}
.ow-refresh .ow-node-glyph{width:34px;height:34px;flex:none;padding:7px;box-sizing:content-box;border-radius:12px;background:#00c2a014;color:#67efc7;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.ow-refresh main #workflow-map .ow-node-number{font-size:.72rem;font-weight:750;letter-spacing:.12em;color:#93b6c9;margin:0}
.ow-refresh main #workflow-map .ow-node-caption{font-size:.7rem;font-weight:650;letter-spacing:.06em;color:#a0c7d2;margin:0;text-transform:uppercase;line-height:1.25}
.ow-refresh main #workflow-map .ow-flow-node strong{font-size:clamp(.96rem,1.3vw,1.17rem);line-height:1.3;color:#f1f8fc;overflow-wrap:anywhere}
.ow-refresh main #workflow-map .ow-flow-arrow{position:relative;display:block;align-self:stretch;justify-self:stretch;min-width:0;min-height:0;overflow:hidden;font-size:0;color:transparent;transform:none;animation:ow-wire-pulse 12s linear infinite;animation-delay:var(--ow-delay);opacity:1}
.ow-refresh main #workflow-map .ow-flow-arrow:nth-of-type(1){grid-area:1/2}
.ow-refresh main #workflow-map .ow-flow-arrow:nth-of-type(2){grid-area:1/4}
.ow-refresh main #workflow-map .ow-flow-arrow:nth-of-type(3){grid-area:2/5}
.ow-refresh main #workflow-map .ow-flow-arrow:nth-of-type(4){grid-area:3/4}
.ow-refresh main #workflow-map .ow-flow-arrow:nth-of-type(5){grid-area:3/2}
.ow-refresh main #workflow-map .ow-flow-arrow:before{content:"";position:absolute;left:0;right:0;top:50%;height:2px;background:#47778a;transform:translateY(-50%)}
.ow-refresh main #workflow-map .ow-flow-arrow:after{content:"";position:absolute;top:calc(50% - 2px);left:0;width:18px;height:4px;border-radius:8px;background:#64f5ca;box-shadow:0 0 11px #00f5a0;animation:ow-packet 2s linear infinite;animation-delay:var(--ow-delay)}
.ow-refresh main #workflow-map .ow-flow-arrow:nth-of-type(3):before{top:0;bottom:0;left:50%;right:auto;width:2px;height:auto;transform:translateX(-50%)}
.ow-refresh main #workflow-map .ow-flow-arrow:nth-of-type(3):after{top:0;left:calc(50% - 2px);width:4px;height:18px;animation-name:ow-packet-down}
.ow-refresh main #workflow-map .ow-flow-arrow:nth-of-type(4):after,.ow-refresh main #workflow-map .ow-flow-arrow:nth-of-type(5):after{animation-direction:reverse}
.ow-refresh .ow-workflow-shell:has(.ow-motion-control input:checked) .ow-flow-node,.ow-refresh .ow-workflow-shell:has(.ow-motion-control input:checked) .ow-flow-arrow,.ow-refresh .ow-workflow-shell:has(.ow-motion-control input:checked) .ow-flow-arrow:after{animation-play-state:paused!important}
.ow-refresh .ow-workflow-foot{border-top:1px solid #2c4b60;margin:24px 0 0;padding-top:16px;color:#b4cbd9!important;font-size:.78rem;line-height:1.5}
.ow-refresh main #studies .ow-portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,2.5vw,30px)}
.ow-refresh main #studies .ow-portfolio-grid .ow-card{display:flex;flex-direction:column;align-items:stretch;position:relative;min-width:0;overflow:hidden;animation:ow-panel-edge 8s ease-in-out infinite}
.ow-refresh main #studies .ow-portfolio-grid .ow-card:after{content:"";position:absolute;top:0;left:0;right:0;height:3px;pointer-events:none;background:linear-gradient(90deg,transparent,#00c2a0,transparent);background-size:50% 100%;background-repeat:no-repeat;animation:ow-card-trace 8s linear infinite}
.ow-refresh main #studies .ow-portfolio-grid .ow-card>img.ow-photo{height:auto;min-height:0;aspect-ratio:16/9;object-fit:cover}
.ow-refresh main #studies .ow-card-body{padding:clamp(20px,2.6vw,32px);flex:1;min-width:0}
.ow-refresh main #studies .ow-card h3{font-size:clamp(1.25rem,2vw,1.65rem);overflow-wrap:anywhere}
.ow-refresh main #studies .ow-group{margin-top:clamp(30px,5vw,60px)}
@keyframes ow-cover-orbit{to{transform:rotate(360deg)}}
@keyframes ow-card-trace{0%{background-position:-100% 0}100%{background-position:200% 0}}
@keyframes ow-panel-edge{0%,100%{border-color:#c0d1df}50%{border-color:#6daf9f}}
@keyframes ow-node-cycle{0%,16.66%{border-color:#61e5ba;box-shadow:inset 0 0 26px #00c2a017,0 0 16px #00c2a018}22%,94%{border-color:#456479;box-shadow:0 8px 20px #0002}100%{border-color:#61e5ba;box-shadow:inset 0 0 26px #00c2a017,0 0 16px #00c2a018}}
@keyframes ow-wire-pulse{0%,100%{opacity:1}32%,70%{opacity:.63}}
@keyframes ow-packet{0%{left:-18px}100%{left:100%}}
@keyframes ow-packet-down{0%{top:-18px}100%{top:100%}}
@keyframes ow-chart-sweep{0%{transform:translateX(-100%)}100%{transform:translateX(350%)}}
@media(max-width:1000px){.ow-refresh main .ow-step-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ow-refresh main #workflow-map .ow-process-map{grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr) 30px minmax(0,1fr)}}
@media(max-width:820px){.ow-refresh .ow-hero .zp-hero-grid,.ow-refresh main .ow-split,.ow-refresh main .ow-demo-layout{grid-template-columns:minmax(0,1fr)}.ow-refresh main .ow-modules{grid-template-columns:repeat(2,minmax(0,1fr))}.ow-refresh .ow-cover{max-width:680px}.ow-refresh .ow-cover .ow-visual{aspect-ratio:16/10}}
@media(max-width:700px){.ow-refresh main #workflow-map .ow-process-map{display:flex;flex-direction:column;gap:0}.ow-refresh main #workflow-map .ow-flow-node{flex:none;padding:18px;min-height:108px;display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:12px;row-gap:5px;align-items:center}.ow-refresh main #workflow-map .ow-node-head{display:contents}.ow-refresh .ow-node-glyph{grid-area:1/1/4/2;align-self:center;width:30px;height:30px}.ow-refresh main #workflow-map .ow-node-number{grid-area:1/2}.ow-refresh main #workflow-map .ow-node-caption{grid-area:2/2}.ow-refresh main #workflow-map .ow-flow-node strong{grid-area:3/2}.ow-refresh main #workflow-map .ow-flow-arrow{height:28px;min-height:28px;transform:none}.ow-refresh main #workflow-map .ow-flow-arrow:before{top:0;bottom:0;left:50%;right:auto;width:2px;height:auto;transform:translateX(-50%)}.ow-refresh main #workflow-map .ow-flow-arrow:after,.ow-refresh main #workflow-map .ow-flow-arrow:nth-of-type(4):after,.ow-refresh main #workflow-map .ow-flow-arrow:nth-of-type(5):after{top:0;left:calc(50% - 2px);width:4px;height:12px;animation-name:ow-packet-down;animation-direction:normal}.ow-refresh main #studies .ow-portfolio-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:540px){.ow-refresh main .ow-modules,.ow-refresh main .ow-step-grid{grid-template-columns:minmax(0,1fr)}.ow-refresh .ow-workflow-shell{padding:16px}.ow-refresh main .ow-demo-results{grid-template-columns:minmax(0,1fr)}.ow-refresh .ow-hero h1{font-size:clamp(2.1rem,9vw,3rem)}}
@media(prefers-reduced-motion:reduce){.ow-refresh main *, .ow-refresh main *:before,.ow-refresh main *:after{animation:none!important;transition:none!important}.ow-refresh .ow-motion-control{display:none}.ow-refresh main #workflow-map .ow-flow-arrow:after{display:none}}
