/* =========================
   MICHEL KARAM CASE STUDY
========================= */

/* HERO */

.cs-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 30%, rgba(54, 198, 244, 0.04), transparent 22%),
    radial-gradient(circle at 85% 80%, rgba(243, 204, 49, 0.04), transparent 18%),
    linear-gradient(180deg, #040608 0%, #020304 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cs-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cs-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.09;
}

.cs-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 72px;
}

.cs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.cs-breadcrumb a {
  color: rgba(255, 255, 255, 0.38);
  transition: color 0.2s ease;
}

.cs-breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.68);
}

.cs-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.18);
}

.cs-hero-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.cs-hero-name {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.055em;
  color: #ffffff;
}

.cs-hero-subtitle {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.46);
}

.cs-hero-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.cs-hero-scope span {
  min-height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

/* =========================
   CASE STUDY BODY
========================= */

.cs-body {
  background: #ffffff;
  color: var(--black);
}

.cs-intro {
  padding: 64px 0 56px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cs-intro-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.cs-intro-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.28);
  padding-top: 8px;
}

.cs-intro-text {
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.8);
  text-wrap: pretty;
  max-width: 700px;
}

/* =========================
   SECTIONS
========================= */

.cs-section {
  padding: 48px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cs-section-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.cs-section-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.28);
  padding-top: 4px;
}

.cs-section-copy {
  max-width: 680px;
}

.cs-section-copy p {
  font-size: 0.96rem;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.68);
  text-wrap: pretty;
}

.cs-section-copy p + p {
  margin-top: 14px;
}

/* RESULT — yellow accent bar */

.cs-result-accent {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--yellow);
  margin-bottom: 18px;
}

/* =========================
   QUOTE
========================= */

.cs-quote {
  padding: 64px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #f9f9f8;
}

.cs-quote-inner {
  max-width: 800px;
  padding: 0 0 0 28px;
  border-left: 3px solid var(--yellow);
}

.cs-quote-text {
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.84;
  color: rgba(0, 0, 0, 0.72);
  text-wrap: pretty;
}

.cs-quote-attribution {
  margin-top: 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.46);
  letter-spacing: 0.01em;
}

/* =========================
   CTA
========================= */

.cs-cta {
  padding: 64px 0 72px;
  background: #ffffff;
}

.cs-cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cs-cta-copy .eyebrow {
  color: rgba(0, 0, 0, 0.32);
  margin-bottom: 10px;
}

.cs-cta-copy h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--black);
  text-wrap: balance;
  max-width: 480px;
}

.cs-cta-btn {
  position: relative;
  overflow: hidden;
  min-width: 220px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 28px;
  border: 1px solid rgba(243, 204, 49, 0.8);
  background: var(--yellow);
  color: #000000;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.cs-cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.26) 48%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.cs-cta-btn:hover {
  transform: translateY(-3px);
  background: #e8c020;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.cs-cta-btn:hover::before {
  transform: translateX(120%);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 820px) {
  .cs-intro-grid,
  .cs-section-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cs-intro-label,
  .cs-section-label {
    padding-top: 0;
  }

  .cs-cta-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .cs-cta-btn {
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 580px) {
  .cs-hero-content {
    padding: 60px 0 56px;
  }

  .cs-intro,
  .cs-section {
    padding: 40px 0;
  }

  .cs-intro-text {
    font-size: 1.08rem;
  }

  .cs-quote {
    padding: 48px 0;
  }

  .cs-quote-inner {
    padding-left: 20px;
  }
}
