.project {
  padding-bottom: 120px;
  padding-top: 110px;
}

.project-heading {
  display: grid;
  gap: 3%;
  grid-template-columns: 12% minmax(0, 1fr);
  margin-bottom: 48px;
}

.project h2 {
  font-size: clamp(2.8rem, 5.8vw, 5.8rem);
  line-height: 0.9;
}

.project h2 em {
  color: var(--lilac);
  font-style: normal;
}

.project-lede {
  font: 500 clamp(1.3rem, 2.2vw, 2rem) / 1.2 var(--space);
  letter-spacing: -0.045em;
  margin: 0 0 56px;
  max-width: 42ch;
  text-wrap: pretty;
}

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

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 26px;
  position: relative;
  border-radius: 4px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.project-card:hover {
  box-shadow: 0 18px 36px rgba(13, 13, 13, 0.14);
  transform: translateY(-5px);
}

.project-card:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.project-card--festival {
  background: var(--acid);
}

.project-card--learning {
  background: var(--lilac);
  color: #fff;
}

.project-card--workshop {
  background: var(--pink);
}

.project-icon {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--acid);
  display: flex;
  height: 50px;
  justify-content: center;
  position: relative;
  transition: transform 0.4s var(--ease);
  width: 50px;
}

.project-icon svg {
  height: 24px;
  width: 24px;
}

.project-card:hover .project-icon {
  transform: rotate(-12deg) scale(1.06);
}

.project-card--learning .project-icon {
  background: var(--acid);
  color: var(--ink);
}

.project-card--workshop .project-icon {
  background: var(--coral);
  color: #fff;
}

.project-card .eyebrow {
  margin: 28px 0 12px;
}

.project-card h3 {
  font: 600 clamp(2rem, 2.8vw, 3.2rem) / 0.92 var(--space);
  letter-spacing: -0.06em;
  margin: 0;
}

.project-card > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.5;
  margin: 18px 0;
  max-width: 36ch;
}

.project-card a {
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
  margin-top: auto;
  padding-bottom: 8px;
}

.project-card a span {
  float: right;
  font-size: 18px;
  line-height: 0.6;
  transition: transform 0.3s var(--ease);
}

.project-card a:hover span {
  transform: translate(3px, -3px);
}

@media (max-width: 760px) {
  .project {
    padding-bottom: 72px;
    padding-top: 72px;
  }

  .project-heading {
    display: block;
    margin-bottom: 32px;
  }

  .project-heading .section-number {
    margin-bottom: 24px;
  }

  .project h2 {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .project-lede {
    font-size: 1.35rem;
    margin-bottom: 32px;
  }

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

  .project-card {
    min-height: 300px;
  }
}
