/* ============================================================
   CASE STUDY — Full (Pipeline Stages)
   ============================================================ */

/* Hero */
.cs-hero {
  background: var(--navy);
  padding: 140px 64px 80px;
}

.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-bottom: 48px;
  transition: color 0.2s;
}

.cs-back:hover { color: var(--amber); }

.cs-hero-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.cs-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 40px;
  max-width: 720px;
}

.cs-meta {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.cs-meta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}

.cs-meta-value {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
}

/* Tools strip */
.cs-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cs-tools-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-right: 8px;
}

.cs-tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  transition: background 0.2s;
}

.cs-tool-badge:hover { background: rgba(255,255,255,0.12); }

/* Goal */
.cs-goal {
  background: var(--white);
  padding: 80px 64px;
  max-width: 900px;
  margin: 0 auto;
}

.cs-goal .cs-section-label { margin-bottom: 16px; }

.cs-goal h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.cs-goal p {
  font-size: 17px;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.9;
}

.cs-callout {
  background: var(--cream);
  border-left: 3px solid var(--burgundy);
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
  margin: 28px 0 0;
}

.cs-callout p {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--navy);
  line-height: 1.5;
  font-style: italic;
}

/* Pipeline strip */
.cs-pipeline {
  background: var(--navy);
  padding: 48px 64px;
  overflow-x: auto;
}

.cs-pipeline-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: max-content;
  margin: 0 auto;
}

.cs-pipeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s;
}

.cs-pipeline-node:hover { transform: translateY(-3px); }

.cs-pipeline-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s;
}

.cs-pipeline-node.active .cs-pipeline-number {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
}

.cs-pipeline-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  transition: color 0.3s;
}

.cs-pipeline-node.active .cs-pipeline-name { color: var(--amber); }

.cs-pipeline-line {
  width: 64px;
  height: 2px;
  background: rgba(255,255,255,0.12);
  margin: 0 8px;
  margin-bottom: 28px;
}

/* Stage sections */
.cs-stage { padding: 80px 64px; }
.cs-stage:nth-child(odd) { background: var(--white); }
.cs-stage:nth-child(even) { background: var(--offwhite); }

.cs-stage-inner {
  max-width: 900px;
  margin: 0 auto;
}

.cs-stage-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.cs-stage-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 16px;
  color: var(--white);
  flex-shrink: 0;
}

.cs-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--burgundy);
}

.cs-stage-tool {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(107, 39, 55, 0.08);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--burgundy);
}

.cs-stage h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.cs-stage p,
.cs-stage-text p {
  font-size: 17px;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.9;
}

.cs-stage-text p + p { margin-top: 16px; }

.cs-stage-image {
  margin-top: 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(13, 27, 42, 0.12);
}

.cs-stage-image img {
  width: 100%;
  height: auto;
  display: block;
}

.cs-stage-caption {
  font-size: 13px;
  color: rgba(13,27,42,0.4);
  margin-top: 16px;
  text-align: center;
  letter-spacing: 0.3px;
}

/* Key insight */
.cs-insight {
  background: var(--navy);
  padding: 80px 64px;
  text-align: center;
}

.cs-insight-inner {
  max-width: 720px;
  margin: 0 auto;
}

.cs-insight-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}

.cs-insight blockquote {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--white);
  line-height: 1.4;
  font-style: italic;
}

/* CTA */
.cs-cta {
  background: var(--cream);
  padding: 80px 64px;
  text-align: center;
}

.cs-cta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 16px;
}

.cs-cta h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--navy);
  margin-bottom: 32px;
}

.cs-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cs-cta .btn-secondary {
  color: var(--navy);
  border-color: var(--navy);
}

.cs-cta .btn-secondary:hover {
  background: rgba(13,27,42,0.06);
}

/* Responsive */
@media (max-width: 768px) {
  .cs-hero { padding: 100px 24px 64px; }
  .cs-goal { padding: 48px 24px; }
  .cs-pipeline { padding: 32px 24px; }
  .cs-stage { padding: 56px 24px; }
  .cs-insight { padding: 64px 24px; }
  .cs-cta { padding: 64px 24px; }
  .cs-meta { gap: 28px; }
  .cs-tools { flex-wrap: wrap; }
  .cs-pipeline-track { justify-content: flex-start; }
  .cs-pipeline-line { width: 32px; }
  .cs-stage-header { flex-wrap: wrap; }
  .cs-stage-tool { margin-left: 0; margin-top: 8px; }
}
