.brand {
  width: 220px;
  height: 96px;
  overflow: visible;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
  mix-blend-mode: screen;
}

.work-gallery {
  padding: 110px clamp(24px, 8vw, 130px) 120px;
  color: #fff;
  background: #001a2d;
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 54px;
}

.gallery-heading h2 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: .94;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 18px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: #0e3146;
}

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

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

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

.contact {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(480px, 1.2fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: start;
  background: #fff;
}

.contact-intro > p:last-child {
  max-width: 520px;
  margin-top: 28px;
  color: #536772;
}

.contact-intro strong {
  color: #002f52;
}

.company-address {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #cbd6db;
  color: #334b59;
  font-style: normal;
  line-height: 1.7;
}

.company-address strong {
  color: #002f52;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #334b59;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #bdcbd2;
  border-radius: 0;
  outline: none;
  background: #f8fafb;
  color: #0a202f;
  font: 500 1rem/1.5 Inter, Arial, sans-serif;
  transition: .2s;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ff8700;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 135, 0, .13);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.form-footer p {
  max-width: 390px;
  margin: 0;
  color: #6a7b84;
  font-size: .78rem;
  line-height: 1.5;
}

.contact-form button {
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .brand { width: 175px; height: 76px; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: 390px 240px 240px; }
  .gallery-grid .gallery-main { grid-row: auto; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .brand { width: 150px; height: 66px; }
  .work-gallery { padding-top: 80px; padding-bottom: 80px; }
  .gallery-grid { grid-template-rows: 290px 190px 190px; }
  .form-row { grid-template-columns: 1fr; }
  .form-footer { align-items: flex-start; flex-direction: column; }
}
