.brand-logo {
  width: clamp(120px, 37vw, 145px);
  height: auto;
}

@media (min-width: 640px) {
  .brand-logo { width: 182px; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  [data-header] .nav-link { white-space: nowrap; }
  [data-header] nav { column-gap: .875rem; }
}

.projects-section { border-top: 1px solid rgb(32 32 30 / 10%); }
.projects-intro {
  max-width: 38rem;
  margin-top: 1rem;
  color: rgb(32 32 30 / 75%);
}
.projects-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
.gallery-photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e6e1d6;
  cursor: zoom-in;
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.projects-grid figcaption {
  padding-block: .85rem;
  border-bottom: 1px solid rgb(32 32 30 / 15%);
  font-size: .875rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .gallery-photo img { transition: transform 500ms ease; }
  .gallery-photo:hover img { transform: scale(1.04); }
}
