/* Case studies v11 — case-specific consulting decision chains and restored deliverables */
.cases-v3 { --case-accent:#28d0df; --case-blue:#2349d8; --case-ink:#06152c; }
.cases-v3 h1,.cases-v3 h2,.cases-v3 h3 { text-wrap:balance; }
.cases-v3 .case-phrase { display:inline-block; }
.cases-v3 .case-intro .intro-split h2 { font-size:clamp(34px,3.5vw,48px); }
.cases-v3 .case-detail-header::before { content:""; position:absolute; inset:0; z-index:0; background-position:center; background-size:cover; opacity:.64; }
.cases-v3 .case-detail-header::after { z-index:0; inset:0; width:auto; height:auto; border:0; border-radius:0; box-shadow:none; background:linear-gradient(90deg,rgba(4,14,35,.98) 0%,rgba(5,20,47,.91) 45%,rgba(5,19,44,.36) 78%,rgba(5,19,44,.18) 100%); }
.cases-v3 #case-cockpit .case-detail-header::before { background-image:url("../images/home-v3/deliverable-cockpit-public-v2.webp"); background-position:70% center; }
.cases-v3 #case-ev .case-detail-header::before { background-image:url("../images/home-v3/deliverable-ev-public-v2.webp"); background-position:75% center; }
.cases-v3 #case-interview .case-detail-header::before { background-image:url("../images/interviews-v2/global-intelligence-network-v2.webp"); background-position:64% center; }
.cases-v3 #case-global .case-detail-header::before { background-image:url("../images/home-v3/deliverable-global-public-v2.webp"); background-position:72% center; }
.cases-v3 .case-detail-title { min-height:470px; }
.cases-v3 .case-detail-title > * { position:relative; z-index:2; }

.cases-v3 .case-story-grid { --chain-accent:#244bd7; --stage-image:none; counter-reset:case-stage; gap:0; margin-top:-54px; padding:14px; overflow:visible; border:1px solid #d5e0ea; background:#edf2f6; box-shadow:0 30px 70px rgba(5,23,61,.16); }
.cases-v3 #case-cockpit .case-story-grid { --chain-accent:#1dcad8; --stage-image:url("../images/home-v3/deliverable-cockpit-public-v2.webp"); }
.cases-v3 #case-ev .case-story-grid { --chain-accent:#1d72d8; --stage-image:url("../images/home-v3/deliverable-ev-public-v2.webp"); }
.cases-v3 #case-interview .case-story-grid { --chain-accent:#7561e8; --stage-image:url("../images/interviews-v2/global-intelligence-network-v2.webp"); }
.cases-v3 #case-global .case-story-grid { --chain-accent:#139c9f; --stage-image:url("../images/home-v3/deliverable-global-public-v2.webp"); }
.cases-v3 .case-story-grid section { position:relative; counter-increment:case-stage; min-height:430px; padding:190px 24px 26px; overflow:visible; border:0; border-right:1px solid #d9e3ec; background:#fff; }
.cases-v3 .case-story-grid section:last-child { border-right:0; }
.cases-v3 .case-story-grid section::after { content:"0" counter(case-stage); position:absolute; left:22px; top:20px; color:var(--chain-accent); font-size:18px; line-height:1; font-weight:900; letter-spacing:-.04em; }
.cases-v3 .case-story-grid section > b { display:flex; align-items:center; min-height:28px; color:#68778b; font-size:9px; letter-spacing:.13em; }
.cases-v3 .case-story-grid section:not(:last-child) > b::after { content:""; position:absolute; z-index:3; right:-9px; top:108px; width:16px; height:16px; border-top:2px solid var(--chain-accent); border-right:2px solid var(--chain-accent); background:#fff; transform:rotate(45deg); box-shadow:5px -5px 0 #fff; }
.cases-v3 .case-story-grid h3 { margin-top:18px; font-size:17px; }
.cases-v3 .case-story-grid p { font-size:11px; line-height:1.82; }

.case-stage-visual { position:absolute; left:20px; right:20px; top:55px; height:116px; overflow:hidden; color:var(--chain-accent); border:1px solid #cfdbe6; background:#edf3f7; }
.case-stage-visual::before { content:""; position:absolute; inset:0; background-image:var(--stage-image); background-position:center; background-size:cover; opacity:.13; filter:saturate(.65) contrast(.9); }
.case-stage-visual::after { content:""; position:absolute; inset:0; background:linear-gradient(100deg,rgba(247,250,252,.95),rgba(241,247,251,.79) 55%,rgba(240,246,250,.9)); }
.case-story-grid section:nth-child(1) .case-stage-visual::before { background-position:20% center; }
.case-story-grid section:nth-child(2) .case-stage-visual::before { background-position:45% center; }
.case-story-grid section:nth-child(3) .case-stage-visual::before { background-position:70% center; }
.case-story-grid section:nth-child(4) .case-stage-visual::before { background-position:88% center; }
.stage-dimensions { position:absolute; z-index:2; top:7px; left:8px; right:8px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; }
.stage-dimensions i { min-width:0; padding:4px 3px; overflow:hidden; color:#36506d; background:rgba(255,255,255,.72); border:1px solid rgba(94,119,147,.16); font-style:normal; font-size:6px; line-height:1; font-weight:900; letter-spacing:.06em; text-align:center; text-overflow:ellipsis; white-space:nowrap; }
.case-stage-visual svg { position:absolute; z-index:2; left:7px; right:7px; bottom:3px; width:calc(100% - 14px); height:78px; }
.case-stage-visual svg * { vector-effect:non-scaling-stroke; }
.stage-grid { fill:none; stroke:#7890aa; stroke-width:1; opacity:.24; }
.stage-link { fill:none; stroke:currentColor; stroke-width:1.8; opacity:.72; }
.stage-muted-line { fill:none; stroke:#7c8fa6; stroke-width:1.3; opacity:.5; }
.stage-dash { fill:none; stroke:#18aebb; stroke-width:1.4; stroke-dasharray:4 3; opacity:.68; }
.stage-node { fill:#fff; stroke:currentColor; stroke-width:1.8; }
.stage-core { fill:#fff; stroke:currentColor; stroke-width:1.6; }
.stage-fill { fill:currentColor; opacity:.16; }
.stage-teal { fill:#18b5c1; opacity:.72; }
.stage-accent { fill:currentColor; opacity:.84; }
.stage-muted { fill:#8294a9; opacity:.55; }
.stage-zone { fill:#18b5c1; opacity:.12; }
.stage-risk { fill:rgba(183,105,96,.11); stroke:#b56960; stroke-width:1.7; }
.stage-check { fill:none; stroke:#fff; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.cases-v3 .case-story-grid section > b::before { content:attr(data-chain-label); margin-right:8px; color:var(--chain-accent); font-size:8px; font-weight:900; letter-spacing:.1em; }
.cases-v3 .case-output-block { padding-top:82px; }
.cases-v3 .case-output-heading { padding-bottom:18px; border-bottom:1px solid #dbe4ed; }
.cases-v3 .case-sample-gallery .artifact-card,.cases-v3 .mini-deliverable { border-radius:0; box-shadow:0 18px 46px rgba(5,23,61,.11); }

@media (max-width:1100px) {
  .cases-v3 .case-story-grid { grid-template-columns:repeat(2,1fr); }
  .cases-v3 .case-story-grid section:nth-child(2) { border-right:0; }
  .cases-v3 .case-story-grid section:nth-child(-n+2) { border-bottom:1px solid #d9e3ec; }
  .cases-v3 .case-story-grid section:not(:last-child) > b::after { display:none; }
}
@media (max-width:860px) {
  .cases-v3 .case-detail-title { min-height:500px; }
  .cases-v3 .case-detail-header::after { background:linear-gradient(90deg,rgba(4,14,35,.97),rgba(5,20,47,.8) 70%,rgba(5,19,44,.45)); }
}
@media (max-width:600px) {
  .cases-v3 .case-detail-title h2 { font-size:30px; }
  .cases-v3 .case-intro .intro-split h2 { font-size:32px; }
  .cases-v3 .case-story-grid { grid-template-columns:1fr; margin-top:-28px; padding:8px; }
  .cases-v3 .case-story-grid section,.cases-v3 .case-story-grid section:nth-child(2) { min-height:auto; padding:190px 20px 24px; border-right:0; border-bottom:1px solid #d9e3ec; }
  .cases-v3 .case-story-grid section:last-child { border-bottom:0; }
  .case-stage-visual { left:18px; right:18px; height:116px; }
  .stage-dimensions i { font-size:7px; }
  .cases-v3 .case-detail-header::before { opacity:.45; background-position:center; }
  .cases-v3 .case-detail-title { min-height:490px; }
}
@media (max-width:360px) {
  .cases-v3 .case-intro .intro-split h2 { font-size:28px; }
}
