.dealers {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 7%;
  padding-top: 55px;
  padding-bottom: 55px;
  border-top: 1px solid #d9ded4;
}

.dealers .eyebrow {
  color: #a63d14;
  margin-bottom: 15px;
}

.dealers h2 {
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -1.3px;
  margin-bottom: 15px;
}

.dealers p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.dealer-brands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid #ced3ca;
  border-bottom: 1px solid #ced3ca;
}

.dealer-brands li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 12px;
  font-size: clamp(20px, 2.3vw, 32px);
  font-weight: 700;
  letter-spacing: -1px;
}

.dealer-brands li + li {
  border-left: 1px solid #ced3ca;
}

.team {
  background: var(--paper);
}

.team-heading {
  margin-bottom: 48px;
}

.team-heading h2 {
  margin-bottom: 0;
}

.team-member {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: start;
  gap: 8%;
  padding: 48px 0;
  border-top: 1px solid #ced3ca;
}

.team-member:last-child {
  padding-bottom: 0;
}

.team-member h3 {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.8px;
  margin-bottom: 12px;
}

.team-role {
  color: #a63d14;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  line-height: 1.6;
  margin-bottom: 16px;
}

.team-photo {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 25px;
  border-bottom: 4px solid var(--orange);
}

.team-email {
  display: inline-block;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.team-bio {
  max-width: 750px;
  color: var(--muted);
}

.team-bio p {
  margin-bottom: 22px;
}

.team-bio p:last-child {
  margin-bottom: 0;
}

.contact-details {
  display: flex;
  font-style: normal;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 55px;
  margin-top: 30px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 6px;
}

.contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.contact-detail > a {
  font-size: clamp(18px, 2.3vw, 26px);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

footer > .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-contact a {
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

@media (min-width: 761px) and (max-width: 960px) {
  header {
    height: 82px;
    position: relative;
  }

  .menu {
    display: flex;
    gap: 12px;
    border: 0;
    background: none;
    align-items: center;
    font-size: 14px;
  }

  nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: white;
    padding: 25px;
    z-index: 5;
    box-shadow: 0 12px 20px #0002;
  }

  nav.open {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 960px) {
  .dealers {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .team-member {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    gap: 6%;
  }
}

@media (max-width: 760px) {
  .service {
    min-width: 0;
  }

  .dealers {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .dealers h2 {
    font-size: 32px;
  }

  .dealer-brands li {
    font-size: clamp(17px, 5vw, 26px);
    padding: 25px 8px;
    letter-spacing: -.6px;
  }

  .team-heading {
    margin-bottom: 32px;
  }

  .team-member {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 32px 0;
  }

  .team-photo {
    max-width: 360px;
  }

  .team-member h3 {
    font-size: 28px;
  }

  .team-role {
    margin-bottom: 10px;
  }

  .contact-details {
    gap: 24px;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 62px;
  }

  .service h3 br {
    display: initial;
  }
}
