.projects-gallery, .projects-contact {
  background: #1c1c1c;
  color: #f7f7f4;
}
.projects-intro {
  margin-bottom: clamp(35px, 5.2vw, 68px);
}
.projects-intro > p:last-child, .projects-contact .reveal > p:not(.eyebrow) {
  color: #d0d0cb;
  max-width: 55ch;
  margin-top: 21px;
  font-size: clamp(1rem, 1.5vw, 1.13rem);
}
.projects-page .eyebrow i { background: #f15a63; }
.gallery-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 57px) clamp(26px, 3.6vw, 50px);
}
.gallery-project {
  border-bottom: 1px solid #5b5b58;
  padding-bottom: 23px;
  transition: border-color .25s, opacity .6s ease, transform .65s cubic-bezier(.2,.7,.3,1);
}
.gallery-project:hover, .gallery-project:focus-within { border-color: #f7f7f4; }
.gallery-art {
  display: grid;
  place-items: center;
  aspect-ratio: 1.65;
  overflow: hidden;
  isolation: isolate;
  background: #313130;
  position: relative;
}
.gallery-photo, .gallery-art::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.gallery-photo {
  object-fit: cover;
  z-index: -2;
  filter: saturate(.65);
  transition: transform .45s ease;
}
.gallery-art::after {
  content: '';
  z-index: -1;
  background: rgb(10 10 10 / 48%);
}
.gallery-project:hover .gallery-photo, .gallery-project:focus-within .gallery-photo { transform: scale(1.045); }
.gallery-art-safari-iq .gallery-photo { object-position: 50% 60%; }
.gallery-mark {
  width: 52%;
  max-height: 48%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px #0009);
}
.gallery-art-merryland .gallery-mark, .gallery-art-wildvan .gallery-mark { width: 26%; }
.gallery-art-kitalisa .gallery-mark { width: 60%; }
.gallery-project-copy { padding-top: 19px; }
.gallery-project-copy h2 { font-size: clamp(1.65rem, 2.75vw, 2.65rem); }
.gallery-category { color: #cdcdc7; font-size: .76rem; margin-bottom: 6px; }
.gallery-project-copy > p:not(.gallery-category) {
  margin-top: 9px;
  color: #d0d0cb;
  max-width: 52ch;
}
.gallery-detail {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  padding-block: 9px 2px;
  margin-top: 7px;
  font-weight: 650;
  text-underline-offset: .25em;
}
.gallery-detail:hover { color: #ff8990; }
.projects-principles {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 105px);
}
.principles-list { margin: 0; padding: 0; list-style: none; }
.principles-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding-block: 19px;
  border-bottom: 1px solid var(--line);
}
.principles-list li:first-child { padding-top: 0; }
.principles-list span { color: var(--red); font-size: .84rem; font-weight: 650; }
.principles-list p { margin-top: 8px; color: var(--muted); }
.projects-contact { text-align: center; background: #191918; }
.projects-contact .eyebrow { justify-content: center; }
.projects-contact h2 { font-size: clamp(3rem, 8vw, 7.2rem); }
.projects-contact .reveal > p:not(.eyebrow) { margin-inline: auto; }
.projects-contact .button { margin-top: 24px; }
@media (max-width: 690px) {
  .gallery-projects, .projects-principles { grid-template-columns: minmax(0, 1fr); }
  .gallery-project-copy { padding-top: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-project, .gallery-photo { transition: none; }
}

.gallery-art-wildvan .gallery-mark {
  box-sizing: content-box;
  padding: 8px;
  border-radius: 50%;
  background: #f7f7f4;
}

.projects-metrics { border-top: 1px solid var(--line); }
.projects-metrics .principles-list li { display: block; padding-block: 24px; }
.projects-metrics .principles-list li:first-child { padding-top: 0; }
.projects-metrics .metric-number { margin-bottom: 12px; }
.contact-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 23px; }
.contact-social > * {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid #5b5b58; border-radius: 8px;
  color: #d4d4cf; background: #292928; text-decoration: none;
  font: 800 1.12rem/1 var(--display);
}
.contact-social a:hover { background: #41413e; color: white; }
