/* Real installations are distinct from the illustrative application gallery. */
.customer-installations{background:#fff;padding-block:64px;scroll-margin-top:10px}
.customer-installations .case-studies-heading{margin-bottom:30px}
.customer-installations .case-studies-heading h2{max-width:none;margin-bottom:0}
.case-studies-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.case-study-card{min-width:0}
.case-study-media{margin:0}
.case-study-visual{display:grid;aspect-ratio:3/2;border-radius:18px;overflow:hidden;background:#f3f1ed}
.case-study-visual.case-study-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.case-study-photo{position:relative;display:block;min-width:0;min-height:0;overflow:hidden;background:#efeeea}
.case-study-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.case-study-pair .case-study-photo:first-child img{object-position:55% 55%}
.case-study-pair .case-study-photo:last-child img{object-position:50% 56%}
.case-study-photo:hover img{transform:scale(1.025)}
.case-study-photo:focus-visible{outline:3px solid #5535f4;outline-offset:-5px}
.case-study-enlarge{position:absolute;bottom:12px;right:12px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#ffffffed;color:#20242b;font-size:20px;box-shadow:0 2px 8px #0001}
.case-study-image-label{position:absolute;left:12px;bottom:12px;padding:5px 9px;border-radius:5px;background:#ffffffed;color:#343943;font-size:12px;line-height:1.4;font-weight:600}
.case-study-copy{padding-top:20px}
.case-study-kicker{margin:0 0 9px;color:#5436e8;font-size:13px;font-weight:700;line-height:1.5;letter-spacing:.08em;text-transform:uppercase}
.case-study-copy h3{margin:0 0 12px;font-size:clamp(25px,2.05vw,32px);line-height:1.2;letter-spacing:-.035em;font-weight:600}
.case-study-copy>p:last-child{margin:0;color:#626b77;font-size:18px;line-height:1.65;max-width:62ch}
.case-study-copy h3 a{color:inherit;text-decoration:none}
.case-study-copy h3 a:hover{text-decoration:underline;text-underline-offset:5px}
.case-study-detail-link{display:flex;align-items:center;gap:16px;margin-top:20px;color:#35333e;text-decoration:none;font-size:16px;font-weight:600;width:fit-content}
.case-study-detail-link img{display:block;width:144px;height:96px;object-fit:cover;border-radius:10px}
.case-study-detail-link:hover span{text-decoration:underline;text-underline-offset:4px}
.case-study-installation-links{display:flex;gap:14px;margin-top:20px}
.case-study-installation-links a{display:flex;align-items:center;gap:10px;color:#35333e;font-size:15px;text-decoration:none}
.case-study-installation-links img{display:block;width:76px;height:96px;object-fit:cover;object-position:52% 58%;border-radius:10px}
.case-study-installation-links a:hover span{text-decoration:underline;text-underline-offset:4px}
@media(max-width:800px){.customer-installations{padding-block:48px}.case-studies-grid{grid-template-columns:1fr;gap:38px}.customer-installations .case-studies-heading{margin-bottom:24px}.case-study-visual{border-radius:14px}.case-study-copy{padding-top:16px}}
@media(max-width:800px){.case-study-installation-links{gap:16px}.case-study-installation-links a{flex-direction:column;align-items:flex-start;gap:7px}.case-study-installation-links img{width:100px;height:100px}}
@media(prefers-reduced-motion:reduce){.case-study-photo img{transition:none}.case-study-photo:hover img{transform:none}}

/* Image notes and source links live in the viewer, keeping the cards compact. */
html.case-study-viewer-open{overflow:hidden}
.case-study-dialog{box-sizing:border-box;width:min(1100px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:20px;border:1px solid #e0e2e7;border-radius:18px;background:#fff;color:#20242b;overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 80px #0b142040}
.case-study-dialog::backdrop{background:#0b1420cc}
.case-study-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px;min-width:0}
.case-study-dialog-header h2{min-width:0;margin:0;font-size:22px;font-weight:600;line-height:1.3;letter-spacing:-.025em;overflow-wrap:anywhere}
.case-study-dialog-close{flex:none;min-height:40px;padding:8px 16px;border:1px solid #d6d9df;border-radius:8px;background:#fff;color:#20242b;font:inherit;font-size:14px;line-height:1.5;cursor:pointer}
.case-study-dialog-close:hover{background:#f3f1ed}
.case-study-dialog-close:focus-visible,.case-study-dialog-caption a:focus-visible{outline:3px solid #5535f4;outline-offset:3px}
.case-study-dialog-figure{min-width:0;margin:0}
.case-study-dialog-image{display:block;width:auto;height:auto;max-width:100%;max-height:70vh;max-height:70dvh;margin:0 auto;object-fit:contain;border-radius:8px}
.case-study-dialog-caption{margin:14px 0 0;color:#66707b;font-size:14px;line-height:1.55;overflow-wrap:anywhere}
.case-study-dialog-caption p{margin:0}
.case-study-dialog-caption p+p{margin-top:5px}
.case-study-dialog-caption a{color:inherit;text-underline-offset:3px}
.case-study-dialog [hidden]{display:none}
@media(max-width:680px){.case-study-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);padding:14px;border-radius:12px}.case-study-dialog-header{gap:12px;margin-bottom:12px}.case-study-dialog-header h2{font-size:18px}.case-study-dialog-image{max-height:calc(100vh - 180px);max-height:min(70dvh,calc(100dvh - 180px))}}
