/* ══════════════════════════════════════════════════════════════════════════
   Case studies (work/) and the screenshot rows on services/payload-cms/.

   Loaded after fern.css and services.css: the hero, intro, crumbs, FAQ,
   cards and closing band all come from those, and the browser frame and
   the "made" list come from the homepage's work section. This file only
   adds the screenshots and their captions.
   ══════════════════════════════════════════════════════════════════════ */

/* A screenshot in the homepage's browser frame. */
.browser img { display: block; width: 100%; height: auto; }
.svc-hero-art.browser { padding: 0; background: var(--oat-50); box-shadow: 8px 8px 0 var(--go); }

/* ── The facts strip under the hero ─────────────────────────────────── */

.cs-facts { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); background: var(--oat-50); border-bottom: var(--line); }
.cs-facts .made { margin: 0; }
.cs-facts .made li { grid-template-columns: 10rem 1fr; }
@media (max-width: 520px) { .cs-facts .made li { grid-template-columns: 1fr; } }

/* ── Screenshot rows: picture one side, words the other, alternating ─── */

.cs-shots-wrap { padding-block: var(--section-y); background: var(--oat-100); border-bottom: var(--line); }
.cs-shots-wrap--sage { background: var(--sage-100); }
.cs-shots { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: clamp(3rem, 2rem + 4vw, 5.5rem); }
.cs-shot {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center;
}
.cs-shot:nth-child(even) .browser { order: 2; }
.cs-shot h3 { font-size: var(--text-h3); font-weight: 600; letter-spacing: -0.015em; margin-bottom: 0.5rem; }
.cs-shot p { color: var(--ink-muted); }
.cs-shot p:last-child { margin-bottom: 0; }
.cs-shot-tag {
  display: inline-block; margin-bottom: 0.75rem;
  font-family: var(--font-mono); font-size: var(--text-micro); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--olive-700);
}
@media (max-width: 860px) {
  .cs-shot { grid-template-columns: 1fr; }
  .cs-shot:nth-child(even) .browser { order: 0; }
}

/* One screenshot on its own, with a link to the case study beside it. */
.cs-feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center;
}
.cs-feature p { color: var(--ink-muted); }
@media (max-width: 860px) { .cs-feature { grid-template-columns: 1fr; } }

/* ── What it runs on: a row of plain chips ──────────────────────────── */

.cs-stack { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cs-stack li {
  padding: 0.375rem 0.875rem; border: var(--line); border-radius: 999px;
  background: var(--oat-50); box-shadow: 0 2px 0 var(--ink);
  font-size: var(--text-sm); font-weight: 500;
}
