/* ── CASE STUDY LAYOUT ── */
.case-study {
  display: flex;
  min-height: 100vh;
}

/* Static / fixed text column */
.case-study__text {
  flex: 0 0 33.333%;
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  overflow-y: auto;
  padding: 7rem var(--gap) 4rem;
  border-right: 1px solid var(--border);
}

.case-study__title {
  font-size: var(--fs-h2);
  font-variation-settings: 'wght' 600;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: 4rem;
  margin-bottom: 1.2rem;
}

.case-study__meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.case-study__tags,
.case-study__date {
  font-size: 1rem;
  color: var(--fg);
}

.case-study__block {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}
.case-study__block:last-child { border-bottom: 1px solid var(--border); }

.case-study__body {
  color: var(--fg);
  opacity: 0.6;
  line-height: 1.8;
  font-size: 0.95rem;
}


/* Scrollable image column, small break between each image */
.case-study__images {
  flex: 1;
  min-width: 0;
  padding: 7rem var(--gap) 6rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.case-study__images .placeholder {
  aspect-ratio: 16 / 10;
}

@media (max-width: 960px) {
  .case-study            { flex-direction: column; }
  .case-study__text      { position: relative; flex: none; height: auto; width: 100%; border-right: none; border-bottom: 1px solid var(--border); padding: 6rem var(--gap) 3rem; }
  .case-study__images    { padding: 3rem var(--gap) 4rem; }
}
