.links-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.links-main {
  flex: 1;
  padding: clamp(5rem, 10vw, 8rem) 0 0;
}

.links-wrap {
  width: min(100% - 40px, 720px);
  margin-inline: auto;
}

.links-head {
  max-width: 680px;
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.links-portrait {
  display: block;
  width: clamp(210px, 25vw, 300px);
  height: auto;
  margin: 0 0 2.25rem;
}

.links-head h1 {
  margin-bottom: 1rem;
}

.links-intro {
  max-width: 620px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.links-section__title {
  margin-bottom: 2rem;
}

.project {
  padding: 0 0 clamp(2.5rem, 6vw, 3.75rem);
  margin-bottom: clamp(2.5rem, 6vw, 3.75rem);
  border-bottom: 1px solid rgba(17, 17, 17, .18);
}

.project:last-child {
  margin-bottom: 0;
}

.project__heading {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
}

.project__icon {
  display: block;
  height: auto;
  flex: 0 0 auto;
}

.project h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.05;
}

.project__tags {
  margin: 0 0 1.15rem;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .58;
}

.project__text {
  margin: 0 0 1.4rem;
  max-width: 610px;
  font-size: clamp(1rem, 1.8vw, 1.1rem);
}

.project .button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: min(100%, 320px);
}

.project .button::after {
  content: "↗";
  margin-left: 1.5rem;
}

.links-subsection {
  margin-top: clamp(4rem, 8vw, 6rem);
}

.links-connect {
  margin-top: clamp(5rem, 9vw, 7rem);
  padding: clamp(3.5rem, 7vw, 5rem) 20px;
  background: #151515;
  color: #fff;
}

.links-connect .links-wrap {
  width: min(100%, 720px);
}

.social-group {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.social-group:first-of-type {
  padding-top: 0;
}

.social-platform {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .5rem;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .58;
}

.social-platform img {
  display: block;
  width: 24px;
  height: auto;
  flex: 0 0 auto;
  filter: invert(1);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  color: inherit;
  text-decoration: none;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
}

.social-link::after {
  content: "↗";
  flex: 0 0 auto;
}

.links-note {
  margin-top: 2.25rem;
  opacity: .65;
  font-size: .875rem;
}

@media (max-width: 720px) {
  .links-main {
    padding: 4rem 0 0;
  }

  .links-wrap {
    width: calc(100% - 24px);
  }

  .links-portrait {
    width: clamp(210px, 72vw, 290px);
    margin-bottom: 2rem;
  }

  .project__heading {
    gap: .9rem;
  }

  .project .button {
    width: 100%;
    min-width: 0;
  }

  .links-connect {
    padding: 3.25rem 12px;
  }
}
