/* SWD Case study brief — the brief beside a "What we built" card with the stack. */
.swd.swd-casebrief { --brand: var(--a); }
.swd-casebrief .cb { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.swd-casebrief .cb__main { position: sticky; top: 110px; }
.swd-casebrief .cb__h { font-size: clamp(34px, 4.2vw, 58px); max-width: 15ch; }
.swd-casebrief .cb__text { display: grid; gap: 18px; margin-top: 28px; max-width: 600px; }
.swd-casebrief .cb__text p { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--muted); }
.swd-casebrief .cb__text p:first-child { color: #DCE2EF; }

.swd-casebrief .cb__card { position: relative; overflow: hidden; padding: clamp(26px, 3.4vw, 44px); border-radius: 32px; background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 40%), var(--card); box-shadow: inset 0 0 0 1px var(--edge), 0 40px 80px -50px rgba(0, 0, 0, .8); }
.swd-casebrief .cb__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 20%, transparent)); }
.swd-casebrief .cb__card::after { content: ""; position: absolute; z-index: 0; top: -140px; right: -140px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 22%, transparent), transparent); pointer-events: none; }
.swd-casebrief .cb__card > * { position: relative; z-index: 1; }
.swd-casebrief .cb__label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.swd-casebrief .cb__label::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); }
.swd-casebrief .cb__list { margin-top: 14px; counter-reset: none; }
.swd-casebrief .cb__list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--edge); }
.swd-casebrief .cb__list li:last-child { border-bottom: 0; }
.swd-casebrief .cb__list b { font-size: 14px; font-weight: 500; color: var(--a); font-variant-numeric: tabular-nums; padding-top: 3px; }
.swd-casebrief .cb__list span { font-size: 17px; line-height: 1.45; color: #E6EAF3; }
.swd-casebrief .cb__stack { margin-top: 18px; padding-top: 26px; border-top: 1px solid var(--edge); }
.swd-casebrief .cb__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.swd-casebrief .cb__tags li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--edge); font-size: 14.5px; font-weight: 500; color: #DCE2EF; }

@media (max-width: 900px) {
	.swd-casebrief .cb { grid-template-columns: minmax(0, 1fr); }
	.swd-casebrief .cb__main { position: static; }
}
@media (max-width: 640px) {
	.swd-casebrief .cb__card { border-radius: 26px; padding: 24px 20px; }
	.swd-casebrief .cb__list li { grid-template-columns: 34px minmax(0, 1fr); padding: 15px 0; }
	.swd-casebrief .cb__list span { font-size: 16px; }
}
