/* Other collaborations & clients — Figma 1:1452 */

.clients {
  position: relative;
  z-index: 2;
  width: 574px;
  padding: var(--space-24) var(--space-16) 54px;
  display: flex;
  flex-direction: column;
  gap: var(--space-24); /* Figma 1:1452: title at y=24, columns at y=68 */
}

.clients-columns {
  display: flex;
  gap: var(--space-16);
  align-items: flex-start;
  width: 100%;
  font-family: var(--font-body);
  font-weight: var(--weight-book);
  font-size: var(--body-16-size);
  line-height: var(--body-16-line);
  white-space: nowrap;
}

.clients-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.client {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  width: 263px;
}

.client-name { margin: 0; color: var(--nav-default); }
.client-place { margin: 0; color: var(--text-tertiary); }

/* Discover more — Figma 1:1487 */
.discover {
  position: relative;
  z-index: 2;
  width: 574px;
  padding: var(--space-16) var(--space-16) 28px;
  display: flex;
  flex-direction: column;
  gap: var(--space-32); /* Figma 1:1487: title at y=16, tiles at y=66 */
}

.discover > .headtitle { height: 18px; }

.discover-tiles {
  display: flex;
  gap: var(--space-16);
  align-items: flex-start;
}

.discover-tile {
  display: flex;
  flex-direction: column;
  /* 8 rather than the Figma's 12, for the reason the project cards give: this
     caption is the same 16/22 type carrying the same 4px of air above its
     capitals, so 12 reads as 16 and the label drifts away from its picture. */
  gap: var(--space-8);
}

.discover-visual {
  position: relative;
  width: 263px;
  height: 263px;
  border-radius: var(--radius-16);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.08);
}

/* Approach artwork sits 196x215 in the middle of the tile — Figma 1:1493 */
.discover-visual img.approach {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 196px;
  height: 215px;
  object-fit: cover;
}

/* Stacked LinkedIn marks — Figma 1:1501/1505/1509/1513/1517, 70px each */
.discover-visual .in-mark {
  position: absolute;
  left: 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  padding: 9.72px; /* Figma inset 13.89% of 70 */
  box-sizing: border-box;
}

.in-1 { top: calc(50% - 84.7px); }
.in-2 { top: calc(50% - 44.7px); }
.in-3 { top: calc(50% - 1.7px); }
.in-4 { top: calc(50% + 41.3px); }
.in-5 { top: calc(50% + 84.3px); }

.discover-content {
  display: flex;
  flex-direction: column;
  width: 263px;
  font-size: var(--body-16-size);
  line-height: var(--body-16-line);
}

.discover-title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--weight-book);
  color: var(--text-secondary);
}

.discover-desc {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  color: var(--text-tertiary);
}

@media (max-width: 700px) {
  .clients, .discover { width: 100%; }
  .clients-columns { flex-direction: column; gap: 8px; }
  .client { width: auto; }
  .discover-tiles { flex-direction: column; }
  .discover-visual, .discover-content { width: 100%; }
}

/* The LinkedIn tile is a link; it should not pick up link styling */
a.discover-tile { color: inherit; text-decoration: none; }

a.discover-tile .discover-visual img,
a.discover-tile .discover-visual { transition: transform 760ms cubic-bezier(0.16, 1, 0.3, 1); }

@media (prefers-reduced-motion: reduce) {
  a.discover-tile .discover-visual,
  a.discover-tile .discover-visual img { transition: none; }
}
