/* Shared vertical editorial case studies — native scrolling, selective held captures. */
/* Relationship and outcome chapters share the existing scroll choreography. */
.case-relationship{margin:30px 0 0;padding-top:22px;border-top:1px solid #6c8fa63b}
.case-relationship dt{font-family:var(--cf-mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--cf-muted,#96adbd)}
.case-relationship dd{margin:10px 0 0;font-size:clamp(20px,2vw,28px);line-height:1.3;letter-spacing:-.025em;color:var(--cf-ink,#ebf3fa)}
.case-relationship small{display:block;max-width:44ch;margin-top:12px;font-size:14px;line-height:1.65;letter-spacing:0;color:var(--cf-muted,#96adbd)}
.case-outcome{padding-block:clamp(35px,5vw,80px);display:grid;grid-template-columns:1.2fr 1fr;column-gap:clamp(32px,5vw,90px);row-gap:clamp(32px,4vw,64px);border-top:1px solid #6c8fa642}
.case-outcome>div{min-width:0}
.case-outcome h2{margin:26px 0;max-width:22ch;text-wrap:balance}
body[data-experience=cinematic] .case-outcome h2 em{color:var(--cf-light,#64dcf8)}
.outcome-summary{max-width:49ch;font-size:clamp(17px,1.3vw,21px);line-height:1.7;color:var(--cf-muted,#96adbd);margin:0}
.outcome-items{padding-top:clamp(25px,4vw,64px)}
.outcome-items>div{position:relative;padding:0 0 26px 44px}
.outcome-items>div+div{padding-top:26px;border-top:1px solid #6c8fa63b}
.outcome-index{position:absolute;left:0;font-family:var(--cf-mono);font-size:11px;line-height:2;color:var(--cf-light,#64dcf8)}
.outcome-items h3{font-size:clamp(21px,2vw,28px);line-height:1.25!important;margin:0 0 14px;max-width:26ch}
.outcome-items p{font-size:16px;line-height:1.75;color:var(--cf-muted,#96adbd);max-width:47ch;margin:0}
.case-proof{grid-column:1/-1;border-top:1px solid #6c8fa63b;padding-top:28px}
.proof-group+.proof-group{margin-top:30px}
.outcome-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:24px 48px;margin:24px 0 0}
.outcome-metrics>div{display:flex;flex-direction:column;position:relative;padding-left:22px;border-left:2px solid var(--cf-blue,#019edb)}
.outcome-metrics dt{font-size:16px;color:var(--cf-ink,#ebf3fa);margin-top:10px}
.outcome-metrics dd{display:contents}
.outcome-metrics strong{order:-1;font-family:var(--cf-display);font-weight:500;font-size:clamp(64px,6vw,100px);line-height:1.1;color:var(--cf-light,#64dcf8)}
.outcome-metrics dd>span{font-size:14px;line-height:1.65;color:var(--cf-muted,#96adbd);margin-top:8px;max-width:46ch}
/* Client perspective: an editorial pause after the delivered work. The shared
   chapter reveal owns movement; this adds no clock, carousel or remote assets. */
.case-testimonial{grid-column:1/-1;position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(150px,.27fr) 1fr;column-gap:clamp(28px,5vw,88px);row-gap:36px;margin:clamp(16px,3vw,48px) 0 0;padding:clamp(28px,4.5vw,72px);color:#152c3f;background:linear-gradient(120deg,#e8f2f8,#cedfe9);border:1px solid #94b9cc;box-shadow:0 24px 64px #0003}
.case-testimonial:before{content:"";position:absolute;inset:0 auto auto 0;width:clamp(60px,9vw,140px);height:3px;background:#019edb}
.testimonial-source{grid-column:1;grid-row:1/3;display:flex;flex-direction:column;align-items:flex-start;position:relative}
.case-testimonial .eyebrow,body[data-experience=cinematic] .case-testimonial .eyebrow{color:#486479;font-size:11px;line-height:1.8;letter-spacing:.08em}
.testimonial-provider{margin-top:28px;font-weight:600;font-size:17px;line-height:1.4}
.testimonial-rating{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:10px;font:12px/1.5 var(--cf-mono)}
.testimonial-stars{color:#086e94;font-size:17px;letter-spacing:3px}
.testimonial-excerpt{color:#486479;font:10px/1.6 var(--cf-mono);margin-top:10px}
.testimonial-mark{color:#019edb;width:clamp(55px,7vw,100px);height:auto;opacity:.65;margin-top:auto;padding-top:30px;overflow:visible}
.case-testimonial blockquote{grid-column:2;margin:0;max-width:none;align-self:center}
.case-testimonial blockquote p{font-family:var(--cf-body);font-weight:500;font-size:clamp(28px,3.25vw,52px);line-height:1.27;letter-spacing:-.025em;margin:0;color:#152c3f;text-wrap:pretty}
.case-testimonial figcaption{grid-column:2;display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding-top:26px;border-top:1px solid #7798ab66;color:#3d5b70;font-size:14px;line-height:1.5}
.testimonial-monogram{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border:1px solid #789bad;border-radius:50%;font:13px var(--cf-mono);color:#2c5369}
.testimonial-person{display:flex;flex:1;flex-direction:column;gap:4px;min-width:min(100%,190px)}
.case-testimonial figcaption strong{color:#152c3f;font-size:16px;font-weight:600}
.case-testimonial figcaption small{font-size:12px;max-width:48ch;color:#486479;margin-top:4px}
.case-testimonial figcaption a{display:inline-flex;gap:14px;align-items:center;min-height:44px;color:#075d7d;font-size:13px;font-weight:500;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px;transition:color .2s}
.case-testimonial figcaption a:hover{color:#152c3f}
.case-testimonial figcaption a:focus-visible{outline:2px solid #075d7d;outline-offset:5px;border-radius:2px}
@media(max-width:900px){.case-testimonial{grid-template-columns:1fr;row-gap:28px}.testimonial-source{grid-column:1;grid-row:auto;display:grid;grid-template-columns:1fr auto;gap:8px 16px;padding-right:0}.testimonial-source .eyebrow{grid-column:1/-1}.testimonial-provider,.testimonial-rating,.testimonial-excerpt{margin-top:0}.testimonial-rating{grid-column:2;grid-row:2}.testimonial-excerpt{grid-column:1}.testimonial-mark{display:none}.case-testimonial blockquote,.case-testimonial figcaption{grid-column:1}.case-testimonial blockquote p{font-size:clamp(27px,4.5vw,40px)}}
@media(max-width:420px){.case-testimonial{padding:26px 20px;row-gap:24px}.testimonial-source{grid-template-columns:1fr}.testimonial-rating{grid-column:1;grid-row:auto}.testimonial-excerpt{grid-column:1}.case-testimonial blockquote p{font-size:27px}.testimonial-monogram{display:none}.case-testimonial figcaption a{flex-basis:100%}}
@media(max-width:900px){.case-outcome{grid-template-columns:1fr}.outcome-items{padding-top:0}.case-outcome h2{max-width:20ch}}
@media(max-width:600px){.case-outcome{row-gap:28px}.outcome-items>div{padding-left:32px}}
html{scroll-behavior:smooth;background:#101111}
body{background:#101111}
.project-gallery{--case-width:1560px;--case-media-width:2300px;--case-gutter:clamp(24px,4vw,110px);--case-space:clamp(56px,5vw,100px)}
.gallery-header{background:#101111ed;backdrop-filter:blur(14px);border-bottom:1px solid #64776e1f}
main{overflow:clip}
.case-vertical-track>section,.case-vertical-track>article{scroll-margin-top:112px}
.case-opening,.case-brief,.case-app-showcase,.reveal-card,.flow-runway,.case-delivery,.case-outcome,.case-close,.management-section,.case-detail-panel{
 width:calc(100% - var(--case-gutter)*2);max-width:var(--case-width);margin-inline:auto;margin-bottom:var(--case-space)
}
.case-opening{display:grid;grid-template-columns:1fr 1.15fr;gap:clamp(30px,4vw,80px);align-items:center;padding:175px 0 65px;min-height:min(90svh,1050px)}
/* Align open reading chapters with the inset inside Brief and Delivery.
   On smaller screens the page gutter already supplies the reading margin. */
@media(min-width:901px){
 .case-opening,.case-outcome,.case-close,.flow-runway .section-heading{padding-inline:clamp(30px,4.5vw,75px)}
}
.opening-copy h1{font-size:clamp(52px,5.8vw,106px);letter-spacing:-.065em;font-weight:400;line-height:.98;margin:30px 0}
.opening-copy em{color:#adbbb4}
.opening-bottom p{max-width:43ch;color:#b8c3bd;line-height:1.7;font-size:clamp(16px,1.25vw,20px)}
.opening-bottom .launch{margin-right:20px}
.project-launch{display:inline-flex;align-items:center;gap:35px;background:#eeeee8;color:#151717;border-radius:40px;padding:18px 25px;margin:25px 20px 0 0;font-size:14px;transition:background .25s,transform .25s}
.project-launch:hover{background:#d8f1fa;transform:translateY(-2px)}
.launch span,.finale-link span,.talk span,.project-launch>span[aria-hidden]{display:inline-block;transition:transform .35s cubic-bezier(.22,1,.36,1)}
.launch:hover span,.finale-link:hover span,.talk:hover span,.project-launch:hover>span[aria-hidden]{transform:translate(4px,-4px)}
.device-scene{position:relative;perspective:1500px;padding:50px 0 80px;margin-top:25px}
.scene-halo{position:absolute;inset:5% -5%;background:radial-gradient(ellipse,#54777e35,transparent 68%);pointer-events:none}
.desktop-device,.phone-device{display:block;padding:0;overflow:hidden;background:#182021;border:1px solid #bac6c777;box-shadow:0 30px 65px #0008,inset 0 0 0 2px #e7efef33;cursor:zoom-in;transition:border-color .3s,box-shadow .3s}
.desktop-device{width:94%;border-radius:12px;transform:translateY(var(--scene-y,0px)) rotateX(var(--scene-r,0deg));position:relative}
.desktop-device img,.phone-device img{width:100%;height:auto;display:block}
.phone-device{width:23%;position:absolute;bottom:40px;right:0;border:4px solid #647077;border-radius:22px;transform:translateY(var(--phone-y,0px)) rotateZ(3deg);box-shadow:0 20px 50px #000b}
.desktop-device:hover,.phone-device:hover{border-color:var(--cf-light);box-shadow:0 30px 65px #0008,0 0 0 1px color-mix(in srgb, var(--cf-light) 33.33%, transparent)}
.scene-caption{position:absolute;bottom:0;left:0;font-size:10px;letter-spacing:.12em;color:#91a6a0}
.browser-bar{height:32px;display:flex;align-items:center;gap:5px;padding:0 14px;background:linear-gradient(#343e41,#1c2629);color:#a8b4b8;font-size:9px;letter-spacing:.08em;position:relative;z-index:1}
.browser-bar i{width:5px;height:5px;background:#7c8a8e;border-radius:50%}
.browser-bar>span{flex:1;text-align:center}

/* Reading chapters have real content height, with no full-screen spacer panels. */
.case-brief,.case-delivery{padding:clamp(30px,4.5vw,75px);display:grid;grid-template-columns:1fr 1fr;gap:clamp(35px,5vw,90px);align-items:start;border-radius:12px}
.case-brief{background:#dce6df;color:#1b302a}
.case-brief h2,.case-delivery h2,.app-showcase-copy h2{font-size:clamp(38px,4vw,72px);line-height:1.06;letter-spacing:-.055em;font-weight:400;margin:25px 0}
.case-brief em{color:#48685b}.case-brief .eyebrow{color:#4d6c60}
.brief-scope{font-size:13px;line-height:1.8;max-width:43ch;color:#4d6c60;margin-top:35px}
.brief-columns>div+div{margin-top:30px;padding-top:25px;border-top:1px solid #48685b40}
.brief-columns p{font-size:clamp(16px,1.35vw,21px);line-height:1.7;margin:15px 0 0;max-width:54ch}
.case-delivery{background:linear-gradient(120deg,#142322,#101616);border:1px solid #64776e44}
.case-delivery em{color:#9db8ac}
.delivery-scope{margin-top:35px}
.delivery-scope>div+div{margin-top:25px;padding-top:25px;border-top:1px solid #78958a25}
.delivery-scope h3{font-size:20px;font-weight:500;letter-spacing:-.02em;margin:0 0 12px}
.delivery-scope p{font-size:16px;line-height:1.7;color:#a6b9b0;max-width:52ch;margin:0}
.delivery-tech{border-left:1px solid #78958a40;padding-left:clamp(25px,4vw,65px)}
.delivery-tech dl{margin:20px 0 30px}
.delivery-tech dl>div{display:grid;grid-template-columns:1fr 1.8fr;gap:18px;padding:20px 0;border-bottom:1px solid #78958a30}
.delivery-tech dt{font-size:12px;color:#8ea99e;line-height:1.5}
.delivery-tech dd{margin:0;font-size:22px;letter-spacing:-.025em}
.delivery-tech small{display:block;font-size:12px;line-height:1.6;letter-spacing:0;color:#8ea99e;margin-top:8px}
.delivery-integrations{display:grid;grid-template-columns:1fr 1fr;gap:20px;font-size:15px}
.delivery-integrations small{font-size:11px}

/* Actual interface imagery leads each visual chapter. */
.reveal-card{position:relative;perspective:1600px;max-width:var(--case-media-width)}
.reveal-card-inner{position:relative;transform:scale(var(--card-scale,1));transform-origin:center top}
.reveal-heading{display:grid;grid-template-columns:1.2fr 1fr;gap:15px 6vw;margin-bottom:36px}
.reveal-heading .eyebrow{grid-column:1/-1}
.reveal-heading h3{font-size:clamp(32px,3.5vw,60px);font-weight:400;line-height:1.06;letter-spacing:-.045em;margin:0;max-width:24ch}
.reveal-heading p{font-size:clamp(14px,1.15vw,18px);line-height:1.7;color:#a7b8bd;max-width:48ch;align-self:end}
.reveal-art{position:relative;display:flex;align-items:center;justify-content:center;min-width:0}
.reveal-browser{position:relative;width:100%;max-width:var(--source-width,100%);border:1px solid #80939977;border-radius:8px;overflow:hidden;box-shadow:0 25px 40px #0004;isolation:isolate}
.reveal-browser>.browser-bar{height:48px;padding-right:112px}
.reveal-browser>.browser-bar>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.screen-expand{position:absolute;right:0;top:0;z-index:3;display:flex;align-items:center;gap:10px;min-width:48px;min-height:48px;padding:0 14px;border:0;border-left:1px solid #80939944;background:transparent;color:#d8e9ed;font:inherit;font-size:12px;cursor:zoom-in}
.screen-expand:hover{background:color-mix(in srgb, var(--cf-blue) 13.33%, transparent);color:#fff}
.screen-expand:focus-visible{outline-offset:-3px}
.capture-window{overflow:hidden;position:relative}
.capture-window img{width:100%;height:auto;max-width:100%;display:block;object-fit:contain;transform:scale(var(--media-scale,1));transform-origin:50% 35%}
.reveal-index{display:flex;justify-content:space-between;gap:20px;font-size:10px;letter-spacing:.1em;color:#91abb4;margin-top:25px}
.reveal-index b{font-weight:400;color:#d5e8ed;white-space:nowrap}
/* CSS holds the frame; the document and scrollbar remain entirely native. */
html[data-capture-mode=scroll] .capture-scroll{height:calc(var(--capture-frame) + var(--capture-runway,0px));--capture-frame:min(calc(100svh - 155px),1280px)}
html[data-capture-mode=scroll] .capture-scroll .reveal-card-inner{position:sticky;top:max(112px,calc((100svh - var(--capture-frame))/2));height:var(--capture-frame);display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:16px;padding:clamp(16px,1.4vw,28px);transform:none;opacity:1}
html[data-capture-mode=scroll] .capture-scroll .reveal-heading{margin:0;gap:12px 5vw}
html[data-capture-mode=scroll] .capture-scroll .reveal-heading h3{font-size:clamp(28px,3vw,48px)}
html[data-capture-mode=scroll] .capture-scroll .reveal-heading p{font-size:14px}
html[data-capture-mode=scroll] .capture-scroll .reveal-art{height:100%;min-height:0}
html[data-capture-mode=scroll] .capture-scroll .reveal-browser{height:100%}
html[data-capture-mode=scroll] .capture-scroll .capture-window{height:calc(100% - 48px)}
html[data-capture-mode=scroll] .capture-scroll .capture-window img{transform:translate3d(0,var(--capture-y,0px),0);transform-origin:top center;will-change:transform}
html[data-capture-mode=scroll] .capture-scroll .reveal-index{margin:0;position:relative}
html[data-capture-mode=scroll] .capture-scroll .reveal-index::after{content:'';position:absolute;left:0;right:0;bottom:-10px;height:1px;background:var(--cf-light);transform:scaleX(var(--capture-progress,0));transform-origin:left}
html[data-capture-mode=static] .capture-scroll .capture-window img{transform:none}

/* Every workflow step is readable in normal flow; nothing needs selecting. */
.flow-runway{padding-block:clamp(40px,5vw,80px);border-block:1px solid #6f817933}
.section-heading{display:grid;grid-template-columns:1fr 1fr;gap:25px 6vw;margin-bottom:45px}
.section-heading>.eyebrow{grid-column:1/-1}
.section-heading h2,.management-section h2{font-size:clamp(38px,4.3vw,78px)}
.section-heading>p{align-self:end;max-width:48ch;font-size:18px;color:#9dafaa;line-height:1.7}
.flow-track{display:grid;grid-template-columns:repeat(var(--step-count,4),minmax(0,1fr));gap:25px;position:relative}
.flow-track::before{content:'';position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,var(--cf-blue),#69d5fa);transform:scaleX(var(--flow-progress,0));transform-origin:left;pointer-events:none}
.flow-step{border-top:1px solid #5e858c70;padding-top:24px;min-width:0;position:relative}
.flow-step::before{content:'';position:absolute;left:0;top:-4px;width:7px;height:7px;border-radius:50%;background:var(--cf-light);box-shadow:0 0 0 5px #101111,0 0 18px rgb(1 158 219 / calc(var(--step-lit,0)*.4));opacity:calc(.4 + var(--step-lit,0)*.6)}
.flow-step>span{font-size:11px;color:#58c4ea}
.flow-step strong{display:block;font-weight:400;font-size:clamp(21px,2vw,32px);letter-spacing:-.035em;margin-top:20px}
.flow-step small{display:block;margin-top:10px;color:#8eaaa9;font-size:12px}
.flow-step h3{font-size:16px;font-weight:500;line-height:1.45;margin:25px 0 10px}
.flow-step p{font-size:14px;color:#adbfba;line-height:1.7}
.flow-note{font-size:11px;color:#829c95;line-height:1.7;margin-top:35px;max-width:80ch}

/* Security is part of delivery, with an optional plain-language breakdown. */
.delivery-security{grid-column:1/-1;border-top:1px solid var(--cf-line);padding-top:clamp(28px,3vw,48px)}
.delivery-security>h3{font-size:clamp(30px,3vw,48px);margin:0 0 18px}
.delivery-security>p{max-width:70ch;color:var(--cf-muted);font-size:clamp(16px,1.3vw,20px);line-height:1.7}
.delivery-security-items{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,3vw,48px) clamp(32px,6vw,90px);margin-top:32px}
.delivery-security-items>div{min-width:0;border-top:1px solid var(--cf-line);padding-top:24px}
.delivery-security-items .eyebrow{color:var(--cf-light)}
.delivery-security-items h4{font:500 clamp(20px,1.8vw,28px)/1.25 var(--cf-body);letter-spacing:-.02em;margin:18px 0 12px}
.delivery-security-items p{max-width:55ch;font-size:16px;line-height:1.7;color:var(--cf-muted)}
@media(max-width:700px){.delivery-security-items{grid-template-columns:1fr;gap:28px}}

/* Real mobile product proof stays at an appropriate device scale. */
.case-app-showcase{display:grid;grid-template-columns:1fr 1.65fr;gap:5vw;align-items:center;padding-block:30px}
.app-showcase-copy p{max-width:45ch;color:#adbfba;font-size:17px;line-height:1.7}
.app-showcase-note{display:block;font-size:11px;line-height:1.7;color:#849d95;max-width:42ch;margin-top:25px}
.app-showcase-features{margin-top:25px;display:grid;gap:20px}
.app-showcase-features strong{font-size:15px;font-weight:500;color:#d4e3db}
.app-showcase-features p{font-size:14px;line-height:1.6;margin:7px 0 0}
.app-showcase-devices{display:flex;align-items:center;justify-content:center;gap:clamp(16px,2.2vw,38px);perspective:1600px}
.app-showcase-phone{margin:0;flex:1;max-width:250px;min-width:0;transform:translate3d(0,calc((1 - var(--text-progress,1)) * (35px + var(--phone-order) * 20px)),0);opacity:calc(.35 + var(--text-progress,1) * .65)}
.app-phone-shell{padding:6px;background:linear-gradient(135deg,#c3cbd1,#364c59 40%,#98aab4);border-radius:25px;box-shadow:0 25px 45px #0005}
.app-phone-shell img{display:block;width:100%;height:auto;border:5px solid #0e181f;border-radius:20px;box-sizing:border-box}
.app-showcase-phone figcaption{margin-top:20px;line-height:1.6}
.app-showcase-phone figcaption strong{font-size:15px;font-weight:500;display:block;color:#dce5e1}
.app-showcase-phone figcaption span{display:block;color:#92a9a3;font-size:12px;margin-top:6px}

.case-close{border-top:1px solid #53665b55;padding-block:65px 25px}
.case-close h2{font-size:clamp(48px,6.5vw,108px);margin:30px 0 45px;max-width:20ch}
.case-close .finale-link{max-width:550px}
.case-next{background:#e8ece8;color:#182323;position:relative;padding:clamp(35px,5vw,90px) var(--case-gutter) 85px;overflow:hidden}
.case-next-link{display:grid;grid-template-columns:1fr auto;gap:20px 40px;align-items:center;max-width:var(--case-width);margin:auto;position:relative;min-height:clamp(230px,30svh,410px);isolation:isolate}
.case-next .eyebrow{color:#426570;grid-column:1}
.case-next h2{font-size:clamp(42px,6.5vw,105px);line-height:1;letter-spacing:-.06em;font-weight:400;max-width:65%;grid-column:1;margin:0}
.case-next-arrow{font-size:clamp(45px,6vw,95px);color:var(--cf-blue);grid-column:2;grid-row:1/4;transition:transform .4s}
.case-next-link:hover .case-next-arrow{transform:translate(8px,-8px)}
.case-next-link>h2,.case-next-link>.eyebrow,.case-next-footer,.case-next-arrow{position:relative;z-index:1}
.case-next-image{position:absolute;right:10%;width:38%;height:100%;object-fit:contain;border-radius:8px;opacity:.4;z-index:0}
.case-next-footer{display:flex;align-items:center;gap:30px;font-size:12px;grid-column:1}
.case-next-meter{width:120px;height:2px;background:#b8c8c8}
.case-next-meter i{display:block;height:100%;background:var(--cf-blue);transform-origin:left;transform:scaleX(var(--handoff-progress,0))}
.case-previous-link{position:absolute;left:var(--case-gutter);top:113px;z-index:19;font-size:12px;color:#91b4bf}
.case-handoff{position:fixed;inset:0;background:#e8ece8;color:#182323;z-index:1000;display:grid;place-items:center;padding:8vw;font-size:clamp(50px,9vw,160px);letter-spacing:-.06em;pointer-events:none}
.case-tools{position:fixed;z-index:21;bottom:18px;left:var(--case-gutter);right:var(--case-gutter);display:flex;gap:20px;align-items:center;pointer-events:none}
.case-tools>*{pointer-events:auto}
.case-tools button,.case-tools a{background:#101919ee;border:1px solid #71878055;border-radius:20px;min-height:44px;display:inline-flex;align-items:center;padding:10px 16px;font-size:11px;color:#bed0c5}
.case-progress{height:2px;background:#53665b55;flex:1;pointer-events:none}
.case-progress i{display:block;height:100%;background:var(--cf-blue);transform:scaleX(var(--progress,0));transform-origin:left}
.screen-dialog{background:#101111;color:#eeeee8;border:1px solid #677c76;padding:16px;max-width:95vw;max-height:94svh;width:1400px}
.screen-dialog::backdrop{background:#000d;backdrop-filter:blur(15px)}
.screen-dialog form{position:sticky;top:0;left:0;width:100%;text-align:right;z-index:2}
.screen-dialog form button{background:#eeeee8;color:#111;border:0;border-radius:30px;padding:12px 24px}
.screen-dialog img{display:block;max-width:100%;height:auto;margin:15px auto}
.screen-dialog img.mobile-preview{max-height:78svh;width:auto}
@media(max-width:900px){.screen-dialog img:not(.mobile-preview){width:min(var(--preview-width,1200px),1000px);max-width:none}.screen-dialog{overscroll-behavior:contain}}
.screen-dialog[open]{animation:screen-in .35s ease}
@keyframes screen-in{from{opacity:.4;transform:translateY(18px) scale(1.02)}to{opacity:1;transform:none}}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* The optional introduction preserves the entire composition, without blowing up pixels. */
.case-immersive{background:#101111}
.case-immersive .gallery-header{background:#101111ed}
.case-cinema{padding:150px var(--case-gutter) 80px;margin-bottom:30px}
.cinema-stage{max-width:var(--case-media-width);margin:auto;position:relative}
.cinema-screen{width:100%;overflow:hidden;border-radius:10px;box-shadow:0 35px 100px #0005}
.cinema-screen img{display:block;width:100%;height:auto}
.cinema-title{max-width:var(--case-width);display:flex;flex-direction:column;align-items:flex-start;gap:20px;margin-top:35px}
.cinema-title>span,.cinema-note{font-size:10px;letter-spacing:.12em;color:#a4b7ac}
.cinema-title strong{font-size:clamp(42px,6vw,105px);font-weight:400;letter-spacing:-.06em;line-height:1.05}
.cinema-title a{font-size:13px;border-bottom:1px solid var(--cf-blue);padding:10px 0;color:#d8e8f2}
.cinema-title a span{margin-left:35px}
.cinema-note{display:block;margin-top:35px}
.case-immersive .case-brief{background:#dce2e7}
.case-immersive .case-delivery{background:linear-gradient(130deg,#1c2430,#11161c)}
.case-immersive .reveal-index,.case-immersive .scene-caption{color:#8da9bf}

/* Expressive entry, then a quiet reading interval. No fade-out over the copy. */
.word-mask{display:inline-block;overflow:clip;vertical-align:bottom;padding-bottom:.09em;margin-bottom:-.09em}
.word-mask>span{display:inline-block}
.case-choreography[data-case-motion=on] .word-mask>span{--word-reveal:clamp(0,calc(var(--text-progress,1)*1.65 - var(--word-i)*.055),1);transform:translate3d(0,calc((1 - var(--word-reveal))*112%),0);opacity:var(--word-reveal)}
.case-choreography[data-case-motion=on] .motion-copy{--copy-reveal:clamp(0,calc(var(--text-progress,1)*1.5 - var(--copy-i)*.065),1);opacity:var(--copy-reveal);transform:translate3d(0,calc((1 - var(--copy-reveal))*22px),0)}
.case-choreography[data-case-motion=on] .reveal-card-inner,.case-choreography[data-case-motion=on] .device-scene{opacity:var(--panel-opacity,1)}
html[data-capture-mode=scroll].case-choreography .capture-scroll .reveal-card-inner{opacity:1}
.case-vertical-track :focus-visible{outline:2px solid var(--cf-light);outline-offset:6px}
.case-opening>.device-scene.cf-liquid-content{position:relative}
.reveal-card-inner>.cf-liquid-stage{border-radius:inherit}

@media(max-width:1100px){.flow-track{grid-template-columns:repeat(2,minmax(0,1fr))}.case-app-showcase{grid-template-columns:1fr;gap:45px}.app-showcase-copy{max-width:700px}.app-showcase-devices{align-items:flex-start}.case-opening{grid-template-columns:1fr 1fr}}
@media(max-width:900px){
 .case-vertical-track>section,.case-vertical-track>article{scroll-margin-top:95px}
 .case-opening{display:block;min-height:0;padding-top:145px;padding-bottom:0}
 .opening-copy{max-width:750px}.opening-copy h1{font-size:clamp(50px,8vw,82px)}
 .device-scene{padding:45px 0 75px;margin-top:25px}.desktop-device{width:93%}.phone-device{width:22%;border-width:3px;border-radius:18px}
 .case-brief,.case-delivery{grid-template-columns:1fr;gap:40px;padding:35px}
 .delivery-tech{border-left:0;border-top:1px solid #78958a40;padding:30px 0 0}
 .reveal-heading,.section-heading{grid-template-columns:1fr;gap:18px;margin-bottom:28px}
 .reveal-heading h3{font-size:clamp(30px,4.8vw,42px)}.reveal-heading p{max-width:65ch;font-size:16px}
 .reveal-card-inner{transform:none}.capture-window img{transform:none}
 .section-heading>p{font-size:16px;max-width:65ch}
 .case-previous-link{top:94px}
 .case-cinema{padding-top:130px;padding-bottom:40px}
 .case-next h2{max-width:70%}.case-next-image{opacity:.25}
}
@media(max-width:600px){
 .project-gallery{--case-gutter:20px;--case-space:65px}
 .gallery-header{padding-inline:20px}
 .gallery-brand{gap:8px}.gallery-brand img:last-child{width:105px}.gallery-header .back{padding:12px 14px}
 .case-opening{padding-top:140px}.opening-copy h1{font-size:clamp(43px,11.5vw,66px);margin-top:24px}
 .opening-bottom p{font-size:16px}.project-launch{font-size:13px;padding:16px 23px}.opening-bottom .launch{margin-top:18px}
 .device-scene{padding:25px 0 65px;margin-top:20px}.phone-device{border-radius:12px;bottom:32px}.scene-caption{font-size:9px}
 .browser-bar{height:24px;font-size:7px;padding-inline:9px}.browser-bar i{width:4px;height:4px}
 .case-brief,.case-delivery{padding:27px 22px;gap:32px}
 .case-brief h2,.case-delivery h2,.app-showcase-copy h2{font-size:38px;margin:20px 0}.brief-scope{margin-top:25px}
 .brief-columns p{font-size:17px}.delivery-scope p{font-size:15px}.delivery-tech dl>div{grid-template-columns:1fr;gap:10px}.delivery-tech dd{font-size:22px}
 .reveal-heading h3{font-size:31px}.reveal-heading p{font-size:15px}.reveal-index{font-size:9px;margin-top:20px}
 .flow-track{grid-template-columns:1fr;gap:32px}.flow-step strong{font-size:26px}.flow-step h3{margin-top:20px}.flow-step p{font-size:15px}.section-heading h2{font-size:40px}
 .app-showcase-devices{flex-direction:column;align-items:center;gap:45px}.app-showcase-phone{width:min(100%,280px);max-width:280px;flex:none}.app-showcase-phone figcaption span{font-size:14px}
 .case-close{padding-top:45px}.case-close h2{font-size:46px}.case-close .finale-link{font-size:15px;gap:25px}
 .case-next{padding-top:35px}.case-next-link{gap:20px;min-height:235px}.case-next h2{font-size:42px;max-width:100%}.case-next-image{width:55%;opacity:.12;right:10%}.case-next-footer{font-size:11px;gap:15px}.case-next-meter{width:70px}
 .case-tools{gap:10px}.case-tools button,.case-tools a{font-size:10px;padding:9px 12px}
 .cinema-title strong{font-size:46px}.cinema-title>span{font-size:9px}.cinema-note{font-size:8px;line-height:1.6}
}

/* The Cloudfusion frame owns the light; client artwork keeps its real colours. */
.project-gallery{--case-blue:var(--cf-blue);--case-violet:var(--cf-violet);--case-steel:#a6b8c8}
.case-opening em,.case-delivery em{color:#a6b8c8}
.opening-bottom p,.app-showcase-copy p,.delivery-scope p,.flow-step p{color:#adbcc8}
.scene-halo{background:radial-gradient(ellipse,color-mix(in srgb, var(--cf-blue) 10.2%, transparent),transparent 66%)}
.case-brief{background:#dce2e7;color:#172531;border:1px solid #e4f0f755;position:relative}
.case-brief em,.case-brief .eyebrow,.brief-scope{color:#526778}
.brief-columns>div+div{border-color:#52677840}
.case-delivery{background:linear-gradient(125deg,#1b222d,#11161c);border-color:#617a8f55}
.delivery-tech,.delivery-scope>div+div{border-color:#617a8f40}
.delivery-tech dt,.delivery-tech small,.flow-step small,.flow-note,.section-heading>p,.scene-caption,.cinema-title>span,.cinema-note{color:#90a7bc}
.app-showcase-features strong,.app-showcase-phone figcaption strong{color:#dce7ee}
.app-showcase-note,.app-showcase-phone figcaption span{color:#90a7bc}
.flow-runway,.flow-step{border-color:#617a8f55}
.case-close{border-color:#617a8f55}
.case-tools button,.case-tools a{background:#11161eee;border-color:#617a8f55;color:#c0d0df}
.screen-dialog{border-color:#617a8f}
.case-next,.case-handoff{background:#e1e6ed;color:#182330}
.case-next .eyebrow{color:#526778}
.case-next-meter{background:#a6b8c8}

/* Scroll is the conductor: curved arrivals, speed waves, then a still reading frame. */
.reveal-art,.cinema-stage,.app-showcase-devices{perspective:1800px}
.app-showcase-devices{position:relative}
.fluid-media{position:relative;transform-origin:50% 65%}
html[data-fluid-mode=full] .fluid-media{
 transform:translate3d(0,var(--fluid-y,0px),0) rotateX(var(--fluid-rx,0deg)) rotateY(var(--fluid-ry,0deg)) rotateZ(var(--fluid-rz,0deg)) scale(var(--fluid-scale,1));
 opacity:var(--fluid-opacity,1)
}
.fluid-media[data-fluid-active=true]{will-change:transform}
.fluid-media::after{content:'';position:absolute;inset:0;z-index:4;pointer-events:none;background:linear-gradient(115deg,transparent 25%,#b6edff 49%,var(--cf-violet) 52%,transparent 76%);transform:translateX(var(--fluid-sheen-x,0%));opacity:var(--fluid-sheen-alpha,0);mix-blend-mode:screen}
.cinema-screen{border:1px solid #647b8e55;box-shadow:0 30px 90px #0007,0 0 0 1px color-mix(in srgb, var(--cf-blue) 4.71%, transparent)}
.cinema-screen::before{content:'';position:absolute;inset:auto 8% 0;height:1px;z-index:3;background:linear-gradient(90deg,transparent,var(--cf-blue),var(--cf-violet),transparent);opacity:calc(.35 + var(--fluid-energy,0)*.65);pointer-events:none}
html[data-fluid-mode=full] .fluid-intro{transform:translate3d(var(--intro-x,0px),0,0);opacity:var(--intro-opacity,1)}
html:not([data-fluid-mode=full]) .fluid-media{transform:none;opacity:1}
html:not([data-fluid-mode=full]) .fluid-intro{transform:none;opacity:1}
.fluid-media:focus-within{transform:none!important;opacity:1!important}
html[data-case-motion=off] .fluid-media::after,html[data-case-motion=off] .cinema-screen::before{display:none}
.case-choreography[data-case-motion=on] .word-mask>span{transform:translate3d(calc((1 - var(--word-reveal))*-.18em),calc((1 - var(--word-reveal))*112%),0) rotate(calc((1 - var(--word-reveal))*2deg));transform-origin:left bottom}
@media(max-width:380px){
 .gallery-brand img:last-child{width:82px}
 .gallery-header nav a{white-space:nowrap}
 .gallery-header .back{width:44px;padding:0}
 .gallery-header .back span{display:none}
 .gallery-header .talk{padding:12px 14px;gap:8px;font-size:12px}
}
html[data-case-motion=off] *,html[data-case-motion=off] *::before{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html[data-case-motion=off] .motion-copy,html[data-case-motion=off] .word-mask>span,html[data-case-motion=off] .desktop-device,html[data-case-motion=off] .phone-device,html[data-case-motion=off] .app-showcase-phone,html[data-case-motion=off] .reveal-card-inner,html[data-case-motion=off] .capture-window img{transform:none!important;opacity:1!important}
html[data-case-motion=off] .cf-liquid-stage{display:none}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.motion-copy,.word-mask>span,.desktop-device,.phone-device,.app-showcase-phone,.reveal-card-inner,.capture-window img{transform:none!important;opacity:1!important}}

/* Authored close-ups: complete screen → useful detail → complete screen. */
.proof-focus{display:flex;align-items:flex-start;gap:14px;border-top:1px solid #78969c40;padding-top:16px;margin-top:22px;max-width:65ch}
.proof-focus-mark{color:var(--cf-light);font-size:24px;line-height:1}
.proof-focus strong{font-weight:500;font-size:15px;color:#d9e7e6;line-height:1.45}
.proof-focus p{font-size:14px;line-height:1.65;color:#a7bab9;margin-top:7px}
/* Intrinsic media height eliminates letterboxing on tall and portrait windows. */
.capture-focus .reveal-card-inner{transform:none!important;opacity:1!important}
.capture-focus .reveal-browser{width:var(--detail-width,100%);max-width:min(100%,var(--source-width));height:auto;background:#101616}
.capture-focus .capture-window{height:auto;aspect-ratio:var(--screen-ratio)}
.capture-focus .capture-window img{width:100%;height:auto;transform:scale(var(--detail-scale,1));transform-origin:var(--detail-origin,50% 50%)}
.capture-focus[data-detail-mode=scroll]{height:calc(var(--detail-frame) + var(--detail-runway,0px))}
.capture-focus[data-detail-mode=scroll] .reveal-card-inner{position:sticky;top:112px}
.capture-focus[data-detail-mode=scroll] .capture-window img{will-change:transform}
.capture-focus[data-detail-mode=static] .capture-window img{transform:none}
.capture-focus .proof-focus{border-color:rgba(85,202,255,calc(.2 + var(--detail-strength,0)*.6))}
@media(min-width:1101px){
 .capture-focus .reveal-card-inner{display:grid;grid-template-columns:minmax(240px,.32fr) minmax(0,1fr);grid-template-rows:auto auto;grid-template-areas:'heading art' 'note index';gap:24px 4vw}
 .capture-focus .reveal-heading{grid-area:heading;display:flex;flex-direction:column;justify-content:center;gap:20px;margin:0;max-width:29ch}
 .capture-focus .reveal-heading h3{font-size:clamp(32px,3vw,52px)}
 .capture-focus .reveal-heading p{font-size:clamp(16px,1.1vw,18px);margin:0;align-self:auto}
 .capture-focus .reveal-art{grid-area:art;height:auto;align-self:start}
 .capture-focus .proof-focus{grid-area:note;margin:0;max-width:100%}
 .capture-focus .reveal-index{grid-area:index;align-self:end;margin:0}
}
@media(max-width:1100px){.flow-track::before{display:none}}

/* Complementary real screens share the available width; cover screens reveal each in turn. */
.device-scene:has(.phone-device){display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,.24fr);align-items:center;gap:clamp(18px,2vw,35px);padding-bottom:55px}
.device-scene:has(.phone-device) .desktop-device{width:100%}
.device-scene:has(.phone-device) .phone-device{position:relative;width:100%;max-width:230px;bottom:auto;right:auto;transform:translateY(var(--phone-y,0px));border-radius:20px}
@media(max-width:600px){
 .device-scene:has(.phone-device){grid-template-columns:1fr;gap:25px;padding-bottom:45px}
 .device-scene:has(.phone-device) .phone-device{width:min(65%,210px);max-width:210px;justify-self:center}
 .proof-focus{gap:10px}.proof-focus p{font-size:13px}
}

/* A quiet, optional compass replaces the anonymous progress rail. */
.case-tools{justify-content:space-between;gap:12px}
.chapter-compass{pointer-events:auto;display:flex;align-items:center;background:#101919f2;border:1px solid #71878055;border-radius:24px;padding:0 5px;backdrop-filter:blur(12px)}
.case-tools .chapter-compass a{background:none;border:0;border-radius:0;justify-content:center;position:relative;font-size:11px;padding:10px 18px;color:#95aaa2}
.chapter-compass a::after{content:'';position:absolute;bottom:5px;left:18px;right:18px;height:1px;background:var(--cf-blue);transform:scaleX(0);transform-origin:left;transition:transform .3s}
.case-tools .chapter-compass a[aria-current]{color:#eef5f1}
.chapter-compass a[aria-current]::after{transform:scaleX(1)}
.case-tools .chapter-compass a:hover{color:#fff}
.case-tools :focus-visible,.enquiry-dialog :focus-visible{outline:2px solid var(--cf-light);outline-offset:3px}
@media(max-width:600px){
 .case-tools{gap:8px}.case-tools>button{padding-inline:10px;min-width:0;font-size:10px}
 .chapter-compass{flex:1;padding-inline:2px;justify-content:space-evenly}
 .case-tools .chapter-compass a{padding:10px 8px;font-size:10px;min-width:44px}
 .chapter-compass a::after{left:8px;right:8px}
}

/* The next preview remains compact but is now a clear, matching image. */
.case-next-link:has(.case-next-image){grid-template-columns:1fr minmax(150px,38%);gap:18px 7%;padding-right:65px}
.case-next{padding-top:clamp(24px,2vw,40px);padding-bottom:70px}
.case-next-link{min-height:clamp(160px,18svh,270px)}
.case-next-link:has(.case-next-image) h2{max-width:100%;font-size:clamp(40px,5vw,86px)}
.case-next-image{position:relative;right:auto;grid-column:2;grid-row:1/5;align-self:center;width:100%;height:auto;max-height:clamp(150px,17svh,230px);object-fit:contain;opacity:1;box-shadow:0 15px 40px #1b333526}
.case-next-link:has(.case-next-image) .case-next-arrow{position:absolute;right:0;top:50%;font-size:40px;margin-top:-25px}
@media(max-width:600px){
 .case-next-link:has(.case-next-image){grid-template-columns:1fr;gap:20px;padding-right:0}
 .case-next-image{grid-row:auto;grid-column:1;max-width:250px;max-height:140px;justify-self:start}
 .case-next-link:has(.case-next-image) .case-next-arrow{right:0;top:30%;font-size:40px}
 .case-next-link:has(.case-next-image) h2{font-size:42px}
}

/* Shared controls belong to Cloudfusion's graphite / electric-blue frame. */
.gallery-header{border-color:#617a8f26}
.gallery-header .talk{background:#232b36;color:#e9f0f7;border:1px solid #617a8f55}
.gallery-header .talk:hover{background:#172d3a;border-color:var(--cf-blue)}
.reveal-browser{border-color:#5389a777;box-shadow:0 25px 40px #0004,0 0 0 1px color-mix(in srgb, var(--cf-blue) 3.92%, transparent)}
.case-brief,.case-delivery{position:relative}
.case-brief::before,.case-delivery::before{content:'';position:absolute;top:0;left:5%;right:5%;height:1px;background:linear-gradient(90deg,transparent,var(--cf-blue) 38%,var(--cf-violet) 65%,transparent);transform:scaleX(var(--text-progress,1));transform-origin:left;pointer-events:none}
.capture-focus .reveal-browser{background:#11161c}
.proof-focus strong{color:#dce7ee}.proof-focus p{color:#a6b8c8}
.chapter-compass{background:#11161ef2;border-color:#617a8f55}
.case-tools .chapter-compass a{color:#a6b8c8}
.case-tools .chapter-compass a[aria-current]{color:#e9f0f7}
.case-progress{background:#617a8f55}
@media(max-width:600px){
 .gallery-brand,.gallery-header nav,.gallery-header nav a{flex-shrink:0}
 .gallery-header nav a{white-space:nowrap}
 .gallery-header .back{width:44px;padding:0}
 .gallery-header .back span{display:none}
 .gallery-header .talk{padding:12px 14px;gap:8px;font-size:12px}
}

/* Four chapter jumps and a full-size motion control fit narrow cover screens. */
.chapter-name-short{display:none}
@media(max-width:600px){
 .case-tools>button{width:44px;min-width:44px;flex:0 0 44px;padding:0;font-size:0!important;justify-content:center}
 .case-tools>button::before{content:'Ⅱ';font:16px var(--cf-body);line-height:1}
 .case-tools>button[aria-pressed=true]::before{content:'▶';font-size:12px}
 .chapter-name-full{display:none}
 .chapter-name-short{display:inline}
}

/* Service destinations are linked from the cases that substantiate them. */
.case-related-service{width:min(1560px,calc(100% - 2*var(--cf-gutter)));margin:60px auto 0;padding:25px 0;border-block:1px solid var(--cf-line);display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.case-related-service>span{font:11px/1.6 var(--cf-mono);color:var(--cf-muted)}.case-related-service a{font:500 18px/1.6 var(--cf-body);padding:10px 0;color:var(--service-accent,var(--cf-light))}.case-related-service a span{margin-left:30px}
