.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project img,
.project-wide img {
  height: auto;
  aspect-ratio: 4 / 3;
}

@media (max-width: 760px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}

.form-note a,
footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.95rem;
}

.form-status.error {
  color: #9a2f22;
  font-weight: 600;
}

.form-status:empty {
  display: none;
}

.toast:empty {
  display: none;
}

footer > p:nth-of-type(2) {
  text-align: right;
}

.footer-credit {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  color: #adb8b1;
  text-align: center;
}

.footer-credit a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  footer > p:nth-of-type(2) {
    text-align: left;
  }

  .footer-credit {
    text-align: left;
  }
}

/* Longer hero headline: keep it to two lines on desktop, three on phones */
.hero h1 {
  font-size: clamp(40px, 4.9vw, 76px);
}

.nowrap {
  white-space: nowrap;
}

.hero-content {
  width: min(900px, 88%);
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 38px;
  }
}

/* Links from the home page service cards to the service pages */
.service-copy .arrow-link {
  margin-top: 18px;
  font-size: 14px;
}
