/* ============================================================
   Clients & Projects
   ============================================================ */

.projects-list {
  border-top: var(--border);
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-bottom: 80px;
}

.project-item {
  display: flex;
  border-top: var(--border);
  border-bottom: var(--border);
  min-height: 70vh;
}

.project-info {
  width: min(360px, 40%);
  padding: 72px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: var(--border);
  flex-shrink: 0;
}

.project-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}

.project-client {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 60px);
  color: var(--text-secondary);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.project-tagline {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--pink);
  font-style: italic;
  margin-top: 6px;
}

.project-services {
  list-style: none;
  margin-top: 24px;
  padding: 0;
}

.project-services li {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 2.3;
  text-transform: uppercase;
}

.project-year {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 24px;
}

.project-image {
  flex: 1;
  background: #0c090b;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 48px;
  padding: 72px 48px;
  overflow: hidden;
  min-height: 0;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
  flex: 1;
  min-height: 0;
  align-self: stretch;
}

.project-item:hover .project-img {
  transform: scale(1.02);
}

/* TODO: remove when real project images are supplied */
.project-placeholder {
  width: 32%;
  aspect-ratio: 3 / 4;
  background: #160e14;
  border: var(--border);
  flex-shrink: 0;
}

.project-description {
  flex: 1;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
  align-self: center;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  .project-item {
    flex-direction: column;
    min-height: auto;
  }

  .project-info {
    width: 100%;
    border-right: none;
    border-bottom: var(--border);
    padding: 48px 24px;
  }

  .project-image {
    flex-direction: column;
    align-items: flex-start;
    min-height: 60vw;
    padding: 40px 24px;
    gap: 32px;
  }

  .project-placeholder {
    width: 60%;
  }
}
