/* ===== CASE STUDY PAGES (managed-commitments category) ===== */
/* Requires homepage.css for: --orange, --orange-2, --ink, --ink-soft,
   --ink-mute, --bg, --bg-2, --bg-3, --line, --shadow-sm, --shadow-md */

/* ---- Hero ---- */
.cs-hero {
  padding: clamp(48px,6vw,80px) 0 clamp(40px,5vw,64px);
  background: var(--ink);
  color: #fff;
}
.cs-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 20px;
  background: rgba(255,153,0,0.15); border: 1px solid rgba(255,153,0,0.3);
  font-size: 12px; font-weight: 600; color: var(--orange-2);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 28px;
}
.cs-hero-logo-row {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.cs-logo {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.12); object-fit: contain; flex-shrink: 0;
}
.cs-company { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.7); }
.cs-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px,5vw,56px); font-weight: 600;
  letter-spacing: -0.03em; line-height: 1.06; max-width: 820px;
  color: #fff; margin: 0;
}
.cs-hero-metrics {
  display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap;
  padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.1);
}
.cs-metric { display: flex; flex-direction: column; gap: 4px; }
.cs-metric-num {
  font-size: clamp(36px,4vw,52px); font-weight: 700;
  letter-spacing: -0.04em; color: var(--orange);
  font-variant-numeric: tabular-nums; line-height: 1;
}
.cs-metric-label {
  font-size: 12px; color: rgba(255,255,255,0.45);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* ---- Body sections ---- */
.cs-section { padding: clamp(40px,5vw,64px) 0; background: var(--bg); }
.cs-section-alt { background: var(--bg-2); }
.cs-section + .cs-section { border-top: 1px solid var(--line); }
.cs-section h2 {
  font-size: clamp(20px,2.5vw,28px); font-weight: 600;
  letter-spacing: -0.025em; margin: 0 0 16px; color: var(--ink);
}
.cs-section p {
  font-size: 17px; color: var(--ink-soft); line-height: 1.7;
  margin: 0 0 14px; max-width: 700px;
}
.cs-section p:last-child { margin: 0; }

/* ---- Pull quote ---- */
.cs-quote {
  padding: clamp(32px,4vw,56px) 0;
  background: var(--bg-3);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cs-quote-inner { max-width: 720px; }
.cs-quote blockquote {
  font-size: clamp(18px,2.2vw,24px); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.5; color: var(--ink);
  margin: 0 0 20px; padding-left: 24px;
  border-left: 3px solid var(--orange);
}
.cs-quote cite {
  font-size: 14px; color: var(--ink-mute); font-style: normal;
  display: flex; align-items: center; gap: 10px;
}
.cs-quote cite::before {
  content: ''; display: block;
  width: 24px; height: 2px; background: var(--orange); flex-shrink: 0;
}

/* ---- Disclaimer ---- */
.cs-disclaimer {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 20px;
  font-size: 13px !important; color: var(--ink-mute) !important;
  line-height: 1.6 !important; max-width: 680px; margin-top: 32px !important;
}

/* ---- CTA ---- */
.cs-cta {
  padding: clamp(48px,6vw,80px) 0;
  background: linear-gradient(135deg, rgba(255,153,0,0.07) 0%, var(--bg) 70%);
  border-top: 1px solid var(--line);
  text-align: center;
}
.cs-cta h2 {
  font-size: clamp(24px,3vw,36px); font-weight: 600;
  letter-spacing: -0.03em; margin: 0 0 12px; color: var(--ink);
}
.cs-cta p {
  font-size: 17px; color: var(--ink-soft); max-width: 520px;
  margin: 0 auto 32px; line-height: 1.6;
}
.btn-cost-cs {
  display: inline-block;
  background: var(--orange); color: var(--ink) !important;
  padding: 14px 28px; border-radius: 10px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  box-shadow: 0 4px 14px rgba(255,153,0,0.28);
  transition: background .2s, transform .2s;
}
.btn-cost-cs:hover { background: #E88B00; transform: translateY(-1px); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .cs-hero-metrics { gap: 28px; }
}
