.nav {
  min-height: 250px;
  height: auto;
  padding: 14px 6vw 18px;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, .97);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
}

.brand img {
  display: block;
  width: min(1180px, 94vw);
  height: 180px;
  object-fit: contain;
  object-position: center;
}

.nav nav { justify-content: center; }

.project-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: repeat(2, minmax(240px, 1fr));
  gap: 14px;
  padding: 14px;
  background: var(--deep);
}

.project-gallery figure {
  margin: 0;
  overflow: hidden;
  min-height: 240px;
}

.project-gallery .gallery-wide { grid-row: 1 / 3; }

.project-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.project-gallery figure:hover img { transform: scale(1.025); }

.quote-form {
  width: min(900px, 100%);
  margin: 42px auto 34px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  text-align: left;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
}

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-wide { grid-column: 1 / -1; }
.quote-form label { font-size: 15px; font-weight: 700; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  color: var(--deep);
  background: white;
  border: 2px solid transparent;
  border-radius: 4px;
  font: 16px 'DM Sans', sans-serif;
}
.quote-form textarea { min-height: 130px; resize: vertical; }
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus { outline: none; border-color: var(--gold); }
.quote-submit {
  border: 0;
  border-radius: 4px;
  padding: 15px 24px;
  background: var(--gold);
  color: var(--deep);
  font: 700 16px 'DM Sans', sans-serif;
  cursor: pointer;
}
.quote-submit:hover { filter: brightness(1.06); }
.form-note { display: inline; margin-left: 14px; font-size: 14px !important; color: rgba(255,255,255,.78); }

@media (max-width: 850px) {
  .nav { min-height: 210px; padding: 10px 4vw 16px; }
  .brand img { width: 96vw; height: 150px; }
  .project-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 220px; }
  .project-gallery .gallery-wide { grid-column: 1 / 3; grid-row: auto; }
}

@media (max-width: 540px) {
  .nav { min-height: 150px; padding: 7px 3vw 12px; }
  .brand img { width: 98vw; height: 105px; }
  .nav nav { width: 100%; }
  .nav-cta { width: 100%; text-align: center; }
  .project-gallery { display: block; padding: 8px; }
  .project-gallery figure { height: 230px; min-height: 0; margin-bottom: 8px; }
  .project-gallery figure:last-child { margin-bottom: 0; }
  .quote-form { grid-template-columns: 1fr; padding: 22px 18px; }
  .form-wide { grid-column: auto; }
  .quote-submit { width: 100%; }
  .form-note { display: block; margin: 10px 0 0; text-align: center; }
}
