/* The customer logo itself forms the machined layers. */
.case-art.case-art-logo{padding:0;display:block;background:#111720;border-color:#293444}
.case-launch{display:block;width:100%;height:100%;position:relative;border-radius:6px;perspective:1600px;overflow:hidden}
.case-launch:focus-visible{outline:2px solid #a9c0fc;outline-offset:-4px}
.case-logo-stage{width:100%;height:100%;min-height:200px;position:relative;perspective:1600px;isolation:isolate}
.case-logo-stage::after{content:'';position:absolute;width:60%;height:13px;left:20%;bottom:22%;border-radius:50%;background:#0008;filter:blur(10px);z-index:-1;transition:opacity .6s}
.case-logo-object{position:absolute;left:50%;top:46%;width:84%;aspect-ratio:var(--logo-ratio);transform-style:preserve-3d;transform:translate(-50%,-50%) rotateX(0deg) rotateY(0deg) rotateZ(0deg);transition:transform .75s cubic-bezier(.2,.75,.2,1)}
.case-logo-layer{position:absolute;inset:0;transform-style:preserve-3d;transform:translateZ(calc(var(--offset)*4px));transition:transform .75s cubic-bezier(.2,.75,.2,1),opacity .5s;pointer-events:none}
.case-logo-edge,.case-logo-face{display:block;position:absolute;inset:0;mask-image:var(--logo-mask);mask-position:center;mask-size:contain;mask-repeat:no-repeat;-webkit-mask-image:var(--logo-mask);-webkit-mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat}
.case-logo-edge{background:linear-gradient(110deg,#526170,#c5d0d9 45%,#637285);transform:translate3d(0,2.5px,-2px)}
.case-logo-face{background:repeating-linear-gradient(92deg,#ffffff10 0 1px,#14223208 1px 2px,transparent 2px 4px),conic-gradient(from 120deg,#fbfcfc,#b5c2ce 17%,#edf1f3 26%,#c5cdd4 48%,#fff 63%,#aebdca 77%,#e5ecf1 91%,#fbfcfc);transform:translateZ(.2px)}
.case-logo-layer.is-blue .case-logo-face{background:repeating-linear-gradient(92deg,#ffffff0b 0 1px,transparent 1px 3px),linear-gradient(120deg,#315eb9,#123481 45%,#6283c8)}
.case-logo-layer.is-blue .case-logo-edge{background:linear-gradient(120deg,#628bdd,#102b64)}
/* A small lateral separation reveals the stack while the lettering stays upright. */
.case-launch{--case-spread-x:0px;--case-spread-y:0px;--case-depth:4px;--case-lift:0px;--case-scale:1;--case-brightness:1}
.case-launch .case-logo-object{transform:translate(-50%,calc(-50% + var(--case-lift))) scale3d(var(--case-scale),var(--case-scale),1)}
.case-launch .case-logo-layer{transform:translate3d(calc(var(--offset)*var(--case-spread-x)),calc(var(--offset)*var(--case-spread-y)),calc(var(--offset)*var(--case-depth)))}
.case-launch .case-logo-face{filter:brightness(var(--case-brightness));transition:filter .55s ease}
@media(hover:hover) and (pointer:fine){.case-launch:hover{--case-spread-x:-6px;--case-spread-y:-5px;--case-depth:12px;--case-lift:-3px;--case-scale:1.015;--case-brightness:1.06}.case-launch:hover .case-logo-stage::after{opacity:.6}}
.case-launch:focus-visible{--case-spread-x:-6px;--case-spread-y:-5px;--case-depth:12px;--case-lift:-3px;--case-scale:1.015;--case-brightness:1.06}
.case-launch:focus-visible .case-logo-stage::after{opacity:.6}
html{scrollbar-gutter:stable}
html.case-modal-open{overflow:hidden}
.case-dialog{width:min(1040px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);padding:0;border:1px solid #454f5b;border-radius:12px;background:#f2f2f0;color:#111316;overflow:hidden}
.case-dialog::backdrop{background:#030609cc;backdrop-filter:blur(6px);animation:case-backdrop-in .3s ease both}
.case-dialog-panel{max-height:calc(100dvh - 50px);display:flex;flex-direction:column;min-height:0;animation:case-popup-in .35s ease both}
.case-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 28px;border-bottom:1px solid #d2d6d8;flex:none;background:#f2f2f0;z-index:3}
.case-dialog-bar>div{display:flex;align-items:baseline;gap:16px;min-width:0}
.case-dialog-bar strong{font-size:16px;font-weight:600;letter-spacing:-.03em}
.case-dialog-bar>div>span{font-size:11px;color:#626b75}
.case-dialog-close{display:flex;align-items:center;justify-content:center;gap:10px;flex:none;min-height:44px;padding:6px 10px;border:1px solid #bac1c8;border-radius:6px;background:transparent;color:#39424e;font:12px/1.3 var(--sans,Arial,sans-serif);cursor:pointer}
.case-dialog-close>span{font:23px/1 Arial,sans-serif}
.case-dialog-close:hover{background:#fff;color:#002fa7;border-color:#002fa7}
.case-dialog button:focus-visible,.case-dialog a:focus-visible{outline:2px solid #002fa7;outline-offset:4px}
.case-dialog-scroll{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable;scroll-padding-block:20px;flex:1 1 auto}
.case-dialog-summary{padding:22px 30px 18px}
.case-dialog-summary h2{font-size:clamp(26px,2.8vw,34px);line-height:1.12;letter-spacing:-.045em;font-weight:500;margin:0 0 9px;max-width:800px}
.case-dialog-intro{font-size:14px;line-height:1.55;color:#59636e;margin:0;max-width:760px}
.case-dialog-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:18px 0 0;padding:16px 0 0;border-top:1px solid #cdd3d8}
.case-dialog-highlights>div{display:flex;flex-direction:column-reverse;justify-content:end;gap:5px;min-width:0}
.case-dialog-highlights>div+div{border-left:1px solid #cdd3d8;padding-left:20px}
.case-dialog-highlights dt{font-size:11px;line-height:1.4;color:#59636e}
.case-dialog-highlights dd{font-size:26px;line-height:1.15;letter-spacing:-.04em;margin:0}
.case-dialog-note{font-size:10px;line-height:1.5;color:#65717f;margin:10px 0 0}
/* Compact map: one crisp logo and five identifiable terminals. */
.case-dialog-workspace{position:relative;display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);align-items:center;gap:84px;padding:4px 30px 20px}
.case-dialog-visual{position:relative;align-self:center;margin:0;background:#10151d;border:1px solid #293444;border-radius:8px;min-width:0;overflow:hidden}
.case-logo-stage.is-large{height:220px;min-height:0;perspective:none}
.is-large .case-logo-object{width:78%;left:45%;top:50%;transform:translate(-50%,-50%)}
.is-large::after{width:70%;left:10%;bottom:22%;filter:blur(12px);height:12px;background:#0009}
/* Sub-pixel extrusion keeps the wordmark readable; no displaced copies. */
.case-dialog .case-logo-layer{opacity:1;pointer-events:none;transform:translate3d(0,calc(var(--layer)*.65px),calc(var(--offset)*.35px))}
.case-dialog .case-logo-edge{transform:translate3d(0,1px,-.2px)}
.case-logo-port{position:absolute;left:calc(100% + 6px);top:calc(50% + (var(--layer) - 2)*12px);display:block;width:18px;height:2px;margin-top:-1px;background:linear-gradient(90deg,#4d6077,#c0cad4);transition:background .2s}
.case-logo-port.is-blue{background:linear-gradient(90deg,#183d89,#789ce3)}
.case-logo-port.is-highlighted{background:#88acf6}
.case-dialog .case-dialog-logo{display:block;position:relative;appearance:none;width:100%;margin:0;padding:0;border:0;border-radius:7px;background:transparent;color:inherit;cursor:pointer;touch-action:pan-y pinch-zoom}
.case-dialog .case-dialog-logo:focus-visible{outline:2px solid #a9c0fc;outline-offset:-4px}
/* Reuse the main cards' movement, scoped exclusively to the modal preview. */
@media(hover:hover) and (pointer:fine){
 .case-dialog .case-dialog-logo:hover .case-logo-object{transform:translate(-50%,calc(-50% - 3px)) scale3d(1.015,1.015,1)}
 .case-dialog .case-dialog-logo:hover .case-logo-layer{transform:translate3d(calc(var(--offset)*-6px),calc(var(--offset)*-5px),calc(var(--offset)*12px))}
 .case-dialog .case-dialog-logo:hover .case-logo-face{filter:brightness(1.06)}
}
.case-dialog .case-dialog-logo[aria-pressed=true] .case-logo-object{transform:translate(-50%,calc(-50% - 3px)) scale3d(1.015,1.015,1)}
.case-dialog .case-dialog-logo[aria-pressed=true] .case-logo-layer{transform:translate3d(calc(var(--offset)*-6px),calc(var(--offset)*-5px),calc(var(--offset)*12px))}
.case-dialog .case-dialog-logo[aria-pressed=true] .case-logo-face{filter:brightness(1.06)}
.case-dialog .case-logo-face{transition:filter .55s ease}
.case-connections{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;z-index:1}
.case-connections g{stroke:#7b8ea5;fill:none;stroke-width:1;opacity:.75;transition:stroke .2s,opacity .2s}
.case-connections circle{fill:#a9b8cc;stroke:none}
.case-connections g.is-highlighted{stroke:#002fa7;stroke-width:1.5;opacity:1}
.case-connections g.is-highlighted circle{fill:#88acf6}
.case-dialog-process{position:relative;z-index:2;min-width:0}
.case-process-heading{font:10px/1.4 var(--mono);text-transform:uppercase;letter-spacing:.06em;color:#59636e;margin:0 0 10px}
.case-process-list{list-style:none;margin:0;padding:0;display:grid;gap:0}
.case-step-panel{display:grid;grid-template-columns:23px minmax(0,1fr);gap:8px;padding:10px 0 10px 12px;border:0;border-left:2px solid transparent;border-bottom:1px solid #d5dbe0;border-radius:0;background:#f2f2f0;scroll-margin-block:20px;transition:border-color .2s,background .2s}
.case-step-panel:last-child{border-bottom:0}
.case-step-panel.is-highlighted{background:#e8edf5;border-left-color:#557bb6}
.case-step-number{font:10px/1.5 var(--mono);color:#737f8e;padding-top:2px}
.case-step-panel.is-highlighted .case-step-number{color:#002fa7}
.case-step-panel h4{font-size:15px;font-weight:500;line-height:1.3;letter-spacing:-.02em;margin:0 0 4px}
.case-step-panel p{font-size:13px;line-height:1.5;color:#59636e;margin:0}
.case-step-panel.is-pending p{color:#727c88;font-style:italic}
.case-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 30px;padding:16px 0 20px;border-top:1px solid #cdd3d8}
.case-dialog-tools{min-width:0;display:flex;flex-wrap:wrap;gap:8px 12px;align-items:baseline}
.case-tools-label{font:9px/1.4 var(--mono);color:#59636e}
.case-dialog-tools ul{display:flex;flex-wrap:wrap;gap:5px 10px;list-style:none;padding:0;margin:0}
.case-dialog-tools li{font-size:11px;line-height:1.5;color:#475362}
.case-dialog-tools li+li::before{content:'·';margin-right:10px;color:#8993a0}
.case-dialog-full{font-size:12px;flex:none}
.case-dialog.is-closing::backdrop{animation:case-backdrop-out .22s ease both}
.case-dialog.is-closing .case-dialog-panel{animation:case-popup-out .22s ease both}
@keyframes case-popup-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes case-popup-out{to{opacity:0;transform:translateY(8px)}}
@keyframes case-backdrop-in{from{background:#03060900;backdrop-filter:blur(0)}to{background:#030609cc;backdrop-filter:blur(6px)}}
@keyframes case-backdrop-out{to{background:#03060900;backdrop-filter:blur(0)}}
@media(max-width:850px){.case-dialog-summary{padding:20px 24px 16px}.case-dialog-workspace{gap:64px;padding:0 24px 18px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.case-dialog-footer{margin:0 24px}.case-logo-stage.is-large{height:200px}.case-step-panel{padding-left:10px;grid-template-columns:21px minmax(0,1fr);gap:6px}.case-dialog-highlights{gap:16px}.case-dialog-highlights>div+div{padding-left:16px}.case-dialog-highlights dd{font-size:24px}}
@media(max-width:650px){.case-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:10px}.case-dialog-panel{max-height:calc(100dvh - 22px)}.case-dialog-bar{padding:8px 18px;gap:12px}.case-dialog-bar>div{display:block}.case-dialog-bar>div>span{display:none}.case-dialog-summary{padding:20px 18px 16px}.case-dialog-summary h2{font-size:27px}.case-dialog-intro{font-size:13px}.case-dialog-highlights{gap:10px;margin-top:15px;padding-top:14px}.case-dialog-highlights>div+div{padding-left:10px}.case-dialog-highlights dd{font-size:clamp(18px,4.6vw,23px);overflow-wrap:anywhere}.case-dialog-highlights dt{font-size:10px}.case-dialog-workspace{grid-template-columns:1fr;gap:18px;padding:0 18px 18px}.case-dialog-visual{margin-right:22px}.case-dialog-process{margin-right:22px}.case-logo-stage.is-large{height:155px}.case-dialog-footer{margin:0 18px;padding:14px 0 18px;flex-wrap:wrap;gap:14px}.case-dialog-tools{width:100%}.case-step-panel p{font-size:13px}}
@media(prefers-reduced-motion:reduce){.case-dialog *,.case-dialog::backdrop,.case-logo-stage *{animation:none!important;transition:none!important}.case-launch:is(:hover,:focus-visible){--case-spread-x:0px;--case-spread-y:0px;--case-depth:4px;--case-lift:0px;--case-scale:1}.case-launch .case-logo-face{transition:none}}

@media(prefers-reduced-motion:reduce){
 .case-dialog .case-dialog-logo:is(:hover,[aria-pressed=true]) .case-logo-object{transform:translate(-50%,-50%)}
 .case-dialog .case-dialog-logo:is(:hover,[aria-pressed=true]) .case-logo-layer{transform:translate3d(0,calc(var(--layer)*.65px),calc(var(--offset)*.35px))}
}
