.portfolio-intro,.portfolio-close{position:relative;isolation:isolate;overflow:hidden;background:#241331;color:#fff}
.portfolio-intro{display:grid;align-items:center;min-height:clamp(31rem,76svh,56rem);padding:4rem 0}
.portfolio-intro::before,.portfolio-close::before{content:"";position:absolute;z-index:-1;width:min(85vw,72rem);aspect-ratio:1.8;border:1px solid #c387f16b;box-shadow:0 0 0 2rem #9d66c718,0 0 0 5rem #9d66c712;border-radius:50%;right:-14%;top:3%;transform:rotate(-25deg);background:radial-gradient(ellipse at 73% 35%,#73329e,transparent 63%)}
.portfolio-intro h1{font-size:clamp(3.6rem,11vw,12rem);line-height:.83;letter-spacing:-.09em;margin-bottom:.28em}
.portfolio-intro h1 em{color:#e2b4ff;font-style:normal}
.portfolio-intro p:not(.portfolio-kicker){font-size:clamp(1.05rem,2.4vw,1.65rem)}
.portfolio-intro .text-link{color:#fff;margin:.7rem}
.portfolio-kicker{font-size:.79rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin-bottom:1rem}
.portfolio-intro .portfolio-kicker,.portfolio-close .portfolio-kicker{color:#dfbcf9}
.portfolio-index{background:#f3eaf7;padding-block:clamp(2.4rem,5vw,5rem)}
.portfolio-rail{display:flex;gap:.6rem;overflow-x:auto;scroll-snap-type:x proximity;padding:.35rem .25rem .9rem;scrollbar-color:#9873ae transparent}
.portfolio-rail>*{flex:none;scroll-snap-align:start}
.portfolio-rail a{text-decoration:none}
.portfolio-filter{margin:1.4rem 0 0;padding:0;border:0;min-width:0}
.portfolio-filter legend{padding:0;font-weight:800;margin-bottom:.5rem}
.portfolio-filter>div,.portfolio-tags{display:flex;flex-wrap:wrap;gap:.45rem}
.portfolio-tags:not(:empty){margin:1rem 0}
.portfolio-tag,.portfolio-filter button{display:inline-flex;align-items:center;gap:.35rem;min-height:2.35rem;padding:.35rem .8rem;border:1px solid currentColor;border-radius:999px;background:transparent;color:inherit;font-size:.9rem;font-weight:720;cursor:pointer}
.portfolio-tag:hover,.portfolio-filter button:hover,.portfolio-filter button[aria-pressed=true]{color:#fff;background:#542180;border-color:#542180}
#portfolio-count{margin:.65rem 0 0}
#portfolio-empty{margin-top:.75rem}

.portfolio-feature{--project-bg:#f0e7f4;--project-ink:#30213b;--project-accent:#7c4da0;background:var(--project-bg);color:var(--project-ink);position:relative;isolation:isolate;overflow:hidden}
.portfolio-feature::before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background-image:radial-gradient(currentColor .8px,transparent .8px);background-size:20px 20px;opacity:.075;mask-image:linear-gradient(90deg,transparent 25%,#000)}
.project-blessed-talbot{--project-bg:#e1eee9;--project-ink:#123e34;--project-accent:#358d77}
.project-afyastack-kenya{--project-bg:#123b3c;--project-ink:#effffc;--project-accent:#67e0cb}
.project-lefti{--project-bg:#f3e3cc;--project-ink:#4c2e18;--project-accent:#a4442b}
.project-zen-recovery{--project-bg:#e0eaf0;--project-ink:#1a4158;--project-accent:#437393}
.project-bonita-decor{--project-bg:#eeded8;--project-ink:#542738;--project-accent:#a6516b}
.project-barika-medical-centre{--project-bg:#e2e6f4;--project-ink:#2d376a;--project-accent:#6a65aa}
.project-food-hub-europe{--project-bg:#f0e8c9;--project-ink:#473710;--project-accent:#9d7525}
.project-bridge-of-hope{--project-bg:#342348;--project-ink:#fff6f9;--project-accent:#eba9d0}
.portfolio-feature-grid{min-height:clamp(32rem,78svh,58rem);padding-block:clamp(3rem,6vw,7rem);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;column-gap:clamp(1.25rem,5vw,5rem)}
.portfolio-feature:nth-of-type(even) .portfolio-copy{grid-column:2;grid-row:1}
.portfolio-feature:nth-of-type(even) .portfolio-feature-grid>:nth-child(2){grid-column:1;grid-row:1}
.portfolio-copy h2,.portfolio-copy h1{position:relative;font-size:clamp(3rem,7vw,8rem);line-height:.91;letter-spacing:-.077em;overflow-wrap:anywhere;max-width:11ch;margin:.18em 0 .3em}
.portfolio-copy p:not(.portfolio-kicker){font-size:clamp(1.05rem,1.65vw,1.35rem)}
.portfolio-copy .text-link{color:inherit;margin-bottom:1rem}
.portfolio-copy .button{background:var(--project-ink);color:var(--project-bg)}
.portfolio-copy .button:hover{box-shadow:0 0 0 4px var(--project-accent)}
.portfolio-device{position:relative;padding:0 12% 9% 0;transform:translate(var(--work-x,0),var(--work-y,0))}
.portfolio-screen,.portfolio-phone{overflow:hidden;padding:.55rem;background:#17151a;border:1px solid #ffffff35;box-shadow:0 18px 35px #14081e45}
.portfolio-screen{border-radius:1.15rem}
.portfolio-screen img{width:100%;aspect-ratio:1.4;object-fit:cover;border-radius:.58rem}
.portfolio-phone{position:absolute;right:0;bottom:0;width:30%;border-radius:1.2rem;transform:rotate(7deg)}
.portfolio-phone img{width:100%;aspect-ratio:.60;object-fit:cover;border-radius:.7rem}
.project-lefti .portfolio-screen img{object-fit:contain;background:#332719}
.project-lefti .portfolio-phone{transform:rotate(-9deg);right:1%}
.portfolio-logo-stage{display:grid;place-items:center;aspect-ratio:1.25;background:#fff7fc;clip-path:polygon(12% 0,100% 0,100% 79%,86% 100%,0 100%,0 18%);transform:translate(var(--work-x,0),var(--work-y,0))}
.portfolio-logo-stage img{width:min(68%,21rem);height:auto}
.portfolio-orbit{min-width:0;position:relative;aspect-ratio:1.3;display:grid;place-items:center;transform:translate(var(--work-x,0),var(--work-y,0))}
.portfolio-orbit::before{content:"";width:57%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 34% 32%,var(--project-bg),var(--project-accent) 65%,var(--project-ink));opacity:.84}
.portfolio-orbit i{position:absolute;width:88%;height:48%;left:6%;top:26%;border:1px solid var(--project-ink);border-radius:50%;opacity:.45;transform:rotate(-21deg)}
.portfolio-orbit i:nth-child(2){transform:rotate(37deg) scale(.87)}
.portfolio-orbit i:nth-child(3){transform:rotate(77deg) scale(.76)}
.project-zen-recovery .portfolio-orbit::before{border-radius:58% 42% 66% 34%}
.project-bonita-decor .portfolio-orbit::before{border-radius:14%;transform:rotate(34deg) scale(.8)}
.project-barika-medical-centre .portfolio-orbit::before{border-radius:17% 56% 21% 56%;transform:rotate(-38deg)}
.project-food-hub-europe .portfolio-orbit::before{border-radius:30% 30% 52% 52%;aspect-ratio:1.45}
.project-opening .portfolio-feature-grid{min-height:clamp(30rem,70svh,55rem)}
.project-record .project-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(1rem,4vw,4rem);margin:1.5rem 0}
.project-details article{border-top:1px solid var(--line);padding:1rem 0}
.project-details article p{margin-bottom:0;color:var(--muted)}
.project-art{background:#eee3f4}
.project-art figure{margin:0;width:min(72vw,32rem)}
.project-art figure img{width:100%;aspect-ratio:1.1;object-fit:contain;background:#f8f3fb}
.project-art figcaption{padding:.6rem 0}
.project-onward .wrap{display:grid;grid-template-columns:1fr 1.5fr;gap:1rem;border-top:1px solid var(--line);padding-top:1.5rem}
.next-project{display:inline-block;font-size:clamp(1.5rem,4vw,3.4rem);font-weight:800;line-height:1;transition:transform var(--motion-fast)}
.next-project:hover{transform:translateX(.3rem)}
.portfolio-close .button{background:#e9d0fa;color:#35184a}
.portfolio-close h2{max-width:18ch}

.client-showcase{overflow:hidden;background:#f6ecfb}
.client-showcase .wrap{margin-bottom:1.25rem}
.client-marquee{overflow:hidden;margin-top:.65rem;mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
.client-track,.client-set{width:max-content;display:flex;gap:.7rem}
.client-track{gap:0}
.client-set{padding-right:.7rem}
.client-preview{display:grid;align-content:center;min-width:13rem;max-width:20rem;padding:.8rem 1.2rem;min-height:6.4rem;border:1px solid #d8c2e6;background:#fff;color:#412552;text-decoration:none}
.client-preview img{width:4.4rem;height:2.6rem;object-fit:contain;margin-bottom:.3rem}
.client-preview span{font-weight:800}
.client-preview small{color:#654c73}
.client-preview:hover,.client-preview:focus-visible{background:#432457;color:#fff}
.client-preview:is(:hover,:focus-visible) small{color:#ecdbf6}
.portfolio-home-links{display:grid;grid-template-columns:1.15fr 1fr .8fr;gap:.8rem}
.portfolio-home-links article{display:grid;grid-template-rows:auto 1fr;background:#3e284d;overflow:hidden}
.portfolio-home-links a{color:#fff;padding:.7rem 1rem}
.portfolio-home-links img{width:100%;height:clamp(8rem,23vw,21rem);object-fit:cover}
.portfolio-home-links article:last-child img{object-fit:contain;background:#fff;padding:1rem}
@media(prefers-reduced-motion:no-preference){
 .client-showcase.motion-enabled .client-track{animation:client-loop 32s linear infinite;animation-play-state:paused}
 .client-showcase.motion-enabled .client-marquee.reverse .client-track{animation-direction:reverse;animation-duration:37s}
 .client-showcase.motion-enabled.is-visible:not(.is-paused) .client-track{animation-play-state:running}
 .client-showcase.motion-enabled .client-marquee:hover .client-track,.client-showcase.motion-enabled .client-marquee:focus-within .client-track{animation-play-state:paused}
 .client-showcase.motion-enabled .client-marquee:focus-within{mask-image:none}
 .portfolio-feature.is-visible .portfolio-copy .portfolio-kicker{animation:editorial-in .55s ease both}
 .portfolio-feature.is-visible .portfolio-feature-grid>:nth-child(2){animation:portfolio-in .7s var(--ease-out) both}
 @keyframes client-loop{to{transform:translateX(-50%)}}
 @keyframes portfolio-in{from{opacity:.55;clip-path:inset(8% 0 8%) }to{opacity:1;clip-path:inset(0)}}
}
.client-showcase:not(.motion-enabled) .client-marquee,.client-showcase.is-paused .client-marquee{overflow-x:auto;mask-image:none}
.client-showcase.is-paused .client-track{animation:none!important}
@media(prefers-reduced-motion:reduce){.client-marquee{overflow-x:auto;mask-image:none}.client-set[inert]{display:none}#marquee-control{display:none}}
@media(max-width:700px){
 .portfolio-feature-grid,.project-onward .wrap,.project-record .project-details{grid-template-columns:minmax(0,1fr)}
 .portfolio-feature:nth-of-type(even) .portfolio-feature-grid>*{grid-column:auto;grid-row:auto}
 .portfolio-feature-grid{row-gap:1.6rem;min-height:0}
 .portfolio-orbit{max-height:16rem}
 .portfolio-orbit::before{width:min(55%,12rem)}
 .portfolio-home-links{grid-template-columns:1fr}
 .portfolio-home-links img{height:auto;aspect-ratio:1.65}
}

.client-preview{min-width:max(13rem,25vw);max-width:none}
.client-set[inert]{pointer-events:none}
.client-showcase.is-paused .client-set[inert],.client-showcase:not(.motion-enabled) .client-set[inert]{display:none}

/* Service-led work */
.work-intro{background:radial-gradient(ellipse at 79% 25%,#54296e,transparent 64%),#241331;color:#fff;overflow:hidden}
.work-intro-grid{display:grid;grid-template-columns:minmax(0,1.24fr) minmax(0,1fr);align-items:center;gap:clamp(1.5rem,5vw,5rem);padding-block:clamp(3.2rem,7vw,7rem)}
.work-intro h1{font-size:clamp(3.25rem,8.2vw,8.6rem);line-height:.91;letter-spacing:-.078em;margin-bottom:.38em}
.work-intro .portfolio-kicker{color:#e6c7f8}
.work-intro p:not(.portfolio-kicker){font-size:clamp(1.05rem,1.9vw,1.37rem)}
.work-intro .text-link{color:#fff}
.work-intro .button{background:#efd9ff;color:#301540}
.work-intro figure,.work-service figure{margin:0;position:relative;isolation:isolate;min-width:0}
.work-intro figure::before,.work-service figure::before{content:"";position:absolute;inset:1.1rem -.7rem -.7rem 1.1rem;z-index:-1;border:1px solid currentColor;opacity:.43}
.work-intro figure img,.work-service figure img{width:100%;aspect-ratio:1.25;object-fit:cover;clip-path:polygon(12% 0,100% 0,100% 82%,86% 100%,0 100%,0 18%)}
.work-service-index{display:block;position:static;inset:auto;background:#fcf8ff;border:0;border-bottom:1px solid #dfd3e7;padding:0}
.work-service-index .portfolio-rail{padding-block:.92rem;gap:.65rem}
.work-service-index .portfolio-tag{color:#532777}
.work-service-index .portfolio-tag:hover{color:white}
.work-service{--work-bg:#f5edf8;--work-ink:#352044;--work-accent:#682798;background:var(--work-bg);color:var(--work-ink);padding-block:clamp(3.7rem,8.3vw,8.5rem);overflow:hidden}
.work-build{--work-bg:#f2e7fa;--work-ink:#36194b;--work-accent:#602393}
.work-grow{--work-bg:#f0dfd5;--work-ink:#46271d;--work-accent:#873d27}
.work-social{--work-bg:#f7eef2;--work-ink:#4b263d;--work-accent:#8b3d68}
.work-find{--work-bg:#e0eee8;--work-ink:#183d33;--work-accent:#28624d}
.work-answer{--work-bg:#efeafa;--work-ink:#34235a;--work-accent:#573487}
.work-protect{--work-bg:#292039;--work-ink:#fff6ff;--work-accent:#ebccff}
.work-operate{--work-bg:#e7eef5;--work-ink:#223b52;--work-accent:#315a78}
.work-service-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:clamp(1.5rem,6vw,6rem)}
.work-service:nth-of-type(even) .work-service-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}
.work-service:nth-of-type(even) figure{grid-area:1/1}
.work-service h2{font-size:clamp(2.8rem,6vw,6rem);max-width:13ch;line-height:.95;letter-spacing:-.071em;margin-bottom:.38em}
.work-service h3{font-size:1.1rem;letter-spacing:-.02em;margin:1.2rem 0 .45rem}
.work-service .portfolio-kicker,.work-service .text-link{color:var(--work-accent)}
.work-service ul{padding-left:1.1rem}
.work-service li::marker{color:var(--work-accent)}
.work-service .button{background:var(--work-ink);color:var(--work-bg)}
.work-service .button:hover{box-shadow:0 0 0 3px var(--work-accent)}
.work-service .work-measure{border-inline-start:2px solid var(--work-accent);padding-inline-start:.9rem;margin-block:1.3rem}
.work-social figure img,.work-answer figure img{clip-path:polygon(0 0,88% 0,100% 15%,100% 100%,13% 100%,0 83%)}
.work-protect figure img{aspect-ratio:1.06}
.work-client-index{background:#fbf7fe}
.work-client-index ul{list-style:none;padding:0;margin:0}
.work-client-index li{border-top:1px solid #d8c8e2;padding:.75rem 0}
.work-client-index li:last-child{border-bottom:1px solid #d8c8e2}
.work-client-index a{font-size:clamp(1rem,1.7vw,1.32rem)}
.portfolio-home-links[data-service-selection] article img{object-fit:cover}
@media(max-width:740px){
 .work-intro-grid,.work-service-grid,.work-service:nth-of-type(even) .work-service-grid{grid-template-columns:minmax(0,1fr)}
 .work-service:nth-of-type(even) figure{grid-area:auto}
 .work-intro figure img,.work-service figure img{aspect-ratio:1.5}
 .work-intro figure::before,.work-service figure::before{inset:.7rem -.35rem -.35rem .7rem}
}

.industry-showcase{background:#f2eaf6}
.industry-intro{display:grid;grid-template-columns:1.25fr .75fr;gap:1rem;align-items:end;margin-bottom:1.9rem}
.industry-intro h2{max-width:13ch;margin-bottom:0}
.industry-intro .portfolio-kicker{color:#662a92}
.industry-intro>p{font-size:clamp(1.05rem,1.8vw,1.3rem);color:#534261;margin:0}
.client-index-controls{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr) auto;gap:.85rem;align-items:end;padding:1.05rem;background:#fbf7fd;border:1px solid #ded0e7}
.client-index-controls label{margin:0}
.client-index-controls input,.client-index-controls select{min-width:0}
.client-index-controls button{min-height:2.75rem;justify-content:center}
#client-results{margin:.6rem 0;color:#5e4b69;font-size:.9rem}
.industry-directory{border-top:1px solid #cdbbd9}
.client-industry{display:grid;grid-template-columns:minmax(0,.74fr) minmax(0,1.26fr);gap:clamp(.75rem,4vw,4rem);padding:1.2rem 0;border-bottom:1px solid #cdbbd9;align-items:start}
.client-industry h3{margin:.2rem 0;font-size:clamp(1.18rem,2vw,1.6rem)}
.client-industry ul{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0;margin:0}
.industry-client{display:inline-flex;align-items:center;gap:.65rem;min-height:2.65rem;padding:.46rem .8rem;background:#fbf8fe;border:1px solid #e3d5ec;color:#382845;font-weight:650}
.industry-client img{width:3.15rem;height:2.1rem;object-fit:contain;background:#fff;padding:.16rem}
.client-index-empty{background:white;padding:1rem;border:1px solid #e1cde9}
@media(max-width:700px){
 .industry-intro,.client-index-controls,.client-industry{grid-template-columns:1fr}
 .client-index-controls button{justify-self:start}
 .client-industry{gap:.65rem}
}
