/* Managed project pages only; existing V11 case design remains untouched. */
.cms-project-page{padding:0 0 100px;min-height:100vh; background:var(--cms-theme,#111);color:var(--cms-ink,#fff);}
/* Higher specificity than the original V11 case-view page rule. */
body.case-view main#cms-project.cms-project-page{background:var(--cms-theme,#111);color:var(--cms-ink,#fff);}
.cms-wrap{width:min(1180px,calc(100% - 40px));margin-inline:auto;}
.cms-top{padding-top:110px;padding-bottom:38px;}
.cms-back{display:inline-block;color:inherit;text-decoration:none;opacity:.68;font-size:13px;margin-bottom:54px;}
.cms-back:hover{opacity:1;}
.cms-eyebrow{font:600 11px/1.6 Arial,sans-serif;letter-spacing:.24em;text-transform:uppercase;opacity:.65;}
.cms-project-page h1{font:600 clamp(36px,5vw,86px)/1.05 -apple-system,BlinkMacSystemFont,"Noto Sans SC",sans-serif;letter-spacing:-.035em;margin:20px 0 30px;}
.cms-lead{font-size:clamp(14px,1.35vw,19px);line-height:1.9;max-width:820px;opacity:.78;}
.cms-meta{display:flex;gap:35px;flex-wrap:wrap;border-top:1px solid currentColor;margin-top:50px;padding-top:24px;border-color:color-mix(in srgb,currentColor 24%,transparent);font:13px/1.6 Arial,sans-serif;opacity:.78;}
.cms-meta strong{display:block;font-size:10px;letter-spacing:.16em;opacity:.58;margin-bottom:5px;}
.cms-body{display:flex;flex-direction:column;gap:74px;padding-top:35px;}
.cms-body .cms-block-heading h2{font:600 clamp(26px,3.1vw,50px)/1.15 -apple-system,BlinkMacSystemFont,"Noto Sans SC",sans-serif;letter-spacing:-.025em;margin:0;}
.cms-body .cms-block-text{max-width:880px;line-height:1.95;font-size:clamp(15px,1.25vw,19px);}
.cms-body .cms-block-text h3{font-size:20px;margin:0 0 15px;}
.cms-body .cms-block-text p,.cms-quote{white-space:pre-wrap;opacity:.85;}
.cms-body figure{margin:0;}
.cms-body img,.cms-body video{display:block;max-width:100%;height:auto;width:100%;object-fit:contain;border:0;}
.cms-body figcaption{font-size:12px;opacity:.6;margin-top:14px;line-height:1.7;}
.cms-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
.cms-gallery img{height:100%;object-fit:cover;min-height:160px;}
.cms-media{width:100%;}
.cms-video{width:100%;background:#101010;max-height:80vh;}
.cms-block-quote{font:italic clamp(20px,2.4vw,36px)/1.5 Georgia,serif;opacity:.8;padding:20px 5vw;border-left:2px solid currentColor;}
.cms-body hr{width:100%;border:0;border-top:1px solid currentColor;opacity:.2;}
.cms-work-new .media{background:#191919;}
.cms-work-new .media img{width:100%;height:100%;object-fit:cover;display:block;}
.cms-work-new .project-meta{padding-top:15px;}
.cms-work-new .project-meta b{display:block;font-size:17px;}
.cms-work-new .project-meta span{display:block;font-size:13px;opacity:.6;line-height:1.5;margin-top:4px;}
@media(max-width:720px){.cms-top{padding-top:80px}.cms-gallery{grid-template-columns:1fr}.cms-body{gap:42px}.cms-meta{gap:18px}}
