.project-contact, .gallery-footer {
  background: #080808;
  color: #fff;
  padding-inline: var(--gutter, clamp(20px, 4.5vw, 80px));
}

.project-contact {
  display: grid;
  grid-template-columns: 1fr minmax(0, .78fr);
  gap: clamp(32px, 7vw, 130px);
  align-items: start;
  padding-block: clamp(80px, 9vw, 156px) clamp(52px, 6vw, 108px);
}
.contact-copy :is(h1, h2) {
  font-size: clamp(2.65rem, 5.5vw, 6rem);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -.04em;
  margin: 0;
  text-wrap: balance;
}
.contact-copy p {
  max-width: 34ch;
  margin: 24px 0 0;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.55;
  color: #bfbfbf;
}
.contact-form { width: 100%; max-width: 38rem; justify-self: end; }
.contact-form:target { scroll-margin-top: 16px; }
.contact-form:focus-visible { outline-offset: 6px; }
.contact-form fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.contact-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.contact-field {
  display: block;
  margin-bottom: 24px;
  font-size: .94rem;
  line-height: 1.4;
  color: #ddd;
}
.contact-field input {
  display: block;
  width: 100%;
  min-height: 36px;
  padding: 3px 2px 6px;
  font: inherit;
  font-size: max(1.08rem, 16px);
  border: 0;
  border-bottom: 1px solid #767676;
  border-radius: 0;
  background: transparent;
  color: #fff;
  caret-color: #fff;
}
.contact-field input:focus-visible {
  outline: 2px solid #80bfff;
  outline-offset: 3px;
}
.contact-consent {
  display: flex;
  width: fit-content;
  align-items: start;
  gap: 11px;
  padding-block: 5px;
  color: #c2c2c2;
  font-size: .825rem;
  line-height: 1.55;
  cursor: pointer;
}
.contact-consent input {
  width: 18px; height: 18px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  color-scheme: dark;
  accent-color: var(--blue, #0071e3);
}
.contact-submit {
  display: inline-block;
  min-height: 48px;
  margin: 24px 0 0;
  padding: 12px 25px;
  border: 0;
  border-radius: 40px;
  background: var(--blue, #0071e3);
  color: #fff;
  font: inherit;
  font-size: .96rem;
  font-weight: 600;
  cursor: pointer;
}
.contact-submit:hover { background: #0064ca; }
.contact-submit:disabled { opacity: .65; cursor: default; }
.contact-consent input:focus-visible, .contact-submit:focus-visible, .gallery-footer a:focus-visible {
  outline: 2px solid #80bfff;
  outline-offset: 4px;
}
.contact-status { margin: 0; color: #eee; font-size: .94rem; line-height: 1.5; }
.contact-status:not(:empty), .contact-form noscript p { margin: 16px 0 0; }
.contact-status[data-error] { color: #ffb6ab; }
.gallery-footer {
  display: grid;
  grid-template-columns: 1fr minmax(0, .78fr);
  align-items: start;
  column-gap: clamp(32px, 7vw, 130px);
  row-gap: 10px;
  padding-block: clamp(48px, 5.5vw, 96px) 18px;
  border-top: 1px solid #373737;
  background: #000;
}
.gallery-footer h2 {
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  line-height: 1.04;
  font-weight: 480;
  letter-spacing: -.04em;
}
.footer-samples {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  max-width: 38rem;
  justify-self: end;
}
.footer-samples-label, .footer-signature p {
  font-size: .875rem;
  line-height: 1.45;
  color: #bfbfbf;
}
.footer-samples ul {
  display: grid;
  gap: 5px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  font-size: clamp(1.175rem, 1.8vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.gallery-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.footer-enquiry {
  justify-self: start;
  gap: 9px;
  font-size: 1rem;
  text-decoration: underline;
  text-decoration-color: #848484;
}
.footer-enquiry:hover { text-decoration-color: currentColor; }
.footer-signature {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(26px, 3.2vw, 56px);
  padding-top: 18px;
  border-top: 1px solid #373737;
}
.footer-signature img { width: 132px; max-width: 35vw; height: auto; }
@media (max-width: 760px) {
  .project-contact { grid-template-columns: 1fr; gap: 38px; }
  .contact-copy p { margin-top: 16px; }
  .contact-form { justify-self: start; }
  .gallery-footer { grid-template-columns: 1fr; row-gap: 14px; }
  .footer-samples { grid-area: auto; justify-self: start; margin-top: 8px; }
  .footer-signature { margin-top: 10px; }
}
