/* ============================================
   CASE STUDY DETAIL PAGE
   ============================================ */

.cs-detail-hero {
  position: relative;
  min-height: 60vh;
  background: var(--color-hero-dark);
  display: flex;
  align-items: flex-end;
  padding: 160px 0 100px;
  overflow: hidden;
}

.cs-detail-hero-image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.2;
}

.cs-detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,34,54,0.8) 0%, transparent 60%);
  pointer-events: none;
}

.cs-detail-hero-content {
  position: relative;
  z-index: 1;
  color: var(--color-text-on-dark);
}

.cs-detail-hero-content h1 {
  color: #fff;
  font-size: 48px;
  margin-bottom: 12px;
  max-width: 700px;
}

.cs-client-display {
  font-size: 15px;
  font-weight: 300;
  color: var(--color-text-on-dark-muted);
  margin-top: 12px;
}

/* METRICS PANEL */
.cs-metrics-panel {
  background: var(--color-sectors);
  padding: 72px 0;
}

.cs-metrics-inner {
  display: flex;
  gap: 72px;
  align-items: center;
}

.cs-metric-stat {
  text-align: center;
}

.cs-metric-stat .stat-number {
  font-size: 56px;
  font-weight: 200;
  color: var(--color-accent-light);
  letter-spacing: -2px;
}

.cs-metric-stat .stat-label {
  color: var(--color-text-on-dark-muted);
  font-weight: 300;
}

/* CONTENT SECTIONS */
.cs-content {
  padding: var(--space-2xl) 0;
}

.cs-content-section {
  max-width: 720px;
  margin: 0 auto 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--color-border-light);
}

.cs-content-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cs-section-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cs-section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-brand);
  flex-shrink: 0;
}

.cs-content-section h2 {
  font-size: 32px;
  margin-bottom: 28px;
}

.cs-content-section p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.9;
}

/* CLIENT QUOTE */
.cs-quote {
  max-width: 720px;
  margin: 72px auto;
  padding: 56px 48px;
  background: var(--color-surface-alt);
  border-left: 2px solid var(--color-brand);
  position: relative;
}

.cs-quote::before {
  content: '"';
  font-family: var(--font-accent);
  font-size: 120px;
  color: var(--color-brand);
  opacity: 0.1;
  position: absolute;
  top: -16px;
  left: 24px;
  line-height: 1;
}

.cs-quote blockquote {
  font-size: 19px;
  font-style: italic;
  font-weight: 300;
  color: var(--color-text-primary);
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cs-quote cite {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  font-style: normal;
}

/* BACK LINK */
.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 48px;
  min-height: 44px;
}

.cs-back::before {
  content: '←';
}

@media (max-width: 767px) {
  .cs-detail-hero { padding: 120px 0 72px; }
  .cs-detail-hero-content h1 { font-size: 32px; }
  .cs-metrics-inner { flex-direction: column; gap: 36px; }
  .cs-content-section { max-width: 100%; }
}
