.case-body{background-color:var(--bg);background-image:linear-gradient(#94b6b31a 1px,transparent 1px),linear-gradient(90deg,#94b6b31a 1px,transparent 1px);background-size:24px 24px}.case-main{max-width:1120px;width:calc(100% - 64px);margin:0 auto;text-align:left;padding:40px 0 0}.case-back{display:inline-block;font-size:14px;border-bottom:1px solid var(--ink);padding-bottom:8px;margin-bottom:52px}
.case-hero h1{font:clamp(32px,4.2vw,60px)/1.22 var(--pixel);letter-spacing:-1.5px;white-space:normal;max-width:950px;margin:18px 0 28px}.case-label{font:13px/1.6 var(--pixel);color:#476565;margin:0 0 18px;text-transform:uppercase;letter-spacing:.4px}.case-lead{font-size:21px;line-height:1.7;max-width:850px;margin:0 0 36px}.case-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);padding:24px 0;margin:40px 0 0}.case-meta dt{font:12px var(--pixel);margin-bottom:12px;color:#476565}.case-meta dd{margin:0;font-size:15px;line-height:1.6}.case-section{padding:76px 0 0;scroll-margin-top:150px}.case-section h2{font:clamp(25px,3vw,38px)/1.35 var(--pixel);letter-spacing:-.7px;max-width:950px;margin:0 0 24px}.case-section>p:not(.case-label),.case-feature>p{font-size:18px;line-height:1.8;max-width:850px;margin:0 0 28px}.case-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:32px 0 0}.case-card{border:1px solid var(--ink);box-shadow:4px 4px 0 #9bb9ac;background:#f8faf1;padding:25px}.case-index{font:12px var(--pixel);color:#a94b2e;display:block;margin-bottom:18px}.case-card h3{font-size:19px;line-height:1.4;margin:0 0 12px}.case-card p{font-size:16px;line-height:1.75;margin:0;color:#456064}.case-section blockquote{margin:32px 0 0;border-left:5px solid #d66b45;background:#dce9e2;padding:26px 30px;font-size:22px;line-height:1.6;max-width:950px}.case-section blockquote.case-learnings{max-width:none}.case-section blockquote strong{color:#a94b2e;font-weight:700}.case-main figure{margin:30px 0 0}.case-main figure a{display:block;background:#fff;border:1px solid #7f9c92;box-shadow:6px 6px 0 #b8cdc1;overflow:hidden}.case-main figure img{display:block;width:100%;height:auto;image-rendering:auto}.case-main figcaption{font-size:14px;line-height:1.6;color:#536d68;margin-top:16px}.case-feature{padding-top:40px}.case-feature h3{font-size:24px;line-height:1.45;margin:0 0 12px}.case-steps{list-style:decimal-leading-zero;padding-left:32px;max-width:850px;font-size:18px;line-height:1.8}.case-steps li{padding:12px 0 12px 10px;border-bottom:1px solid var(--line)}.case-steps li::marker{font-family:var(--pixel);font-size:14px;color:#a94b2e}.case-metrics{display:flex;gap:56px;padding:12px 0}.case-metrics strong{display:block;font:36px var(--pixel);color:#a94b2e}.case-metrics span{display:block;font-size:15px;margin-top:10px}.case-end{display:flex;justify-content:space-between;gap:24px;border-top:1px solid var(--ink);padding:28px 0;margin-top:80px}.case-end a{font-size:16px;border:1px solid var(--ink);background:#fbfcf4;box-shadow:3px 3px var(--ink);padding:14px 18px}.case-end a:hover,.case-back:hover{background:#dce7e1}.case-copyright{max-width:1120px;width:calc(100% - 64px);margin:0 auto;padding:22px 0 32px;font-size:12px;color:#536d68}.case-body header{z-index:200}
@media(max-width:850px){.case-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.case-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.case-main,.case-copyright{width:calc(100% - 40px)}.case-section{padding-top:56px}.case-back{margin-bottom:36px}}
@media(max-width:550px){.case-cards{grid-template-columns:1fr}.case-main{padding-top:28px}.case-hero h1{font-size:32px;letter-spacing:-1px}.case-lead{font-size:18px}.case-section h2{font-size:25px}.case-metrics{gap:30px}.case-metrics strong{font-size:29px}.case-card{padding:22px}.case-end{flex-direction:column;align-items:flex-start}.case-main figure a{box-shadow:3px 3px 0 #b8cdc1}}
.interface-carousel{margin-top:30px;border:1px solid var(--ink);background:#f8faf1;box-shadow:5px 5px #a6bfb1;overflow:hidden}.carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}.carousel-track::-webkit-scrollbar{display:none}.carousel-slide{flex:0 0 100%;min-width:0;padding:28px;scroll-snap-align:start;scroll-snap-stop:always;box-sizing:border-box}.carousel-slide h3{font-size:24px;line-height:1.4;margin:0 0 12px}.carousel-slide>p{font-size:17px;line-height:1.7;max-width:850px;margin:0 0 20px}.case-main .carousel-slide figure{margin:24px 0 0}.case-main .carousel-slide figure a{height:560px;max-height:65svh;box-shadow:none;display:flex;justify-content:center;align-items:center}.case-main .carousel-slide figure img{width:100%;height:100%;object-fit:contain}.carousel-controls{display:flex;align-items:center;justify-content:center;gap:20px;padding:18px;border-top:1px solid var(--line)}.carousel-prev,.carousel-next{width:42px;height:40px;border:1px solid var(--ink);box-shadow:2px 2px var(--ink);background:#fbfcf4;font-size:22px}.carousel-controls button:disabled{opacity:.35;box-shadow:none;cursor:default}.carousel-dots{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}.carousel-dot{border:0;background:transparent;padding:8px;min-width:26px;min-height:30px}.carousel-dot::after{content:'';display:block;width:9px;height:9px;background:#aec4b9;border:1px solid var(--ink)}.carousel-dot[aria-current="true"]::after{background:var(--ink)}.carousel-count{font:12px var(--pixel);white-space:nowrap}.carousel-track:focus-visible{outline:3px solid #a94b2e;outline-offset:-3px}
@media(max-width:600px){.carousel-slide{padding:18px}.carousel-slide h3{font-size:20px}.case-main .carousel-slide figure a{height:360px}.phone-carousel .carousel-slide figure a{height:520px}.carousel-controls{gap:8px;padding:12px 8px}.carousel-dot{padding:5px;min-width:18px}.carousel-count{font-size:11px}}
@media(prefers-reduced-motion:reduce){.carousel-track{scroll-behavior:auto}}

/* Supporting pixel illustrations; interface exports retain their original rendering. */
.case-main .pixel-illustration a{background:#e5efeb;border:0;box-shadow:none}
.case-main .pixel-illustration img{image-rendering:pixelated}
.case-main .pixel-channels{max-width:680px}
.case-main .pixel-hero{max-width:840px;margin:32px 0}
.process-originals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px}
.case-main .process-originals figure{margin:0}
.case-main .process-originals figure a{height:260px;display:flex;align-items:center;justify-content:center}
.case-main .process-originals img{width:100%;height:100%;object-fit:contain}
@media(max-width:600px){.process-originals{grid-template-columns:1fr}.case-main .process-originals figure a{height:auto}.case-main .process-originals img{height:auto}}
/* Microsoft: connect each concept with its explanation. */
.microsoft-case .card-illustration{position:relative;width:100%;aspect-ratio:1;overflow:hidden;margin:0 0 22px;background:#e5efeb}
.microsoft-case .card-illustration img{position:absolute;top:0;width:300%;height:100%;max-width:none;image-rendering:pixelated}
.microsoft-case .transparent-figure a{background:transparent;border:0;box-shadow:none}
.microsoft-case .transparent-figure img{filter:drop-shadow(0 4px 5px #223e4314)}
.microsoft-case .interface-carousel:has(#refinement-track){background:transparent;border:0;box-shadow:none}
.platform-tabs{display:flex;gap:0;border-bottom:1px solid var(--ink);padding:0 24px;overflow-x:auto}
.platform-tabs button{flex:1;padding:20px 16px;background:transparent;border:0;border-bottom:4px solid transparent;font:16px var(--pixel);white-space:nowrap;color:var(--ink)}
.platform-tabs button[aria-selected=true]{border-bottom-color:var(--ink);background:#dce9e2}
.platform-tabs button:focus-visible{outline:2px solid #a94b2e;outline-offset:-4px}
.platform-summary{padding:28px 28px 0}.platform-summary h3{font-size:24px;margin:0 0 16px}.platform-summary>p{font-size:18px;line-height:1.7;max-width:850px;margin:0}
.platform-summary .case-cards{margin-top:22px}.platform-summary .case-card{box-shadow:none}
.platform-carousel [hidden]{display:none!important}
@media(max-width:600px){.platform-tabs{padding:0}.platform-tabs button{font-size:13px;padding:18px 10px}.platform-summary{padding:20px 18px 0}}
/* Allied uses the same illustration/content grouping as Microsoft. */
.allied-case .card-illustration{position:relative;width:100%;aspect-ratio:1;overflow:hidden;margin:0 0 22px;background:#e5efeb}
.allied-case .card-illustration img{position:absolute;top:0;width:300%;height:100%;max-width:none;image-rendering:pixelated}
.allied-case .transparent-figure a{background:transparent;border:0;box-shadow:none}
.allied-case .transparent-figure img{filter:drop-shadow(0 4px 5px #223e4314)}
/* Fit each complete artwork region, not an equal third of its source strip. */
.microsoft-case .card-illustration{display:flex;align-items:center;justify-content:center}
.microsoft-case .illustration-viewport{position:relative;overflow:hidden;width:90%;flex:none}
.microsoft-case .illustration-viewport img{position:absolute;max-width:none;height:auto;transform:none}
.has-process-nav .case-main{width:calc(100% - 292px);max-width:1120px;margin-left:max(244px,calc((100vw - 1450px)/2 + 244px));margin-right:48px}
.case-process{position:fixed;top:calc(var(--header-height) + 38px);left:max(24px,calc((100vw - 1450px)/2 + 24px));width:188px;max-height:calc(100dvh - var(--header-height) - 70px);overflow-y:auto;z-index:100;scrollbar-width:thin}
.case-process .case-back{margin:0 0 26px;font-size:14px}
.process-disclosure summary{display:none}.case-process ol{list-style:none;padding:0;margin:0;border-left:1px solid #9bb9ac}
.case-process li a{display:flex;gap:10px;padding:10px 10px 10px 12px;font-size:14px;line-height:1.4;color:#476565;border-left:3px solid transparent;margin-left:-2px}
.case-process li a:hover{background:#dce9e2}.case-process li a[aria-current=location]{color:var(--ink);background:#dce9e2;border-left-color:#cf6844;font-weight:600}
.process-number{font:11px/1.8 var(--pixel);color:#a94b2e;flex-shrink:0}.has-process-nav section[id]{scroll-margin-top:calc(var(--header-height) + 24px)}
.video-showcase{border:1px solid var(--ink);background:#f8faf1;box-shadow:5px 5px #a6bfb1;margin-top:30px}.video-showcase [hidden]{display:none!important}

@media(max-width:1000px){.has-process-nav{padding-top:calc(var(--header-height) + 62px)}.has-process-nav .case-main{width:calc(100% - 40px);margin:0 auto}.case-process{top:var(--header-height);left:0;width:100%;max-height:65dvh;background:#f8faf1;border-bottom:1px solid var(--ink);padding:12px 20px;display:flex;align-items:flex-start;gap:24px}.case-process .case-back{margin:0;white-space:nowrap;padding:6px 0}.process-disclosure{flex:1}.process-disclosure summary{display:block;cursor:pointer;font-size:14px;padding:6px 0;text-align:right}.process-disclosure summary::after{content:' ▾'}.case-process ol{margin-top:12px;max-height:45dvh;overflow-y:auto}.has-process-nav section[id]{scroll-margin-top:calc(var(--header-height) + 84px)}.video-panel{padding:16px}}
@media(prefers-reduced-motion:no-preference){.has-process-nav{scroll-behavior:smooth}}
.case-process nav{display:block;position:static;transform:none;width:100%;left:auto;top:auto}
/* More breathing room between the fixed process links and case-study content. */
@media(min-width:1001px){.case-process{left:max(32px,calc((100% - 1120px)/2 - 244px));width:196px}.case-process li a span:last-child{white-space:nowrap}.has-process-nav .case-main{width:calc(100% - 324px);margin-left:max(276px,calc((100% - 1120px)/2))}}
/* Main case-study headings use the site's regular typeface; labels stay pixel. */
.case-hero h1,.case-section h2{font-family:'DM Sans',Arial,sans-serif;font-weight:700;letter-spacing:-.025em}
/* Walkthrough videos play inside a device. Every tab shares one stage height, so switching tabs never resizes the panel.
   Pixel mode uses the site's pixel monitor/phone art; case-figma.css draws flat devices in the same boxes. */
.video-panel{--stage-h:min(600px,68svh,78vw);height:var(--stage-h);padding:28px;display:flex;justify-content:center;align-items:center}
.device{position:relative;width:min(100%,calc(var(--stage-h)*var(--device-ar)));aspect-ratio:var(--device-ar);container-type:inline-size}
.device--desktop{--device-ar:1198/1040;--sl:6.01%;--st:6.827%;--sw:87.98%;--sh:58.462%}
.device--cards{--device-ar:1128/1040;--sl:6.383%;--sw:87.234%}.device--phone{--device-ar:796/1695;--sl:10.93%;--st:10.973%;--sw:78.141%;--sh:77.109%}
.device-frame{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated;pointer-events:none}
.device-screen{position:absolute;z-index:1;left:var(--sl);top:var(--st);width:var(--sw);height:var(--sh);display:flex;justify-content:center;align-items:center;overflow:hidden;background:#fff}
.device-screen video{display:block;width:100%;height:100%;object-fit:contain;background:transparent}
.device--phone .device-screen video{width:auto;max-width:100%;aspect-ratio:392/890;border-radius:5%/2.2%}
/* Microsoft · previous design carousel. Every slide shares the first screen's frame; taller screens scroll inside it. */
.previous-carousel .carousel-slide{padding:24px 28px}
.previous-carousel .shot-name{max-width:none;line-height:1.4;display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:16px;font-weight:600;color:var(--ink)}
.previous-carousel .shot-name .case-index{margin:0}
.shot-frame{position:relative}
.shot-viewport{aspect-ratio:1858/1081;overflow-y:auto;overscroll-behavior:contain;border:1px solid #7f9c92;background:#fff;scrollbar-width:thin}
.shot-viewport img{display:block;width:100%;height:auto}.shot-viewport-static{overflow:hidden;overscroll-behavior:auto}
.shot-viewport:focus-visible{outline:3px solid #a94b2e;outline-offset:2px}
.scroll-cue{display:none;position:absolute;left:50%;bottom:16px;transform:translateX(-50%);margin:0;padding:9px 14px;align-items:center;gap:8px;font:12px var(--pixel);letter-spacing:.4px;text-transform:uppercase;color:var(--ink);background:#fbfcf4;border:1px solid var(--ink);white-space:nowrap;pointer-events:none;transition:opacity .3s}
.shot-frame.is-long:not(.cue-done) .scroll-cue{display:inline-flex}
.shot-frame.is-long:not(.cue-done)::after{content:"";position:absolute;left:1px;right:1px;bottom:1px;height:22%;background:linear-gradient(transparent,rgba(233,242,239,.9));pointer-events:none}
.scroll-cue-arrow{display:inline-block;animation:cue-bounce 1.2s steps(3) infinite}
@keyframes cue-bounce{50%{transform:translateY(4px)}}
@media(prefers-reduced-motion:reduce){.scroll-cue-arrow{animation:none}}
@media(max-width:600px){.previous-carousel .carousel-slide{padding:16px}.scroll-cue{font-size:10px;bottom:10px}}
/* Design-system visuals (palettes, type ramps, grid) are live HTML at their Figma size; case-study.js scales each to the content width. */
.case-main .ds-figure{margin:30px 0 0}
.ds-art{position:relative;width:100%;aspect-ratio:var(--ds-ar);overflow:hidden;line-height:normal;letter-spacing:normal;color:#111;font-family:'Pretendard',system-ui,sans-serif;font-weight:400;text-align:left;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.ds-art-inner{position:absolute;left:0;top:0;transform-origin:0 0;transform:scale(var(--ds-scale,1))}
.ds-art-inner *{margin:0;padding:0;box-sizing:border-box}
.ds-art-inner p{max-width:none}
.ds-art svg{display:block}
/* Pixelated final-design stage: keep the monitor/phone frame off the tabs and bottom edge */
html:not(.figma-mode) .video-panel{--pad-y:40px;padding-top:var(--pad-y);padding-bottom:var(--pad-y)}
html:not(.figma-mode) .video-panel .device{width:min(100%,calc((var(--stage-h) - 2 * var(--pad-y)) * var(--device-ar)))}
@media(max-width:600px){html:not(.figma-mode) .video-panel{--pad-y:20px}}
/* Final-design video play button (shown until the video starts) */
.video-play{position:absolute;z-index:2;left:50%;top:50%;width:clamp(52px,9cqw,84px);aspect-ratio:1;transform:translate(-50%,-50%);display:grid;place-items:center;padding:0;border:2px solid var(--ink);background:#fbfcf4;box-shadow:4px 4px 0 var(--ink);cursor:pointer;transition:transform .12s,box-shadow .12s,background .12s}
.video-play span{width:36%;aspect-ratio:1;margin-left:8%;background:var(--ink);clip-path:polygon(0 0,25% 0,25% 12.5%,50% 12.5%,50% 25%,75% 25%,75% 37.5%,100% 37.5%,100% 62.5%,75% 62.5%,75% 75%,50% 75%,50% 87.5%,25% 87.5%,25% 100%,0 100%)}
.video-play:hover{background:#f6d9c9;transform:translate(calc(-50% - 2px),calc(-50% - 2px));box-shadow:6px 6px 0 var(--ink)}
.video-play:active{transform:translate(calc(-50% + 2px),calc(-50% + 2px));box-shadow:2px 2px 0 var(--ink)}
.video-play:focus-visible{outline:3px solid #a94b2e;outline-offset:4px}
.figma-mode .video-play{border:0;border-radius:50%;background:rgba(17,17,17,.72);box-shadow:0 6px 20px rgba(15,18,24,.25);backdrop-filter:blur(6px)}
.figma-mode .video-play span{background:#fff;clip-path:polygon(0 0,100% 50%,0 100%);width:34%;margin-left:10%}
.figma-mode .video-play:hover{background:rgba(17,17,17,.85);transform:translate(-50%,-50%) scale(1.06);box-shadow:0 8px 24px rgba(15,18,24,.3)}
.figma-mode .video-play:active{transform:translate(-50%,-50%) scale(.97)}
.figma-mode .video-play:focus-visible{outline-color:var(--fg-blue)}
@media(prefers-reduced-motion:reduce){.video-play{transition:none}}
/* Typography spec: three equal-width cards spanning the full content column (card shadows allowed past the edge) */
.ds-type .ds-art{overflow:visible}
.ds-type .ds-art-inner>div{left:0!important;width:1369px!important}
.ds-type .ds-art-inner>div>div{gap:28px!important}
.ds-type .ds-art-inner>div>div>div{flex:1 1 0!important;min-width:0}
.case-feature>.case-label{margin-bottom:8px}.case-feature .transparent-figure.shadow-pad{margin-left:-2.2%;margin-right:-2.2%}
.case-section>.case-label+.case-feature{padding-top:0}
