/* ==========================================================================
   Case studies built from a client review (#225).
   Generated by scripts/build_case_pages.py: case-studies/*.html and the
   "Client results" section on /our-work. The review card itself is styled in
   proof.css.
   ========================================================================== */
.cs-page .profile-back { display: block; width: max-content; }
.cs-page .how-title { max-width: 24ch; }
.cs-page .eng-lead { margin-bottom: 0; }

/* The figures the client gave */
.cs-stats { list-style: none; margin: var(--space-10) 0 0; padding: 0; display: grid; gap: var(--space-4); }
.cs-stats li { display: grid; gap: var(--space-1); padding: var(--space-5) var(--space-6); border-left: 3px solid var(--color-primary); background: var(--color-surface); border-radius: 0 var(--radius) var(--radius) 0; }
.cs-stats strong { font-family: var(--font-heading); font-size: var(--text-4xl); line-height: 1.1; letter-spacing: -0.02em; color: var(--color-text); font-variant-numeric: tabular-nums; }
.cs-stats span { font-size: var(--text-sm); color: var(--color-text-muted); }
@media (min-width: 760px) { .cs-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Who, what, when */
.cs-facts { margin: var(--space-10) 0 0; display: grid; gap: var(--space-5) var(--space-8); }
.cs-facts dt { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-dim); }
.cs-facts dd { margin: var(--space-1) 0 0; font-size: var(--text-sm); line-height: 1.5; color: var(--color-text); }
@media (min-width: 600px) { .cs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cs-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.cs-covers { margin-top: var(--space-6); max-width: 72ch; }
.cs-intro { margin: var(--space-2) 0 0; max-width: 64ch; color: var(--color-text-muted); }
.cs-review { margin-top: var(--space-8); }
/* The closing line: the way of working that fits a project like this one. */
.cs-next { margin-top: var(--space-3); }
.cs-review .rv__client { font-family: var(--font-heading); font-weight: 600; font-size: var(--text-xl) !important; line-height: 1.25 !important; color: var(--color-text); }
.cs-review .rv__side { position: static; }

/* Cards that link to a case study: on each page and on /our-work */
.cs-more { margin-top: var(--space-6); }
.cs-card h2, .cs-card h3 { margin: 0; font-size: var(--text-xl); }
.cs-card p:not(.section-label) { font-size: var(--text-sm); line-height: 1.6; }
main section.cs-listing { padding-top: 0; }
.cs-listing .team-heading { margin-bottom: 0; }
