/* ── CASE STUDY STYLES ───────────────────────────────── */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* HERO */
.cs-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.cs-hero__bg {
  position: absolute;
  inset: 0;
}

.cs-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cs-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14,17,21,0.55) 0%, rgba(14,17,21,0.3) 40%, transparent 70%);
}

.cs-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
  margin: 0;
}

.cs-hero__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cs-tag {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--off-white);
  border: 1px solid rgba(247,254,255,0.3);
  border-radius: 999px;
  padding: 4px 14px;
}

.cs-hero__title {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 80px);
  color: var(--off-white);
  line-height: 1.05;
  margin-bottom: 16px;
}

.cs-hero__client {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: var(--green);
  font-weight: 500;
  letter-spacing: 1px;
}

.cs-hero__scroll {
  position: absolute;
  bottom: 40px;
  right: 48px;
  z-index: 1;
}

/* OVERVIEW STRIP */
.cs-overview {
  background: var(--off-white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 40px 0;
}

.cs-overview__inner {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.cs-overview__item {
  flex: 1;
  min-width: 160px;
  padding: 0 40px 0 0;
  border-right: 1px solid rgba(0,0,0,0.08);
  margin-right: 40px;
}

.cs-overview__item:last-child {
  border-right: none;
  margin-right: 0;
}

.cs-overview__label {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light-grey);
  margin-bottom: 8px;
}

.cs-overview__value {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--off-black);
}

/* SECTIONS */
.cs-section {
  padding: 120px 0;
  background: var(--off-white);
}

.cs-section--dark {
  background: var(--off-black);
}

.cs-two-col {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  align-items: start;
}

.cs-two-col__left {
  padding-top: 8px;
}

.cs-section-label--light {
  color: rgba(247,254,255,0.4);
}

.cs-pullquote {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--off-black);
  line-height: 1.2;
  margin-bottom: 24px;
}

.cs-body {
  font-size: 17px;
  color: var(--dark-grey);
  line-height: 1.8;
  margin-bottom: 24px;
}

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

.cs-body--light {
  color: rgba(247,254,255,0.6);
}

.cs-divider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 48px;
  margin-bottom: 48px;
}

/* IMAGES */
.cs-full-bleed {
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.cs-full-bleed__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cs-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding-bottom: 22px;
  background: var(--off-black);
}

.cs-image-grid__img {
  width: 100%;
  height: 50vh;
  object-fit: cover;
  display: block;
}

/* RESULTS */
.cs-results {
  background: var(--off-black);
  padding: 120px 0;
  text-align: center;
}

.cs-results .section-label {
  display: block;
  margin-bottom: 24px;
}

.cs-results__intro {
  font-size: 18px;
  color: rgba(247,254,255,0.5);
  max-width: 560px;
  margin: 0 auto 80px;
  line-height: 1.7;
}

.cs-stats {
  display: flex;
  justify-content: center;
  gap: 120px;
  flex-wrap: wrap;
}

.cs-stat__number {
  display: block;
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: clamp(72px, 10vw, 140px);
  color: var(--green);
  line-height: 1;
  margin-bottom: 16px;
}

.cs-stat__label {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: rgba(247,254,255,0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* NEXT CASE STUDY */
.cs-next {
  position: relative;
  height: 60vh;
  overflow: hidden;
}

.cs-next__link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
}

.cs-next__bg {
  position: absolute;
  inset: 0;
}

.cs-next__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.cs-next__link:hover .cs-next__img {
  transform: scale(1.03);
}

.cs-next__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,17,21,0.6);
}

.cs-next__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 1;
}

.cs-next__title {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 8vw, 96px);
  color: var(--off-white);
  line-height: 1;
}

/* FADE IN ANIMATIONS */
.cs-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.cs-fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .cs-two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cs-overview__inner {
    flex-direction: column;
    gap: 24px;
  }

  .cs-overview__item {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: 24px;
    margin-right: 0;
  }

  .cs-overview__item:last-child {
    border-bottom: none;
  }

  .cs-section {
    padding: 80px 0;
  }

  .cs-stats {
    gap: 60px;
  }

  .cs-hero__scroll {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cs-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
