/* ============================================================
   WEAVIVE — Case Study Page Styles
   ============================================================ */

/* ── Hero ── */
.cs-hero {
  background: var(--navy-deeper);
  padding: 140px 0 0;
}

.cs-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.cs-back {
  display: block;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
.cs-back:hover { opacity: 0.75; }

.cs-eyebrow-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy-deeper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.cs-hero-title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.cs-hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 28px;
}

.cs-hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.cs-hero-img {
  width: 100%;
  aspect-ratio: 2.5 / 1;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  margin-top: 48px;
}


/* ── Challenge ── */
.cs-challenge {
  background: var(--white);
  padding: 80px 0;
}

.cs-challenge-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 64px;
  align-items: center;
}

.cs-challenge-eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.cs-challenge-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
}

.cs-challenge-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
}

.cs-stats-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cs-stat {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cs-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.cs-stat:first-child {
  padding-top: 0;
}

.cs-stat-value {
  display: block;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.cs-stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
  line-height: 1.4;
}


/* ── Process ── */
.cs-process {
  background: var(--cloud);
  padding: 80px 0;
}

.cs-process-eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.cs-process-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.15;
}

.cs-process-intro {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 680px;
  line-height: 1.7;
}

.cs-process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cs-process-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cs-process-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.cs-process-card-body {
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.cs-process-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cs-process-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.cs-process-stream {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-transform: uppercase;
}

.cs-process-title-card {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.cs-process-body-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.cs-process-output {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.cs-output-tag {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}


/* ── Standards ── */
.cs-standards {
  background: var(--navy);
  padding: 80px 0;
}

.cs-standards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
}

.cs-standards-eyebrow {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.cs-standards-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.3;
}

.cs-check-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.cs-check-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--cyan);
  margin-top: 1px;
}


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

.cs-cta-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cs-cta-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

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

/* btn-outline variant for light background */
.cs-cta-buttons .btn-outline {
  color: var(--navy);
  border-color: rgba(41, 39, 76, 0.3);
}
.cs-cta-buttons .btn-outline:hover {
  border-color: var(--navy);
  background: rgba(41, 39, 76, 0.05);
  transform: translateY(-2px);
}


/* ── Responsive ── */
@media (max-width: 1024px) {
  .cs-challenge-grid {
    grid-template-columns: 1fr;
  }
  .cs-standards-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .cs-hero {
    padding: 120px 0 0;
  }
  .cs-hero-img {
    aspect-ratio: 3 / 2;
  }
  .cs-challenge-grid {
    gap: 32px;
  }
  .cs-process-grid {
    grid-template-columns: 1fr;
  }
}
