/* V0.16 – case editorial experience; scoped to the new case pages and modal CTA. */
html body.jgm-site #dialog-content .case-full-action .btn,html body.jgm-site #dialog-content .case-full-action .btn span{color:#fff!important;-webkit-text-fill-color:#fff!important;background:#3455FF;border-color:#3455FF;text-decoration:none!important}
html body.jgm-case-site{background:#F5F5F3!important;color:#101010!important}
html body.jgm-case-site .case-page :is(h1,h2,h3,strong,p,li){color:#101010!important;-webkit-text-fill-color:#101010!important}
html body.jgm-case-site .case-page :is(.cp-deck,.cp-context p,.cp-work-row p,.cp-section-head p,.cp-evidence p,.cp-flow-steps p){color:#282D33!important;-webkit-text-fill-color:#282D33!important}
html body.jgm-case-site .case-page :is(.blue,.eyebrow,.cp-number,.cp-step-no,.cp-step-dot,.cp-evidence-item>span){color:#3455FF!important;-webkit-text-fill-color:#3455FF!important}
html body.jgm-case-site .case-page a:not(.btn){color:#101010!important;-webkit-text-fill-color:#101010!important;text-decoration:none!important}
html body.jgm-case-site .case-page .btn,html body.jgm-case-site .case-page .btn span{color:#fff!important;-webkit-text-fill-color:#fff!important;background:#3455FF;border-color:#3455FF;text-decoration:none!important}
html body.jgm-case-site .case-page a:hover:not(.btn){color:#3455FF!important;-webkit-text-fill-color:#3455FF!important}
html body.jgm-case-site .header :is(a,button,span,strong){color:#101010;-webkit-text-fill-color:currentColor}
html body.jgm-case-site .footer :is(a,p,span,.signature){color:#F5F5F3!important;-webkit-text-fill-color:#F5F5F3!important}
.case-page{--cp-gap:clamp(64px,8vw,128px)}
.cp-breadcrumb{display:flex;gap:12px;flex-wrap:wrap;padding:24px 0;font-size:12px;color:#565b60;line-height:1.5}
.cp-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(30px,5vw,88px);align-items:center;padding:clamp(38px,5vw,80px) 0 var(--cp-gap)}
.cp-hero h1{font-size:clamp(40px,5.3vw,82px);letter-spacing:-.065em;line-height:1.04;max-width:850px}
.cp-brand{font-size:clamp(18px,2vw,26px);font-weight:700;letter-spacing:-.025em;margin:0 0 20px}
.cp-deck{font-size:clamp(17px,1.6vw,22px);line-height:1.55;max-width:58ch;margin-top:26px}
.cp-art{margin:0;min-width:0}.cp-art img{width:100%;height:auto;display:block}.cp-art figcaption{font-size:10px;letter-spacing:.13em;color:#565b60;text-align:right;margin-top:12px}
.cp-scope{border-block:1px solid #d4d5d3;padding:24px 0 28px;display:grid;grid-template-columns:1fr 3fr;gap:20px;align-items:center}.cp-scope .eyebrow{margin:0}.cp-scope>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.cp-scope>div>span{font-size:14px;font-weight:700;line-height:1.4;border-left:1px solid #d4d5d3;padding-left:16px}
.cp-context,.cp-section-head,.cp-evidence,.cp-contact{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(28px,6vw,104px);align-items:start}.cp-context,.cp-work,.cp-flow,.cp-evidence,.cp-next,.cp-contact{padding-block:var(--cp-gap);border-bottom:1px solid #d4d5d3}
.case-page h2{font-size:clamp(32px,3.6vw,56px);line-height:1.09;letter-spacing:-.045em}.cp-context p,.cp-evidence p{font-size:clamp(17px,1.6vw,20px);line-height:1.75;margin-top:25px}.cp-section-head{align-items:end;margin-bottom:48px}.cp-section-head p{font-size:17px;line-height:1.65;max-width:45ch}
.cp-work-row{display:grid;grid-template-columns:minmax(135px,.65fr) minmax(0,2.3fr) minmax(100px,.5fr);gap:clamp(20px,4vw,60px);padding:36px 0;border-top:1px solid #d4d5d3;align-items:start}.cp-work-row>div:first-child .eyebrow{margin:12px 0 0;font-size:10px}.cp-number{font-size:32px;line-height:1;font-weight:300;letter-spacing:-.03em}.cp-work-row h3{font-size:clamp(23px,2.4vw,34px);line-height:1.15}.cp-work-row p{font-size:16px;line-height:1.7;margin:15px 0 20px;max-width:66ch}.cp-tags{display:block;font-size:12px;letter-spacing:.025em;color:#565b60}.cp-work-link{font-size:14px;font-weight:700;border-bottom:1px solid #101010;padding-bottom:7px;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;white-space:nowrap}.cp-work-link span{color:#3455FF}
.cp-flow-steps{display:grid;grid-template-columns:repeat(var(--steps),minmax(0,1fr));list-style:none;margin:20px 0 0;padding:0;gap:0}.cp-flow-steps li{position:relative;padding:34px 24px 12px 0;border-top:1px solid #a6a9ac;min-width:0}.cp-flow-steps li:last-child{border-top-color:#3455FF}.cp-step-dot{position:absolute;top:-6px;left:0;display:block;width:11px;height:11px;border-radius:50%;background:#3455FF}.cp-step-no{display:block;font-size:11px;letter-spacing:.1em;margin-bottom:12px}.cp-flow-steps h3{font-size:clamp(18px,1.8vw,25px);line-height:1.2}.cp-flow-steps p{font-size:14px;line-height:1.6;margin:10px 0 0}.cp-flow-note{font-size:12px;margin-top:28px;color:#565b60!important}
.cp-evidence-links{padding:10px 0}.cp-evidence-item{display:flex;gap:15px;align-items:center;padding:20px 0;border-top:1px solid #d4d5d3;font-size:16px}.cp-evidence-item>span{font-size:11px}.cp-evidence-links .text-link{margin-top:16px;min-height:44px;display:inline-flex;align-items:center}.cp-next{display:grid;grid-template-columns:1fr 1fr;gap:32px;padding-block:50px}.cp-related{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 20px;padding:24px 0;border-bottom:1px solid #a6a9ac}.cp-related .eyebrow{grid-column:1/-1;margin-bottom:0}.cp-related strong{font-size:clamp(20px,2.5vw,34px);letter-spacing:-.045em;line-height:1.2}.cp-related>span:last-child{color:#3455FF;font-size:25px}.cp-contact{align-items:center;border:0}.cp-contact>.btn{justify-self:end}.cp-contact h2{max-width:18ch}
@media(max-width:1000px){.cp-scope>div{grid-template-columns:repeat(2,1fr)}.cp-hero h1{font-size:clamp(38px,5.5vw,58px)}.cp-work-row{grid-template-columns:110px minmax(0,1fr);gap:24px}.cp-work-link{grid-column:2;justify-self:start;gap:20px}.cp-flow-steps{grid-template-columns:repeat(var(--steps),minmax(0,1fr))}.cp-flow-steps li{padding-right:14px}}
@media(max-width:760px){.case-page{--cp-gap:76px}.cp-breadcrumb{font-size:11px;padding:18px 0}.cp-hero,.cp-context,.cp-section-head,.cp-evidence,.cp-contact{grid-template-columns:1fr;gap:25px}.cp-hero{padding:35px 0 52px}.cp-hero h1{font-size:clamp(37px,9vw,54px)}.cp-deck{margin-top:20px}.cp-art{max-width:560px;justify-self:center}.cp-art figcaption{text-align:left}.cp-scope{grid-template-columns:1fr;gap:20px}.cp-scope>div{gap:20px 12px}.cp-scope>div>span{font-size:13px;padding-left:10px}.cp-context p,.cp-evidence p{margin:0}.cp-section-head{margin-bottom:30px}.cp-work-row{grid-template-columns:1fr;gap:14px;padding:28px 0}.cp-work-row>div:first-child{display:flex;gap:15px;align-items:center}.cp-work-row>div:first-child .eyebrow{margin:0}.cp-number{font-size:25px}.cp-work-link{grid-column:1;min-height:44px}.cp-flow-steps{display:block;margin-left:5px}.cp-flow-steps li,.cp-flow-steps li:last-child{border-top:0;border-left:1px solid #a6a9ac;padding:0 0 30px 26px}.cp-step-dot{top:3px;left:-6px}.cp-flow-steps li:last-child{padding-bottom:10px}.cp-flow-note{margin-top:18px}.cp-next{grid-template-columns:1fr;gap:8px;padding-block:30px}.cp-contact>.btn{justify-self:start}.cp-evidence-links{padding:0}}

/* V0.17: two additional case cards; unchanged layout and interaction. */
html body.jgm-site #main #cases button.case-compact-mx{--card-bg:#E7E7E4;--card-fg:#101010;--card-line:#a7aaad}
html body.jgm-site #main #cases button.case-compact-ged{--card-bg:#282D33;--card-fg:#F5F5F3;--card-line:#8b9096}
