.projects {
  padding-top: clamp(100px, 10vw, 155px);
}

.section-head {
  display: block;
  margin-bottom: clamp(55px, 7vw, 100px);
}

.project-heading {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(20px, 3vw, 50px);
  padding: 0 0 clamp(40px, 5vw, 72px);
  border-bottom: 1px solid rgba(18, 18, 18, .18);
}

.project-heading > span {
  align-self: stretch;
  min-height: 120px;
  border-radius: 20px;
  background: var(--orange);
  transform: skewY(-12deg);
}

.project-heading h1 {
  max-width: 1120px;
  margin: 0;
  font-size: clamp(50px, 6.7vw, 108px);
  font-weight: 800;
  line-height: .89;
  letter-spacing: -.065em;
}

.project-heading p {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: .18em;
  text-align: right;
  text-transform: uppercase;
}

.section-head .filters {
  display: flex;
  grid-column: auto;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.section-head .filters button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 9px 18px 9px 10px;
  border: 1px solid rgba(18, 18, 18, .2);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 700 11px Montserrat, sans-serif;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease;
}

.section-head .filters button small {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(18, 18, 18, .08);
  font-size: 8px;
}

.section-head .filters button:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  color: var(--orange);
}

.section-head .filters button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.section-head .filters button.active small {
  background: var(--orange);
  color: #fff;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.project-card__link svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
  overflow: visible;
}

.project-card__link svg path {
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 760px) {
  .projects { padding-top: 85px; }
  .section-head { margin-bottom: 55px; }
  .project-heading { grid-template-columns: 8px minmax(0, 1fr); gap: 16px; padding-bottom: 32px; }
  .project-heading > span { min-height: 85px; }
  .project-heading h1 { width: 100%; min-width: 0; max-width: 100%; font-size: clamp(29px, 8vw, 36px); line-height: .94; letter-spacing: -.07em; overflow-wrap: anywhere; word-break: break-word; hyphens: auto; }
  .project-heading p { display: none; }
  .section-head .filters { gap: 7px; margin-top: 22px; }
  .section-head .filters button { min-height: 44px; padding-right: 14px; }
}
