/* Case study galleries: framed page designs, phone views and plain images. Loaded only on /work/<case>/ pages. */
.cs-work { display: grid; gap: 28px; margin-block: 8px 48px; }
.cs-work > h2 { margin: 0; }
.cs-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }
.cs-phones { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; background: var(--gw-bone); border-radius: var(--r-lg); padding: 36px 20px; }
.cs-fig { margin: 0; display: grid; gap: 8px; min-width: 0; align-content: start; }
.cs-fig figcaption { font-size: 0.82rem; color: var(--muted); }
.cs-plain img { display: block; width: 100%; height: auto; border-radius: var(--r-md); background: var(--gw-bone); }
.cs-browser { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-soft); background: var(--gw-warm-white); box-shadow: 0 18px 40px -24px rgba(24, 25, 27, .35); }
.cs-bar { display: flex; gap: 6px; align-items: center; height: 30px; padding: 0 12px; background: var(--gw-bone); }
.cs-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); opacity: .45; }
.cs-view { max-height: 640px; overflow-y: auto; overscroll-behavior: contain; }
.cs-view img { display: block; width: 100%; height: auto; }
.cs-short .cs-view { max-height: none; }
.cs-phone { width: 240px; max-width: 100%; border-radius: 30px; padding: 10px; background: var(--ink); box-shadow: 0 18px 40px -22px rgba(24, 25, 27, .5); }
.cs-phone .cs-view { border-radius: 22px; max-height: 470px; background: var(--gw-warm-white); }
.cs-view:focus-visible { outline: 2px solid var(--gw-orange); outline-offset: 2px; }
.case-meta dd br + * { display: inline; }
/* Case study callout used on service and industry pages */
.cs-callout { display: grid; gap: 20px; align-items: center; border-radius: var(--r-lg); background: var(--gw-warm-white); padding: 14px; text-decoration: none; color: inherit; }
@media (min-width: 720px) { .cs-callout { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; padding: 16px 28px 16px 16px; } }
.cs-callout img { display: block; width: 100%; height: auto; aspect-ratio: 1184 / 864; object-fit: cover; border-radius: 14px; }
.cs-callout h3 { margin: 6px 0 8px; }
.cs-callout p { margin: 0 0 12px; color: var(--muted); }
.cs-callouts { display: grid; gap: 18px; }
