@media (max-width: 450px) {
  .nav {
    gap: 9px;
  }
  .brand,
  .brand img {
    width: 118px;
  }
  .nav > .btn {
    min-height: 40px;
    padding: 8px 10px;
  }
  .menu {
    padding: 7px 9px;
  }
}

.headquarters-hero p {
  max-width: 780px;
}
.headquarters-now .section-head > div {
  max-width: 720px;
}
.hq-grid {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}
.hq-grid figure {
  margin: 0;
  overflow: hidden;
  background: #e7eaeb;
}
.hq-grid img {
  width: 100%;
  height: 100%;
  min-height: 285px;
  object-fit: cover;
}
.hq-grid-new {
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: repeat(2, 290px);
}
.hq-grid-new .hq-feature {
  grid-row: 1 / 3;
  position: relative;
}
.hq-grid-new .hq-feature img {
  min-height: 598px;
}
.hq-feature figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 13px 16px;
  background: rgba(16, 20, 23, 0.9);
  color: white;
  font-size: 0.875rem;
}
.hq-grid-former {
  grid-template-columns: 0.8fr 1.3fr 1.3fr;
  grid-template-rows: 330px;
}
.hq-grid-former img {
  filter: saturate(0.76);
}
.headquarters-video .section-head h2 {
  max-width: 760px;
}

@media (max-width: 900px) {
  .hq-grid-new {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 420px 260px 260px;
  }
  .hq-grid-new .hq-feature {
    grid-column: 1 / 3;
    grid-row: auto;
  }
  .hq-grid-new .hq-feature img {
    min-height: 420px;
  }
  .hq-grid-former {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 260px;
  }
}

@media (max-width: 600px) {
  .hq-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 14px;
    margin-top: 28px;
  }
  .hq-grid-new .hq-feature {
    grid-column: auto;
  }
  .hq-grid img,
  .hq-grid-new .hq-feature img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .hq-grid-former img {
    aspect-ratio: 3 / 2;
  }
}

.hero-grid {
  position: relative;
}
.hero-gear-values {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 7;
  width: clamp(80px, 7vw, 104px);
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.32));
}
.hero-copy {
  padding-right: 28px;
}
.gear-definition {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 14px;
  max-width: 560px;
  margin-top: 18px;
  color: #fff;
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}
.gear-definition strong {
  color: var(--accent);
  font-size: 1.35em;
}
.gear-definition .gear-through {
  color: #aeb5ba;
  font-size: 0.65em;
  letter-spacing: 0.14em;
}
.automotive-skills-copy,
.automotive-skills-copy p {
  text-align: left;
}

@media (max-width: 1000px) {
  .hero-gear-values {
    top: 8px;
    width: 76px;
  }
  .hero-copy {
    padding-right: 24px;
  }
}

@media (max-width: 760px) {
  .hero-gear-values {
    position: relative;
    top: auto;
    left: auto;
    align-self: center;
    width: min(24vw, 96px);
    margin: -10px auto 10px;
    transform: none;
  }
  .hero-copy {
    padding-right: 0;
  }
}
