.contact-footer {
  box-sizing: border-box;
  width: 100%;
  margin: clamp(48px, 6vw, 88px) auto 0;
  padding: 24px clamp(20px, 4.5vw, 80px) 32px;
  border-top: 1px solid #d7d7d1;
  color: #29241f;
  font: 400 15px/1.6 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-align: left;
}

.contact-footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: clamp(24px, 4vw, 64px);
  row-gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-footer a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.contact-footer-arrow {
  display: inline-block;
  margin-inline-start: .25em;
}

.about-page .contact-footer {
  margin: 0;
  padding-inline: 16px;
}

body.projects-page,
body.photography-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

.projects-page > .projects-shell,
.photography-page > .photography-shell {
  flex: 1 0 auto;
}

.projects-page .contact-footer {
  padding-inline: 24px;
}

.photography-page .contact-footer {
  padding-inline: 12px;
  border-top-color: rgb(255 255 255 / 25%);
  color: inherit;
}

@media (max-width: 640px) {
  .contact-footer li:last-child { margin-inline-start: auto; }
}
