/* Dedicated case-study palette loaded after the shared theme. */
body.case-study{background:#fff;color:#222;color-scheme:light}
.case-study main>.section,.case-study .caseiro-reel,.case-study .rodrigo-feature,.case-study .topburger-feed,.case-study .lifestyle-case-study,.case-study .topburger-customer-dashboard{background:#fff!important;background-image:none!important;color:#222!important}
.case-study main :is(h1,h2,h3,h4,p,li,dt,dd,figcaption,small){color:#333!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important}
.case-study main :is(h1,h2,h3,h4){font-family:Manrope,Arial,sans-serif!important;font-weight:700!important;line-height:1.2!important;letter-spacing:-.035em!important;text-transform:none!important}
.case-study main :is(p,li,dd,figcaption){line-height:1.75!important}
.case-study main :is(p,li,dd){color:#4a4a4a!important}
.case-study main :is(figcaption,small){color:#555!important}
.case-study .case-hero{background:#fff0e5!important;color:#222!important}
.case-study .case-hero h1{font-size:clamp(44px,8vw,120px)!important;line-height:1.05!important;letter-spacing:-.055em!important;overflow-wrap:anywhere}
.case-study .case-hero h1 span{color:#a63700!important;-webkit-text-fill-color:currentColor!important}
.case-study .case-lead p{font-family:'DM Sans',Arial,sans-serif!important;font-size:clamp(18px,2.2vw,28px)!important;line-height:1.5!important}
.case-study main .eyebrow,.case-study .case-back,.case-study main .section-heading>span,.case-study .scope-grid article>span,.case-study .topburger-design-rationale article>span{color:#993300!important;-webkit-text-fill-color:currentColor!important}
.case-study main a:not(.button):not(.caseiro-play){color:#993300!important;-webkit-text-fill-color:currentColor!important}
.case-study main .button,.case-study .caseiro-play{background:#ad3b00!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.case-study .scope-grid article,.case-study .proof-grid article,.case-study .topburger-design-rationale article{background:#f7f5f1!important;border-color:#d6d0c8!important}
.case-study .section-heading,.case-study .case-overview dl>div,.case-study .dashboard-story li,.case-study .topburger-customer-dashboard{border-color:#d6d0c8!important}
.case-study .topburger-design-rationale{background:#d6d0c8!important;border-color:#d6d0c8!important}
.case-study .rodrigo-intro,.case-study .rodrigo-grid p,.case-study .rodrigo-grid small,.case-study .rodrigo-feature .section-heading>p,.case-study .proof-note{color:#4a4a4a!important;-webkit-text-fill-color:currentColor!important}
/* Preserve legibility within the dark device and Instagram mockups. */
.case-study :is(.browser-bar,.instagram-phone,.ig-header,.ig-footer,.ig-caption,.instagram-ui) :is(span,p,small,strong,a){color:#f5f5f5!important;-webkit-text-fill-color:currentColor!important}
.case-study .dashboard-order.active,.case-study .dashboard-order.active :is(p,small,strong,span,b){color:#fff9ef!important;-webkit-text-fill-color:currentColor!important}
.case-study .lifestyle-case-study::before{display:none}
.case-study .contact{background:#fff;color:#222}.case-study .contact h2{font-family:Manrope,Arial,sans-serif;font-weight:700;font-size:clamp(42px,7vw,100px);line-height:1.08;letter-spacing:-.05em}
@media(max-width:760px){.case-study .case-hero h1{font-size:clamp(42px,11vw,70px)!important}.case-study main p{font-size:16px}.case-study .case-lead p{font-size:18px!important}}
/* White scope-of-work cards. */
.case-study .case-scope,.case-study .case-scope .scope-grid,.case-study .scope-grid,.case-study .scope-grid article{background:#fff!important;background-image:none!important}.case-study .scope-grid article{border-color:#dedede!important}.case-study .scope-grid h3{color:#222!important}.case-study .scope-grid p{color:#4a4a4a!important}
