/* ── CASE STUDY HERO ── */
.cs-hero {
  padding: 140px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.6;
  margin-bottom: 32px;
  transition: opacity 0.2s;
}

.cs-back:hover { opacity: 1; }

.cs-back::before {
  content: '←';
  transition: transform 0.2s;
}

.cs-back:hover::before {
  transform: translateX(-4px);
}

.cs-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.cs-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(42,157,143,0.12);
  color: var(--teal);
}

.cs-tag.web,
.cs-tag.brand,
.cs-tag.enterprise {
  background: rgba(233,196,106,0.2);
  color: #b8860b;
}

.cs-tag.research {
  background: rgba(42,157,143,0.12);
  color: var(--teal);
}

.cs-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 24px;
}

.cs-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.65;
  margin-bottom: 48px;
  max-width: 700px;
}

.cs-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
}

.cs-meta-item h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
  margin-bottom: 8px;
}

.cs-meta-item p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

/* ── CONTENT SECTIONS ── */
.cs-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 48px;
}

.cs-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.cs-section-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.cs-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 24px;
}

.cs-section p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.7;
  margin-bottom: 20px;
}

.cs-section p:last-of-type { margin-bottom: 0; }

/* ── DARK SECTION ── */
.cs-section.dark {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  margin: 80px auto;
  max-width: 1000px;
}

.cs-section.dark .cs-section-label {
  color: var(--gold);
}

.cs-section.dark .cs-section-label::before {
  background: var(--gold);
}

.cs-section.dark h2 {
  color: var(--white);
}

.cs-section.dark p {
  color: var(--white);
  opacity: 0.7;
}

/* ── LESSONS ── */
.lesson-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.lesson-card {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.1);
}

.lesson-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.lesson-card p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* ── VISUAL SHOWCASE ── */
.visual-grid {
  display: grid;
  gap: 48px;
  margin-top: 48px;
}

.comp-visual {
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 40px;
  text-align: center;
}

.comp-visual.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.comp-visual.grid-2 .comp-visual-placeholder {
  aspect-ratio: 3/4;
}

.comp-visual-placeholder {
  width: 100%;
  overflow: hidden;
}

.comp-visual-placeholder span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.3;
}

.comp-visual-placeholder img,
.comp-visual-placeholder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(38, 70, 83, 0.1);
}

.visual-caption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.6;
  text-align: center;
  margin: 0;
}

.visual-header {
  margin-bottom: 32px;
}

.visual-header h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.visual-header p {
  font-size: 16px;
  opacity: 0.65;
  margin: 0;
}

/* ── QUOTE ── */
.cs-quote {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin: 60px 0;
  border-left: 4px solid var(--teal);
}

.cs-quote p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 16px;
  opacity: 1;
}

.cs-quote cite {
  font-size: 14px;
  font-style: normal;
  opacity: 0.5;
}

/* ── IMPACT GRID (layout shared; card color defined per-page) ── */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.impact-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.impact-label {
  font-size: 14px;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .cs-hero { padding: 120px 24px 60px; }
  .cs-meta { grid-template-columns: 1fr 1fr; }
  .cs-section { padding: 60px 24px; }
  .lesson-cards { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .comp-visual.grid-2 { grid-template-columns: 1fr; }
}
