/* ============================================================
   CASE STUDY — SPLIT LAYOUT
   ============================================================ */

.cs-split {
  display: grid;
  grid-template-columns: 58% 1fr;
  min-height: 100vh;
}

/* LEFT — image panel */
.cs-split__image {
  position: sticky;
  top: 4.5rem;
  height: calc(100vh - 4.5rem);
  overflow: hidden;
  background: #0a0a0a;
}

.cs-split__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* RIGHT — content panel */
.cs-split__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem 4rem 6rem;
  border-left: 1px solid var(--border-subtle);
  min-height: 100vh;
}

.cs-split__eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 2rem;
}

.cs-split__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

.cs-split__title em {
  font-style: italic;
  display: block;
}

.cs-split__divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
  margin-bottom: 3rem;
}

/* Meta rows */
.cs-split__meta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.cs-split__meta-row {
  display: flex;
  gap: 2rem;
  align-items: baseline;
}

.cs-split__meta-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  flex: 0 0 7rem;
}

.cs-split__meta-value {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.7;
}

/* Description */
.cs-split__desc {
  font-size: 1.1rem;
  color: var(--grey);
  line-height: 2.1;
  max-width: 420px;
  margin-bottom: 4rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 3rem;
}

/* Back link */
.cs-split__back {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.3s ease, gap 0.3s ease;
}

.cs-split__back:hover {
  color: var(--white);
  gap: 1.25rem;
}

/* Two stacked images variant */
.cs-split__images {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cs-split__image-half {
  flex: 1;
  overflow: hidden;
}

.cs-split__image-half + .cs-split__image-half {
  border-top: 1px solid var(--border-subtle);
}

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

/* URL link */
.cs-split__url-row {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  margin-bottom: 3rem;
}

.cs-split__url-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--white);
  text-decoration: none;
  transform-origin: left center;
  transition: color 0.3s ease, transform 0.3s ease, gap 0.3s ease;
}

.cs-split__url-link::after {
  content: '↗';
  font-style: normal;
  font-size: 0.65em;
  color: var(--grey);
  transition: transform 0.3s ease, color 0.3s ease;
}

.cs-split__url-link:hover {
  color: #f5c842;
  transform: scale(1.08);
  gap: 0.8rem;
}

.cs-split__url-link:hover::after {
  transform: translate(4px, -4px);
  color: #f5c842;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cs-split {
    grid-template-columns: 50% 1fr;
  }

  .cs-split__content {
    padding: 10rem 2.5rem 5rem;
  }
}

@media (max-width: 768px) {
  .cs-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .cs-split__image {
    position: relative;
    height: auto;
  }

  .cs-split__image img {
    height: auto;
    object-fit: initial;
  }

  .cs-split__content {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 1.5rem 5rem;
    min-height: auto;
    justify-content: flex-start;
  }
}
