
#detail.case-dialog{max-width:1240px;width:calc(100% - 64px);padding:0;max-height:92svh}#detail.case-dialog>.close{position:sticky;top:14px;margin:14px 14px -56px auto;display:grid;place-items:center;width:42px;height:42px;z-index:5;background:var(--paper);border:1px solid var(--line)}.case-study{padding:0 40px 36px}.case-opening{display:grid;grid-template-columns:1.1fr 1fr;gap:32px;padding-top:60px;align-items:center}.case-cover{width:100%;height:350px;object-fit:cover}.case-intro h2{font-size:clamp(30px,3vw,47px);line-height:1.05;letter-spacing:-.045em;margin:0 0 17px}.case-place{font-size:13px;color:var(--orange);margin-bottom:20px}.case-description{font-size:19px;line-height:1.5;letter-spacing:-.02em}.case-demo-note{font-size:10px;color:var(--muted);line-height:1.6;margin:16px 0 24px}.case-intro .button{font-size:12px;padding:15px 18px;gap:20px}.case-study h3{font-size:27px;font-weight:500;letter-spacing:-.04em;line-height:1.2;margin:0 0 22px}.case-study h4{font-weight:500}.case-brief-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:36px 0;border-bottom:1px solid var(--line);margin:20px 0 35px}.case-brief-grid p{font-size:14px;line-height:1.75;color:var(--muted)}.case-stage-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px 32px}.case-stage-grid>div{padding:20px 0;border-top:1px solid var(--line)}.case-stage-grid h4{font-size:18px;margin-bottom:10px;letter-spacing:-.02em}.case-stage-grid p{font-size:13px;color:var(--muted);line-height:1.7}.case-supply{margin-top:35px;background:#e6e6e6;padding:28px 30px}.case-supply ul{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px 30px;font-size:14px;line-height:1.5}.case-supply li{padding-left:17px;position:relative}.case-supply li:before{content:'';position:absolute;left:0;top:8px;width:5px;height:5px;background:var(--orange)}.case-gallery-section,.case-products-section{margin-top:40px}.case-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.case-gallery figure{margin:0;min-width:0}.case-gallery img{width:100%;height:215px;object-fit:cover}.case-gallery figcaption{font-size:11px;color:var(--muted);padding-top:9px;line-height:1.5}.case-gallery.single{display:block}.case-gallery.single img{height:350px;object-fit:contain;background:#e6e6e6}.case-products-heading{display:flex;justify-content:space-between;align-items:baseline;gap:25px}.case-products-heading>p{font-size:11px;color:var(--muted);max-width:280px;line-height:1.6}.case-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.case-product{display:flex;flex-direction:column;min-width:0}.case-product>img{width:100%;height:180px;object-fit:contain;background:#fff9}.case-product-purpose{font-size:10px;color:var(--muted);margin:12px 0 7px}.case-product h4{font-size:16px;line-height:1.4;letter-spacing:-.02em;margin:0 0 10px}.case-product-dim{font-size:10px;line-height:1.6;color:var(--muted);margin-bottom:17px}.case-product .tz-add{margin-top:auto;font-size:11px;padding:12px 7px;gap:6px}.case-product .tz-icon{width:17px;height:17px}.case-bottom{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:45px;border-top:1px solid var(--line);padding-top:30px}.case-bottom h3{font-size:25px;margin-bottom:12px}.case-bottom p{font-size:12px;line-height:1.6;color:var(--muted)}.case-bottom .button{flex-shrink:0}
@media(max-width:1000px){.case-products{grid-template-columns:repeat(2,minmax(0,1fr))}.case-opening{gap:25px}.case-cover{height:320px}}
@media(max-width:760px){#detail.case-dialog{width:calc(100% - 20px);max-height:94svh}.case-study{padding:0 20px 25px}.case-opening{grid-template-columns:1fr;padding-top:60px;gap:25px}.case-cover{height:240px}.case-intro h2{font-size:33px}.case-description{font-size:17px}.case-study h3{font-size:24px}.case-brief-grid{grid-template-columns:1fr;gap:25px;padding:28px 0;margin-bottom:28px}.case-stage-grid{grid-template-columns:1fr;gap:4px}.case-stage-grid h4{font-size:17px}.case-supply{padding:24px 20px;margin-top:25px}.case-supply ul{grid-template-columns:1fr;font-size:13px}.case-gallery{grid-template-columns:1fr}.case-gallery img{height:220px}.case-gallery.single img{height:240px}.case-products-heading{display:block}.case-products-heading>p{margin:-10px 0 22px}.case-products{gap:22px 12px}.case-product>img{height:140px}.case-product h4{font-size:14px}.case-product-purpose{font-size:9px}.case-product .tz-add{font-size:10px;gap:4px}.case-product .tz-icon{width:14px;height:14px}.case-bottom{display:block;margin-top:30px}.case-bottom .button{margin-top:22px;width:100%}.case-bottom h3{font-size:24px}}

.case-product{padding:14px;border:1px solid #c2c2c2;border-radius:12px;background:#f9f8f4}.case-product h4{margin:17px 0 22px}.case-product .tz-add{border:1px solid #7c7c7c;border-radius:6px;min-height:44px;background:white}.case-product .tz-add:hover{background:var(--orange);border-color:var(--orange);color:white}@media(max-width:760px){.case-product{padding:10px}.case-product>img{height:125px}.case-product .tz-add{font-size:10px}}

/* Full individual frames, without cropping or image zoom */
.case-cover{height:auto;max-height:350px;object-fit:contain;display:block}.case-gallery{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:26px 22px}.case-gallery figure:first-child{grid-column:1/-1}.case-gallery img{display:block;width:100%;height:auto;object-fit:contain;cursor:default}.case-gallery figure:first-child img{max-height:510px}.case-gallery figcaption{padding-top:10px}.case-gallery figure{align-self:start}
@media(max-width:760px){.case-cover{height:auto;max-height:none}.case-gallery{grid-template-columns:1fr;gap:22px}.case-gallery figure:first-child{grid-column:auto}.case-gallery img,.case-gallery figure:first-child img{height:auto;max-height:none}}
