.case-page { color:var(--ink,#171a20); background:white; }
.case-page * { box-sizing:border-box; }
.case-page a:focus-visible { outline:3px solid var(--blue,#2259ad); outline-offset:4px; border-radius:3px; }
.case-skip { position:absolute; inset:8px auto auto 10px; z-index:100; background:white; color:#1d3b5a; padding:8px 15px; transform:translateY(-180%); }
.case-skip:focus { transform:translateY(0); }
.case-main { max-width:1264px; margin:0 auto; padding:0 clamp(20px,5.4vw,80px); }
.case-bread { display:inline-block; margin-top:clamp(24px,4.5vw,56px); color:var(--muted,#53606e); font-size:.9rem; text-underline-offset:.2em; }
.case-top { display:grid; grid-template-columns:minmax(0,.97fr) minmax(0,1.06fr); gap:clamp(30px,5vw,85px); align-items:center; padding:clamp(27px,4vw,61px) 0 clamp(44px,6vw,90px); }
.case-top h1 { margin:.25em 0 .35em; font-size:clamp(2.9rem,4.6vw,5rem); font-weight:620; letter-spacing:-.065em; line-height:1.02; text-wrap:balance; }
.case-tag { color:var(--blue,#2259ad); font-size:.9rem; font-weight:620; margin:0; }
.case-intro { font-size:clamp(1.09rem,1.55vw,1.32rem); line-height:1.49; color:#414d5c; letter-spacing:-.018em; margin:0; max-width:43ch; }
.case-meta { border-top:1px solid #d9dfe4; margin:1.6rem 0 0; padding-top:.85rem; display:grid; gap:.72rem; }
.case-meta div { display:grid; grid-template-columns:70px 1fr; gap:1rem; line-height:1.4; }
.case-meta dt { font-size:.87rem; color:var(--muted,#53606e); }
.case-meta dd { margin:0; font-size:.92rem; font-weight:550; }
.case-main figure { margin:0; min-width:0; }
.case-frame { display:flex; align-items:center; justify-content:center; width:100%; overflow:hidden; border-radius:15px; background:#f2f4f6; }
.case-frame img { display:block; object-fit:contain; width:100%; height:100%; }
@media(hover:hover) and (prefers-reduced-motion:no-preference) { .case-frame img {transition:transform .25s ease;} .case-frame:hover img {transform:scale(1.014);} }
.case-primary .case-frame { aspect-ratio:1.18; }
.case-frame.model { background:radial-gradient(ellipse at 40% 30%, #fafbfc,#e8edf1); }
.case-frame.model img { padding:7%; mix-blend-mode:multiply; }
.case-frame.drawing { background:white; border:1px solid #dfe5e9; }
.case-frame.drawing img, .case-frame.screen img { padding:2%; }
.case-frame.screen { border:1px solid #e2e7eb; }
.case-frame.photo img { object-fit:cover; }
.case-main figcaption, .case-video-note { color:var(--muted,#53606e); font-size:.88rem; line-height:1.48; margin:.63rem 0 0; }
.case-body-section, .case-media { border-top:1px solid #dce1e7; padding:clamp(33px,5vw,72px) 0; }
.case-section-intro { display:grid; grid-template-columns:minmax(0,.78fr) minmax(0,1.12fr); gap:clamp(26px,7vw,115px); margin-bottom:clamp(24px,3.8vw,44px); }
.case-main h2 { margin:0; font-weight:600; font-size:clamp(1.9rem,3.15vw,3.25rem); line-height:1.05; letter-spacing:-.052em; text-wrap:balance; }
.case-section-intro p { margin:0; color:#475461; font-size:clamp(1rem,1.45vw,1.18rem); line-height:1.62; }
.case-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(16px,3vw,38px); align-items:start; }
.case-gallery .case-frame { aspect-ratio:1.38; }
.case-gallery .wide-figure { grid-column:1/-1; }
.case-gallery .wide-figure .case-frame { aspect-ratio:2.55; max-height:520px; }
.case-gallery .full-drawing .case-frame { aspect-ratio:1.95; }
.case-gallery .label-figure .case-frame { max-height:260px; }
.case-media video { display:block; width:100%; max-height:650px; border-radius:15px; background:#101419; }
.case-video-note { display:block; }
.case-links { display:flex; align-items:center; flex-wrap:wrap; gap:.8rem 1.65rem; }
.case-links a { color:var(--blue,#2259ad); text-underline-offset:.2em; font-size:.98rem; font-weight:550; }
.case-links .primary { color:white; background:#222c37; text-decoration:none; padding:.8rem 1.25rem; border-radius:999px; }
.case-links .primary:hover { background:#334358; }
.case-related { border-top:1px solid #dce1e7; padding:1.8rem 0; }
.case-next { color:var(--ink,#171a20); text-decoration:none; display:inline-flex; gap:1.05rem; align-items:center; }
.case-next .case-thumb { background:#f0f2f4; width:76px; height:62px; border-radius:8px; display:flex; align-items:center; overflow:hidden; }
.case-thumb img { width:100%; height:100%; object-fit:contain; }
.case-thumb .photo-thumb { object-fit:cover; }
.case-next span span { display:block; }
.case-next-label { color:var(--muted,#53606e); font-size:.88rem; margin-bottom:.25rem; }
.case-next-title { font-weight:600; font-size:1.1rem; letter-spacing:-.02em; }
.case-foot { background:#f4f5f7; color:#3e4954; }
.case-foot > div { display:flex; justify-content:space-between; gap:1rem; max-width:1264px; margin:0 auto; padding:1.5rem clamp(20px,5.4vw,80px); font-size:.9rem; }
.case-foot a { color:var(--muted,#53606e); text-underline-offset:.2em; }
@media(max-width:760px) {
 .case-top,.case-section-intro { grid-template-columns:1fr; }
 .case-top { gap:1.75rem; }
 .case-top h1 { max-width:15ch; }
 .case-primary .case-frame { aspect-ratio:1.48; max-height:450px; }
 .case-section-intro { gap:.82rem; }
 .case-bread { margin-top:22px; }
}
@media(max-width:550px) {
 .case-gallery { grid-template-columns:1fr; gap:1.5rem; }
 .case-gallery .wide-figure { grid-column:auto; }
 .case-gallery .wide-figure .case-frame { aspect-ratio:1.6; }
 .case-gallery .wide-figure.full-drawing .case-frame { aspect-ratio:1.4; }
 .case-links { align-items:flex-start; gap:1.25rem; }
 .case-links .primary { width:100%; text-align:center; }
}
