.project-references {
  background: #fff;
  color: var(--ink);
  padding-block: clamp(52px, 6.3vw, 104px);
  scroll-margin-top: var(--mast-height, 80px);
}
.reference-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .76fr);
  align-items: end;
  gap: 15px clamp(24px, 3.2vw, 58px);
  margin-bottom: clamp(28px, 3vw, 48px);
}
.reference-heading h2 {
  font-size: clamp(2.6rem, 4.8vw, 5.1rem);
  letter-spacing: -.06em;
  line-height: 1.04;
  font-weight: 565;
}
.reference-heading p, .reference-scope { color: var(--body); line-height: 1.55; }
.reference-heading p { max-width: 47ch; font-size: clamp(1rem, 1.1vw, 1.13rem); }
.reference-list {
  --rule: #cdcac1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--rule);
}
.reference-list li { padding: clamp(20px, 2.2vw, 38px); }
.reference-list li + li { border-inline-start: 1px solid var(--rule); }
.reference-logo {
  display: flex;
  height: 94px;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(18px, 2.2vw, 34px);
}
.reference-logo img { display: block; width: auto; height: auto; max-width: min(100%, 168px); max-height: 82px; }
.reference-location { color: #70502c; font-size: .84rem; font-weight: 610; }
.reference-project h3 {
  margin: 5px 0 9px;
  font-size: clamp(1.14rem, 1.45vw, 1.65rem);
  letter-spacing: -.035em;
  font-weight: 615;
  line-height: 1.18;
  text-wrap: balance;
}
.reference-scope { font-size: clamp(.92rem, 1.02vw, 1.05rem); }
@media (max-width: 990px) {
  .reference-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reference-list li:nth-child(odd) { border-inline-start: 0; }
  .reference-list li:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 760px) {
  .reference-heading { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .reference-list { grid-template-columns: 1fr; }
  .reference-list li {
    display: grid;
    grid-template-columns: minmax(76px, .64fr) minmax(0, 1.36fr);
    align-items: center;
    gap: 18px;
    padding: 22px 0;
  }
  .reference-list li + li { border-inline-start: 0; border-top: 1px solid var(--rule); }
  .reference-logo { margin: 0; height: auto; }
  .reference-logo img { max-width: min(100%, 120px); max-height: 65px; }
}
