/* Sagor v3.5: one continuous page in a contemporary grotesque. Lenis smooths the scroll and motion.js ties
   scenes to it. Without html.motion (narrow screens, reduced motion, no JavaScript) every scene is static. */
@font-face{font-family:"Hanken Grotesk";src:url('/assets/fonts/hanken-grotesk-latin.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}

:root{
  --bg:#ffffff;--surface:#f2f4f1;--surface-2:#e6eae5;--ink:#0e1412;--text-2:#3f4944;--muted:#6a736e;--line:#e1e5df;
  --green:#155446;--green-2:#0e3e33;--green-tint:#dce9e3;--dark:#0c1210;--on-dark:#eef2ef;--on-dark-2:#a3afa9;--error:#b03a2e;
  --sans:"Hanken Grotesk",Arial,sans-serif;
  --gutter:clamp(20px,4.45vw,96px);
  --shell:min(100% - var(--gutter)*2,1680px);
  --side:max(var(--gutter),(100% - 1680px)/2);
  --side-vw:max(var(--gutter),(100vw - 1680px)/2);
  --inset:clamp(10px,1.1vw,18px);
  --radius:clamp(14px,1.4vw,22px);
  --radius-s:12px;
  --header:76px;
  --section:clamp(96px,13vh,168px);
  --ease-out:cubic-bezier(.16,1,.3,1);
  --display-xl:clamp(52px,7.4vw,136px);
  --display-l:clamp(40px,4.9vw,86px);
  --display-m:clamp(32px,3.3vw,58px);
  --display-s:clamp(22px,1.75vw,30px);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 18px/1.55 var(--sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:clip}
img{display:block;max-width:100%;height:auto}
figure,p,h1,h2,h3,h4,blockquote{margin:0}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;border:0;background:none;padding:0;cursor:pointer}
button:disabled{cursor:wait}
input,textarea{font:inherit}
button,a,input,textarea{-webkit-tap-highlight-color:transparent}
h1,h2,h3,h4{font-family:var(--sans);font-weight:500;letter-spacing:-.035em;text-wrap:balance}
::selection{background:var(--green-tint);color:var(--ink)}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--green);outline-offset:4px}
.shell{width:var(--shell);margin-inline:auto}
.muted{color:var(--muted)}
.skip-link{position:absolute;z-index:60;top:-100px;left:20px;background:var(--ink);color:#fff;padding:12px 20px;border-radius:999px}
.skip-link:focus{top:12px}

/* Lenis */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}
.lenis.lenis-stopped{overflow:clip}
html:not(.lenis){scroll-behavior:smooth}

/* Header */
.site-header{position:fixed;z-index:50;top:0;left:0;right:0;height:var(--header);transition:transform .7s var(--ease-out),background-color .35s ease,box-shadow .35s ease}
.site-header.is-solid,.site-header:has(.menu-toggle[aria-expanded="true"]){background:rgba(255,255,255,.96);box-shadow:0 1px 0 var(--line)}
.site-header.is-hidden{transform:translateY(-101%)}
.header-inner{height:100%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:32px}
.wordmark{justify-self:start;font:700 30px/1 var(--sans);letter-spacing:-.06em}
.wordmark span{color:var(--green)}
.primary-nav{display:flex;gap:6px;font-size:15px;font-weight:500}
.primary-nav a{padding:8px 14px;border-radius:999px;transition:background-color .25s,color .25s}
.primary-nav a:hover{background:var(--surface)}
.primary-nav a[aria-current]{background:var(--ink);color:#fff}
.header-contact{justify-self:end;display:inline-flex;align-items:center;gap:10px;padding:10px 18px;border-radius:999px;background:var(--ink);color:#fff;font-size:15px;font-weight:500;transition:background-color .25s}
.header-contact:hover{background:var(--green)}
.header-contact .arrow{font-size:16px}
.menu-toggle,.mobile-nav{display:none}

/* Links and buttons */
.arrow{display:inline-block;font-family:var(--sans);font-weight:400;line-height:1;transition:transform .35s var(--ease-out)}
.text-link{display:inline-flex;align-items:center;gap:14px;font-size:16px;font-weight:600;line-height:1.3;transition:color .25s}
.text-link .arrow{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--surface-2);font-size:15px;transition:background-color .25s,color .25s,transform .35s var(--ease-out)}
.text-link:hover{color:var(--green)}
.text-link:hover .arrow{background:var(--green);color:#fff;transform:rotate(45deg)}
.primary-link{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;background:var(--green);color:#fff;padding:16px 18px 16px 26px;border-radius:999px;font-size:16px;font-weight:600;line-height:1.3;transition:background-color .25s}
.primary-link .arrow{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.16);font-size:15px}
.primary-link:hover{background:var(--ink)}
.primary-link:hover .arrow{transform:rotate(45deg)}

.statement{font-size:var(--display-l);font-weight:500;line-height:1;letter-spacing:-.05em}
.statement span{color:var(--green)}

/* Photographs sit in rounded clipping windows; the window keeps its box while the image moves inside it. */
.photo{position:relative;overflow:clip;background:var(--surface);border-radius:var(--radius)}
.photo>img{width:100%;height:100%;object-fit:cover}
html.motion .photo[data-parallax]>img{position:absolute;left:0;top:-10%;height:120%;will-change:transform}
html.motion [data-reveal]{clip-path:inset(100% 0 0 0 round var(--radius));transition:clip-path 1.4s var(--ease-out)}
html.motion [data-reveal]>img{scale:1.1;transition:scale 1.8s var(--ease-out)}
html.motion [data-reveal].is-in{clip-path:inset(0 0 0 0 round var(--radius))}
html.motion [data-reveal].is-in>img{scale:1}
figcaption{font-size:14px;line-height:1.45;color:var(--muted)}

/* Opening: a framed photograph that opens to the whole picture. */
.opening{position:relative}
.opening-stage{position:relative;min-height:100vh;min-height:100svh;display:grid;grid-template-columns:100%;grid-template-rows:auto minmax(260px,1fr) auto;padding:calc(var(--header) + clamp(16px,3vh,40px)) 0 clamp(20px,3vh,32px);overflow:clip}
.opening-copy{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:48px;padding-bottom:clamp(24px,4vh,48px)}
.opening h1{font-size:var(--display-xl);font-weight:500;line-height:.96;letter-spacing:-.06em}
.opening h1 span{display:block}
.opening h1 span+span{padding-left:12.7%;color:var(--green)}
.opening-intro{width:min(320px,27vw);font-size:17px;line-height:1.5;padding-bottom:.5em}
.opening-intro span{display:block;margin-top:12px;color:var(--muted)}
.opening-slot,.opening-frame{grid-row:2;grid-column:1;width:calc(100% - var(--inset)*2);margin-inline:var(--inset);border-radius:var(--radius)}
.opening-frame{position:relative;z-index:2;overflow:clip;background:var(--surface);border-radius:var(--radius)}
.opening-image,.opening-image img{width:100%;height:100%}
.opening-image img{object-fit:cover}
.opening-statement{grid-row:3;position:relative;z-index:3;padding-top:clamp(28px,5vh,56px)}
.opening-statement p{font-size:var(--display-l);font-weight:500;line-height:1;letter-spacing:-.05em}
.opening-statement span{display:block;max-width:56ch;margin-top:20px;font-size:19px;font-weight:500;line-height:1.5;color:var(--ink)}
.opening-cue{grid-row:2;grid-column:1;align-self:end;justify-self:start;position:relative;z-index:3;margin:0 0 calc(var(--inset) + 14px) calc(var(--inset) + 14px);display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border-radius:999px;background:#fff;font-size:15px;font-weight:600}
html.motion .opening{height:calc(100vh + var(--opening-travel,200vh))}
html.motion .opening-stage{position:sticky;top:0;height:100vh;min-height:0;grid-template-rows:auto minmax(0,1fr)}
html.motion .opening-frame{grid-area:auto;position:absolute;inset:0;width:auto;margin:0;transform-origin:0 0;will-change:transform}
html.motion .opening-image{position:absolute;inset:0;transform-origin:0 0;will-change:transform}
html.motion .opening-statement{grid-area:auto;position:absolute;left:0;right:0;bottom:clamp(56px,12vh,140px);margin:0 auto;padding:0;opacity:0;pointer-events:none;will-change:transform,opacity}
html.motion .opening-copy{will-change:transform}

/* The whole company: six photographs, all in view. */
.whole{position:relative;z-index:3;background:var(--bg);padding:var(--section) 0 clamp(56px,8vh,96px)}
html.motion .whole{margin-top:-100vh;border-radius:var(--radius) var(--radius) 0 0}
.whole-head,.expertise-head,.work-head,.firm-head,.regions-head{display:grid;grid-template-columns:minmax(0,7fr) minmax(250px,4fr);gap:clamp(40px,6vw,120px);align-items:end}
.whole-head{grid-template-columns:minmax(0,8fr) minmax(250px,3.4fr)}
.whole-note{font-size:19px;line-height:1.5;color:var(--text-2);max-width:30ch;padding-bottom:.3em}
.strip{width:var(--shell);margin:clamp(56px,9vh,104px) auto 0}
.strip-track{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(12px,1.2vw,20px)}
.strip-item .photo{aspect-ratio:3/4}
.strip-item figcaption{display:grid;gap:2px;margin-top:14px;font-size:14.5px;color:var(--ink)}
.strip-item strong{font-size:16px;font-weight:600}
.strip-item figcaption span{color:var(--muted)}
.whole-proof{display:flex;justify-content:space-between;align-items:center;gap:48px;margin-top:clamp(48px,8vh,88px);padding:clamp(28px,3vw,44px) clamp(28px,3vw,48px);border-radius:var(--radius);background:var(--surface)}
.whole-proof p{font-size:var(--display-s);font-weight:500;line-height:1.2;letter-spacing:-.025em;max-width:34ch}
.whole-proof .text-link{flex:none}

/* What we do */
.expertise-intro{padding:var(--section) 0 clamp(48px,8vh,96px)}
.expertise-copy p,.page-hero-copy p{font-size:18px;line-height:1.55;color:var(--text-2);max-width:40ch}
.expertise-copy p+p,.page-hero-copy p+p{margin-top:14px;color:var(--muted)}
.service-overview{grid-column:1/-1;margin-top:clamp(48px,8vh,88px);display:grid;gap:6px}
.service-row{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr) auto;gap:clamp(24px,4vw,72px);align-items:center;padding:24px clamp(20px,2.2vw,36px);border-radius:var(--radius);background:var(--surface);transition:background-color .3s}
.service-row:hover{background:var(--surface-2)}
.service-name{font-size:var(--display-s);font-weight:500;line-height:1.15;letter-spacing:-.025em}
.service-detail{display:grid;gap:6px}
.service-summary{font-size:17px;line-height:1.4;font-weight:500}
.service-list{font-size:14.5px;line-height:1.55;color:var(--muted)}
.service-arrow{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;font-size:17px;transition:background-color .25s,color .25s,transform .35s var(--ease-out)}
.service-row:hover .service-arrow{background:var(--green);color:#fff;transform:translateY(3px)}
.practice-index{grid-column:1/-1;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:6px;margin-top:clamp(48px,8vh,88px)}
.practice-index a{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px;border-radius:var(--radius-s);background:var(--surface);font-size:16px;font-weight:600;transition:background-color .25s}
.practice-index a:hover{background:var(--surface-2)}

.practice{position:relative;display:grid;min-height:100vh;align-items:center}
.practice-photo{position:relative;margin:0}
.practice-photo .photo{height:100%}
.practice-photo figcaption{margin-top:12px}
.practice-body{width:min(560px,100%)}
.practice-body h2,.practice-body h3{font-size:var(--display-m);line-height:1.02;letter-spacing:-.045em}
.practice-thesis{margin-top:18px;font-size:20px;line-height:1.35;font-weight:600;color:var(--green)}
.practice-body>p:not(.practice-thesis){margin-top:16px;font-size:17px;line-height:1.55;color:var(--text-2);max-width:48ch}
.services{margin-top:32px}
.services>p{margin-bottom:14px;font-size:14px;font-weight:500;color:var(--muted)}
.services dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px}
.services dt{font-size:15.5px;font-weight:600;line-height:1.35}
.services dd{margin:4px 0 0;font-size:14.5px;line-height:1.45;color:var(--muted)}
.practice-body .text-link{margin-top:32px}
/* Beside a tall photograph the body fills its half; the side padding grows on wide screens, so the
   measure is limited on the content, never on a box that also has to hold that padding. */
.practice--strategy .practice-body,.practice--technology .practice-body,.practice--corporate .practice-body{width:100%}
.practice--strategy .practice-body>*,.practice--corporate .practice-body>*{max-width:560px}
.practice--technology .practice-body>*{max-width:700px}

.practice--strategy,.practice--corporate{grid-template-columns:minmax(0,46fr) minmax(0,54fr)}
.practice--strategy .practice-photo,.practice--technology .practice-photo,.practice--corporate .practice-photo{align-self:stretch;min-height:100vh;padding:var(--inset)}
.practice--strategy .practice-body,.practice--corporate .practice-body{padding:clamp(72px,10vh,120px) var(--side-vw) clamp(72px,10vh,120px) clamp(40px,6vw,120px)}
.practice--technology{grid-template-columns:minmax(0,56fr) minmax(0,44fr);background:var(--surface)}
.practice--technology .practice-body{order:-1;justify-self:start;padding:clamp(72px,10vh,120px) clamp(40px,5vw,96px) clamp(72px,10vh,120px) var(--side-vw)}
.practice--operations{display:block;min-height:0;padding:var(--inset) 0 clamp(72px,10vh,120px)}
.practice--operations .practice-photo{padding-inline:var(--inset)}
.practice--operations .practice-photo .photo{height:min(64vh,740px)}
.practice--operations .practice-photo figcaption{padding-left:calc(var(--side) - var(--inset))}
.practice--operations .practice-body{width:var(--shell);margin:clamp(48px,8vh,88px) auto 0;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);column-gap:clamp(40px,6vw,120px);align-items:start}
.practice--operations .practice-body>*{grid-column:2}
.practice--operations .practice-body h2,.practice--operations .practice-body h3{grid-column:1;grid-row:1/span 6}
.practice--operations .practice-thesis{margin-top:0}
.practice--growth{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(40px,6vw,120px);width:var(--shell);min-height:0;margin-inline:auto;padding:clamp(40px,6vh,72px) 0 var(--section)}
.practice--growth .practice-body{order:-1}
.practice--growth .practice-photo .photo{aspect-ratio:1540/952;height:auto}
.practice--corporate{background:var(--surface)}

/* IT from audit to operation: the one dark chapter before the work. */
.it-delivery{background:var(--dark);color:var(--on-dark);padding:var(--section) 0}
.it-head{display:grid;grid-template-columns:minmax(0,6fr) minmax(250px,5fr);gap:clamp(40px,6vw,120px);align-items:end}
.it-head h2,.it-head h3{font-size:var(--display-l);line-height:1;letter-spacing:-.05em}
.it-head p{font-size:18px;line-height:1.55;color:var(--on-dark-2);max-width:42ch}
.it-stages{list-style:none;margin:clamp(56px,9vh,96px) 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.2vw,20px)}
.it-stages li{padding:28px clamp(20px,1.8vw,30px) 32px;border-radius:var(--radius);background:#151d1a}
.it-stages h3,.it-stages h4{font-size:var(--display-s);line-height:1.15;letter-spacing:-.025em}
.it-stages span{display:inline-block;margin-top:12px;padding:4px 10px;border-radius:999px;background:rgba(127,191,164,.14);font-size:13.5px;font-weight:600;color:#9fd2bd}
.it-stages p{margin-top:16px;font-size:15.5px;line-height:1.55;color:var(--on-dark-2)}
.it-results,.it-platforms{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,8fr);gap:clamp(40px,6vw,120px)}
.it-results{margin-top:clamp(56px,9vh,104px)}
.it-label{padding-top:6px;font-size:14px;font-weight:500;color:var(--on-dark-2)}
.it-results ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px clamp(24px,3vw,56px)}
.it-results li{font-size:clamp(20px,1.55vw,26px);font-weight:500;line-height:1.3;letter-spacing:-.02em}
.it-platforms{margin-top:clamp(48px,7vh,80px);padding-top:28px;border-top:1px solid #26302c;font-size:15px;line-height:1.7;color:var(--on-dark)}
.it-platforms span{color:var(--on-dark-2)}

/* How we work with you */
.formats{padding:var(--section) 0}
.formats-head{display:grid;grid-template-columns:minmax(0,7fr) minmax(250px,4fr);gap:clamp(40px,6vw,120px);align-items:end}
.formats-head p{font-size:18px;line-height:1.55;color:var(--text-2);max-width:38ch}
.formats-head .text-link{margin-top:24px}
.format-rows{margin-top:clamp(48px,8vh,88px);display:grid;gap:6px}
.format-row{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(24px,4vw,72px);align-items:center;padding:24px clamp(20px,2.2vw,36px);border-radius:var(--radius);background:var(--surface)}
.format-row h3{font-size:var(--display-s);line-height:1.15;letter-spacing:-.025em}
.format-row span{display:inline-block;margin-top:10px;padding:4px 10px;border-radius:999px;background:#fff;font-size:13.5px;font-weight:600;color:var(--green)}
.format-row p{font-size:17px;line-height:1.55;color:var(--text-2);max-width:58ch}

/* Work: the cases travel sideways while the page scrolls down. */
.work{position:relative;background:var(--bg);padding-top:var(--section)}
.work-note p{font-size:17px;max-width:38ch;color:var(--text-2)}
.work-note .text-link{margin-top:22px}
.work-stage{display:flex;flex-direction:column;gap:clamp(28px,4vh,48px);padding:clamp(48px,8vh,88px) 0 clamp(72px,11vh,128px)}
.work-track{position:relative;display:flex;gap:clamp(16px,1.6vw,28px);padding-inline:var(--gutter)}
.case-card{flex:none;width:min(58vw,1120px);display:flex;flex-direction:column;padding:var(--inset);border-radius:calc(var(--radius) + var(--inset));background:var(--surface)}
.case-photo{position:relative;height:clamp(280px,48vh,600px);overflow:clip;border-radius:var(--radius);background:var(--surface-2)}
.case-photo img{width:100%;height:100%;object-fit:cover}
html.motion .case-photo img{position:absolute;top:0;left:-6%;width:112%;max-width:none;will-change:transform}
.case-text{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(20px,2.6vw,48px);padding:clamp(18px,2.6vh,30px) clamp(8px,1vw,16px) 6px}
.case-title h3{font-size:clamp(24px,2vw,34px);line-height:1.1;letter-spacing:-.035em}
.case-sector{margin-top:10px;font-size:14px;color:var(--muted)}
.case-outcome{font-size:16.5px;line-height:1.45;font-weight:500}
.case-quote{margin-top:14px}
.case-quote p{font-size:clamp(16px,1.2vw,19px);line-height:1.4;color:var(--text-2)}
.case-quote footer{margin-top:6px;font-size:13.5px;color:var(--muted)}
.case-detail .text-link{margin-top:16px}
.work-end{flex:none;width:min(34vw,540px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:32px;padding:0 var(--gutter) 0 clamp(16px,2vw,40px)}
.work-end p{font-size:var(--display-m);line-height:1.04;letter-spacing:-.045em}
.work-progress{height:4px;border-radius:4px;background:var(--surface-2);overflow:clip}
.work-progress span{display:block;height:100%;border-radius:4px;background:var(--green);transform-origin:0 50%;transform:scaleX(0)}
html.motion .work-pin{height:calc(100vh + var(--travel,0px))}
html.motion .work-stage{position:sticky;top:0;height:100vh;padding:clamp(88px,12vh,124px) 0 clamp(28px,5vh,52px);overflow:clip}
html.motion .work-track{flex:1;min-height:0;will-change:transform}
html.motion .case-card{height:100%}
html.motion .case-photo{flex:1;height:auto;min-height:0}
html:not(.motion) .work-progress{display:none}
html:not(.motion) .work-track{overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:var(--gutter)}
html:not(.motion) .case-card{scroll-snap-align:start}

/* The firm */
.firm{padding:var(--section) 0 clamp(64px,10vh,120px)}
.firm-copy p{font-size:18px;color:var(--text-2);max-width:42ch}
.firm-copy p+p{margin-top:14px;color:var(--muted)}
.firm-photos{display:grid;grid-template-columns:minmax(0,64fr) minmax(0,27fr);gap:clamp(16px,2vw,32px);align-items:end;margin-top:clamp(56px,9vh,104px)}
.firm-photos figcaption{margin-top:12px}
.firm-fieldwork .photo{aspect-ratio:3/2}
.firm-origin{margin-bottom:clamp(56px,11vh,150px)}
.firm-origin .photo{aspect-ratio:2/3}

/* Regions: four full-screen photographs stacked on top of one another. */
.regions-head{padding:var(--section) 0 clamp(48px,8vh,96px)}
.regions-head p{font-size:18px;max-width:38ch;color:var(--text-2)}
.region-stack{padding-inline:var(--inset)}
.region{position:relative;height:100vh;height:100svh;overflow:clip;border-radius:var(--radius);background:var(--dark)}
.region+.region{margin-top:var(--inset)}
html.motion .region{position:sticky;top:var(--inset);height:calc(100vh - var(--inset)*2)}
/* Each region holds the screen for a while before the next one slides over it. */
html.motion .region+.region{margin-top:calc(var(--inset) + 60vh)}
html.motion .region-stack{padding-bottom:60vh}
.region-media{position:absolute;inset:0}
html.motion .region-media{will-change:transform}
.region-media img{width:100%;height:100%;object-fit:cover}
.region-media::after{content:"";position:absolute;inset:0;background:rgba(8,12,10,.34)}
.region-shade{position:absolute;inset:0;z-index:1;background:#080c0a;opacity:0;pointer-events:none}
.region-label{position:absolute;z-index:2;left:clamp(24px,3.4vw,64px);right:clamp(24px,3.4vw,64px);bottom:clamp(28px,6vh,72px);color:#fff;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,420px);gap:24px 48px;align-items:end}
.region-label h2,.region-label h3{font-size:clamp(56px,8.4vw,152px);font-weight:500;line-height:.9;letter-spacing:-.06em}
.region-label p{font-size:18px;font-weight:500;line-height:1.5;color:rgba(255,255,255,.92);padding-bottom:.6em;text-shadow:0 1px 18px rgba(0,0,0,.35)}

/* Partners */
.partners{padding:var(--section) 0}
.partners-grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(40px,6vw,120px);align-items:start}
.partners-intro h2,.partners-intro h3{font-size:var(--display-m);line-height:1.04;letter-spacing:-.045em}
.partners-intro p{margin-top:22px;font-size:18px;color:var(--text-2);max-width:34ch}
.partners-intro .text-link{margin-top:30px}
.partner-pair{display:flex;gap:clamp(16px,2vw,32px);align-items:flex-start}
.partner{flex:1;max-width:400px}
.partner--egor{margin-top:clamp(56px,12vh,140px)}
.partner-photo{aspect-ratio:3/4;overflow:clip;border-radius:var(--radius);background:#050505}
.partner-photo img{width:100%;height:100%;object-fit:cover}
.partner h3{margin-top:20px;font-size:var(--display-s);line-height:1.15;letter-spacing:-.025em}
.partner-role{margin-top:4px;font-size:15px;font-weight:600;color:var(--green)}
.partner p:last-child{margin-top:12px;font-size:15.5px;line-height:1.5;color:var(--muted)}

/* Conversation */
.conversation{background:var(--surface);padding:var(--section) 0 clamp(88px,12vh,150px)}
.page-contact .conversation{padding-top:calc(var(--header) + clamp(56px,10vh,120px));min-height:100vh}
.conversation-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(40px,6vw,120px);align-items:start}
.conversation-intro h1,.conversation-intro h2{font-size:var(--display-l);line-height:1;letter-spacing:-.055em}
.conversation-lede{margin-top:26px;font-size:20px;line-height:1.45;color:var(--text-2)}
.reply-promise{margin-top:clamp(36px,6vh,64px);padding:20px 24px;border-radius:var(--radius-s);background:#fff;font-size:16.5px;line-height:1.5;max-width:42ch}
.conversation-regions{margin-top:22px;font-size:14px;color:var(--muted)}
.conversation-sheet{background:#fff;border-radius:calc(var(--radius) + 6px);padding:clamp(24px,3vw,52px);box-shadow:0 1px 2px rgba(14,20,18,.04),0 12px 40px rgba(14,20,18,.06)}
.sheet-title{margin-bottom:26px;font-size:var(--display-s);line-height:1.15;letter-spacing:-.025em}
.form-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.field{display:flex;flex-direction:column;margin-bottom:18px}
.field label{margin-bottom:8px;font-size:14px;font-weight:500;color:var(--text-2)}
.field input,.field textarea{width:100%;border:1px solid transparent;border-radius:var(--radius-s);background:var(--surface);padding:14px 16px;font-size:17px;line-height:1.4;color:var(--ink);outline:none;transition:border-color .2s,box-shadow .2s,background-color .2s}
.field input:hover,.field textarea:hover{background:var(--surface-2)}
.field input:focus,.field textarea:focus{background:#fff;border-color:var(--green);box-shadow:0 0 0 4px var(--green-tint)}
.field [aria-invalid="true"]{border-color:var(--error);background:#fff}
.field textarea{resize:vertical;min-height:150px;line-height:1.5}
.field-error{margin-top:8px;font-size:14px;color:var(--error)}
.field-error:empty{display:none}
.hp-field{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.form-bottom{display:flex;justify-content:space-between;align-items:center;gap:28px;margin-top:10px}
.form-bottom p{font-size:14px;line-height:1.5;color:var(--muted);max-width:32ch}
.form-bottom .primary-link{flex:none}
.form-status{margin-top:18px;font-size:15px;color:var(--error)}
.form-status:empty{display:none}
.form-success{outline:none}
.success-stroke{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--green);color:#fff;font-size:24px}
.form-success h2,.form-success h3{margin-top:24px;font-size:var(--display-m);line-height:1.04;letter-spacing:-.045em}
.form-success p{margin-top:16px;font-size:17px;color:var(--text-2);max-width:40ch}
.form-success .submission-reference{color:var(--muted);font-size:15px}
.form-success .text-link{margin-top:26px}

/* Inner pages */
.page-hero{padding:calc(var(--header) + clamp(64px,12vh,140px)) 0 clamp(48px,8vh,96px)}
.page-hero.shell{display:grid;grid-template-columns:minmax(0,7fr) minmax(250px,4fr);gap:clamp(40px,6vw,120px);align-items:end}
.page-hero h1{font-size:var(--display-xl);line-height:.96;letter-spacing:-.06em}
.firm-hero{padding-bottom:0}
.firm-landscape{position:relative;margin:clamp(48px,8vh,96px) var(--inset) 0}
.firm-landscape .photo{height:min(78vh,860px)}
.firm-note{position:absolute;left:clamp(24px,3.4vw,64px);bottom:clamp(24px,5vh,56px);color:#fff}
.firm-note p{font-size:var(--display-m);font-weight:500;line-height:1.02;letter-spacing:-.045em}
.firm-note span{display:block;margin-top:12px;font-size:16px;color:rgba(255,255,255,.88)}
.firm-landscape .photo::after{content:"";position:absolute;inset:0;background:rgba(8,12,10,.22)}

.case-story{padding-top:var(--section)}
.case-story-head{display:grid;grid-template-columns:minmax(0,8fr) minmax(220px,3fr);gap:clamp(40px,6vw,120px);align-items:end}
.case-story-head h2{font-size:var(--display-l);line-height:1;letter-spacing:-.05em}
.case-story-head .case-sector{margin:0;font-size:16px}
.case-story-photo{margin-top:clamp(40px,7vh,72px)}
.case-story-photo .photo{aspect-ratio:21/9}
.case-story-body{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(40px,6vw,120px);margin-top:clamp(40px,7vh,80px)}
.case-story-outcome{font-size:var(--display-s);font-weight:500;line-height:1.25;letter-spacing:-.025em}
.case-story-lead .case-quote{margin-top:28px;padding:20px 24px;border-radius:var(--radius-s);background:var(--surface)}
.case-part{display:grid;grid-template-columns:minmax(130px,1fr) minmax(0,3fr);gap:24px;padding:20px 0;border-top:1px solid var(--line)}
.case-part h3{font-size:15px;font-weight:600;letter-spacing:0;line-height:1.55}
.case-part p{font-size:17px;color:var(--text-2)}
.case-scope{padding-top:18px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.closing{display:flex;justify-content:space-between;align-items:center;gap:48px;margin-top:var(--section);margin-bottom:var(--section);padding:clamp(40px,6vh,72px) clamp(28px,3.4vw,64px);border-radius:var(--radius);background:var(--surface)}
.closing .statement{font-size:var(--display-m)}
.closing .primary-link{flex:none}

/* Footer */
.site-footer{position:relative;z-index:4;background:var(--dark);color:var(--on-dark);padding:clamp(72px,11vh,128px) 0 36px}
.footer-top{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(40px,6vw,120px)}
.footer-brand .wordmark{color:#fff}
.footer-brand .wordmark span{color:#7fbfa4}
.footer-brand p{margin-top:20px;font-size:16px;max-width:28ch;color:var(--on-dark-2)}
.footer-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}
.footer-nav p{margin-bottom:14px;font-size:14px;font-weight:500;color:var(--on-dark-2)}
.footer-nav ul{list-style:none;margin:0;padding:0;display:grid;gap:9px;font-size:15px;line-height:1.4}
.footer-nav a{transition:color .2s}
.footer-nav a:hover{color:#7fbfa4}
.footer-bottom{display:flex;gap:32px;align-items:center;margin-top:clamp(64px,10vh,112px);padding-top:24px;border-top:1px solid #222c28;font-size:14px;color:var(--on-dark-2)}
.footer-bottom span:last-child{margin-left:auto}
.privacy-button{font-size:14px;color:var(--on-dark-2);transition:color .2s}
.privacy-button:hover{color:#fff}
.privacy-dialog{width:calc(100% - 40px);max-width:620px;border:0;border-radius:var(--radius);padding:44px;background:#fff;color:var(--ink)}
.privacy-dialog::backdrop{background:rgba(12,18,16,.5)}
.privacy-dialog h2{margin-bottom:18px;font-size:32px;line-height:1.1}
.privacy-dialog p{font-size:16px;line-height:1.6;color:var(--text-2)}
.privacy-dialog p+p{margin-top:14px}
.dialog-close{float:right;margin:-22px -16px 0 0;padding:8px 14px;border-radius:999px;background:var(--surface);font-size:14px;font-weight:500}

@view-transition{navigation:auto}
::view-transition-old(root){animation:.25s ease both page-out}
::view-transition-new(root){animation:.5s var(--ease-out) both page-in}
@keyframes page-out{to{opacity:0}}
@keyframes page-in{from{opacity:0}}

@media (max-width:1280px){
  :root{--header:72px}
  .practice-body>p:not(.practice-thesis){font-size:16px}
  .case-text{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
}
@media (max-height:820px) and (min-width:901px){
  .case-quote footer{display:none}
  .case-quote{margin-top:10px}
  .case-detail .text-link{margin-top:12px}
  .services{margin-top:24px}
  .practice-body .text-link{margin-top:24px}
}
@media (max-width:1100px){
  .it-stages{grid-template-columns:repeat(2,minmax(0,1fr))}
  .practice--strategy,.practice--technology,.practice--corporate{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
  .services dl{grid-template-columns:1fr}
  .partners-grid{grid-template-columns:1fr}
  .partner-pair{max-width:820px}
  .footer-top{grid-template-columns:1fr}
  .region-label{grid-template-columns:1fr}
}
@media (max-width:900px){
  :root{--header:64px;--section:clamp(80px,12vh,120px)}
  body{font-size:17px}
  .header-inner{grid-template-columns:1fr auto}
  .wordmark{font-size:27px}
  .primary-nav,.header-contact{display:none}
  .menu-toggle{display:inline-flex;align-items:center;gap:10px;justify-self:end;padding:9px 16px;border-radius:999px;background:var(--surface);font-size:15px;font-weight:600}
  .mobile-nav:not([hidden]){position:fixed;z-index:49;top:var(--header);left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:6px;overflow-y:auto;overscroll-behavior:contain;background:#fff;padding:12px var(--gutter) calc(24px + env(safe-area-inset-bottom))}
  .mobile-nav a{padding:20px 22px;border-radius:var(--radius-s);background:var(--surface);font-size:26px;font-weight:500;line-height:1.1;letter-spacing:-.025em}
  .mobile-nav a:last-child{margin-top:auto;background:var(--green);color:#fff;font-size:20px}
  .opening-copy{grid-template-columns:1fr;gap:24px}
  .opening h1 span+span{padding-left:0}
  .opening-intro{width:auto;max-width:34ch}
  .whole-head,.expertise-head,.work-head,.firm-head,.regions-head,.page-hero.shell,.case-story-head,.case-story-body,.conversation-grid{grid-template-columns:1fr;gap:24px}
  .strip-track{grid-template-columns:repeat(2,minmax(0,1fr))}
  .whole-proof{flex-direction:column;align-items:flex-start}
  .practice-index{grid-auto-flow:row;grid-auto-columns:auto}
  .service-row{grid-template-columns:minmax(0,1fr) auto;gap:12px 16px}
  .service-detail{grid-column:1/-1;grid-row:2}
  .it-head,.it-results,.it-platforms,.formats-head,.format-row{grid-template-columns:1fr;gap:18px}
  .it-stages{grid-template-columns:1fr}
  .it-results ul{grid-template-columns:1fr}
  .practice,.practice--growth{display:flex;flex-direction:column;align-items:stretch;min-height:0;width:auto;padding:0 0 var(--section)}
  .practice .practice-photo{order:0!important;min-height:0!important;width:100%;padding:var(--inset) var(--inset) 0}
  .practice .practice-photo .photo{height:auto;aspect-ratio:4/3}
  .practice--growth .practice-photo{width:var(--shell);margin-inline:auto;padding:0}
  .practice .practice-body{order:1;width:var(--shell)!important;margin:36px auto 0!important;padding:0!important;display:block}
  .practice--growth{padding-top:0}
  .work-track{flex-direction:column;gap:16px;padding-inline:0;width:var(--shell);margin-inline:auto}
  .case-card,.work-end{width:100%}
  .work-end{padding:32px 0 0}
  .case-photo{height:auto;aspect-ratio:3/2}
  .case-text{grid-template-columns:1fr;gap:16px}
  .firm-photos{grid-template-columns:1fr}
  .firm-origin{margin-bottom:0;width:70%;justify-self:end}
  .region{height:auto;min-height:80svh}
  .partner-pair{gap:16px}
  .partner--egor{margin-top:48px}
  .form-pair{grid-template-columns:1fr;gap:0}
  .form-bottom{flex-direction:column;align-items:flex-start}
  .case-part{grid-template-columns:1fr;gap:8px}
  .closing{flex-direction:column;align-items:flex-start}
  .footer-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-bottom{flex-wrap:wrap;gap:16px 24px}
  .footer-bottom span:last-child{margin-left:0;width:100%}
}
@media (min-width:601px) and (max-width:900px){
  .it-stages,.it-results ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  .service-row{padding:24px 28px}
}
@media (max-width:600px){
  .opening-statement p,.statement{font-size:clamp(36px,10.5vw,52px)}
  .region-label h2,.region-label h3{font-size:clamp(48px,14vw,72px)}
  .practice-thesis{font-size:19px}
  .partner-pair{flex-direction:column}
  .partner{max-width:none;width:100%}
  .partner--egor{margin-top:24px}
  .privacy-dialog{padding:32px 24px}
}
@media (prefers-reduced-motion:reduce){
  html:not(.lenis){scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}
  ::view-transition-old(root),::view-transition-new(root){animation:none}
}
