/* ============================================================
   CASE STUDIES PAGE (case-studies.html) — Page-specific styles
   ============================================================ */

/* ── DISCLAIMER BAR ── */
.disclaimer-bar {
  background: var(--navy-surf); border-bottom: 1px solid var(--bd-dark);
  padding: 14px var(--px); display: flex; align-items: center; gap: 12px;
}
.disclaimer-bar svg { width: 16px; height: 16px; stroke: var(--blue); fill: none; stroke-width: 2; flex-shrink: 0; }
.disclaimer-bar p   { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ── CASE STUDY ROW ── */
.cs-row {
  padding: var(--py) var(--px);
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(48px, 7vw, 96px); align-items: center;
  border-bottom: 1px solid var(--bd-dark); position: relative;
}
.cs-row.alt       { direction: rtl; }
.cs-row.alt > *   { direction: ltr; }
.cs-row.dark      { background: var(--navy); }
.cs-row.mid       { background: var(--navy-mid); }
.cs-row.surf      { background: var(--navy-surf); }
.cs-row.light     { background: var(--surface); color: var(--navy); }

.cs-sector-badge  { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: white; background: var(--blue); padding: 6px 14px; margin-bottom: 20px; }

.cs-content       { display: flex; flex-direction: column; gap: 20px; }
.cs-challenge-label { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 6px; }
.cs-challenge-title { font-family: var(--display); font-size: clamp(22px, 2.8vw, 40px); font-weight: 800; line-height: 1.05; text-transform: uppercase; letter-spacing: -0.01em; }
.dark .cs-challenge-title, .mid .cs-challenge-title, .surf .cs-challenge-title { color: white; }
.light .cs-challenge-title { color: var(--navy); }

.cs-approach-label { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--blue); text-transform: uppercase; margin-bottom: 10px; }
.cs-bullets        { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cs-bullets li     { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.65; }
.dark  .cs-bullets li, .mid .cs-bullets li, .surf .cs-bullets li { color: var(--text-muted); }
.light .cs-bullets li { color: #4A5A74; }
.cs-bullets li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex-shrink: 0; margin-top: 7px; }
.cs-bullets li strong  { color: white; font-weight: 600; }
.light .cs-bullets li strong { color: var(--navy); }

/* ── METRICS ── */
.cs-metrics        { display: flex; flex-direction: column; gap: 16px; }
.cs-metrics-header { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--blue); text-transform: uppercase; margin-bottom: 4px; }
.metric-card  { background: var(--navy-surf); border: 1px solid var(--bd-dark); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.light .metric-card { background: white; border-color: var(--bd-light); }
.metric-card:hover { border-color: var(--blue); }
.metric-number { font-family: var(--display); font-size: clamp(36px, 4vw, 56px); font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -0.02em; }
.metric-label  { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.light .metric-label { color: #4A5A74; }

/* ── AGGREGATE ── */
.aggregate-section { background: var(--blue); padding: var(--py) var(--px); }
.aggregate-grid    { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.2); margin-top: 52px; border: 1px solid rgba(255,255,255,0.2); }
.agg-card     { background: var(--blue); padding: 36px 28px; display: flex; flex-direction: column; gap: 10px; transition: background 0.2s; }
.agg-card:hover { background: rgba(255,255,255,0.1); }
.agg-number   { font-family: var(--display); font-size: clamp(44px, 5vw, 68px); font-weight: 800; color: white; line-height: 1; letter-spacing: -0.02em; }
.agg-label    { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.5; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .cs-row, .cs-row.alt { grid-template-columns: 1fr; direction: ltr; }
  .cs-row.alt > *      { direction: ltr; }
  .aggregate-grid      { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .aggregate-grid      { grid-template-columns: 1fr 1fr; gap: 1px; }
}
