:root {
  --msp-orange: #b85b2c;
  --msp-orange-dark: #7e3318;
  --msp-ink: #17212b;
  --msp-paper: #f7f4ef;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.header nav .msp-header-call > a {
  background: var(--msp-ink) !important;
  color: #fff !important;
  font-size: 12px !important;
  white-space: nowrap;
}

.header .side-nav {
  display: none !important;
}

@media (min-width: 1080px) {
  .header > .wrapper {
    width: calc(100% - 40px) !important;
    max-width: 1400px !important;
  }

  .header .msp-header-call {
    position: absolute !important;
    top: 0;
    right: 0;
    width: 170px !important;
    min-width: 170px !important;
    max-width: 170px !important;
    height: 115px;
  }

  .header .msp-header-call > a {
    display: flex !important;
    width: 100%;
    height: 115px;
    align-items: center;
    justify-content: center;
  }

  .header aside > nav > .nav-element:has(> a[href="/about"]),
  .header aside > nav > .nav-element:has(> a[href="/capabilities"]),
  .header aside > nav > .nav-element:has(> a[href="/service-areas"]) {
    display: none !important;
  }

  .header aside > nav > .nav-element.highlight {
    position: absolute !important;
    top: 0;
    right: 170px;
    width: 90px !important;
    height: 115px;
  }

  .header aside > nav > .nav-element.highlight > a {
    display: flex !important;
    width: 100%;
    height: 115px;
    align-items: center;
    justify-content: center;
  }

  .header aside > nav {
    box-sizing: border-box;
    padding-right: 260px !important;
  }

  .header aside > nav > .nav-element > a {
    padding-left: 6px !important;
    padding-right: 6px !important;
    font-size: 12px !important;
  }
}

.msp-hero .overlay {
  background: linear-gradient(90deg, rgba(7, 15, 21, .38), rgba(7, 15, 21, .1)) !important;
  opacity: 1 !important;
}

.msp-hero .msp-slide-title {
  transform: rotate(-90deg) translateX(100%);
  transform-origin: bottom right;
  z-index: 5;
  margin: 0;
  white-space: nowrap;
  font-family: Montserrat, sans-serif;
  font-size: min(180px, 15vh);
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .025em;
  color: #fff;
  font-weight: 800;
}

@media (max-width: 767px) {
  .msp-hero .msp-slide-title {
    font-size: min(20vw, 18vh);
  }
}

.msp-roof-desk {
  position: relative;
  z-index: 5;
  margin: 0;
  background: var(--msp-ink);
  color: #fff;
}

.msp-roof-desk__inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.msp-roof-desk article {
  min-height: 330px;
  padding: 48px 38px;
  border-left: 1px solid rgba(255, 255, 255, .16);
}

.msp-roof-desk article:last-child {
  border-right: 1px solid rgba(255, 255, 255, .16);
}

.msp-roof-desk article:nth-child(2) {
  background: var(--msp-orange);
}

.msp-roof-desk span,
.msp-home-lead__copy > span {
  display: block;
  margin-bottom: 15px;
  color: #edaf44;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.msp-roof-desk article:nth-child(2) span {
  color: #fff;
}

.msp-roof-desk h2 {
  margin: 0 0 18px;
  color: #fff !important;
  font-size: clamp(27px, 2.4vw, 38px);
  line-height: 1.04;
}

.msp-roof-desk p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.55;
}

.msp-roof-desk a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 10px 16px;
  border: 2px solid var(--msp-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}

.msp-roof-desk article:nth-child(2) a {
  border-color: #fff;
}

.quick-hit {
  background: var(--msp-paper);
}

.quick-hit__content aside p {
  max-width: 860px;
}

.quick-hit .button {
  display: inline-flex;
  margin: 10px 10px 0 0;
}

.msp-home-lead {
  margin: 0;
  padding: clamp(72px, 9vw, 126px) 0;
  background: var(--msp-ink);
  color: #fff;
}

.msp-home-lead__inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(460px, 1.18fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}

.msp-home-lead__copy h2 {
  margin: 0 0 24px;
  color: #fff !important;
  font-size: clamp(48px, 6.3vw, 86px);
  line-height: .92;
}

.msp-home-lead__copy p {
  max-width: 520px;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  line-height: 1.65;
}

.msp-home-lead__call a {
  color: #fff;
  font-weight: 800;
}

.msp-lead-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(26px, 4vw, 46px);
  background: var(--msp-paper);
  color: var(--msp-ink);
}

.msp-lead-form::before,
.msp-lead-form::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  height: 10px;
}

.msp-lead-form::before {
  left: 0;
  background: var(--msp-orange);
}

.msp-lead-form::after {
  right: 0;
  background: #edaf44;
}

.msp-lead-form label {
  margin: 0;
  color: var(--msp-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.msp-lead-form input,
.msp-lead-form select,
.msp-lead-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 12px;
  border: 1px solid #a9a9a9;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: inherit;
  box-sizing: border-box;
}

.msp-lead-form input,
.msp-lead-form select {
  min-height: 50px;
}

.msp-lead-form .msp-form-wide,
.msp-lead-form button,
.msp-lead-form .msp-form-status {
  grid-column: 1 / -1;
}

.msp-lead-form button {
  min-height: 56px;
  border: 0;
  background: var(--msp-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}

.msp-lead-form button:hover {
  background: var(--msp-orange-dark);
}

.msp-form-status {
  min-height: 20px;
  margin: 0;
  color: var(--msp-ink);
  line-height: 1.4;
}

.msp-hp {
  position: absolute !important;
  left: -9999px !important;
}

.side-form .msp-lead-form {
  width: 100%;
}

.msp-mobile-call {
  display: none;
}

@media (max-width: 1240px) and (min-width: 1080px) {
  .header nav .nav-element > a {
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 1079px) {
  .header nav .msp-header-call > a {
    display: flex !important;
    background: var(--msp-orange) !important;
  }

  .msp-roof-desk__inner,
  .msp-home-lead__inner {
    grid-template-columns: 1fr;
  }

  .msp-roof-desk article {
    min-height: 0;
    border-right: 1px solid rgba(255, 255, 255, .16);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
  }
}

@media (max-width: 767px) {
  .msp-roof-desk__inner,
  .msp-home-lead__inner {
    width: calc(100% - 32px);
  }

  .msp-roof-desk article {
    padding: 36px 28px;
  }

  .msp-lead-form {
    grid-template-columns: 1fr;
  }

  .msp-lead-form .msp-form-wide,
  .msp-lead-form button,
  .msp-lead-form .msp-form-status {
    grid-column: auto;
  }

  .msp-mobile-call {
    position: fixed;
    right: 17px;
    bottom: 17px;
    z-index: 3000;
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--msp-orange);
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
    font-size: 27px;
    text-decoration: none;
  }
}

@media (max-width: 575px) {
  .msp-hero .wrapper {
    justify-content: flex-start;
    align-items: flex-end;
    padding-left: 22px;
    padding-bottom: 70px;
  }

  .msp-hero h1,
  .msp-hero .msp-slide-title {
    max-width: calc(100vw - 44px);
    transform: none !important;
    transform-origin: initial !important;
    white-space: normal !important;
    font-size: clamp(54px, 18vw, 82px) !important;
    line-height: .86 !important;
  }

  .msp-home-lead__copy h2 {
    font-size: 50px;
  }
}
