/* Contributions are descriptive cards, with the original project scope preserved. */
.case-story:has(>.scope-cards){grid-template-columns:minmax(0,1fr);gap:30px}
.case-story .scope.scope-cards{display:block;width:100%;border-top:1px solid var(--line);padding-top:26px}
.scope.scope-cards>h2{font-size:clamp(25px,3vw,36px);line-height:1.15;letter-spacing:-1px;font-weight:500;margin:0 0 22px}
.scope.scope-cards ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:0;border:0;list-style:none}
.scope.scope-cards[data-role-count="1"] ul{grid-template-columns:minmax(0,560px)}
.scope.scope-cards[data-role-count="2"] ul,.scope.scope-cards[data-role-count="4"] ul{grid-template-columns:repeat(2,minmax(0,1fr))}
.scope.scope-cards[data-role-count="5"] ul{grid-template-columns:repeat(6,minmax(0,1fr))}
.scope.scope-cards[data-role-count="5"] li{grid-column:span 2}
.scope.scope-cards[data-role-count="5"] li:nth-child(n+4){grid-column:span 3}
.scope.scope-cards .role-card{--role-colour:#7560be;min-width:0;padding:22px;border:1px solid var(--line);border-radius:16px;background:color-mix(in srgb,var(--role-colour) 5%,var(--bg));font-size:17px;line-height:1.5;white-space:normal;overflow-wrap:break-word}
.scope.scope-cards .role-design{--role-colour:#98619e}.scope.scope-cards .role-photo{--role-colour:#40899f}.scope.scope-cards .role-social{--role-colour:#b56b49}.scope.scope-cards .role-audio{--role-colour:#8f793b}.scope.scope-cards .role-web{--role-colour:#4b8b76}.scope.scope-cards .role-edit{--role-colour:#6567b1}
.role-card-top{display:flex;align-items:center;gap:12px;margin-bottom:18px;color:var(--role-colour)}
.role-card-top small{font-size:11px;line-height:1.3;letter-spacing:.1px;font-weight:500}
.role-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 auto;border-radius:11px;background:color-mix(in srgb,var(--role-colour) 12%,transparent)}
.role-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
.role-copy{display:block;color:var(--text);font-weight:500;max-width:none}
[data-theme=dark] .scope.scope-cards .role-card{--role-colour:#c2adf1}
[data-theme=dark] .scope.scope-cards .role-design{--role-colour:#e0a6d8}[data-theme=dark] .scope.scope-cards .role-photo{--role-colour:#94cce3}[data-theme=dark] .scope.scope-cards .role-social{--role-colour:#e8b193}[data-theme=dark] .scope.scope-cards .role-audio{--role-colour:#dbcd9a}[data-theme=dark] .scope.scope-cards .role-web{--role-colour:#9bd0ba}[data-theme=dark] .scope.scope-cards .role-edit{--role-colour:#b1b6ed}
.path-profit-promo{display:block;color:var(--text)}
.project-feature-link.path-profit-promo>img{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain;border-radius:16px}
.project-feature-link.path-profit-promo>.path-profit-promo-caption{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0 0;color:var(--muted);font-size:13px;line-height:1.5}
.path-profit-promo-caption strong{display:inline-flex;gap:18px;align-items:center;color:var(--text);font-weight:500;white-space:nowrap;border-bottom:1px solid var(--line);padding-bottom:6px}
.path-profit-promo:focus-visible{outline:2px solid var(--accent);outline-offset:8px;border-radius:16px}
@media(max-width:900px){.scope.scope-cards ul{grid-template-columns:repeat(2,minmax(0,1fr))}.scope.scope-cards[data-role-count="5"] ul{grid-template-columns:repeat(2,minmax(0,1fr))}.scope.scope-cards[data-role-count="5"] li{grid-column:auto}.scope.scope-cards[data-role-count="5"] li:last-child{grid-column:1/-1}}
@media(max-width:600px){
 .scope.scope-cards>h2{font-size:27px;margin-bottom:18px}
 .scope.scope-cards ul,.scope.scope-cards[data-role-count] ul{grid-template-columns:1fr;gap:12px}
 .scope.scope-cards[data-role-count] li,.scope.scope-cards[data-role-count="5"] li:nth-child(n+4){grid-column:auto}
 .scope.scope-cards .role-card{padding:18px 20px;font-size:16px;border-radius:14px}
 .role-card-top{margin-bottom:11px}.role-icon{width:34px;height:34px}.role-icon svg{width:21px;height:21px}
 .project-feature-link.path-profit-promo>img{border-radius:12px}
 .project-feature-link.path-profit-promo>.path-profit-promo-caption{flex-direction:column;align-items:flex-start;gap:12px;font-size:12px}
}
