.profile-hero > *,
.profile-facts,
.case-row > * {
  min-width: 0;
}

.profile-facts dd,
.case-row p,
.case-row li,
.evidence-item p {
  overflow-wrap: anywhere;
}

.profile-hero {
  padding-top: 140px;
  padding-bottom: 48px;
}

.project-evidence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.evidence-item {
  color: inherit;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.evidence-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.evidence-item div {
  padding: 18px;
}

.evidence-item span {
  color: var(--cyan);
  font: 11px monospace;
  text-transform: uppercase;
}

.evidence-item h3 {
  margin: 8px 0;
  font-size: 20px;
}

.evidence-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.case-visual {
  padding-top: 24px;
}

.case-visual img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-hero h1 {
  font-size: clamp(44px, 6vw, 76px);
}

@media (max-width: 600px) {
  .profile-hero {
    width: calc(100% - 28px);
    padding-top: 118px;
  }

  .profile-hero h1 {
    font-size: 36px;
    line-height: 1.02;
  }

  .profile-lead {
    font-size: 17px;
  }

  .profile-facts {
    width: 100%;
  }

  .profile-facts div {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    padding-inline: 14px;
  }

  .project-evidence {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .project-evidence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
