/* ══════════════════════════
   CASE STUDY — SHARED
   ✓ Body copy: 15px, 400, soft/muted
   ✓ All text AA/AAA compliant
   ✓ Mobile: single column
══════════════════════════ */

.cs-hero {
  padding: 72px var(--section-x) 56px;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.cs-hero-ghost {
  position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  font-family: var(--f-display); font-size: clamp(80px,16vw,200px);
  opacity: 0.03; color: var(--gold); user-select: none; pointer-events: none; line-height: 1;
}
.cs-back {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-family: var(--f-cond); font-size: 10px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--muted);
  text-decoration: none; margin-bottom: 36px; transition: color 0.2s;
}
.cs-back:hover { color: var(--soft); }
.cs-logo-area { height: 60px; display: flex; align-items: center; margin-bottom: 24px; }
.cs-logo-area img { max-height: 100%; width: auto; object-fit: contain; }
.cs-sector {
  font-family: var(--f-cond); font-size: 9px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.cs-title {
  font-family: var(--f-display); font-size: clamp(48px,7vw,90px);
  letter-spacing: 2px; line-height: 0.9; margin-bottom: 14px;
}
.cs-tagline {
  font-family: var(--f-serif); font-size: 19px; font-style: italic;
  color: var(--soft); margin-bottom: 22px;
}
.cs-summary { font-size: 16px; font-weight: 400; color: var(--soft); line-height: 1.8; max-width: 680px; }

/* ── METRICS ── */
.cs-metrics {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--border); border-bottom: 1px solid var(--border);
}
.cs-metric { background: var(--surface); padding: 28px 24px; }
.cs-metric-value {
  font-family: var(--f-display); font-size: 38px; letter-spacing: 1px; line-height: 1; margin-bottom: 6px;
}
.cs-metric-label {
  font-family: var(--f-cond); font-size: 9px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--muted);
}

/* ── SITUATION ── */
.cs-situation { border-bottom: 1px solid var(--border); }
.cs-situation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 40px; }
.cs-before-label {
  font-family: var(--f-cond); font-size: 8px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.cs-before-list { border: 1px solid var(--border); }
.cs-before-item {
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.65;
}
.cs-before-item:last-child { border-bottom: none; }
.cs-before-dash { color: var(--border2); flex-shrink: 0; margin-top: 1px; }
.cs-core-text { font-size: 15px; font-weight: 400; color: var(--soft); line-height: 1.85; }

/* ── DELIVERED ── */
.cs-delivered { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cs-delivered-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); margin-top: 36px; }
.cs-deliv-group { background: var(--bg); }
.cs-deliv-group-header {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 24px; background: var(--surface);
  border-bottom: 1px solid var(--border); border-top: 2px solid;
}
.cs-deliv-group-title {
  font-family: var(--f-cond); font-size: 10px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--text);
}
.cs-deliv-list { display: flex; flex-direction: column; }
.cs-deliv-item {
  padding: 14px 24px; border-bottom: 1px solid var(--border);
  display: flex; gap: 10px; align-items: flex-start; transition: background 0.15s;
}
.cs-deliv-item:last-child { border-bottom: none; }
.cs-deliv-item:hover { background: var(--surface); }
.cs-deliv-arrow { font-family: var(--f-cond); font-size: 10px; color: var(--border2); flex-shrink: 0; margin-top: 3px; }
.cs-deliv-name { font-size: 14px; font-weight: 400; color: var(--soft); line-height: 1.6; }

/* ── INSIGHT ── */
.cs-insight { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cs-insight-body { font-size: 16px; font-weight: 400; color: var(--soft); line-height: 1.85; max-width: 700px; margin-top: 16px; }

/* ── STATUS ── */
.cs-status { border-bottom: 1px solid var(--border); }
.cs-status-row { display: flex; gap: 1px; background: var(--border); margin-top: 28px; }
.cs-status-item { background: var(--bg); padding: 22px 24px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.cs-status-num { font-family: var(--f-display); font-size: 26px; line-height: 1; }
.cs-status-name { font-family: var(--f-cond); font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.cs-status-state { display: flex; align-items: center; gap: 8px; font-family: var(--f-cond); font-size: 9px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.cs-state-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.cs-state-pulse { animation: stPulse 2.5s infinite; }
@keyframes stPulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.cs-state-inactive { opacity: 0.3; }

/* ── TESTIMONIAL PLACEHOLDER ── */
.cs-testimonial { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cs-tp {
  border: 1px dashed var(--border2); padding: 36px;
  text-align: center; display: flex; flex-direction: column; gap: 10px;
}
.cs-tp-label { font-family: var(--f-cond); font-size: 9px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.cs-tp-text { font-family: var(--f-serif); font-size: 17px; font-style: italic; color: var(--border2); line-height: 1.6; }

/* ── CTA ── */
.cs-cta { border-top: 1px solid var(--border); }

/* ══════ RESPONSIVE ══════ */
@media (max-width: 1024px) {
  .cs-metrics { grid-template-columns: repeat(2,1fr); }
  .cs-situation-grid { grid-template-columns: 1fr; gap: 36px; }
  .cs-delivered-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cs-status-row { flex-wrap: wrap; }
  .cs-status-item { min-width: calc(50% - 1px); }
  .cs-tp { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .cs-metrics { grid-template-columns: 1fr 1fr; }
  .cs-title { font-size: clamp(40px,10vw,64px); }
}
