/* ==========================================================================
   MagnifyLab — Case Study Single (unified template)
   Built from the three design handoffs (base, D2M evidence, JLG before/after).
   Everything is scoped under .ml-cs so theme styles are not affected.
   ========================================================================== */
html{scroll-behavior:smooth;scroll-padding-top:120px}
body.single-case_study{overflow-x:clip} /* sticky sidebar needs clip, not hidden */
.ml-cs{
  --color-bg-primary:      #0B0B0B;
  --color-bg-secondary:    #16171A;
  --color-bg-tertiary:     #1E1F23;
  --color-bg-positive:     #0F1F17;
  --color-bg-light:        #FFFFFF;
  --color-bg-light-alt:    #F5F5F3;
  --color-accent:          #F5C84E;
  --color-accent-dark:     #DDA92E;
  --color-accent-muted:    rgba(245, 200, 78, 0.10);
  --color-brand:           #18DE77;
  --color-brand-dark:      #0FB35F;
  --color-brand-muted:     rgba(24, 222, 119, 0.12);
  --color-brand-border:    rgba(24, 222, 119, 0.35);
  --color-text-primary:    #FFFFFF;
  --color-text-secondary:  #A1A1A6;
  --color-text-tertiary:   #8A8A8F;
  --color-text-muted:      #5A5B5D;
  --color-text-ghost:      #34353A;
  --color-text-dark:       #0B0C0E;
  --color-border:          #26272B;
  --color-border-light:    #E5E5E3;
  --color-negative:        #CC0808;
  --color-positive:        #18DE77;
  --color-star:            #F5C84E;
  --font-display: 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --fs-hero:        clamp(3rem, 1.5rem + 7vw, 8.75rem);
  --fs-service:     clamp(2.5rem, 1rem + 7vw, 9rem);
  --fs-h1:          clamp(2.25rem, 1.4rem + 3.4vw, 4rem);
  --fs-h2:          clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
  --fs-h3:          clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
  --fs-eyebrow:     0.8125rem;
  --fs-body-lg:     1.125rem;
  --fs-body:        1rem;
  --fs-small:       0.8125rem;
  --fs-caption:     0.875rem;
  --fs-stat:        clamp(2.5rem, 1.6rem + 3.5vw, 3.5rem);
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold:600;
  --fw-bold:    700;
  --fw-extrabold:800;
  --lh-tight:  0.95;
  --lh-snug:   1.1;
  --lh-body:   1.6;
  --ls-display: -0.03em;
  --ls-head:    -0.02em;
  --ls-eyebrow:  0.14em;
  --space-xxs:     4px;
  --space-xs:      8px;
  --space-sm:      12px;
  --space-md:      16px;
  --space-lg:      24px;
  --space-xl:      32px;
  --space-xxl:     48px;
  --space-section: 96px;
  --space-hero:    128px;
  --max-width: 1280px;
  --gutter:    32px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-image: 22px;
  --radius-card: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 12, 14, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 12, 14, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 12, 14, 0.12);
  --glow-accent: 0 0 0 3px var(--color-accent-muted);
  --glow-brand: 0 0 60px rgba(24, 222, 119, 0.25);
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  --ease-reveal: cubic-bezier(.16, 1, .3, 1);
}
.ml-cs{font-family:var(--font-body);color:var(--color-text-secondary);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;background:var(--color-bg-primary)}
.ml-cs *,.ml-cs *::before,.ml-cs *::after{box-sizing:border-box}
.ml-cs h1,.ml-cs h2,.ml-cs h3,.ml-cs h4,.ml-cs p,.ml-cs ul,.ml-cs ol,.ml-cs li,.ml-cs dl,.ml-cs dt,.ml-cs dd,.ml-cs figure{margin:0;padding:0}
.ml-cs a{color:var(--color-text-primary);text-decoration:none;transition:color 150ms ease}
.ml-cs a:hover{color:var(--color-brand)}
.ml-cs img{display:block;max-width:100%;height:auto}
.ml-cs *{box-sizing:border-box;margin:0;padding:0}
.ml-cs .wrap{max-width:1280px;margin:0 auto;padding:0 clamp(20px,4vw,56px)}
.ml-cs .eyebrow{display:inline-flex;align-items:center;gap:12px;font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--color-text-tertiary)}
.ml-cs .eyebrow::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--color-brand);flex:none}
.ml-cs .btn{display:inline-flex;align-items:center;gap:12px;height:56px;padding:0 28px;border-radius:999px;background:var(--color-accent);color:#0B0B0B;font:500 17px/1 var(--font-body);border:0;cursor:pointer;transition:background 150ms ease,transform 80ms ease}
.ml-cs .btn:hover{background:var(--color-accent-dark);color:#0B0B0B}
.ml-cs .btn:active{transform:scale(.98)}
.ml-cs .btn svg{width:18px;height:18px;transition:transform 220ms cubic-bezier(.16,1,.3,1)}
.ml-cs .btn:hover svg{transform:translateX(4px)}
.ml-cs .crumbs{display:flex;flex-wrap:wrap;gap:10px;font-size:14px;color:var(--color-text-tertiary);list-style:none}
.ml-cs .crumbs a{color:var(--color-text-tertiary)}
.ml-cs .crumbs a:hover{color:#fff}
.ml-cs .crumbs li+li::before{content:"/";margin-right:10px;color:#44454B}
.ml-cs .hero-bg{position:absolute;inset:0 0 auto 0;height:min(1000px,100%);pointer-events:none;-webkit-mask-image:radial-gradient(ellipse 38% 42% at 50% 34%,transparent 35%,#000 80%);mask-image:radial-gradient(ellipse 38% 42% at 50% 34%,transparent 35%,#000 80%)}
.ml-cs .hb-dots{position:absolute;inset:0;background-image:radial-gradient(#26272C 1.2px,transparent 1.4px);background-size:24px 24px;background-position:center 0;-webkit-mask-image:linear-gradient(#000 55%,transparent);mask-image:linear-gradient(#000 55%,transparent)}
.ml-cs .hb-chart{position:absolute;left:0;right:0;top:120px;height:560px}
.ml-cs .hb-chart svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.ml-cs .hb-area{fill:rgba(24,222,119,.05)}
.ml-cs .hb-line{fill:none;stroke:var(--color-brand);stroke-width:2;stroke-opacity:.55;vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:1;animation:mlcs-hbDraw 2.4s cubic-bezier(.16,1,.3,1) .3s forwards}
.ml-cs .hb-chart b{position:absolute;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:#0B0B0B;border:2px solid var(--color-brand);opacity:0;animation:mlcs-hbNode 420ms cubic-bezier(.16,1,.3,1) forwards}
.ml-cs .hb-chart b::after{content:"";position:absolute;inset:-8px;border-radius:50%;border:1px solid rgba(24,222,119,.4);animation:mlcs-hbPulse 3s ease-out infinite}
.ml-cs .hb-chart b:nth-of-type(1){animation-delay:.7s}
.ml-cs .hb-chart b:nth-of-type(2){animation-delay:1.1s}
.ml-cs .hb-chart b:nth-of-type(3){animation-delay:1.5s}
.ml-cs .hb-chart b:nth-of-type(4){animation-delay:1.9s}
.ml-cs .hb-axis{position:absolute;left:0;right:0;top:120px;height:560px;display:flex;flex-direction:column;justify-content:space-between}
.ml-cs .hb-axis span{height:1px;background:#1A1B1F}
.ml-cs .hb-pulse{fill:none;stroke:var(--color-brand);stroke-width:8;stroke-opacity:.18;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:.07 .93;stroke-dashoffset:.07;opacity:0;animation:mlcs-hbPulseRun 5.5s cubic-bezier(.65,0,.35,1) 2.8s infinite}
.ml-cs .hb-pulse--core{stroke-width:2.5;stroke-opacity:1;stroke:#7DFFB8}
@keyframes mlcs-hbPulseRun{0%{stroke-dashoffset:.07;opacity:0}8%{opacity:1}62%{opacity:1}70%,100%{stroke-dashoffset:-.93;opacity:0}}
@keyframes mlcs-hbDraw{to{stroke-dashoffset:0}}
@keyframes mlcs-hbNode{to{opacity:1}}
@keyframes mlcs-hbPulse{0%{transform:scale(.6);opacity:1}100%{transform:scale(1.8);opacity:0}}
.ml-cs .hero{position:relative;padding:clamp(40px,5vw,64px) 0 0;overflow:hidden}
.ml-cs .hero-in{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center}
.ml-cs .hero-in .crumbs{align-self:flex-start;margin-bottom:clamp(48px,6vw,88px)}
.ml-cs h1{font-weight:800;font-size:clamp(52px,7.4vw,112px);line-height:.95;letter-spacing:-.045em;color:#fff;margin:24px 0 28px;text-wrap:balance}
.ml-cs h1 .hl{display:inline-block;white-space:nowrap;background:var(--color-brand);color:#0B0B0B;border-radius:20px;padding:0 .14em .06em}
.ml-cs h1.sub{font-weight:800;font-size:clamp(40px,5vw,76px);line-height:1;letter-spacing:-.035em;color:#fff;max-width:18ch;margin:24px 0 0;text-wrap:balance}
.ml-cs .intro{font-size:clamp(17px,1.3vw,20px);max-width:56ch;color:#C2C2C6;margin-top:28px;text-wrap:pretty}
.ml-cs .meta{display:flex;flex-wrap:wrap;justify-content:center;margin-top:40px;border:1px solid var(--color-border);border-radius:20px;overflow:hidden}
.ml-cs .meta div{padding:16px 28px;text-align:left}
.ml-cs .meta div+div{border-left:1px solid var(--color-border)}
.ml-cs .meta dt{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--color-text-tertiary)}
.ml-cs .meta dd{margin-top:4px;font-size:15px;font-weight:500;color:#fff}
.ml-cs .hero-cta{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;margin-top:36px}
.ml-cs .ghost-btn{display:inline-flex;align-items:center;height:56px;padding:0 28px;border-radius:999px;border:1px solid #44454B;font-weight:500;color:#fff}
.ml-cs .ghost-btn:hover{background:#fff;color:#0B0B0B;border-color:#fff}
.ml-cs .thumbs{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr);gap:clamp(12px,2vw,24px);align-items:end;margin-top:clamp(88px,10vw,140px)}
.ml-cs .thumbs::before{content:"";position:absolute;left:calc(-1*clamp(20px,4vw,56px));right:calc(-1*clamp(20px,4vw,56px));bottom:-1px;height:45%;background:#16171A;border-radius:48px 48px 0 0;z-index:-1}
.ml-cs .thumb{margin:0;aspect-ratio:4/3.4;border-radius:24px;overflow:hidden;background:#F2F2F0;border:1px solid #2E2F34;transition:transform 420ms cubic-bezier(.16,1,.3,1)}
.ml-cs .thumb--main{aspect-ratio:510/400;margin-bottom:28px}
.ml-cs .thumb img{width:100%;height:100%;object-fit:cover}
.ml-cs .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ml-cs .stat{border-radius:20px;padding:clamp(22px,2.4vw,30px);color:#0B0B0B}
.ml-cs .stat--gold{background:var(--color-accent)}
.ml-cs .stat--green{background:var(--color-brand)}
.ml-cs .stat--blue{background:#6CC0F8}
.ml-cs .stat b{display:block;font-weight:800;font-size:clamp(40px,4vw,60px);line-height:.9;letter-spacing:-.045em}
.ml-cs .stat span{display:block;margin-top:12px;font-size:16px;font-weight:500}
.ml-cs .thumbs-nav{display:none;justify-content:center;gap:20px;margin-top:28px}
.ml-cs .thumbs-nav button{width:78px;height:42px;border-radius:999px;border:1.5px solid rgba(255,255,255,.6);background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer;transition:background 220ms,border-color 220ms,color 220ms}
.ml-cs .thumbs-nav button:hover{background:#fff;color:#0B0B0B;border-color:#fff}
.ml-cs .ph{display:grid;place-items:center;background:repeating-linear-gradient(135deg,#ECECE9 0 14px,#E3E3DF 14px 28px)!important}
.ml-cs .ph span{font:500 12px/1 var(--font-body);letter-spacing:.1em;text-transform:uppercase;color:#4B4B50;border:1px solid #CFCFCA;border-radius:999px;padding:10px 16px;background:#FAFAF8}
.ml-cs .ba{padding-bottom:clamp(72px,9vw,128px)}
.ml-cs .ba-head{display:grid;grid-template-columns:72px minmax(0,1fr);gap:0 24px;max-width:760px;margin-left:calc(240px + clamp(40px,7vw,120px))}
.ml-cs .ba-head h2{font-weight:800;font-size:clamp(32px,3.4vw,48px);line-height:1.05;letter-spacing:-.03em;color:#fff;margin-bottom:16px}
.ml-cs .ba-head p:not(.num){font-size:18px;color:#C2C2C6}
.ml-cs .ba-stage{margin-top:clamp(32px,4vw,48px);background:#16171A;border:1px solid #26272B;border-radius:28px;padding:clamp(12px,2.4vw,32px)}
.ml-cs .ba-view{position:relative;aspect-ratio:1122/654;border-radius:14px;overflow:hidden;background:#0F0F11;user-select:none;touch-action:pan-y}
.ml-cs .ba-view img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.ml-cs .ba-before{clip-path:inset(0 calc(100% - var(--p)) 0 0)}
.ml-cs .ba-view.is-anim .ba-before{transition:clip-path 520ms cubic-bezier(.65,0,.35,1)}
.ml-cs .ba-view.is-anim .ba-line{transition:left 520ms cubic-bezier(.65,0,.35,1)}
.ml-cs .ba-line{position:absolute;top:0;bottom:0;left:var(--p);width:3px;margin-left:-1.5px;background:var(--color-accent);pointer-events:none}
.ml-cs .ba-knob{position:absolute;top:50%;left:50%;width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:999px;background:var(--color-accent);display:grid;place-items:center;box-shadow:0 8px 24px rgba(0,0,0,.35)}
.ml-cs .ba-tag{position:absolute;top:16px;padding:7px 14px;border-radius:999px;background:rgba(11,11,11,.82);color:#fff;font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;pointer-events:none;transition:opacity 220ms}
.ml-cs .ba-tag--b{left:16px}
.ml-cs .ba-tag--a{right:16px}
.ml-cs .ba-range{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;-webkit-appearance:none;appearance:none}
.ml-cs .ba-view:has(.ba-range:focus-visible) .ba-knob{box-shadow:0 0 0 6px rgba(24,222,119,.35)}
.ml-cs .ba-ctrl{display:flex;justify-content:center;gap:8px;margin-top:20px}
.ml-cs .ba-ctrl button{height:42px;padding:0 20px;border-radius:999px;border:1px solid #2E2F34;background:transparent;color:#D9D9DC;font:500 14px/1 var(--font-body);cursor:pointer;transition:border-color 220ms,color 220ms,background 220ms}
.ml-cs .ba-ctrl button:hover{border-color:#fff;color:#fff}
.ml-cs .ba-ctrl button[aria-pressed="true"]{background:#fff;border-color:#fff;color:#0B0B0B}
.ml-cs .body{display:grid;grid-template-columns:240px minmax(0,1fr);gap:clamp(40px,7vw,120px);padding-top:clamp(72px,9vw,128px);padding-bottom:clamp(72px,9vw,128px)}
.ml-cs .toc{position:sticky;top:124px;align-self:start;display:grid;gap:32px}
.ml-cs .toc ol{list-style:none;display:grid;gap:4px;border-left:1px solid var(--color-border)}
.ml-cs .toc ol a{display:flex;gap:14px;padding:8px 0 8px 18px;margin-left:-1px;border-left:2px solid transparent;font-size:15px;color:var(--color-text-tertiary)}
.ml-cs .toc ol a span{font-variant-numeric:tabular-nums;color:#55565C}
.ml-cs .toc ol a:hover{color:#fff}
.ml-cs .toc ol a[aria-current="true"]{color:#fff;border-left-color:var(--color-brand)}
.ml-cs .toc ol a[aria-current="true"] span{color:var(--color-brand)}
.ml-cs .toc-card{position:relative;overflow:hidden;background:#101012;border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:22px}
.ml-cs .tc-glow{position:absolute;inset:0;pointer-events:none;background:radial-gradient(130% 90% at 50% -20%,rgba(24,222,119,.32) 0%,rgba(24,222,119,.08) 40%,transparent 70%)}
.ml-cs .tc-in{position:relative;display:flex;flex-direction:column}
.ml-cs .tc-who{display:flex;align-items:center;gap:10px;font-size:13px;color:rgba(255,255,255,.62)}
.ml-cs .tc-who img{width:38px;height:38px;border-radius:50%;object-fit:cover;object-position:top}
.ml-cs .tc-who b{display:block;font-size:14px;font-weight:700;color:#FAFAF8}
.ml-cs .tc-who i{margin-left:auto;width:8px;height:8px;border-radius:50%;background:#18DE77;box-shadow:0 0 0 4px rgba(24,222,119,.18)}
.ml-cs .tc-h{margin-top:18px;font-weight:800;font-size:21px;line-height:1.12;letter-spacing:-.025em;color:#FAFAF8;text-wrap:balance}
.ml-cs .tc-p{margin-top:10px;font-size:14px;line-height:1.55;color:rgba(255,255,255,.72);text-wrap:pretty}
.ml-cs .tc-btn{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px;background:var(--color-accent);color:#0B0B0B;padding:8px 8px 8px 20px;border-radius:999px;font-size:15px;font-weight:700;line-height:1;transition:transform 220ms cubic-bezier(.16,1,.3,1)}
.ml-cs .tc-btn:hover{color:#0B0B0B;background:var(--color-accent-dark);transform:translateY(-2px)}
.ml-cs .tc-ico{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;background:#0B0B0B}
.ml-cs .tc-tel{margin-top:14px;text-align:center;font-size:13px;font-weight:600;color:rgba(255,255,255,.72)}
.ml-cs .tc-tel:hover{color:#FAFAF8}
.ml-cs .article{display:grid;gap:clamp(64px,7vw,96px);max-width:760px}
.ml-cs .article>.stats{margin-bottom:calc(-1*clamp(16px,2.5vw,40px))}
.ml-cs .block{display:grid;grid-template-columns:72px minmax(0,1fr);gap:0 24px}
.ml-cs .num{font-weight:800;font-size:28px;letter-spacing:-.03em;color:var(--color-brand);line-height:1.2;font-size:18px;color:#C2C2C6;}
.ml-cs .block h2{font-weight:800;font-size:clamp(32px,3.4vw,48px);line-height:1.05;letter-spacing:-.03em;color:#fff;margin-bottom:24px}
.ml-cs .block p{font-size:18px;color:#C2C2C6;text-wrap:pretty}
.ml-cs .block p+p{margin-top:18px}
.ml-cs .block p a,.ml-cs .steps a{color:#fff;font-weight:600;text-decoration:underline;text-decoration-color:var(--color-brand);text-underline-offset:4px;text-decoration-thickness:2px}
.ml-cs .block p a:hover,.ml-cs .steps a:hover{color:var(--color-brand)}
.ml-cs .tags{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0 8px}
.ml-cs .tags a{height:40px;padding:0 18px;border-radius:999px;border:1px solid #2E2F34;display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:#D9D9DC}
.ml-cs .tags a::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--color-brand)}
.ml-cs .tags a:hover{border-color:var(--color-brand);color:#fff}
.ml-cs .steps{list-style:none;display:grid;margin-top:28px;border-top:1px solid var(--color-border)}
.ml-cs .steps li{display:grid;grid-template-columns:26px minmax(0,1fr);gap:18px;padding:22px 0;border-bottom:1px solid var(--color-border);font-size:17px;color:#C2C2C6}
.ml-cs .steps img{width:26px;height:26px;margin-top:1px}
.ml-cs .results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:8px}
.ml-cs .res-list{margin-top:0}
.ml-cs .res-list b{color:#fff;font-weight:700}
.ml-cs .res{background:#16171A;border:1px solid #26272B;border-radius:24px;padding:28px}
.ml-cs .res b{display:block;font-weight:800;font-size:clamp(40px,4vw,56px);line-height:.95;letter-spacing:-.04em;color:#fff}
.ml-cs .res span{display:block;margin-top:12px;font-size:16px;color:#C2C2C6}
.ml-cs .shots{margin-top:28px}
.ml-cs .shots-track{display:grid}
.ml-cs .shot{grid-area:1/1;margin:0;display:grid;gap:14px;opacity:0;visibility:hidden;transition:opacity 420ms cubic-bezier(.16,1,.3,1)}
.ml-cs .shot.is-on{opacity:1;visibility:visible}
.ml-cs .shot-frame{display:block;width:100%;aspect-ratio:757/446;border-radius:16px;overflow:hidden;background:#202124;border:1px solid #2E2F34;box-shadow:0 30px 60px -30px rgba(0,0,0,.8)}
.ml-cs .shot-frame img{width:100%;height:100%;object-fit:contain}
.ml-cs .shot figcaption{font-size:14px;color:var(--color-text-tertiary)}
.ml-cs .shots-nav{display:flex;align-items:center;gap:16px;margin-top:20px}
.ml-cs .shots-nav button{width:44px;height:44px;border-radius:999px;border:1px solid #2E2F34;background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer;transition:border-color 220ms,background 220ms}
.ml-cs .shots-nav button:hover{border-color:var(--color-brand);background:rgba(24,222,119,.08)}
.ml-cs .shots-dots{display:flex;gap:8px;flex:1}
.ml-cs .shots-dots i{width:8px;height:8px;border-radius:999px;background:#2E2F34;cursor:pointer;transition:width 220ms,background 220ms}
.ml-cs .shots-dots i.on{width:24px;background:var(--color-brand)}
.ml-cs .shots-count{font-size:13px;font-weight:600;letter-spacing:.12em;color:var(--color-text-tertiary);font-variant-numeric:tabular-nums}
.ml-cs .work{padding:clamp(72px,9vw,128px) 0;border-top:1px solid var(--color-border)}
.ml-cs .work-head{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(40px,5vw,72px);align-items:end}
.ml-cs .work-head h2{font-weight:800;font-size:clamp(30px,3.8vw,52px);line-height:1.04;letter-spacing:-.03em;color:#FAFAF8;margin-top:18px;text-wrap:balance}
.ml-cs .work-head>p{max-width:56ch;font-size:17px;line-height:1.65;color:rgba(255,255,255,.78);text-wrap:pretty}
.ml-cs .cases{display:flex;gap:16px;margin-top:clamp(40px,5vw,56px);overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:none;padding-bottom:4px;cursor:grab}
.ml-cs .cases::-webkit-scrollbar{display:none}
.ml-cs .cases.is-drag{cursor:grabbing;scroll-snap-type:none}
.ml-cs .cases.is-drag a{pointer-events:none}
.ml-cs .cc{flex:0 0 calc((100% - 16px)/2);scroll-snap-align:start;display:flex;flex-direction:column;gap:18px;opacity:0}
.ml-cs .cases.is-in .cc{animation:mlcs-ccIn 820ms cubic-bezier(.22,1,.28,1) forwards}
@keyframes mlcs-ccIn{from{opacity:0;transform:translate3d(0,28px,0)}to{opacity:1;transform:none}}
.ml-cs .cc-img{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:#0F0F11;border-radius:4px}
.ml-cs .cc-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 620ms cubic-bezier(.16,1,.3,1);-webkit-user-drag:none}
.ml-cs .cc:hover .cc-img img{transform:scale(1.045)}
.ml-cs .cc-txt{display:flex;flex-direction:column;gap:10px}
.ml-cs .cc-name{font-size:15px;line-height:1.3;font-weight:600;color:#8C8C94}
.ml-cs .cc-h{font-size:clamp(20px,1.7vw,26px);line-height:1.28;font-weight:500;letter-spacing:-.025em;color:#FAFAF8;text-wrap:pretty}
.ml-cs .cc-h .b{font-weight:800}
.ml-cs .cc:hover .cc-h{color:#FAFAF8}
.ml-cs .car-nav{display:flex;align-items:center;justify-content:center;gap:clamp(28px,5vw,64px);margin-top:clamp(28px,3.5vw,42px)}
.ml-cs .car-nav button{display:inline-flex;align-items:center;gap:14px;background:transparent;border:0;padding:10px 4px;cursor:pointer;color:#FAFAF8;font:600 13px/1 var(--font-body);letter-spacing:.16em;text-transform:uppercase;transition:color 220ms cubic-bezier(.16,1,.3,1)}
.ml-cs .car-nav button span{font-size:17px;line-height:1}
.ml-cs .car-nav button:hover{color:#F5C84E}
@media (max-width:900px){.ml-cs .work-head{grid-template-columns:1fr;gap:20px}.ml-cs .cc{flex-basis:calc(50% - 8px)}}
@media (max-width:560px){.ml-cs .cc{flex-basis:88%}}
@media (prefers-reduced-motion:reduce){.ml-cs .cc{opacity:1!important;animation:none!important}}
.ml-cs .leap{border-top:1px solid var(--color-border)}
.ml-cs .leap .wrap{padding-top:clamp(48px,6vw,80px);padding-bottom:clamp(48px,6vw,80px)}
.ml-cs .leap-card{position:relative;border:1px solid rgba(255,255,255,.12);border-radius:22px;overflow:hidden;background:#101012;padding:clamp(40px,5vw,68px) clamp(28px,4vw,56px)}
.ml-cs .lp-glow,.ml-cs .lp-grid,.ml-cs .lp-aura{position:absolute;pointer-events:none}
.ml-cs .lp-glow{inset:0;background:radial-gradient(120% 130% at 50% -18%,rgba(24,222,119,.55) 0%,rgba(24,222,119,.16) 34%,rgba(16,16,18,0) 68%)}
.ml-cs .lp-grid{inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:62px 62px;-webkit-mask-image:radial-gradient(90% 100% at 50% 0%,#000,transparent 72%);mask-image:radial-gradient(90% 100% at 50% 0%,#000,transparent 72%)}
.ml-cs .lp-aura{left:50%;top:-46%;transform:translateX(-50%);width:min(78%,760px);aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,rgba(24,222,119,.42),transparent 70%);filter:blur(42px);animation:mlcs-lpAura 9s ease-in-out infinite}
@keyframes mlcs-lpAura{0%,100%{opacity:.75;transform:translateX(-50%) scale(1)}50%{opacity:1;transform:translateX(-50%) scale(1.08)}}
.ml-cs .lp-in{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center}
.ml-cs .lp-pill{display:flex;align-items:center;gap:12px;padding:6px 16px 6px 6px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-radius:999px}
.ml-cs .lp-pill img{width:34px;height:34px;border-radius:999px;object-fit:cover}
.ml-cs .lp-stars{display:flex;gap:1px}
.ml-cs .lp-pill p{font-weight:700;font-size:14px;color:#FAFAF8}
.ml-cs .leap-card h2{font-weight:800;font-size:clamp(38px,6.4vw,92px);line-height:.96;letter-spacing:-.045em;color:#FAFAF8;margin-top:clamp(24px,3vw,34px);max-width:14ch;text-wrap:balance}
.ml-cs .leap-card h2 span{color:#18DE77}
.ml-cs .lp-sub{font-size:clamp(17px,1.5vw,20px);line-height:1.55;color:rgba(255,255,255,.74);max-width:50ch;margin-top:20px;text-wrap:pretty}
.ml-cs .lp-btns{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:clamp(26px,3.2vw,36px)}
.ml-cs .lp-primary{display:inline-flex;align-items:center;gap:12px;background:#18DE77;color:#0B0B0B;padding:15px 16px 15px 28px;border-radius:999px;font-size:16px;font-weight:700;line-height:1;box-shadow:0 18px 44px -18px rgba(24,222,119,.9);transition:transform 220ms cubic-bezier(.16,1,.3,1)}
.ml-cs .lp-primary:hover{color:#0B0B0B;transform:translateY(-2px)}
.ml-cs .lp-ico{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;background:#0B0B0B}
.ml-cs .lp-ghost{display:inline-flex;align-items:center;padding:15px 28px;border-radius:999px;font-size:16px;font-weight:700;line-height:1;color:#FAFAF8;border:1.5px solid rgba(255,255,255,.28);transition:background 220ms cubic-bezier(.16,1,.3,1),border-color 220ms cubic-bezier(.16,1,.3,1)}
.ml-cs .lp-ghost:hover{color:#FAFAF8;background:rgba(255,255,255,.08);border-color:#FAFAF8}
.ml-cs .lp-foot{display:flex;align-items:center;gap:clamp(14px,2vw,26px);flex-wrap:wrap;justify-content:center;margin-top:clamp(28px,3.4vw,38px);padding-top:clamp(22px,2.6vw,28px);border-top:1px solid rgba(255,255,255,.14);width:100%}
.ml-cs .lp-foot p{font-size:15px;font-weight:600;color:rgba(255,255,255,.72)}
.ml-cs .lp-foot span{width:4px;height:4px;border-radius:999px;background:rgba(255,255,255,.32)}
.ml-cs .lp-foot a{font-size:15px;font-weight:700;color:#FAFAF8;text-decoration:underline;text-decoration-color:#18DE77;text-decoration-thickness:2px;text-underline-offset:4px}
@media (prefers-reduced-motion:reduce){.ml-cs .lp-aura{animation:none}}
.ml-cs .rv{opacity:0;transform:translateY(16px);transition:opacity 420ms cubic-bezier(.16,1,.3,1),transform 420ms cubic-bezier(.16,1,.3,1)}
.ml-cs .rv.in{opacity:1;transform:none}
@media (max-width:1080px){.ml-cs .ba-head{margin-left:0}.ml-cs .toc-card{max-width:760px}.ml-cs .tc-btn{align-self:flex-start}.ml-cs .tc-tel{text-align:left}.ml-cs .body{grid-template-columns:1fr}.ml-cs .toc{position:static}.ml-cs .toc ol{display:none}}
@media (max-width:760px){.ml-cs .ba-head{grid-template-columns:1fr}.ml-cs .ba-stage{border-radius:20px}.ml-cs .ba-knob{width:44px;height:44px;margin:-22px 0 0 -22px}.ml-cs .ba-tag{top:10px;font-size:11px;padding:5px 10px}.ml-cs .ba-tag--b{left:10px}.ml-cs .ba-tag--a{right:10px}.ml-cs .hb-chart,.ml-cs .hb-axis{display:none}.ml-cs .toc{display:none}.ml-cs .stats{grid-template-columns:1fr}.ml-cs .thumbs{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin-top:56px}.ml-cs .thumbs::-webkit-scrollbar{display:none}.ml-cs .thumbs::before{display:none}.ml-cs .thumb,.ml-cs .thumb--main{flex:0 0 100%;scroll-snap-align:center;aspect-ratio:510/400;margin-bottom:0}.ml-cs .thumb--main{order:-1}.ml-cs .thumbs-nav{display:flex}.ml-cs .meta{flex-direction:column;width:100%}.ml-cs .meta div+div{border-left:0;border-top:1px solid var(--color-border)}.ml-cs .block{grid-template-columns:1fr}.ml-cs .num{margin-bottom:8px}.ml-cs .results{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.ml-cs .hb-line{animation:none;stroke-dashoffset:0}.ml-cs .hb-chart b{animation:none;opacity:1}.ml-cs .hb-chart b::after{animation:none}.ml-cs .hb-pulse{display:none}.ml-cs .rv{opacity:1;transform:none;transition:none}}

/* ---------- WordPress additions ---------------------------------------- */

/* Editor content (WYSIWYG) inside 01–04: lists become the tick lists from the design */
.ml-cs .cs-rich>*+*{margin-top:18px}
.ml-cs .cs-rich p{font-size:18px;color:#C2C2C6;text-wrap:pretty}
.ml-cs .cs-rich h3,.ml-cs .cs-rich h4{font-weight:700;font-size:20px;letter-spacing:-.01em;color:#fff;margin-top:32px}
.ml-cs .cs-rich a{color:#fff;font-weight:600;text-decoration:underline;text-decoration-color:var(--color-brand);text-underline-offset:4px;text-decoration-thickness:2px}
.ml-cs .cs-rich a:hover{color:var(--color-brand)}
.ml-cs .cs-rich strong,.ml-cs .cs-rich b{color:#fff;font-weight:700}
.ml-cs .cs-rich ul,.ml-cs .cs-rich ol{list-style:none;display:grid;margin-top:28px;border-top:1px solid var(--color-border)}
.ml-cs .cs-rich ul li,.ml-cs .cs-rich ol li{position:relative;padding:22px 0 22px 44px;border-bottom:1px solid var(--color-border);font-size:17px;color:#C2C2C6}
.ml-cs .cs-rich ul li::before,.ml-cs .cs-rich ol li::before{content:"";position:absolute;left:0;top:23px;width:26px;height:26px;background:url(pros.svg) center/contain no-repeat}
.ml-cs .cs-rich li p{font-size:inherit;color:inherit}
.ml-cs .cs-rich li>*+*{margin-top:8px}
.ml-cs .cs-rich img{border-radius:16px;margin:8px 0}
.ml-cs .block .tags+.cs-rich ul{margin-top:20px}

/* Hero thumbnails when fewer than 3 images are supplied */
.ml-cs .thumbs--2{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}
.ml-cs .thumbs--1{grid-template-columns:minmax(0,1fr);max-width:880px;margin-left:auto;margin-right:auto}
.ml-cs .thumbs--1 .thumb--main{margin-bottom:0}
.ml-cs .thumbs--1+.thumbs-nav{display:none!important}

/* Evidence: hide nav when only one screenshot */
.ml-cs .shots--single .shots-nav{display:none}

/* Article with no stat tiles (web design) */
.ml-cs .article--no-stats{padding-top:0}

/* Process service tags sit between intro and list */
.ml-cs .block .tags{margin:28px 0 0}

@media (max-width:760px){
  .ml-cs .thumbs--2,.ml-cs .thumbs--1{display:flex}
  .ml-cs .cs-rich ul li,.ml-cs .cs-rich ol li{padding-left:40px}
}
.ml-cs .thumbs-nav svg{width:22px;height:22px}
.ml-cs .shots-dots i:focus-visible,.ml-cs .shots-nav button:focus-visible,.ml-cs .thumbs-nav button:focus-visible{outline:2px solid var(--color-brand);outline-offset:3px}

/* Service tags typed into the Info Content editor: <div class="tags">…</div> */
.ml-cs .cs-rich .tags{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0 0}
.ml-cs .cs-rich .tags a,.ml-cs .cs-rich .tags span{height:40px;padding:0 18px;border-radius:999px;border:1px solid #2E2F34;display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:500;line-height:1;color:#D9D9DC;text-decoration:none}
.ml-cs .cs-rich .tags a::before,.ml-cs .cs-rich .tags span::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--color-brand);flex:none}
.ml-cs .cs-rich .tags a:hover{border-color:var(--color-brand);color:#fff}
.ml-cs .cs-rich .tags+ul,.ml-cs .cs-rich .tags+ol{margin-top:20px}
.ml-cs .cs-rich .tags br{display:none}

main#primary{margin:0 !important;}

