/* Sparkline Studio: mouse interactions. Active only on fine-pointer devices without reduced motion (see fx.js). */
/* Navigation: lime indicator that wipes in from the left and out to the right */
nav.d a:not(.btn){background-image:linear-gradient(#CFEE58,#CFEE58);background-repeat:no-repeat;background-size:0 .46em;background-position:100% 92%;transition:background-size .45s cubic-bezier(.7,0,.2,1),background-position .45s cubic-bezier(.7,0,.2,1)}
nav.d a:not(.btn):focus-visible,nav.d a[aria-current]{background-size:100% .46em;background-position:0 92%}
@media(hover:hover) and (pointer:fine){nav.d a:not(.btn):hover{background-size:100% .46em;background-position:0 92%}}
/* Magnetic buttons: smooth settle back to rest */
html.fx-on .b,html.fx-on nav.d a.btn{transition:background .3s,color .3s,transform .45s cubic-bezier(.2,.7,.2,1)}
/* Fade-up reveal (needs reveal.js; content stays visible without it) */
html.js .rv{opacity:0;transform:translateY(28px);transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--i,0)*110ms)}
html.js .rv.is-in,html.rv-done .rv{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){html.js .rv{opacity:1;transform:none;transition:none}}
/* Smooth cross-fade between pages (supporting browsers) */
@media(prefers-reduced-motion:no-preference){@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.35s}}
/* Canvas grid effect layer (created on first hover; above the image, below the card text) */
.gc{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;display:none;opacity:0;transition:opacity .35s ease}
/* Social links (official icons, currentColor) */
.si{width:20px;height:20px;fill:currentColor;flex:none}
footer .sx{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
footer .sx a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid rgba(242,241,236,.22);border-radius:2px;color:#C8C8C2;transition:color .2s,border-color .2s,background .2s}
footer .sx a:focus-visible{color:#1F1F1F;background:#CFEE58;border-color:#CFEE58}
@media(hover:hover) and (pointer:fine){footer .sx a:hover{color:#1F1F1F;background:#CFEE58;border-color:#CFEE58}}
.ct .soc a{display:inline-flex;align-items:center;gap:8px}
.soc a:focus-visible,footer .sx a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
/* ---- Scroll experience ---- */
.sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Hero: full-bleed ambient gradient (peach, lime, lavender, cyan on off-white), centred editorial copy, empty logo strip at the foot. */
.hero{position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:100vh;min-height:100svh;padding:clamp(84px,12svh,120px) var(--pad) 0;color:var(--ch);background:#F2F1EC;overflow:hidden}
.hero .bg{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;opacity:max(.0,calc(1 - var(--p,0)*.9));-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 90px),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 90px),transparent)}
.hero .bg i{position:absolute;border-radius:50%;will-change:transform,translate,opacity;translate:calc(var(--mx,0)*var(--dx,0px)) calc(var(--my,0)*var(--dy,0px))}
.hero .bg .c1{--dx:38px;--dy:24px}
.hero .bg .c2{--dx:-56px;--dy:34px}
.hero .bg .c4{--dx:-30px;--dy:-22px}
.hero .bg .c1{width:min(74vw,1080px);height:min(74vw,1080px);left:-22vw;bottom:-52%;background:radial-gradient(closest-side,rgba(207,238,88,.62),rgba(207,238,88,.28) 52%,rgba(207,238,88,0))}
.hero .bg .c2{width:min(46vw,680px);height:min(46vw,680px);left:2vw;bottom:-36%;background:radial-gradient(closest-side,rgba(207,238,88,.24),rgba(207,238,88,0))}
.hero .bg .c3{display:none}
.hero .bg .c4{width:min(56vw,820px);height:min(56vw,820px);right:-18vw;bottom:-50%;background:radial-gradient(closest-side,rgba(184,165,232,.34),rgba(184,165,232,.12) 55%,rgba(184,165,232,0))}
.hero .bg .c5,.hero .bg .c6{display:none}
.hero .mid{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:clamp(18px,3.2svh,30px);max-width:1180px;width:100%;margin:0 auto;padding-bottom:clamp(8px,3svh,32px);}
.hero h1{transform:translate3d(0,calc(var(--p,0)*-64px),0);opacity:max(0,calc(1 - var(--p,0)*1.5))}
.hero .ds{transform:translate3d(0,calc(var(--p,0)*-48px),0);opacity:max(0,calc(1 - var(--p,0)*1.75))}
.hero .acts{transform:translate3d(0,calc(var(--p,0)*-36px),0);opacity:max(0,calc(1 - var(--p,0)*2))}
.hero h1{margin:0;font-weight:500;font-size:clamp(34px,min(6.1vw,11svh),108px);line-height:1.03;letter-spacing:-.04em;text-wrap:balance;color:var(--ch)}
.hero h1 .ln{display:block;overflow:hidden;padding:.05em .06em .1em;margin:-.05em -.06em -.1em}
.hero h1 .ln>span{display:inline-block}
.hero .ds{margin:0;max-width:34em;font-size:clamp(15px,1.25vw,19px);line-height:1.5;color:rgba(31,31,31,.76);text-wrap:balance}
.hero .acts{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:clamp(2px,1svh,10px)}
.hero .b{padding:14.5px 26.5px;font-size:15px}
/* CTAs: neutral at rest; the lime / frosted glass appears only while hovered (or keyboard-focused). Same box size as before (1px border + 0.5px padding). */
html .hero .b{border:1px solid rgba(31,31,31,.2);background:rgba(255,255,255,.14);color:var(--ch);box-shadow:inset 0 1px 0 rgba(255,255,255,0);-webkit-backdrop-filter:blur(0) saturate(1);backdrop-filter:blur(0) saturate(1);transition:background .45s cubic-bezier(.2,.7,.2,1),border-color .45s,box-shadow .45s,-webkit-backdrop-filter .45s,backdrop-filter .45s,color .3s,transform .45s cubic-bezier(.2,.7,.2,1)}
html .hero .b.f{background:rgba(255,255,255,.3);border-color:rgba(31,31,31,.28)}
html .hero .b.f:focus-visible{background:rgba(207,238,88,.72);border-color:rgba(255,255,255,.75);box-shadow:inset 0 1px 0 rgba(255,255,255,.65),inset 0 0 0 1px rgba(207,238,88,.3);-webkit-backdrop-filter:blur(12px) saturate(1.25);backdrop-filter:blur(12px) saturate(1.25)}
html .hero .b:not(.f):focus-visible{background:rgba(255,255,255,.6);border-color:rgba(31,31,31,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.9);-webkit-backdrop-filter:blur(12px) saturate(1.25);backdrop-filter:blur(12px) saturate(1.25)}
@media(hover:hover) and (pointer:fine){html .hero .b.f:hover{background:rgba(207,238,88,.72);border-color:rgba(255,255,255,.75);box-shadow:inset 0 1px 0 rgba(255,255,255,.65),inset 0 0 0 1px rgba(207,238,88,.3);-webkit-backdrop-filter:blur(12px) saturate(1.25);backdrop-filter:blur(12px) saturate(1.25)}
html .hero .b:not(.f):hover{background:rgba(255,255,255,.6);border-color:rgba(31,31,31,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.9);-webkit-backdrop-filter:blur(12px) saturate(1.25);backdrop-filter:blur(12px) saturate(1.25)}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){@media(hover:hover) and (pointer:fine){html .hero .b.f:hover{background:#CFEE58}
html .hero .b:not(.f):hover{background:rgba(255,255,255,.92)}}}
/* reserved, intentionally empty strip for client logos to be added later */

@media(max-width:860px){.hero{padding-top:clamp(78px,11svh,100px)}
.hero h1{font-size:clamp(33px,min(9.6vw,8.2svh),64px)}
.hero .bg .c1{left:-50vw;bottom:-42vw;width:150vw;height:150vw}
.hero .bg .c2{left:-16vw;bottom:-30vw;width:96vw;height:96vw}
.hero .bg .c4{right:-50vw;left:auto;bottom:-40vw;width:120vw;height:120vw}
.hero .acts{flex-direction:column;align-items:stretch;width:min(100%,320px)}
.hero .acts .b{text-align:center}
}
@media(prefers-reduced-motion:no-preference){.hero .bg .c1{animation:gA 26s ease-in-out infinite alternate,br 9s ease-in-out infinite alternate}
.hero .bg .c2{animation:gB 31s ease-in-out infinite alternate,br 12s ease-in-out -4s infinite alternate}
.hero .bg .c3{animation:gA 38s ease-in-out infinite alternate-reverse}
.hero .bg .c4{animation:gB 29s ease-in-out infinite alternate-reverse,br 10s ease-in-out -6s infinite alternate}
.hero .bg .c5{animation:gA 36s ease-in-out infinite alternate}
html.js .hero .bg{animation:bgIn 1.8s ease both}
html.js .hero .ds,html.js .hero .acts{animation:heroIn 1.1s cubic-bezier(.2,.7,.2,1) both}
html.js .hero h1 .ln>span{transform:translateY(108%);animation:rise 1.3s cubic-bezier(.16,1,.3,1) .3s forwards}
html.js .hero h1 .l2>span{animation-delay:.45s}
html.js .hero .ds{animation-delay:.8s}
html.js .hero .acts{animation-delay:.95s}}
@keyframes gA{50%{transform:translate3d(4vw,-5vw,0) scale(1.06)}100%{transform:translate3d(9vw,-2vw,0) scale(1.13)}}
@keyframes gB{50%{transform:translate3d(-3vw,-4vw,0) scale(1.05)}100%{transform:translate3d(-8vw,-1vw,0) scale(1.1)}}
@keyframes br{from{opacity:.72}to{opacity:1}}
@keyframes bgIn{from{opacity:0}}
@keyframes rise{to{transform:none}}
@keyframes heroIn{from{opacity:0;transform:translate3d(0,24px,0)}}
/* Header over the light gradient: transparent bar until the page scrolls, then the light bar */
header{transition:background .35s,color .35s}
html.js:not(.hl) .home header{background:transparent}
/* Case study cards: stagger follows the visible column count */
@media(max-width:1024px){.cs-grid li.rv:nth-child(odd){transition-delay:0s}
.cs-grid li.rv:nth-child(even){transition-delay:110ms}}
@media(max-width:600px){.cs-grid li.rv{transition-delay:0s!important}}
/* Lists inside long sections reveal with a shorter step */
.sv li.rv,.in li.rv{transition-delay:calc(var(--i,0)*90ms)}
/* Marquee regions are keyboard focusable so focus pauses them */
.mq:focus-visible{outline:2px solid #CFEE58;outline-offset:-2px}
/* ---- Magnetic cursor (assets/js/cursor.js; desktop, fine pointer, no reduced motion) ---- */
@media (hover:hover) and (pointer:fine) and (min-width:901px) and (prefers-reduced-motion:no-preference){
  html.mc-on,html.mc-on *{cursor:none!important}
  html.mc-on :is(input:not([type=submit]):not([type=button]):not([type=reset]),textarea,select,[contenteditable]:not([contenteditable=false])){cursor:auto!important}
  .mc{position:fixed;left:0;top:0;z-index:9999;pointer-events:none;opacity:0;transition:opacity .25s;will-change:transform}
  .mc.on{opacity:1}
  .mc.off{opacity:0}
  .mc i{position:absolute;left:0;top:0;box-sizing:border-box;width:12px;height:12px;border-radius:50%;background:#1F1F1F;border:1.5px solid #CFEE58;translate:-50% -50%;display:flex;align-items:center;justify-content:center;
    transition:width .35s cubic-bezier(.2,.7,.2,1),height .35s cubic-bezier(.2,.7,.2,1),background-color .25s,border-color .25s,scale .2s}
  .mc.hv i{width:30px;height:30px;background:#CFEE58;border-color:#1F1F1F}
  /* VIEW over case-study cards: transparent frosted-glass lens (no fill colour; the card image shows through, blurred) */
  .mc.vw i{width:72px;height:72px;background:transparent;border-color:transparent}
  .mc i::before{content:"";position:absolute;inset:-1.5px;border-radius:50%;opacity:0;transition:opacity .3s ease;pointer-events:none;
    background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.07));
    border:1px solid rgba(255,255,255,.38);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 0 0 .5px rgba(255,255,255,.08),0 8px 24px rgba(31,31,31,.1),0 1px 3px rgba(31,31,31,.06);
    -webkit-backdrop-filter:blur(14px) saturate(1.15);backdrop-filter:blur(14px) saturate(1.15)}
  .mc.vw i::before{opacity:1}
  .mc.dn i{scale:.86}
  .mc b{position:relative;font:500 11px/1 var(--f);letter-spacing:.08em;padding-left:.08em;color:#1F1F1F;opacity:0;transition:opacity .2s}
  .mc.vw b{opacity:1}
}

/* Hero CTA (single): solid charcoal button with a circular arrow. Label and link unchanged. */
html .hero .b{display:inline-flex;align-items:center;gap:18px;padding:6px 6px 6px 26px}
html .hero a.b.cta,html .hero a.b.cta:hover,html .hero a.b.cta:focus-visible{background:#1F1F1F;color:#fff;border-color:#1F1F1F;border-radius:6px;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
html .hero .b .ar{flex:none;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.34);color:#fff;background:rgba(255,255,255,0);display:inline-flex;align-items:center;justify-content:center;transition:background-color .45s cubic-bezier(.2,.7,.2,1),border-color .45s}
html .hero .b .ar svg{width:16px;height:16px;display:block;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
html .hero a.b.cta:focus-visible .ar{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.55)}
html .hero a.b.cta:focus-visible .ar svg{transform:translateX(2px) rotate(45deg)}
@media(hover:hover) and (pointer:fine){html .hero a.b.cta:hover .ar{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.55)}
html .hero a.b.cta:hover .ar svg{transform:translateX(2px) rotate(45deg)}}
html .hero a.b.cta:focus-visible{outline:2px solid #1F1F1F;outline-offset:3px}
@media(max-width:860px){html .hero .acts .b{justify-content:space-between;text-align:left}}
@media(prefers-reduced-motion:reduce){html .hero .b .ar,html .hero .b .ar svg{transition:none}}

/* Hero: editorial facts strip under the CTA (replaces the empty logo strip) + bolder headline */
.hero h1{font-weight:600}
.hero .hm{flex:none;width:100%;max-width:1240px;margin:0 auto;padding:clamp(18px,2.6svh,28px) 0 clamp(26px,5svh,56px);border-top:1px solid rgba(31,31,31,.55);display:grid;grid-template-columns:1fr 1fr;text-align:left}
.hero .hm>div{padding:0 clamp(10px,1.2vw,18px);display:flex;flex-direction:column;gap:6px}
.hero .hm>div+div{border-left:1px solid rgba(31,31,31,.4);padding-left:clamp(28px,5.5vw,100px)}
.hero .hm-l{font-size:clamp(12px,1vw,15px);letter-spacing:.02em;text-transform:uppercase;color:var(--gr);line-height:1.2}
.hero .hm p{margin:0;font-size:clamp(14px,1.45vw,22px);line-height:1.2;letter-spacing:0;text-transform:uppercase;color:var(--ch)}
@media(max-width:700px){.hero .hm{grid-template-columns:1fr;gap:16px}
.hero .hm>div+div{border-left:0;padding-left:clamp(10px,1.2vw,18px)}}

/* ---- Primary CTA ("Start a project"): charcoal rounded pill, lime brand-icon tile on the left, white label centred in the dark part.
   Styling only: markup, text, links and destinations are unchanged. Applies to the header button, hero CTA, contact CTA and case-study CTA. ---- */
html nav.d a.btn,html .ct a.b.f,html .cta-row a.b.f,
html .hero a.b.cta,html .hero a.b.cta:hover,html .hero a.b.cta:focus-visible{
  --p:20px;--t:36px;
  display:inline-grid;grid-template-columns:auto 1fr;align-items:center;column-gap:var(--p);
  box-sizing:border-box;padding:4px var(--p) 4px 4px;border:0;border-radius:15px;
  background:var(--ch);color:#fff;text-align:center;line-height:1.2;font-weight:500;white-space:nowrap;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
html nav.d a.btn:hover,html .ct a.b.f:hover,html .cta-row a.b.f:hover{background:var(--ch);color:#fff}
html nav.d a.btn::before,html .ct a.b.f::before,html .cta-row a.b.f::before,
html .hero a.b.cta .ar,html .hero a.b.cta:hover .ar,html .hero a.b.cta:focus-visible .ar{
  content:"";flex:none;display:block;box-sizing:border-box;width:var(--t);height:var(--t);border:0;border-radius:calc(var(--t)*.3);
  background:var(--lime) url(../logo/brand-mark.png) center/54% no-repeat;transition:background-size .4s cubic-bezier(.2,.7,.2,1)}
html .hero a.b.cta .ar{order:-1}
html .hero a.b.cta .ar svg{display:none}
@media(hover:hover) and (pointer:fine){
  html nav.d a.btn:hover::before,html .ct a.b.f:hover::before,html .cta-row a.b.f:hover::before,html .hero a.b.cta:hover .ar{background-size:62%}
}
html nav.d a.btn:focus-visible::before,html .ct a.b.f:focus-visible::before,html .cta-row a.b.f:focus-visible::before,html .hero a.b.cta:focus-visible .ar{background-size:62%}
html .ct a.b.f,html .cta-row a.b.f{--p:28px;--t:46px;padding:5px var(--p) 5px 5px;border-radius:18px}
html .hero a.b.cta,html .hero a.b.cta:hover,html .hero a.b.cta:focus-visible{--p:28px;--t:52px;padding:4px var(--p) 4px 4px;border-radius:18px;gap:0;column-gap:var(--p)}
@media(prefers-reduced-motion:reduce){html nav.d a.btn::before,html .ct a.b.f::before,html .cta-row a.b.f::before,html .hero a.b.cta .ar{transition:none}}
