/* Site-wide editorial shell, derived from the homepage palette and glass surfaces. */
body.studio-case-shell .cu{background:transparent;color:#0c3f51}
body.studio-case-shell .cu .w{width:min(1200px,calc(100% - 64px));margin-inline:auto}
body.studio-case-shell .cu-mast{padding:clamp(56px,7vw,96px) 0 40px}
body.studio-case-shell .cu-mast .w:not(.cu-backrow){grid-template-columns:1fr 1fr;gap:clamp(24px,5vw,72px);align-items:end}
body.studio-case-shell .cu h1{font-size:clamp(38px,5.5vw,76px);line-height:1.08;letter-spacing:-.015em;overflow-wrap:anywhere}
body.studio-case-shell .cu-kind{font-size:16px;line-height:1.5;opacity:.8}
body.studio-case-shell .cu-intro{font-size:clamp(18px,1.5vw,21px);line-height:1.75;max-width:58ch}
body.studio-case-shell .cu-back,body.studio-case-shell .cu-links a{background:rgba(255,255,255,.6);border:1px solid rgba(12,63,81,.14);box-shadow:inset 0 1px 0 #fff,0 3px 12px rgba(12,63,81,.04);border-radius:999px;min-height:44px;padding:10px 20px;line-height:1.3}
body.studio-case-shell .cu-hero{background:transparent;margin:0;padding:8px 0 40px}
body.studio-case-shell .cu-hero .w{align-items:center;flex-wrap:wrap;background:rgba(255,255,255,.42);border:1px solid rgba(255,255,255,.88);border-radius:30px;padding:clamp(12px,2vw,24px);box-shadow:0 12px 36px rgba(12,63,81,.07)}
body.studio-case-shell .cu-hero :is(img,video){max-width:100%;max-height:820px;object-fit:contain;border-radius:22px;box-shadow:none}
body.studio-case-shell .cu-sec,body.studio-case-shell .cu-sec:nth-of-type(even){background:transparent;padding-block:clamp(40px,6vw,80px)}
body.studio-case-shell .cu h2{font-size:clamp(28px,3vw,42px);line-height:1.2;letter-spacing:-.01em}
body.studio-case-shell .cu-copy p{line-height:1.8;max-width:58ch;opacity:.92}
body.studio-case-shell .cu-media :is(img,video){border-radius:24px;box-shadow:0 10px 28px rgba(12,63,81,.07)}
body.studio-case-shell .cu-media.one :is(img,video){height:auto;max-height:none;object-fit:contain}
body.studio-case-shell .cu-scope{background:transparent;padding-block:clamp(40px,6vw,80px)}
body.studio-case-shell .cu-scope .card{background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.85);border-radius:26px;box-shadow:0 8px 28px rgba(12,63,81,.05)}
body.studio-case-shell .cu-next{width:min(1200px,calc(100% - 64px));margin:32px auto;background:rgba(255,255,255,.6);color:#0c3f51;border:1px solid rgba(255,255,255,.88);border-radius:30px;padding:clamp(24px,4vw,48px);box-shadow:0 10px 32px rgba(12,63,81,.06)}
body.studio-case-shell .cu-next .w{width:100%}
body.studio-case-shell .cu-cta{background:rgba(189,211,226,.24);border-top:1px solid rgba(255,255,255,.7);padding-block:clamp(48px,6vw,80px);color:#0c3f51}
body.studio-case-shell .cu-cta h2{color:#0c3f51}
body.studio-case-shell .cu-cta .btn-primary{background:#0c3f51;color:#fff;border-radius:999px;min-height:50px;padding:12px 26px;box-shadow:0 4px 12px rgba(12,63,81,.14)}
body.legal-page .legal-card{border-radius:30px;background:rgba(255,255,255,.65);border:1px solid rgba(255,255,255,.9);box-shadow:0 12px 36px rgba(12,63,81,.07);line-height:1.85}
body.legal-page .legal-title{font-size:clamp(38px,5vw,68px);line-height:1.15}
body.legal-page .legal-card h2{font-size:clamp(23px,2.5vw,30px);line-height:1.35;margin-top:32px}
@media(max-width:700px){body.studio-case-shell .cu .w{width:calc(100% - 36px)}body.studio-case-shell .cu-mast .w:not(.cu-backrow){grid-template-columns:1fr;gap:22px}body.studio-case-shell .cu-mast{padding-top:48px}body.studio-case-shell .cu-sec .w{grid-template-columns:1fr;gap:24px}body.studio-case-shell .cu-sec.flip .cu-media{order:initial}body.studio-case-shell .cu-hero .w{padding:10px;border-radius:24px}body.studio-case-shell .cu-hero :is(img,video){max-height:none}body.studio-case-shell .cu-scope .cards{grid-template-columns:1fr}body.studio-case-shell .cu-next{width:calc(100% - 36px);border-radius:24px}body.studio-case-shell .cu-next .w{width:100%}body.studio-case-shell .cu-links a{flex:0 1 auto}body.legal-page .legal-card{padding:24px 20px}}

/* Ensure shared shell wins over legacy case-specific navigation rules. */
/* Small responsive refinements. Existing brand, hero and portfolio stay intact. */
body:is(.studio-case-shell,.legal-page) .nav{width:min(1380px,calc(100% - 32px));top:max(12px,env(safe-area-inset-top));margin-block-start:max(12px,env(safe-area-inset-top));box-shadow:0 10px 32px rgba(12,63,81,.12),inset 0 1px 0 rgba(255,255,255,.8)}
body:is(.studio-case-shell,.legal-page) .nav .brand{min-width:0;gap:10px}
body:is(.studio-case-shell,.legal-page) .nav a:focus-visible,body:is(.studio-case-shell,.legal-page) .nav button:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
body:is(.studio-case-shell,.legal-page) :is(section[id],article[id],.client-card[id]){scroll-margin-block-start:110px}
body:is(.studio-case-shell,.legal-page) .final-card :is(input,textarea,select){font-size:16px;min-width:0}
body:is(.studio-case-shell,.legal-page) .final-card textarea{resize:vertical;min-height:128px}
body:is(.studio-case-shell,.legal-page) .final-card .lead-pair>*{min-width:0}
body:is(.studio-case-shell,.legal-page) .final-card .lead-status{overflow-wrap:anywhere}
body:is(.studio-case-shell,.legal-page) .final-card .lead-hint{line-height:1.6}
@media(max-width:1279px){
 body:is(.studio-case-shell,.legal-page) .nav{padding:9px 12px;gap:12px}
 body:is(.studio-case-shell,.legal-page) .nav .brand bdi{font-size:clamp(13px,2.6vw,17px);white-space:nowrap}
 body:is(.studio-case-shell,.legal-page) .nav .nav-toggle{display:grid;width:44px;min-width:44px;height:44px;background:rgba(255,255,255,.55);border:1px solid rgba(12,63,81,.12);box-shadow:0 3px 10px rgba(12,63,81,.05)}
 body:is(.studio-case-shell,.legal-page) .nav .nav-toggle[aria-expanded=true]{background:var(--teal);color:#fff;border-color:transparent}
 body:is(.studio-case-shell,.legal-page) .nav .nav-links{position:absolute;inset-inline:-1px;top:calc(100% + 10px);width:auto;max-height:calc(100dvh - 112px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:12px;gap:6px;grid-template-columns:repeat(2,minmax(0,1fr));border-radius:26px;background:rgba(244,247,248,.94);border:1px solid rgba(255,255,255,.94);box-shadow:0 18px 44px rgba(12,63,81,.18);backdrop-filter:blur(26px) saturate(130%);-webkit-backdrop-filter:blur(26px) saturate(130%);overscroll-behavior:contain;scrollbar-gutter:stable}
 body:is(.studio-case-shell,.legal-page) .nav .nav-links>a{min-height:48px;padding:12px 8px;font-size:16px;font-weight:600;background:transparent;border:1px solid transparent;border-radius:15px;line-height:1.3}
 body:is(.studio-case-shell,.legal-page) .nav .nav-links>a:hover,body:is(.studio-case-shell,.legal-page) .nav .nav-links>a:focus-visible{background:rgba(189,211,226,.4)}
 body:is(.studio-case-shell,.legal-page) .nav .nav-links>.nav-mobile-cta{min-height:48px;grid-column:1/-1;margin-top:5px;border-radius:999px;background:var(--teal);color:#fff;box-shadow:0 6px 16px rgba(12,63,81,.14)}
}
@media(max-width:400px){body:is(.studio-case-shell,.legal-page) .nav{width:calc(100% - 24px)}body:is(.studio-case-shell,.legal-page) .nav .brand{gap:7px}body:is(.studio-case-shell,.legal-page) .nav .nav-links>a{font-size:15.5px}body:is(.studio-case-shell,.legal-page) .final-card{padding:22px 18px}}
@media(prefers-reduced-transparency:reduce){body:is(.studio-case-shell,.legal-page) .nav,body:is(.studio-case-shell,.legal-page) .nav .nav-links{background:#f3f6f8;backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){body:is(.studio-case-shell,.legal-page) .nav .nav-links{transition:none}}
/* Keep the same breakpoint on project and service pages. */
@media(max-width:1279px){
 body:is(.studio-case-shell,.legal-page) .nav .nav-cta .btn-primary{display:none}
 body:is(.studio-case-shell,.legal-page) .nav .nav-links{display:grid;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-8px);transition:opacity .18s ease,transform .18s ease,visibility .18s}
 body:is(.studio-case-shell,.legal-page) .nav .nav-links.open{opacity:1;visibility:visible;pointer-events:auto;transform:none}
}
@media(prefers-reduced-motion:reduce){body:is(.studio-case-shell,.legal-page) .nav .nav-links{transition:none}}
/* 23 October: match the general site's glass navigation, keep all labels. */
body:is(.studio-case-shell,.legal-page) .nav{background:linear-gradient(-155deg,rgba(255,255,255,.94),rgba(250,249,246,.72) 40%,rgba(245,244,238,.75));border:1px solid rgba(255,255,255,.86);border-radius:32px;box-shadow:0 12px 36px rgba(21,62,75,.11),0 2px 7px rgba(21,62,75,.05),inset 0 1px 0 #fff,inset 0 -1px 0 rgba(255,255,255,.5);backdrop-filter:blur(30px) saturate(165%);-webkit-backdrop-filter:blur(30px) saturate(165%)}
@media(min-width:1280px){body:is(.studio-case-shell,.legal-page) .nav{width:min(1320px,calc(100% - 80px));padding:11px 20px;top:16px;margin-top:16px}body:is(.studio-case-shell,.legal-page) .nav .nav-btn{min-height:50px;padding:12px 24px;box-shadow:0 4px 12px rgba(18,62,75,.14),inset 0 1px 0 rgba(255,255,255,.15)}body:is(.studio-case-shell,.legal-page) .nav .nav-links>a{min-height:46px;padding-inline:12px}}
@media(max-width:1279px){body:is(.studio-case-shell,.legal-page) .nav{border-radius:28px}body:is(.studio-case-shell,.legal-page) .nav .nav-toggle{width:52px;min-width:52px;border-radius:999px;background:rgba(255,255,255,.55);box-shadow:inset 0 1px 0 #fff,0 2px 8px rgba(18,62,75,.05)}body:is(.studio-case-shell,.legal-page) .nav .nav-links{background:linear-gradient(-150deg,rgba(255,255,255,.98),rgba(246,248,248,.94));box-shadow:0 12px 36px rgba(21,62,75,.13),inset 0 1px 0 #fff}body:is(.studio-case-shell,.legal-page) .nav .nav-links>a{border-radius:999px}body:is(.studio-case-shell,.legal-page) .nav .nav-toggle[aria-expanded=true]{background:var(--teal)}}
/* Remove the redundant fixed CTA and keep the accessibility control out of the header. */
body:is(.studio-case-shell,.legal-page) .tools-root .cta-bar{display:none!important}
body:is(.studio-case-shell,.legal-page) .tools-root .a11y-btn{position:fixed!important;top:auto!important;bottom:calc(20px + env(safe-area-inset-bottom,0px))!important;right:20px!important;left:auto!important;inset-inline-start:auto!important;inset-inline-end:auto!important;width:48px!important;height:48px!important;transform:none!important}
body:is(.studio-case-shell,.legal-page) .tools-root .a11y-panel{top:auto!important;bottom:calc(80px + env(safe-area-inset-bottom,0px))!important;right:16px!important;left:auto!important;max-height:calc(100dvh - 110px);overflow-y:auto}
body:is(.studio-case-shell,.legal-page) .foot .foot-identity{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
body:is(.studio-case-shell,.legal-page) .foot .foot-line{display:flex;flex-direction:column;align-items:center;gap:8px;margin:0;line-height:1.7}
body:is(.studio-case-shell,.legal-page) .foot .foot-contact-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 18px}
body:is(.studio-case-shell,.legal-page) .foot .foot-contact-row a{white-space:nowrap}
@media(max-width:560px){body:is(.studio-case-shell,.legal-page) .tools-root .a11y-btn{right:14px!important;bottom:calc(16px + env(safe-area-inset-bottom,0px))!important;width:44px!important;height:44px!important}body:is(.studio-case-shell,.legal-page) .foot .foot-contact-row{gap:4px 14px;font-size:16px}}
@media(prefers-reduced-transparency:reduce){body:is(.studio-case-shell,.legal-page) .nav,body:is(.studio-case-shell,.legal-page) .nav .nav-links{background:#f7f8f8;backdrop-filter:none;-webkit-backdrop-filter:none}}
body:is(.studio-case-shell,.legal-page) .tools-root .a11y-btn{inset-inline-start:auto!important;inset-inline-end:20px!important}
@media(max-width:560px){body:is(.studio-case-shell,.legal-page) .tools-root .a11y-btn{inset-inline-end:14px!important}}
/* Override the legacy compact-screen dock, which otherwise moves this control. */
html body:is(.studio-case-shell,.legal-page) .tools-root[class] button.a11y-btn{top:auto!important;bottom:calc(20px + env(safe-area-inset-bottom,0px))!important;inset-inline-start:auto!important;inset-inline-end:20px!important;right:20px!important;left:auto!important}
@media(max-width:560px){html body:is(.studio-case-shell,.legal-page) .tools-root[class] button.a11y-btn{bottom:calc(16px + env(safe-area-inset-bottom,0px))!important;inset-inline-end:14px!important;right:14px!important;left:auto!important}}

body.studio-case-shell{background:#f0f0f0}body.studio-case-shell .cu-mast::before,body.studio-case-shell .cu-mast::after{display:none}body.studio-case-shell .cu{padding-bottom:0}
/* Light vector logos need their original brand contrast inside the shared shell. */
body.studio-case-shell .cu-hero img[src*=".svg"]{padding:clamp(24px,4vw,48px);box-sizing:border-box;object-fit:contain;aspect-ratio:2/1}
body.studio-case-shell .cu-hero img[src*="zohar-wordmark-milk"]{background:#382a24}
body.studio-case-shell .cu-hero img[src*="lumera-logo-light"]{background:#59604f}
body.studio-case-shell .cu-hero img[src*="lockup-stacked-cream"]{background:#183b32}
body.studio-case-shell .cu-hero img[src*="monogram-cream"]{background:#8e596a}
body.studio-case-shell .cu-hero img[src*="logotype-primary-cream"]{background:#541d31}
