.legacy-project-gallery{display:none!important}
[data-project-gallery]{width:100%;display:grid;gap:32px;position:relative}
[data-project-gallery="list"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 24px}
.portfolio-project-card{display:block;position:relative;min-width:0;text-decoration:none!important;color:#fff;opacity:0;transition:opacity 650ms ease-out;isolation:isolate}
.portfolio-project-card.project-revealed{opacity:1}
.portfolio-project-media{position:relative;aspect-ratio:3/2;overflow:hidden;background:#17191c}
.portfolio-project-media img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1);transition:transform 550ms cubic-bezier(.22,.61,.36,1);backface-visibility:hidden}
.portfolio-project-copy{padding-top:22px}
.portfolio-project-copy :is(h2,h3){font-family:Inter,sans-serif!important;font-size:28px!important;font-weight:600!important;line-height:1.2!important;letter-spacing:-.035em!important;color:white!important;margin:0!important}
.portfolio-project-copy p{font-family:Inter,sans-serif!important;font-size:16px!important;line-height:1.5!important;color:#bcbcbc!important;margin:12px 0 0!important}
.portfolio-project-view{position:absolute;right:20px;top:20px;padding:10px 14px;border:1px solid #ffffff70;background:#11171985;color:white;font:500 14px/1.2 Inter,sans-serif;opacity:0;transition:opacity 250ms ease;pointer-events:none}
[data-project-gallery="home"] .portfolio-project-media{aspect-ratio:1.69}
[data-project-gallery="home"] .portfolio-project-media:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to bottom,rgba(0,0,0,0) 20%,rgba(0,0,0,.35) 45%,rgba(0,0,0,.82) 75%,rgb(0,0,0) 100%)}
[data-project-gallery="home"] .portfolio-project-copy{position:absolute;bottom:32px;left:5%;right:5%;text-align:center;padding:0;pointer-events:none}
[data-project-gallery="home"] .portfolio-project-copy h2{font-size:clamp(24px,2.8vw,42px)!important}
@media(hover:hover) and (pointer:fine){
 .portfolio-project-card:hover .portfolio-project-media img{transform:scale(1.035)}
 .portfolio-project-card:hover .portfolio-project-view{opacity:1}
}
.portfolio-project-card:focus-visible{outline:2px solid #4e2bda;outline-offset:6px}
.portfolio-project-card:focus-visible .portfolio-project-view{opacity:1}
@media(max-width:700px){
 [data-project-gallery="list"]{grid-template-columns:minmax(0,1fr)}
 [data-project-gallery="home"] .portfolio-project-media{aspect-ratio:1.3}
 [data-project-gallery="home"] .portfolio-project-copy{bottom:22px}
 [data-project-gallery="home"] .portfolio-project-copy p{font-size:14px!important;margin-top:8px!important}
 .portfolio-project-copy :is(h2,h3){font-size:25px!important}
}
@media(prefers-reduced-motion:reduce){.portfolio-project-card{opacity:1;transition:none}.portfolio-project-media img{transition:none;transform:none!important}.portfolio-project-view{transition:none}}
/* Native sticky stacking: the incoming card covers the pinned previous card. */
[data-project-gallery="home"]{
 display:flex;
 flex-direction:column;
 align-items:stretch;
 gap:40px;
 isolation:isolate;
}
[data-project-gallery="home"] .portfolio-project-card{
 position:sticky;
 top:110px;
 flex:none;
 opacity:1;
 transition:none;
 background:#000000;
}
[data-project-gallery="home"] .portfolio-project-media{
 max-height:calc(100svh - 150px);
}
@media(max-width:700px){
 [data-project-gallery="home"]{gap:28px}
 [data-project-gallery="home"] .portfolio-project-card{top:90px}
 [data-project-gallery="home"] .portfolio-project-media{max-height:calc(100svh - 120px)}
}
@media(prefers-reduced-motion:reduce){
 [data-project-gallery="home"] .portfolio-project-card{position:relative;top:auto}
}

/* Scroll rotation settles before the native sticky position takes over. */
[data-project-gallery="home"] .portfolio-project-card{
 transform-origin:50% 100%;
 transform:perspective(1400px) rotateX(var(--entry-tilt,0deg)) rotateZ(var(--entry-turn,0deg));
 backface-visibility:hidden;
}
@media(prefers-reduced-motion:reduce){
 [data-project-gallery="home"] .portfolio-project-card{transform:none}
}

.portfolio-project-copy :is(h2,h3,p)>span{display:block;white-space:nowrap}
[data-project-gallery="home"] .portfolio-project-copy{left:7%;right:7%}

[data-project-gallery="list"] .portfolio-project-media{aspect-ratio:1.2}
[data-project-gallery="list"] .portfolio-project-card{transform:translateY(36px);transition:opacity 800ms ease,transform 800ms cubic-bezier(.22,.61,.36,1)}
[data-project-gallery="list"] .portfolio-project-card.project-revealed{transform:translateY(0)}
[data-project-gallery="list"] .portfolio-project-copy h3{font-family:Satoshi,Inter,sans-serif!important;font-weight:900!important;letter-spacing:-.01em!important}
@media(prefers-reduced-motion:reduce){[data-project-gallery="list"] .portfolio-project-card{transform:none;transition:none}}

.portfolio-project-copy :is(h2,h3,p){white-space:normal;text-wrap:balance;overflow:visible}

/* Reserve copy space so font loading cannot shift the next row. */
[data-project-gallery="list"] .portfolio-project-copy h3{min-height:2.4em}
[data-project-gallery="list"] .portfolio-project-copy p{min-height:3em}

/* Restore the original project index proportions and fixed typography. */
[data-project-gallery="list"]{gap:72px 24px}
[data-project-gallery="list"] .portfolio-project-media{height:560px;aspect-ratio:auto}
[data-project-gallery="list"] .portfolio-project-copy{padding:24px 0}
[data-project-gallery="list"] .portfolio-project-copy h3{font-size:40px!important;line-height:1.3!important;min-height:0;text-wrap:balance}
[data-project-gallery="list"] .portfolio-project-copy p{font-size:20px!important;font-weight:500;line-height:1.4!important;margin:10px 0 0!important;color:#a8a8a8!important;min-height:0;text-wrap:pretty}
[data-project-gallery="list"] .portfolio-project-view{display:none}
@media(max-width:1199px){[data-project-gallery="list"] .portfolio-project-copy h3{font-size:32px!important}}
@media(max-width:767px){[data-project-gallery="list"]{grid-template-columns:1fr}[data-project-gallery="list"] .portfolio-project-copy h3{font-size:28px!important}[data-project-gallery="list"] .portfolio-project-media{height:440px}[data-project-gallery="list"] .portfolio-project-copy p{font-size:18px!important}}

/* Original index entrance: fade in, with the cover gently settling from zoom. */
[data-project-gallery="list"] .portfolio-project-card{transform:none;transition:opacity 400ms ease-out}
[data-project-gallery="list"] .portfolio-project-card .portfolio-project-media img{transform:scale(1.1);transition:transform 800ms cubic-bezier(.22,.61,.36,1)}
[data-project-gallery="list"] .portfolio-project-card.project-revealed .portfolio-project-media img{transform:scale(1)}
@media(hover:hover) and (pointer:fine){[data-project-gallery="list"] .portfolio-project-card.project-revealed:hover .portfolio-project-media img{transform:scale(1.12)}}
@media(min-width:768px) and (max-width:1199px){[data-project-gallery="list"]{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){[data-project-gallery="list"] .portfolio-project-card .portfolio-project-media img{transform:none!important;transition:none}}

[data-project-gallery="home"] .portfolio-project-copy p{color:#e0e0e0!important}

/* Pin the section heading and card stack as one composition. */
.home-project-stack > .framer-1tq0x6t{
 position:sticky!important;
 top:var(--project-heading-top,96px)!important;
 z-index:2;
 transform:none!important;
 opacity:1!important;
 flex:none;
}
.home-project-stack [data-project-gallery="home"] .portfolio-project-card{
 top:var(--project-card-top,186px);
}
.home-project-stack [data-project-gallery="home"] .portfolio-project-media{
 width:100%;
 max-height:calc(100svh - var(--project-card-top,186px) - 28px);
}
[data-project-gallery="home"] .portfolio-project-copy{bottom:80px}
[data-project-gallery="home"] .portfolio-project-copy p{font-size:17px!important;margin-top:24px!important}
@media(max-width:700px){
 [data-project-gallery="home"] .portfolio-project-copy{bottom:80px}
 [data-project-gallery="home"] .portfolio-project-copy p{font-size:15px!important}
}
@media(prefers-reduced-motion:reduce){
 .home-project-stack > .framer-1tq0x6t{position:relative!important;top:auto!important;translate:none!important}
 .home-project-stack [data-project-gallery="home"] .portfolio-project-card{top:auto}
}

/* Mobile card copy: compact type and a clear, consistent lower inset. */
@media(max-width:700px){
 .home-project-stack > .framer-1tq0x6t :is(h2,h3){font-size:28px!important;line-height:1.15!important}
 [data-project-gallery="home"] .portfolio-project-media{aspect-ratio:1/1.05}
 [data-project-gallery="home"] .portfolio-project-copy{left:24px;right:24px;bottom:32px}
 [data-project-gallery="home"] .portfolio-project-copy h2{font-size:clamp(20px,5.5vw,28px)!important;line-height:1.18!important;letter-spacing:-.025em!important}
 [data-project-gallery="home"] .portfolio-project-copy p{font-size:14px!important;line-height:1.5!important;margin-top:14px!important}
}
/* Projects list: each card rises as it fades in (staggered by projects.js). */
[data-project-gallery="list"] .portfolio-project-card{translate:0 40px;transition:opacity .8s cubic-bezier(.22,1,.36,1),translate .95s cubic-bezier(.22,1,.36,1)}
[data-project-gallery="list"] .portfolio-project-card.project-revealed{translate:0 0}
@media(prefers-reduced-motion:reduce){[data-project-gallery="list"] .portfolio-project-card{translate:none;transition:none}}

/* Home: "See all projects" at the right end of the Recent Projects heading. */
.home-project-stack > .framer-1tq0x6t{justify-content:space-between!important;align-items:center!important;gap:24px}
.home-see-all{flex:none;display:inline-flex;align-items:center;gap:10px;padding:13px 20px;border-radius:12px;border:1px solid rgba(255,255,255,.2);background:linear-gradient(160deg,rgba(117,86,242,.95),rgba(78,43,218,.85));box-shadow:inset 0 1px 1px rgba(255,255,255,.3),0 16px 36px -18px rgba(78,43,218,.9);color:#fff!important;text-decoration:none!important;font:500 16px/1 Satoshi,Inter,sans-serif;white-space:nowrap;transition:filter .4s cubic-bezier(.22,1,.36,1),box-shadow .4s cubic-bezier(.22,1,.36,1),translate .4s cubic-bezier(.22,1,.36,1)}
.home-see-all svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:translate .3s cubic-bezier(.22,1,.36,1)}
@media(hover:hover) and (pointer:fine){.home-see-all:hover{filter:brightness(1.12);translate:0 -1px;box-shadow:inset 0 1px 1px rgba(255,255,255,.4),0 22px 44px -18px rgba(78,43,218,1)}.home-see-all:hover svg{translate:4px 0}}
.home-see-all:active{translate:0 1px;filter:brightness(.96)}
.home-see-all:focus-visible{outline:2px solid #6948ef;outline-offset:4px}
@media(max-width:700px){.home-see-all{padding:10px 14px;font-size:14px;gap:6px;border-radius:10px}.home-see-all svg{width:15px;height:15px}}
@media(prefers-reduced-motion:reduce){.home-see-all,.home-see-all svg{transition:none}}

/* Repositioning (project-overrides.js): hero copy, statement, proof boxes. */
/* Headline entrance: each character resolves from a blurred, enlarged state, one after another, as the
   exported app's own headline did. Words never break: each one is a no-wrap group of characters. */
.rp-chars .rp-word{display:inline-block;white-space:nowrap}
.rp-chars .rp-c{display:inline-block;opacity:.001;filter:blur(10px);transform:scale(2);transform-origin:50% 60%;will-change:opacity,filter,transform}
.rp-chars.rp-in .rp-c{animation:rp-char-in .6s cubic-bezier(.22,1,.36,1) calc(var(--i,0)*50ms + var(--rp-offset,0ms)) both}
.rp-chars.rp-instant .rp-c{animation:none;opacity:1;filter:none;transform:none}
@keyframes rp-char-in{0%{opacity:.001;filter:blur(10px);transform:scale(2)}55%{opacity:1;filter:blur(0);transform:scale(.96)}100%{opacity:1;filter:blur(0);transform:none}}
/* Word entrance (project index title and intro): blurred words resolve one after another. */
.rp-words>.rp-w{display:inline-block;opacity:.001;filter:blur(10px);transform:scale(1.25);transform-origin:50% 60%;will-change:opacity,filter,transform}
.rp-words.rp-in>.rp-w{animation:rp-word-in .9s cubic-bezier(.22,1,.36,1) calc(var(--i,0)*55ms + var(--rp-offset,0ms)) both}
.rp-words.rp-instant>.rp-w{animation:none;opacity:1;filter:none;transform:none}
@keyframes rp-word-in{to{opacity:1;filter:blur(0);transform:none}}
.rp-reveal{opacity:0;translate:0 28px;transition:opacity .9s cubic-bezier(.22,1,.36,1),translate 1s cubic-bezier(.22,1,.36,1)}
.rp-reveal.rp-in{opacity:1;translate:none}
.rp-reveal.rp-instant{transition:none}
/* The exported app renders its own hero and statement first; they stay out of sight until the copy above
   replaces them, so no old text shows for a frame. The served HTML already carries the new copy. */
.framer-1tqin57 :is(h1,h2,h3):not(.rp-chars){opacity:0}
.framer-r68dci-container div:has(> span):not(.rp-statement){opacity:0}
html.pl-enter .rp-statement{opacity:0!important}
/* Hero headline keeps the original Framer text presets (128px desktop, 44px tablet, 36px phone); it wraps
   into balanced lines instead of shrinking. */
.framer-1tqin57 .rp-chars{text-wrap:balance}
/* Statement: scroll-linked word reveal (project-overrides.js sets each word's opacity, rise and blur).
 */
.rp-statement{display:block!important;width:100%;font-size:52px!important;line-height:1.2!important;text-align:left!important;max-width:none;margin:0!important;text-wrap:wrap}
@media(max-width:1199.98px){.rp-statement{font-size:40px!important}}
@media(max-width:767.98px){.rp-statement{font-size:29px!important;line-height:1.18!important}}
.rp-scroll .rp-sw{display:inline-block;will-change:opacity,transform}
.rp-scroll .rp-sw-keep{white-space:nowrap}
.rp-wrap{width:100%;max-width:1140px;margin:0 auto}
/* Proof: the About statistics tiles (shared stat style and count-up in about-cards.css/.js). */
.rp-proof{display:flex;justify-content:center;width:100%;padding:0 30px 124px;background:#000;position:relative;z-index:3}
.rp-proof-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
.rp-reveal.rp-in .rp-proof-item{animation:rp-rise .9s cubic-bezier(.22,1,.36,1) calc(.1s + var(--i,0)*90ms) both}
@keyframes rp-rise{from{opacity:0;translate:0 14px}to{opacity:1;translate:none}}
.rp-exp-label{display:inline-block;margin-left:10px;padding:3px 9px;border-radius:6px;border:1px solid rgba(196,184,255,.3);font:500 12px/1.3 Satoshi,Inter,sans-serif;letter-spacing:.01em;color:#c4b8ff;vertical-align:middle;white-space:nowrap}
.framer-pc70cn-container{display:none!important}
@media(max-width:767.98px){
 .rp-proof{padding:0 20px 60px}
 [data-framer-name="Hero"] .rp-chars{max-width:none}
 .rp-proof-grid{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .rp-exp-label{display:block;width:fit-content;margin:6px 0 0;font-size:11px}
}
@media(prefers-reduced-motion:reduce){
 .rp-chars .rp-c,.rp-words>.rp-w{opacity:1;filter:none;transform:none;animation:none!important}
 .rp-reveal{opacity:1;translate:none;transition:none}
 .rp-reveal.rp-in .rp-proof-item{animation:none}
}

/* Project card titles: always two lines, the name and then the kind of product, each kept on one line. */
.portfolio-project-copy :is(h2,h3)>:is(.pt-name,.pt-kind){display:block;white-space:nowrap}
/* The longest line still fits its card: the title size never exceeds what the card width allows (the same rule
   for every card, so sizes stay even within a row). */
[data-project-gallery] .portfolio-project-copy{container-type:inline-size}
[data-project-gallery="list"] .portfolio-project-copy h3{font-size:min(40px,100cqi / 11.6)!important}
[data-project-gallery="home"] .portfolio-project-copy h2{font-size:min(clamp(24px,2.8vw,42px),100cqi / 11.6)!important}
@media(max-width:1199px){[data-project-gallery="list"] .portfolio-project-copy h3{font-size:min(32px,100cqi / 11.6)!important}}
@media(max-width:767px){[data-project-gallery="list"] .portfolio-project-copy h3{font-size:min(28px,100cqi / 11.6)!important}}
@media(max-width:700px){[data-project-gallery="home"] .portfolio-project-copy h2{font-size:min(clamp(20px,5.5vw,28px),100cqi / 11.6)!important}}
/* Home cards: every description wraps into two balanced lines under the centred title. */
[data-project-gallery="home"] .portfolio-project-copy p{max-width:27em;margin-left:auto!important;margin-right:auto!important;text-wrap:balance}
