/* ─── CASE STUDY HERO ─── */
#cs-hero {
  padding: 140px 48px 52px;
  max-width: 1040px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted2);
  margin-bottom: 40px;
  letter-spacing: .02em;
}

.breadcrumb a {
  color: var(--muted2);
  text-decoration: none;
  transition: color .18s;
}

.breadcrumb a:hover {
  color: var(--muted);
}

.breadcrumb-sep {
  opacity: .5;
}

.cs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
}

.cs-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.cs-title {
  font-family: var(--fh);
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--text);
  max-width: 820px;
  margin-bottom: 28px;
}

.cs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.cs-meta-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cs-meta-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted2);
  font-weight: 500;
}

.cs-meta-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 400;
}

/* ─── CONTENT SECTIONS ─── */
.cs-section-divider {
  border-top: 1px solid var(--border);
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 48px;
}

.cs-section-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  padding: 48px 0;
}

.cs-section-label {
  font-family: var(--fh);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted2);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding-top: 6px;
  position: sticky;
  top: 96px;
  align-self: start;
}

.cs-section-body {
  min-width: 0;
}

.cs-section-body h3 {
  font-family: var(--fh);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 20px;
}

.cs-section-body p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.88;
  font-weight: 300;
  margin-bottom: 20px;
  max-width: 680px;
}

.cs-section-body p:last-child {
  margin-bottom: 0;
}

.cs-highlight {
  background: var(--bg2);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0 4px 4px 0;
  margin: 28px 0;
  max-width: 680px;
}

.cs-highlight p {
  font-size: 15px;
  color: var(--text);
  font-weight: 400;
  line-height: 1.75;
  margin: 0;
}

/* ─── TECH TAGS ─── */
.cs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.cs-tag {
  font-size: 12px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--muted);
  letter-spacing: .03em;
  background: var(--bg);
}

/* ─── RESULTS ─── */
.cs-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 8px;
  max-width: 680px;
}

.cs-result-card {
  background: var(--bg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background .18s;
}

.cs-result-card:hover {
  background: var(--bg3);
}

.cs-result-num {
  font-family: var(--fh);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1;
}

.cs-result-num .accent {
  color: var(--accent);
}

.cs-result-num .gold {
  color: var(--gold);
}

.cs-result-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ─── NEXT ─── */
.cs-next {
  border-top: 1px solid var(--border);
  max-width: 1040px;
  margin: 0 auto;
  padding: 72px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cs-next-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted2);
  margin-bottom: 12px;
}

.cs-next-text {
  font-family: var(--fh);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}

/* ─── TABLET ─── */
@media (max-width: 1024px) {
  .cs-section-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 44px 0;
  }

  .cs-section-label {
    position: static;
  }
}

/* ─── MOBILE ─── */
@media (max-width: 820px) {
  #cs-hero {
    padding: 104px 20px 44px;
  }

  .cs-section-divider {
    padding: 0 20px;
  }

  .cs-results-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .cs-next {
    padding: 52px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}
