/* Generated by the work-case conversion (Oct 2026) from the team's coded case study. Page-specific: loaded only on
   this case study. Every selector is scoped to .work-case. Fonts map to the site tokens; layout and sizes are the team's. */
.work-case { position: relative; z-index: 0; line-height: normal; font-size: 16px; }
.work-case img, .work-case video { max-width: none; }
.work-case svg { display: inline; max-width: none; }
.work-case .container { max-width: none; padding-inline: 0; }
.work-case .section { padding-block: 0; }
.work-case .card { display: block; gap: normal; padding: 0; background: none; border: 0; border-radius: 0; transition: none; position: static; }
.work-case .tag { display: initial; gap: normal; font: inherit; letter-spacing: normal; text-transform: none; color: inherit; }
.work-case .tag::before { content: none; }
.work-case .su-topnav{ position: fixed; top: 0; left: 0; z-index: 1000; width: 1440px; padding-top: 36px;
               transform-origin: top left; pointer-events: none; overflow: hidden; }
.work-case .su-topnav-fill{ position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.work-case .su-topnav-fill > i{ position: absolute; display: block; }
.work-case .su-topnav-shell{ pointer-events: auto; width: 1368px; margin: 0 auto; display: flex; align-items: center;
                     justify-content: space-between; gap: 24px; padding: 18.5px 24px; background: #fff;
                     border: 1.5px solid rgba(45,54,72,0.12); border-radius: 12px; overflow: hidden; }
.work-case .su-crumb{ display: flex; align-items: center; gap: 24px; padding-right: 12px; min-width: 0; }
.work-case .su-back{ flex: none; width: 32px; height: 32px; border-radius: 16px; background: var(--color-text-on-light-primary);
             display: flex; align-items: center; justify-content: center; }
.work-case .su-back img{ display: block; width: 13.333px; height: 13.333px; transition: transform .3s ease-out; }
.work-case .su-back:hover img{ transform: translateX(-2px); }
.work-case .su-crumb-text{ display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap;
                   font-family: var(--font-mono); font-size: 12px; font-weight: 400;
                   line-height: normal; letter-spacing: 0.96px; color: var(--color-text-on-light-primary); text-transform: uppercase; }
.work-case .su-crumb-link{ color: inherit; text-decoration: underline; text-underline-position: from-font; }
.work-case .su-crumb-title{ font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.work-case .su-footer{ display: flex; flex-direction: column; align-items: center; }
.work-case .su-footer-line{ width: 1057.5px; max-width: 100%; height: 0.881px;
                    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.6) 50%, rgba(255,255,255,0)); }
.work-case .su-footer-body{ width: 100%; padding: 64px 120px; background: var(--color-background-inverse); }
.work-case .su-footer-row{ display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.work-case .su-footer-sign{ display: flex; align-items: center; gap: 24px; min-height: 38px; }
.work-case .su-footer-sign img{ display: block; width: 22.134px; height: 30.331px; }
.work-case .su-footer-tag{ margin: 0; white-space: nowrap; font-family: var(--font-sans);
                   font-size: 24px; font-weight: 300; line-height: 1.4; letter-spacing: 0.24px; color: var(--color-text-on-dark-secondary); }
.work-case .su-footer-tag em{ font-family: var(--font-serif); font-style: italic; font-weight: 700;
                      font-size: 26px; line-height: 1; letter-spacing: 0; color: var(--color-text-on-dark-primary); }
.work-case .su-footer-meta{ margin: 0; white-space: nowrap; text-align: right; font-family: var(--font-sans);
                    font-size: 16px; font-weight: 400; line-height: 16px; color: var(--color-text-on-dark-primary); }
.work-case{
    --dark: #0E0E0E;
    --ink: #1D1D1F;
    --grey: #86868B;
    --light: #FBFBFB;
    --grey-500: #6D7280;
    
    --text-1: var(--color-text-on-light-primary);
    --text-2: var(--color-text-on-light-secondary);
    --text-3: var(--color-text-on-light-tertiary);
    --on-dark-1: var(--color-text-on-dark-primary);
    --on-dark-2: var(--color-text-on-dark-secondary);
    --pad: 200px;
    --callout-max: 240px;   
    
    --font-ui: var(--font-sans);
       
       
  }
.work-case *{ margin: 0; padding: 0; box-sizing: border-box; }
body.page-case{ scroll-behavior: auto; }
.work-case{
    font-family: var(--font-sans);
    
    background: var(--color-background-inverse);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
.work-case img{ display: block; -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; user-drag: none; }
.work-case #page{ -webkit-user-select: none; -moz-user-select: none; user-select: none; }
.work-case #page img{ pointer-events: none; }
.work-case a{ text-decoration: none; color: inherit; }
.work-case button{ font-family: inherit; background: none; border: none; cursor: pointer; }
.work-case .container{ width: 1440px; margin: 0 auto; position: relative; }
.work-case .mask{ overflow: hidden; }
.work-case .accent{ font-family: var(--font-serif); font-style: italic; font-weight: 700; font-optical-sizing: auto;
            line-height: 1; }
.work-case #page{
    width: 1440px;
    transform-origin: top left;
    position: absolute; top: 0; left: 0;
    
    background: #fff;
  }
.work-case .ph-header{
    position: relative;
    
    background: linear-gradient(194deg, #1e2022 0%, #1b1d1f 55%, #222930 92%, #2b3740 115%);
    
    min-height: 988px;
    overflow: hidden;
  }
.work-case .ph-content{
    position: relative;
    padding: 252px var(--pad) 142px;   
    display: flex; flex-direction: column;
    z-index: 1;
  }
.work-case .ph-text{ display: flex; flex-direction: column; gap: 40px; }
.work-case .ph-header h1{
    font-size: 80px;
    font-weight: 400;   
    line-height: 1.1; letter-spacing: 0;
    color: var(--on-dark-1);
    max-width: 1040px;
  }
.work-case .ph-header h1 span{ font-weight: 400; }
.work-case .ph-header h1 .accent{ color: var(--on-dark-1); }
.work-case .ph-sub{
    font-size: 24px; line-height: 1.4; letter-spacing: 0;   
    max-width: 680px; color: var(--on-dark-2); font-weight: 300;   
  }
.work-case .ph-sub b{ color: var(--on-dark-1); font-weight: 600; }
.work-case .ripple{
    position: relative;
    height: 732px;
    overflow: hidden;
    margin-top: -1px;   
  }
.work-case .ripple img{
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    will-change: transform;
  }
.work-case .big-headline{
    background: #fff;
    min-height: 344px;   
    padding: 100px var(--pad) 50px;   
    display: flex; flex-direction: column; gap: 32px;   
  }
.work-case .big-headline h2{
    text-wrap: balance;   
    font-size: 80px;   
    font-weight: 400; line-height: 1.1; letter-spacing: 0;
    color: var(--text-1);
  }
.work-case .big-headline p{
    font-size: 24px; line-height: 1.4; letter-spacing: 0;   
    max-width: 752px; color: var(--text-2); font-weight: 300;
  }
.work-case .big-headline p b{ color: var(--text-1); font-weight: 600; }
.work-case .problem-wrap{ background: #fff; }
.work-case .problem{
    position: relative;
    width: 1448px; height: 712px;
    overflow: hidden;
  }
.work-case .stats{
    background: #fff;
    padding: 86px var(--pad) 73px;   
  }
.work-case .stats-row{ display: flex; gap: 80px; align-items: flex-start; max-width: 1040px; }
.work-case .stat{ width: 200px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.work-case .stat img{ width: 32px; height: 32px; }
.work-case .stat .mock-ic{ width: 32px; height: 32px; flex: 0 0 auto; }
.work-case .stat .n{
    font-family: var(--font-mono);   
    font-size: 60px; font-weight: 500; letter-spacing: 0;
    color: var(--text-1); line-height: normal;
  }
.work-case .stat .c{
    font-size: 16px; font-weight: 400; letter-spacing: 0;   
    color: var(--text-2); padding: 0 4px; line-height: 1.4;
  }
.work-case .hint{
    position: relative;
    width: 1440px; min-height: 448px;   
    overflow: hidden;
    contain: paint;   
    background: #fff;
  }
.work-case .hint h2{
    text-wrap: balance;   
    margin: 114px 0 114px 200px;
    width: 625px;
    font-size: 64px; font-weight: 400;
    line-height: 1.2; letter-spacing: -0.64px;
    color: var(--text-2);
  }
.work-case .hint h2 .accent{ color: var(--text-1); }
.work-case .solution{
    position: relative;
    margin-top: -1px;   
    background: #F7F7F7;
    height: 1193px;
    overflow: hidden;
  }
.work-case .solution-copy{
    position: absolute;
    left: var(--pad); top: 111px;   
    width: 825px;
    display: flex; flex-direction: column; gap: 32px;
  }
.work-case .solution-copy h2{ font-size: 32px; font-weight: 300; line-height: 1.36; letter-spacing: -0.64px; color: var(--text-1); }
.work-case .solution-copy h2 .accent{ font-size: 34px; line-height: 1.36; }
.work-case .solution-copy p{ font-size: 24px; line-height: 1.4; max-width: 640px; color: var(--text-2); font-weight: 300; }
.work-case .solution-copy p b{ color: var(--text-1); font-weight: 600; }
.work-case .solution-copy p .dash{ color: var(--ink); }
.work-case .stage-outer{ position: absolute; top: 270px; left: 0; right: 0; display: flex; justify-content: center; }
.work-case .stage{
    position: relative;
    width: 1280px; height: 803px;
    border-radius: 60px;
    flex: 0 0 auto;
  }
.work-case .stage .grey-bg{
    position: absolute;
    left: 0; top: 201px;
    width: 1280px; height: 602px;
    background: #EBEBEB;
    border-radius: 60px;
  }
.work-case .stage:has(.tablet-pos) .grey-bg,
.work-case .stage:has(.laptop-pos) .grey-bg{ display: none; }
.work-case .stage .screen-overlay{
    position: absolute; inset: 0;
    background: rgba(18,43,59,0.85);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    display: flex; align-items: center; justify-content: center;
    z-index: 6;
  }
.work-case .stage .screen-overlay .t{
    width: 160px; text-align: center;
    font-size: 24px; line-height: 1.1; color: #fff; font-weight: 400;
  }
.work-case .stage .screen-overlay .t b{ font-weight: 700; }
.work-case .callout{
    position: absolute;
    z-index: 7;
    width: fit-content;
    max-width: var(--callout-max);
  }
.work-case .callout .card{
    background: #fff;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 18px rgba(33,43,68,0.10);
    padding: 16px 20px;
    font-size: 14px; line-height: 1.24;
    color: var(--grey); font-weight: 400;
  }
.work-case .callout .card b{ color: var(--ink); font-weight: 700; }
.work-case .callout.left-side .card{ border-radius: 16px 8px 16px 8px; }
.work-case .callout.right-side .card{ border-radius: 8px 16px 8px 16px; }
.work-case .callout .dot{
    position: absolute;
    width: 22px; height: 22px; border-radius: 50%;   
    background: #2CCA9B;
    border: 3px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18); 
  }
.work-case .callout.right-side .dot{ left: -5px; top: -10px; }
.work-case .callout.left-side  .dot{ right: -5px; top: -10px; }
.work-case .callout.co1{ left: 958px;  top: 371px; }
.work-case .callout.co2{ right: 935px; top: 600px; }
.work-case .callout.co3{ right: 983px; top: 405px; }
.work-case .callout.co4{ left: 940px;  top: 500px; }
.work-case .callout.co5{ right: 915px; top: 671px; }
.work-case .meta{
    background: #fff;
    padding: 123px var(--pad) 126px;   
    display: flex; flex-direction: column; gap: 101px;   
  }
.work-case .meta .row{ display: flex; flex-direction: column; gap: 20px; }
.work-case .meta .lab{ font-size: 24px; font-weight: 700; line-height: 1.3; letter-spacing: 0.026px; color: var(--text-1); }
.work-case .meta .val{ font-size: 24px; font-weight: 500; line-height: 1.4; letter-spacing: 0.48px; color: var(--text-2); }
.work-case .client-logo{ display: flex; align-items: center; }
.work-case .client-logo svg{ display: block; height: 50px; width: auto; }
.work-case .stat-ic{ width: 32px; height: 32px; flex: none; }
.work-case .stats-row .stat{ width: 293.33px; }
.work-case .stats-row .stat .c{ max-width: 100% !important; }
.work-case .vv-cam{ position: absolute; left: 0; top: 0; width: 4104px; height: 1290px;
            will-change: transform; }
.work-case .vv-world{ position: absolute; inset: 0; width: 4104px; height: 1290px; display: block; }
.work-case #vvRoute{ position: absolute; inset: 0; width: 4104px; height: 1290px; overflow: visible; }
.work-case #vvRoute .vv-leg{ stroke: #3C434A; stroke-width: 3; fill: none; stroke-linecap: butt; }
.work-case #vvRoute .vv-leg-red{ stroke: #E93323; }
.work-case .vv-ann{ position: absolute; opacity: 0; }
.work-case .vv-ann .vv-mark{ position: absolute; width: 6px; height: 6px; border-radius: 50%;
                     background: var(--ink); left: -3px; top: -3px; }
.work-case .vv-ann .vv-lead{ position: absolute; left: -0.75px; bottom: 6px; width: 1.5px;
                     background-image: linear-gradient(to bottom, var(--ink) 0, var(--ink) 2px, transparent 2px);
                     background-size: 100% 4.5px; background-repeat: repeat-y; }
.work-case .vv-ann .vv-lead::before{ content: ""; position: absolute; left: -2.25px; top: -6px;
                             width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.work-case .vv-ann .vv-lab{ position: absolute; left: 16px;
                     font-size: 14px; line-height: 17.36px; letter-spacing: 0;
                     color: var(--grey); font-weight: 400;
                     paint-order: stroke fill; -webkit-text-stroke: 3px #FFFFFF; }
.work-case .vv-ann .vv-lab > span{ display: block; white-space: nowrap; }
.work-case .vv-ann .vv-lab b{ font-weight: 700; color: var(--ink); }
.work-case .vv-ann .vv-lab-left{ left: auto; right: 16px; text-align: right; }
.work-case .vv-ann.vv-acute .vv-mark{ background: #E93323; }
.work-case .vv-ann.vv-acute .vv-lead{ background-image: linear-gradient(to bottom, #E93323 0, #E93323 2px, transparent 2px); }
.work-case .vv-ann.vv-acute .vv-lead::before{ background: #E93323; }
.work-case .vv-ann.vv-acute .vv-lab b{ color: #E93323; }
@media (prefers-reduced-motion: reduce){.work-case .callout .dot::after{ animation: none !important; }}
.work-case .vv-comp{ position: absolute; left: 200.5px; top: 52px; width: 879.3px; height: 700px; z-index: 5; display: block; pointer-events: none; }
.work-case .vv-scrim{ position: absolute; left: 228.8px; top: 82.7px; width: 660.1px; height: 372.7px; z-index: 6; visibility: hidden; pointer-events: none; }
.work-case .vv-takeaway{ position: absolute; left: 228.8px; top: 82.7px; width: 660.1px; height: 372.7px; display: flex; align-items: center; justify-content: center;
                 z-index: 7; visibility: hidden; pointer-events: none; }
.work-case .vv-takeaway p{ margin: 0; width: 500px; text-align: center; font-size: 24px; line-height: 1.1;
                   color: #FFFFFF; font-weight: 400; }
.work-case .vv-takeaway p b{ font-weight: 700; }
.work-case .stage .callout{ z-index: 8; }
.work-case .stage .callout.cc1{ left: 963px; right: auto; top: 269px; }
.work-case .stage .callout.cc2{ right: 1003px; left: auto; top: 494px; }
.work-case .stage .callout.cc3{ left: 973px; right: auto; top: 426px; }
.work-case .stage .callout.cc4{ right: 793px; left: auto; top: 141px; }
.work-case .device-phone{ position: relative; width: 321.2px; height: 648px; }
.work-case .device-phone .frame{ position: absolute; left: -31.94%; top: -10.46%; width: 152.86%; height: 130.71%; background: url("/assets/site/work/vivere-travel-service/../devices/9df697e5.webp") 0 0 / 100% 100% no-repeat; pointer-events: none; z-index: 2; }
.work-case .device-phone .device-screen{ position: absolute; left: 5.88%; right: 5.88%; top: 2.67%; bottom: 2.9%; border-radius: 32px; overflow: hidden; background: #101214; z-index: 3; }
.work-case .device-tablet{ position: relative; width: 1277.6px; height: 747px; }
.work-case .device-tablet .frame{ position: absolute; left: -3.01%; top: -5.15%; width: 108.25%; height: 114.06%; background: url("/assets/site/work/vivere-travel-service/01-0999c49f.svg") 0 0 / 100% 100% no-repeat; pointer-events: none; z-index: 2; }
.work-case .device-tablet .device-screen{ position: absolute; left: 2.54%; right: 2.54%; top: 4.27%; bottom: 4.4%; border-radius: 24px; overflow: hidden; background: #101214; z-index: 3; }
.work-case .device-laptop{ position: relative; width: 1376px; height: 871px; }
.work-case .device-laptop .frame{ position: absolute; inset: 0; clip-path: inset(0 0 5.9% 0); background: url("/assets/site/work/vivere-travel-service/../devices/5408c9f8.webp") 0 0 / 100% 100% no-repeat; pointer-events: none; z-index: 2; }
.work-case .device-laptop .device-screen{ position: absolute; left: 12.01%; top: 8.89%; width: 74.56%; height: 76.15%; border-radius: 0; overflow: hidden; background: #101214; z-index: 3; }
.work-case .stage .phone{ position: absolute; left: calc(50% - 160.6px); top: 52px; z-index: 5; }
.work-case .stage .tablet-pos{ position: absolute; left: 50%; top: 73px; width: 1120px; height: 656.1px; transform: translateX(-50%); transform-origin: top center; z-index: 5; }
.work-case .stage .laptop-pos{ position: absolute; left: 50%; top: 26px; transform: translateX(-50%) scale(0.947); transform-origin: top center; z-index: 5; }
.work-case .hint .phone-peek{ position: absolute; left: calc(50% + 214px); top: 93px; width: 423px; }
.work-case .hint .phone-peek .device-phone{ transform: scale(1.317); transform-origin: top left; }
.work-case .hint .tablet-peek{ position: absolute; left: calc(50% + 130px); top: 93px; }
.work-case .hint .laptop-peek{ position: absolute; left: calc(50% + 130px); top: 100px; }
.work-case .hint .laptop-peek .device-laptop{ transform: scale(0.85); transform-origin: top left; }
.work-case{ --chapter-gap: 72px; }
.work-case .fit{ display: flex; justify-content: center; overflow: hidden; }
.work-case .fit > *{ transform-origin: top center; flex: 0 0 auto; }
.work-case .stage-outer.fit{ overflow: visible; }
html.lenis, html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* ============ FLUID LAYER (Oct 2026) ============
   Built to the Figma responsive templates for every case study (SuperUltra_Final-website-2026, node 6487:13316):
   desktop >= 1024, tablet 768-1023, phone < 768. Text sits on one content inset and never scales 1:1 with the screen;
   backgrounds, photos and the problem stage are full bleed. Set pieces (the flight map, the showcase stage) are scaled
   as one unit by case.js (--k = min(1, width / 1440)). */
html:has(body.page-case), body.page-case{ overflow-x: clip; }
.work-case{
    /* the content inset: 64 at 1024, 80 at 1280, 120 at 1440, (100vw - 1200) / 2 wider; tablet 48 -> 64 (phone: below) */
    --gutter: max(6.25vw, min(25vw - 240px, 120px), (100vw - 1200px) / 2);
    --pad: var(--gutter);
    /* type (desktop; tablet and phone set fixed sizes below) */
    --fs-h1: clamp(56px, 5.5vw, 96px);    --lh-h1: 1.1;
    --fs-h2: clamp(48px, 3.889vw, 72px);  --lh-h2: 1.371;
    --fs-lead: clamp(20px, 1.667vw, 26px); --lh-lead: 1.4;
    --fs-body: clamp(18px, 1.389vw, 22px); --lh-body: 1.68;
    --fs-h2s: 32px; --fs-h2s-accent: 34px;
    --fs-stat: clamp(44px, 4.2vw, 64px);  --lh-stat: 1.2;
    --fs-stat-c: 16px;
    --fs-val: 24px; --lh-val: 1.4;
    /* vertical rhythm: the 1440 values, ~0.8x at 1024 and ~1.2x at 1920 */
    --s180: clamp(144px, 55.38px + 8.654vw, 216px);
    --s160: clamp(128px, 49.23px + 7.692vw, 192px);
    --s120: clamp(96px, 36.92px + 5.769vw, 144px);
    --s100: clamp(80px, 30.77px + 4.808vw, 120px);
    --s90: clamp(72px, 27.69px + 4.327vw, 108px);
    --s80: clamp(64px, 24.62px + 3.846vw, 96px);
    --hero-top: 204px;   /* the back nav (108) + 96 */
    --hero-bot: 96px;    /* the space below the lead = the space above the logo (UI team, 21 Oct) */
    --sec: 120px;        /* desktop section padding (UI team, 21 Oct); the showcase, with its call-outs, keeps its own */
    overflow-x: clip;
  }
.work-case #page{ width: 100%; }
.work-case .container{ width: auto; }
/* (never the services section: a clipping ancestor cut the chips' outlines on iPhone) */
.work-case .big-headline,
.work-case .stats,
.work-case .meta,
.work-case .problem-wrap{ overflow-x: clip; }

/* hero: content-driven height */
.work-case .ph-header{ min-height: 0; }
.work-case .ph-content{ padding: var(--hero-top) var(--pad) var(--hero-bot); }
.work-case .ph-text{ gap: 56px; }
.work-case .ph-header h1{ font-size: var(--fs-h1); line-height: var(--lh-h1); max-width: 900px; }
.work-case .ph-sub{ font-size: var(--fs-lead); line-height: var(--lh-lead); max-width: 680px; }
.work-case .client-logo svg{ width: 223px !important; height: auto !important; max-width: 100%; }   /* the logo: fixed 223px wide (160 on phones) */
.work-case .ripple{ height: clamp(420px, 50.8vw, 900px); }

/* hook: the headline's first word at 70% ink */
.work-case .big-headline{ min-height: 0; padding: var(--sec) var(--pad); gap: 32px; }
.work-case .big-headline h2{ font-size: var(--fs-h1); line-height: var(--lh-h1); max-width: 900px; }
.work-case .big-headline h2 .hw{ color: rgba(18,21,24,0.7); }
.work-case .big-headline p{ font-size: var(--fs-body); line-height: var(--lh-body); max-width: 720px; }

/* the flight map's labels keep their design size on screen while the map scales (--sk, identity at 1440). Each sits on
   top of its leader's dot, left edge on the line (Leandre, review); case.js sets its left and bottom, lengthens its leader
   when the route would cross it and widens the frame to the right when it would run past the gutter */
.work-case .vv-ann .vv-lab{ font-size: calc(14px / var(--sk, 1)); line-height: calc(17.36px / var(--sk, 1));
    -webkit-text-stroke-width: calc(3px / var(--sk, 1)); }
.work-case .vv-ann .vv-lab,
.work-case .vv-ann .vv-lab-left{ left: 0; right: auto; text-align: left; }

/* stats: equal columns (a count-up can never push a neighbour), max 1200, no bottom padding at any width */
.work-case .stats{ padding: var(--sec) var(--pad) 0; }   /* the same space above the stats as below them: the What-if's own top padding; the stats add none */
.work-case .stats-row{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1200px;
    column-gap: clamp(24px, 9.615vw - 74.46px, 64px); row-gap: 48px; }
.work-case .stat,
.work-case .stats-row .stat{ width: auto; min-width: 0; gap: 16px; }
.work-case .stat > div{ display: flex; flex-direction: column; gap: 4px; }
.work-case .stat .n{ font-size: var(--fs-stat); line-height: var(--lh-stat); letter-spacing: -0.05em; white-space: nowrap; }
.work-case .stat .n span[data-count]{ font-variant-numeric: tabular-nums; }
.work-case .stat .c{ font-size: var(--fs-stat-c); line-height: 1.4; padding: 0; }

/* What if: copy on the inset (max 600), the device to its right, running past the section's bottom edge (the section
   crops it), so it meets the showcase's grey band below. The copy is centred on the VISIBLE part of the device (Leandre,
   20 Oct): the band from the section's top padding to the bottom edge, so equal space above and below the copy */
.work-case .hint{ width: 100%; min-height: 0; padding-top: var(--sec); }
.work-case .hint h2{ margin: var(--s100) 0 var(--s100) var(--pad); width: min(600px, 43.403vw); font-size: var(--fs-h2); line-height: var(--lh-h2); }
.work-case .hint .phone-peek{ left: calc(50% + min(214px, 14.861vw)); top: min(93px, 6.458vw); width: min(423px, 29.375vw); }
.work-case .hint .phone-peek .device-phone{ transform: scale(calc(1.317 * var(--k, 1))); }

/* showcase: heading + lead on the inset, the stage scaled as one unit (case.js scales .stage-outer by --k and places it
   48px under the copy, measured to the devices' top, 52px into the stage) */
.work-case .solution{ height: calc(var(--st-top, 410px) + 803px * var(--k, 1) + 120px); }   /* hugs the set piece: 120px under its last visual after the hold, as every desktop section (Leandre, Oct 2026) */
@media (min-width: 1440px){ .work-case .solution{ height: calc(var(--st-top, 410px) + 803px * var(--k, 1) + 73px); } }   /* from 1440 the stage settles 47px higher */
.work-case .solution-copy{ top: var(--s160); width: min(825px, calc(100% - 2 * var(--pad))); gap: 20px; }
.work-case .stage-outer{ top: var(--st-top, 410px); }
.work-case .solution-copy h2{ font-size: var(--fs-h2s); line-height: 1.36; }
.work-case .solution-copy h2 .accent{ font-size: var(--fs-h2s-accent); }
.work-case .solution-copy p{ font-size: var(--fs-lead); line-height: var(--lh-lead); max-width: 640px; }
/* end state (all case studies): black at 65% over the screen, the closing caption centred in white, bold last word. The
   iMac's screen mask (the screen minus the phone and laptop in front of it) is drawn black at 65% (filter, so GSAP keeps
   its own opacity). The stage is scaled, so the caption is counter-scaled to keep its design size on screen */
.work-case .vv-scrim{ filter: brightness(0) opacity(0.65); }
/* ...and every other device's screen dims with it (Leandre, 21 Oct): the laptop and the phone, measured on the composition
   (1800 x 1433 at 0.4885 from (200.5, 52)); the card is not a screen */
.work-case .vv-dim{ position: absolute; z-index: 6; background: rgba(0,0,0,0.65); visibility: hidden; pointer-events: none; }
.work-case .vv-dim-lap{ left: 539px; top: 403.7px; width: 460.7px; height: 289.7px; }
.work-case .vv-dim-ph{ left: 270.4px; top: 357.8px; width: 135.8px; height: 296.5px; border-radius: 19.5px; }
.work-case .vv-takeaway p{ font-size: calc(22px / var(--kf, 1)); line-height: 1.318; font-weight: 400; width: min(calc(420px / var(--kf, 1)), 92%); }
.work-case .vv-takeaway p b{ font-weight: 700; }

.work-case .meta{ padding: var(--s80) var(--pad) var(--sec); gap: var(--s80); }
.work-case .meta .row{ gap: 20px; }
.work-case .meta .lab{ font-size: 24px; line-height: 1.3; }
.work-case .meta .val{ font-size: var(--fs-val); line-height: var(--lh-val); max-width: 640px; }

/* call-out cards keep their design size on screen while the stage scales (identity at 1440). The counter-scale sits on
   the card, never on .callout or .stage: GSAP animates those and would fold a CSS `scale` into its own transform once,
   then keep that stale value after a resize. --cs (case.js fitCallouts) shrinks the cards below their design size only
   when two that are on screen together would otherwise overlap. --kf (case.js) is the stage's whole scale: --k x the fit
   to the window height. */
.work-case .callout.right-side .card{ scale: calc(var(--cs, 1) / var(--kf, 1)); transform-origin: 0 0; }
.work-case .callout.left-side .card{ scale: calc(var(--cs, 1) / var(--kf, 1)); transform-origin: 100% 0; }

/* set-piece boxes built by case.js (all widths) */
.work-case .su-scene{ position: relative; width: 100%; overflow: hidden; }
.work-case .su-scaler{ position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.work-case .su-pswipe, .work-case .su-swipe{ display: none; }

/* ============ BREAKPOINTS ============
   >= 1024  desktop: the Figma desktop template (inset 64 / 80 / 120, type on clamp()); set pieces scale with the
            width below 1440 and fit the window height; the problem and showcase holds are scroll-pinned.
   768-1023 tablet: the Figma tablet template (inset 48 -> 64, fixed type, sections 96, stats 2x2, services 3 columns);
            the flight map and showcase keep their DESKTOP compositions, scaled to the width; each hold pins its block
            (headline + map, What-if + showcase) by its bottom edge.
   < 768    phone: the Figma phone templates (inset 32, 24 below 360; sections 64). No scroll pinning: the flight map
            and the showcase are swipe carousels (case.js builds them).
   Keep these two blocks last, phone after tablet. */
@media (max-width: 1023px){
  .work-case{ --fs-h1: 56px; --lh-h1: 1.107; --fs-h2: 40px; --lh-h2: 1.3; --fs-lead: 20px; --lh-lead: 1.5; --fs-body: 18px; --lh-body: 1.556;
      --fs-stat: 48px; --lh-stat: 1.167; --fs-val: 20px; --lh-val: 1.4;
      --s180: 120px; --s160: 96px; --s120: 96px; --s100: 80px; --s90: 96px; --s80: 56px; --hero-top: 172px; --hero-bot: 72px; --sec: 96px; }   /* hero: nav 40 + 60, then 72 */
  .work-case .ph-text{ gap: 40px; }
  .work-case .ph-sub{ max-width: 640px; }
  .work-case .big-headline{ padding: 100px var(--pad) 80px; gap: 24px; }
  .work-case .big-headline p{ max-width: 640px; }

  /* three stats stay in one row on tablet (Leandre, 20 Oct: the 2x2 reflow is for four); phones take 2x2 (below) */
  .work-case .stats-row{ grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }

  /* What if: the device is a phone, so it sits NEXT to the copy on tablet too (Leandre, 20 Oct): copy left (max 600,
     40 / 52), the framed phone about 300 wide centred in its column (case.js --peek-t), cut by the section's bottom edge.
     The copy is centred on the visible part of the phone */
  .work-case .hint{ display: flex; flex-direction: row; align-items: center; gap: 24px; padding: 96px 0 0 var(--pad); }
  .work-case .hint h2{ flex: 1 1 0; margin: 0; width: auto; max-width: 600px; }
  .work-case .hint .phone-peek{ position: relative; left: auto; top: auto; flex: 0 0 48%; height: 360px; overflow: hidden; }
  .work-case .hint .phone-peek .device-phone{ transform: var(--peek-t, none); transform-origin: 0 0; }

  /* showcase: in flow; the grey hugs its content, 96px above the heading and below the stage */
  .work-case .solution{ height: auto; padding-bottom: 96px; }
  .work-case .solution-copy{ position: relative; left: auto; top: auto; width: auto; padding: 96px var(--pad) 0; gap: 20px; }
  .work-case .stage-outer{ position: relative; top: auto; margin-top: 32px; margin-bottom: calc(803px * (var(--k, 1) - 1)); }
  .work-case .vv-takeaway p{ font-size: calc(16px / var(--kf, 1)); width: min(calc(300px / var(--kf, 1)), 92%); }
}
/* ---------- PHONE (< 768): the Figma phone templates; case.js builds the two swipe carousels at the same width ---------- */
@media (max-width: 767px){
  .work-case{ --gutter: 32px; --fs-h1: 40px; --lh-h1: 1.1; --fs-h2: 28px; --lh-h2: 1.286; --fs-lead: 17px; --lh-lead: 1.53;
      --fs-body: 16px; --lh-body: 1.5; --fs-stat: 36px; --lh-stat: 1.167; --fs-stat-c: 14px; --fs-h2s: 28px; --fs-h2s-accent: 30px;
      --fs-val: 17px; --lh-val: 1.41;
      --s180: 80px; --s160: 64px; --s120: 64px; --s100: 48px; --s90: 64px; --s80: 40px; --hero-top: 124px; --hero-bot: 48px; --sec: 64px; }   /* hero: nav 16 + 60, then 48 */
  .work-case .ph-text{ gap: 24px; }
  .work-case .client-logo svg{ width: 160px !important; }
  .work-case .ripple{ height: 300px; }
  .work-case .big-headline{ padding: 72px var(--pad) 48px; gap: 16px; }

  .work-case .stats-row{ grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 32px; }
  .work-case .stat .c{ line-height: 1.43; }

  /* What if: stacked; the copy (28 / 36), then the phone in its frame, about 260 wide, centred under the copy, its top
     bezel clear and its lower part cut by the section's bottom edge (crop 360) */
  .work-case .hint{ flex-direction: column; align-items: stretch; gap: 32px; padding: 64px 0 0 var(--pad); }
  .work-case .hint h2{ flex: none; margin: 0; padding-right: 32px; }
  .work-case .hint .phone-peek{ flex: none; width: 100%; height: 360px; }

  /* problem: the swipe template. The map plays inside a 7:4 box (20px side margins); the cards below drive it. Nothing
     else is drawn in the box: no labels or leaders, only the pulse marker on the active card's pin */
  .work-case .problem-wrap{ display: block; }   /* the stats' 64px above then matches the 64px below them */
  .work-case #problemFit > .su-scene{ width: auto; margin: 0 20px; border: 1px solid rgba(18,21,24,0.08); border-radius: 20px;
      background: #fff; }
  .work-case .vv-ann .vv-lab, .work-case .vv-ann .vv-lead{ display: none; }
  /* the dotted world, scaled to the small box, washes out: its dots are drawn darker so the map stays readable (the
     image is transparent, so only the dots darken, never the box) */
  .work-case .vv-world{ filter: brightness(0.78); }
  /* the pulse marker: on the card's pin, only while its chunk holds; 10px core in the line's colour (ink, red on the
     acute leg), 2px white stroke, two halos (24px and 36px, 1.6s, staggered 0.4s) */
  .work-case .vv-ann .vv-mark{ visibility: hidden; --pin: #1D1D1F; width: calc(10px / var(--sk, 1)); height: calc(10px / var(--sk, 1));
      left: calc(-5px / var(--sk, 1)); top: calc(-5px / var(--sk, 1)); background: var(--pin);
      box-shadow: 0 0 0 calc(2px / var(--sk, 1)) #fff; }
  .work-case .vv-ann.vv-acute .vv-mark{ --pin: #E93323; }
  .work-case .vv-ann.su-on{ opacity: 1 !important; }
  .work-case .vv-ann.su-on .vv-mark{ visibility: visible; }
  .work-case .vv-ann .vv-mark::before, .work-case .vv-ann .vv-mark::after{ content: ""; position: absolute; left: 50%; top: 50%;
      width: calc(24px / var(--sk, 1)); height: calc(24px / var(--sk, 1)); translate: -50% -50%; border-radius: 50%;
      background: var(--pin); opacity: 0; animation: su-halo-a 1.6s ease-out infinite; }
  .work-case .vv-ann .vv-mark::after{ width: calc(36px / var(--sk, 1)); height: calc(36px / var(--sk, 1)); animation-name: su-halo-b;
      animation-delay: 0.4s; }
  .work-case .su-pswipe{ display: block; margin-top: 24px; }
  .work-case .su-pcards{ display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
      padding: 8px 20px 32px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .work-case .su-pcards::-webkit-scrollbar{ display: none; }
  .work-case .su-pcard{ flex: none; width: calc(100vw - 89px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px;
      padding: 20px; border-radius: 16px; background: #F7F7F7; border: 1px solid rgba(18,21,24,0.06); opacity: 0.55;
      transition: background 0.3s, border-color 0.3s, opacity 0.3s, box-shadow 0.3s; }
  .work-case .su-pcard:last-child{ margin-right: 20px; }
  .work-case .su-pcard.on{ background: #fff; border-color: rgba(18,21,24,0.15); opacity: 1; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
  .work-case .su-pcard.fail.on{ background: #FEF2F2; border-color: rgba(233,51,35,0.4); }
  .work-case .su-meta{ font: 400 10px/13px var(--font-mono); letter-spacing: 0.8px; color: rgba(18,21,24,0.55); }
  .work-case .su-lead{ font: 700 17px/22px var(--font-sans); color: #121518; }
  .work-case .su-rest{ font: 400 15px/20px var(--font-sans); color: #86868B; }
  .work-case .su-controls{ display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); }   /* on the page's side margins (Leandre) */
  .work-case .su-pswipe .su-controls{ margin-bottom: -15px; }   /* the 44px tap area adds no visible space below the dots */
  .work-case .su-dots{ display: flex; align-items: center; gap: 6px; }
  .work-case .su-dots button{ position: relative; width: 6px; height: 6px; padding: 0; border-radius: 3px; background: rgba(18,21,24,0.25);
      transition: width 0.25s, background 0.25s; }
  .work-case .su-dots button::before{ content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; translate: -50% -50%; }
  .work-case .su-dots button.on{ width: 20px; background: #121518; }
  .work-case .su-dots.fail button.on{ background: #E93323; }
  .work-case .su-next{ min-height: 44px; font: 400 11px/14px var(--font-mono); letter-spacing: 0.6px; color: rgba(18,21,24,0.6); padding: 0; }

  /* showcase: no pinning. The shared swipe idiom (Leandre, 21 Oct): a full-width row of one cell per step, each cell's
     caption under the devices, so captions slide with the finger like the problem cards; Figma dots + "Swipe to continue"
     under it; it lands on step 1. All steps show the same composition, so the devices hold still (case.js moves them with
     the row) while the green dot moves to the device each call-out names; the last step dims every device's screen */
  .work-case .solution{ height: auto; padding-bottom: 64px; }
  .work-case .solution-copy{ position: relative; left: auto; top: auto; width: auto; padding: 64px var(--pad) 0; gap: 20px; }
  .work-case .solution-copy h2{ line-height: 1.214; }
  .work-case .stage-outer{ display: none; }
  .work-case .su-swipe{ display: block; padding-top: 32px; --fw: min(100vw - 2 * var(--pad), 440px); }
  .work-case .su-srow{ display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .work-case .su-srow::-webkit-scrollbar{ display: none; }
  .work-case .su-sblk{ position: relative; display: flex; flex: none; }
  /* the devices hold still with position: sticky inside a holder spanning exactly the block: the browser moves them in
     step with the finger (a script-moved device lagged and shook on iPhone), and no transform layer, so they stay sharp.
     Nothing clips the holder, so the devices' shadow and the caption read as one */
  .work-case .su-shold{ position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
  .work-case .su-spic{ position: sticky; left: 0; top: 0; display: flex; justify-content: center; }
  .work-case .su-scell{ flex: 1 1 0; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always;
      padding: calc(var(--fw) * 0.79608 + 20px) var(--pad) 8px; display: flex; justify-content: center; }
  .work-case .su-fig{ position: relative; width: var(--fw); aspect-ratio: 879.3 / 700; }
  .work-case .su-fig > img{ position: absolute; inset: 0; width: 100%; height: 100%; }
  .work-case .su-fig .su-dims{ position: absolute; inset: 0; opacity: 0; }
  .work-case .su-fig .su-dims > *{ position: absolute; }
  .work-case .su-fig .su-dims img{ left: 3.217%; top: 4.386%; width: 75.07%; height: 53.24%; filter: brightness(0) opacity(0.65); }
  .work-case .su-fig .su-dims .lap{ left: 38.5%; top: 50.24%; width: 52.39%; height: 41.38%; background: rgba(0,0,0,0.65); }
  .work-case .su-fig .su-dims .ph{ left: 7.94%; top: 43.68%; width: 15.44%; height: 42.36%; border-radius: 14.4% / 6.6%; background: rgba(0,0,0,0.65); }
  .work-case .su-fig .su-pt{ position: absolute; width: 10px; height: 10px; translate: -50% -50%; border-radius: 50%; background: #2CCA9B;
      box-shadow: 0 0 0 2px #fff; opacity: 0; transition: opacity 0.25s; animation: su-halo 1.6s ease-out infinite; }
  .work-case .su-fig .su-pt.on{ opacity: 1; }
  .work-case .su-scap{ max-width: 326px; text-align: center; font: 300 17px/26px var(--font-sans); color: rgba(18,21,24,0.7); }
  .work-case .su-scap b{ font-weight: 600; color: #121518; }
  .work-case .su-swipe .su-controls{ margin-bottom: -15px; }   /* the 44px tap area adds no visible space below the dots */

}
@media (max-width: 359px){ .work-case{ --gutter: 24px; } }
@media (max-width: 339px){ .work-case .stats-row{ grid-template-columns: minmax(0, 1fr); } }
@keyframes su-halo{ 0%{ box-shadow: 0 0 0 2px #fff, 0 0 0 2px rgba(44,202,155,0.5); }
  100%{ box-shadow: 0 0 0 2px #fff, 0 0 0 14px rgba(44,202,155,0); } }
@keyframes su-halo-a{ 0%{ scale: 0.42; opacity: 0.28; } 100%{ scale: 1; opacity: 0; } }
@keyframes su-halo-b{ 0%{ scale: 0.28; opacity: 0.12; } 100%{ scale: 1; opacity: 0; } }
@media (prefers-reduced-motion: reduce){
  .work-case .su-fig .su-pt{ animation: none; }
  .work-case .su-fig .su-pt{ transition: none; }
  .work-case .vv-ann .vv-mark::before{ animation: none; opacity: 0.2; scale: 0.75; }
  .work-case .vv-ann .vv-mark::after{ display: none; }
  .work-case .su-pcard, .work-case .su-dots button, .work-case .su-scap{ transition: none; }
}

/* ============ CASE-STUDY SHELL ON THIS PAGE, to the Figma responsive templates (6487:13316) ============
   Back nav, Previous / Next band and footer. Kept in this page's own stylesheet (loaded only here) so each case study
   adopts the shell in its own PR. On the case-study content inset (--pad above; set again here because the nav and
   footer sit outside .work-case). */
body.page-case{ --case-pad: max(6.25vw, min(25vw - 240px, 120px), (100vw - 1200px) / 2); }
/* the back button keeps its 32px circle and gets a 44px tap target */
body.page-case .back-nav__button{ position: relative; }
body.page-case .back-nav__button::after{ content: ""; position: absolute; inset: -6px; }
/* Previous / Next: a dark band with 40px top corners over the page's white, the neighbours' names in 24 / 20 light */
.work-case .case-pager{ background: #fff; }
.work-case .case-pager__band{ display: flex; justify-content: space-between; gap: 24px; padding: 40px var(--pad) 0; border-radius: 40px 40px 0 0;
    background: var(--color-background-inverse); }
.work-case .case-pager__link{ display: flex; align-items: center; gap: 24px; flex: 1 1 0; min-width: 0; min-height: 44px; padding-block: 40px;
    font-size: 24px; font-weight: 300; line-height: 1.4; letter-spacing: .01em; color: var(--color-text-on-dark-secondary); text-decoration: none; }
.work-case .case-pager__link--next{ justify-content: flex-end; text-align: right; }
.work-case .case-pager__arrow{ display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
    color: var(--color-text-on-dark-primary);   /* no circle (Leandre) */ transition: transform .25s ease-out; }
.work-case .case-pager__link--prev .case-pager__arrow svg{ transform: rotate(180deg); }
.work-case .case-pager__link--prev:hover .case-pager__arrow{ transform: translateX(-6px); }
.work-case .case-pager__link--next:hover .case-pager__arrow{ transform: translateX(6px); }
.work-case .case-pager__link:hover{ color: var(--color-text-on-dark-primary); }
/* the band ends the page: no breathing room under it before the footer */
body.page-case .work-case{ padding-bottom: 0; }
/* footer: the row on the inset, 64 under the divider, 56 at the bottom */
body.page-case .site-footer__compact{ max-width: none; padding: 64px var(--case-pad) 56px; }
@media (max-width: 1023px){
  /* back nav: spans the content width (40px from the top); once scrolled it sits flush at the top, transparent */
  body.page-case{ --back-nav-h: 100px; }   /* 40 + 60 */
  body.page-case .back-nav{ top: -40px; padding: 40px var(--case-pad) 0; }
  .work-case .case-pager__band{ padding-top: 20px; }
  .work-case .case-pager__link{ font-size: 20px; font-weight: 400; letter-spacing: 0; }
  body.page-case .site-footer__line{ width: calc(100% - 80px); }
  body.page-case .site-footer__compact{ padding: 48px 40px; }
  body.page-case .site-footer__compact-legal a, body.page-case .site-footer__compact-legal button{ display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 767px){
  body.page-case{ --case-pad: 32px; --back-nav-h: 76px; }   /* 16 + 60 */
  body.page-case .back-nav{ top: -16px; padding-top: 16px; }
  .work-case .case-pager__band{ padding-top: 8px; }
  .work-case .case-pager__link{ gap: 0; padding-block: 40px; font-size: 16px; line-height: 1.45; }
  .work-case .case-pager__name{ display: none; }
  body.page-case .site-footer__line{ width: calc(100% - 2 * var(--case-pad)); }
  body.page-case .site-footer__compact{ flex-direction: column; align-items: flex-start; gap: 32px; padding: 32px var(--case-pad) 40px; }
}
@media (max-width: 359px){ body.page-case{ --case-pad: 24px; } }
