.contact-page [data-contact-type] {
  font-family: var(--contact-custom-font, inherit) !important;
  font-size: var(--contact-custom-size, inherit) !important;
}

.contact-hero .services-hero-shade {
  background:
    linear-gradient(90deg, rgb(6 8 7 / 94%) 0%, rgb(6 8 7 / 73%) 48%, rgb(6 8 7 / 55%) 100%),
    linear-gradient(0deg, rgb(6 8 7 / 74%) 0%, transparent 46%);
}

.contact-hero .services-hero-copy h1 {
  max-width: 760px;
}

.contact-route-nav {
  background: #101412;
  border-top: 1px solid #ffffff1f;
  color: #fff;
}

.contact-route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  display: grid;
}

.contact-route-grid > a {
  border-right: 1px solid #ffffff1c;
  grid-template-columns: 42px minmax(0, 1fr) 30px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 7px 14px;
  min-height: 140px;
  padding: 26px 30px;
  transition: background 0.2s ease;
  display: grid;
}

.contact-route-grid > a:first-child {
  border-left: 1px solid #ffffff1c;
}

.contact-route-grid > a > span {
  color: #cf3325;
  grid-row: 1 / 3;
  font: 700 10px/1 "Courier New", monospace;
}

.contact-route-grid small {
  color: #87918b;
  text-transform: uppercase;
  font: 700 9px/1 "Courier New", monospace;
}

.contact-route-grid strong {
  color: #fff;
  text-transform: uppercase;
  font-size: 17px;
}

.contact-route-grid b {
  color: #e2d21f;
  grid-column: 3;
  grid-row: 1 / 3;
  font-size: 21px;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.contact-route-grid > a:hover,
.contact-route-grid > a:focus-visible {
  background: #ffffff0b;
}

.contact-route-grid > a:hover b,
.contact-route-grid > a:focus-visible b {
  transform: translateX(5px);
}

.contact-workspace {
  background: #eef0ec;
  color: #111412;
  padding: 120px 0;
}

.contact-workspace-grid {
  grid-template-columns: minmax(320px, 0.72fr) minmax(620px, 1.28fr);
  align-items: start;
  gap: 7vw;
  display: grid;
}

.contact-context {
  position: sticky;
  top: 110px;
}

.contact-kicker {
  color: #535b56;
  text-transform: uppercase;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  font: 700 10px/1 "Courier New", monospace;
  display: flex;
}

.contact-kicker span {
  background: #cf3325;
  width: 38px;
  height: 2px;
}

.contact-context h2 {
  color: #111412;
  margin: 0;
  font-size: clamp(54px, 5.6vw, 92px);
  font-weight: 500;
  line-height: 0.92;
  text-transform: uppercase;
}

.contact-context > p:not(.contact-kicker) {
  color: #4f5852;
  max-width: 590px;
  margin: 34px 0 0;
  font-size: 16px;
  line-height: 1.7;
}

.contact-direct {
  border-top: 2px solid #111412;
  margin-top: 44px;
  display: grid;
}

.contact-direct a {
  border-bottom: 1px solid #c7cbc7;
  grid-template-columns: 120px 1fr;
  align-items: start;
  gap: 24px;
  padding: 23px 0;
  display: grid;
}

.contact-direct small {
  color: #6f7772;
  text-transform: uppercase;
  font: 700 9px/1 "Courier New", monospace;
}

.contact-direct strong {
  color: #111412;
  font-size: 20px;
  line-height: 1.25;
}

.contact-form-shell {
  background: #fff;
  border: 1px solid #c9cdc9;
  color: #111412;
  box-shadow: 0 24px 70px rgb(17 20 18 / 8%);
}

.contact-form-heading {
  border-top: 4px solid #cf3325;
  border-bottom: 1px solid #c9cdc9;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  padding: 30px 34px 26px;
  display: grid;
}

.contact-form-heading > div {
  gap: 7px;
  display: grid;
}

.contact-form-heading span,
.contact-form-heading > small {
  color: #6f7772;
  text-transform: uppercase;
  font: 700 9px/1 "Courier New", monospace;
}

.contact-form-heading h2 {
  color: #111412;
  margin: 0;
  font-size: 32px;
}

.contact-form {
  padding: 34px;
}

.contact-honeypot {
  width: 1px;
  height: 1px;
  position: absolute;
  left: -10000px;
  overflow: hidden;
}

.contact-topic-fieldset {
  border: 0;
  margin: 0 0 32px;
  padding: 0;
}

.contact-topic-fieldset legend {
  color: #414844;
  margin-bottom: 13px;
  text-transform: uppercase;
  font: 700 10px/1 "Courier New", monospace;
}

.contact-topic-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  display: grid;
}

.contact-topic-grid label {
  min-width: 0;
}

.contact-topic-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-topic-grid span {
  background: #fff;
  border: 1px solid #c9cdc9;
  border-right: 0;
  color: #252a27;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  display: flex;
}

.contact-topic-grid span:hover {
  background: #f0f2ef;
  border-color: #9fa69f;
}

.contact-topic-grid label:last-child span {
  border-right: 1px solid #c9cdc9;
}

.contact-topic-grid input:checked + span {
  background: #111412;
  border-color: #111412;
  color: #fff;
  box-shadow: inset 0 -3px 0 #e2d21f;
}

.contact-topic-grid input:focus-visible + span {
  outline: 2px solid #cf3325;
  outline-offset: -3px;
}

.contact-field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  display: grid;
}

.contact-field {
  gap: 8px;
  display: grid;
}

.contact-field > span {
  color: #343a36;
  text-transform: uppercase;
  font: 700 10px/1 "Courier New", monospace;
}

.contact-field input,
.contact-field textarea {
  background: #f7f8f6;
  border: 1px solid #b8beb9;
  color: #111412;
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  font: 15px/1.5 Arial, Helvetica, sans-serif;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #737b76;
  opacity: 1;
}

.contact-field textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: #cf3325;
  outline: 2px solid rgb(207 51 37 / 13%);
}

.contact-field small {
  color: #cf3325;
  min-height: 14px;
  font-size: 11px;
}

.contact-field.has-error input,
.contact-field.has-error textarea {
  border-color: #cf3325;
  box-shadow: inset 3px 0 0 #cf3325;
}

.contact-field-wide {
  grid-column: 1 / -1;
}

.contact-submit-row {
  border-top: 1px solid #c9cdc9;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  display: grid;
}

.contact-submit-row p {
  color: #737b76;
  max-width: 430px;
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
}

.contact-submit-row button {
  background: #cf3325;
  border: 1px solid #cf3325;
  color: #fff;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-width: 190px;
  min-height: 56px;
  padding: 0 20px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 850;
  display: flex;
}

.contact-submit-row button:hover,
.contact-submit-row button:focus-visible {
  background: #111412;
  border-color: #111412;
}

.contact-submit-row button[disabled] {
  background: #d7dad7;
  border-color: #c7cbc7;
  color: #59615c;
  cursor: not-allowed;
  opacity: 1;
}

.contact-form-status {
  color: #343a36;
  min-height: 0;
  margin-top: 0;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.contact-form-status:not(:empty) {
  border-left: 4px solid #cf3325;
  background: #e7eae6;
  color: #343a36;
  min-height: 52px;
  margin-top: 20px;
  padding: 16px;
}

.contact-form-status.is-success:not(:empty) {
  border-left-color: #83992e;
}

.contact-operating-band {
  background: #111412;
  color: #fff;
  padding: 0;
}

.contact-operating-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  display: grid;
}

.contact-operating-grid > div {
  border-right: 1px solid #ffffff1c;
  min-height: 180px;
  padding: 42px;
  display: grid;
  align-content: center;
  gap: 15px;
}

.contact-operating-grid > div:first-child {
  border-left: 1px solid #ffffff1c;
}

.contact-operating-grid span {
  color: #e2d21f;
  text-transform: uppercase;
  font: 700 9px/1 "Courier New", monospace;
}

.contact-operating-grid strong {
  font-size: 20px;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .contact-workspace-grid {
    grid-template-columns: 1fr;
  }

  .contact-context {
    position: static;
  }

  .contact-topic-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .contact-topic-grid span,
  .contact-topic-grid label:last-child span {
    border: 1px solid #c9cdc9;
  }
}

@media (max-width: 760px) {
  .contact-page [data-contact-type$=".title"] {
    font-size: var(--contact-custom-mobile-size, var(--contact-custom-size, inherit)) !important;
  }

  .contact-route-grid,
  .contact-operating-grid {
    grid-template-columns: 1fr;
  }

  .contact-route-grid > a,
  .contact-route-grid > a:first-child,
  .contact-operating-grid > div,
  .contact-operating-grid > div:first-child {
    border-left: 1px solid #ffffff1c;
    border-right: 1px solid #ffffff1c;
    border-bottom: 1px solid #ffffff1c;
  }

  .contact-workspace {
    padding: 82px 0;
  }

  .contact-context h2 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .contact-form-heading,
  .contact-submit-row {
    grid-template-columns: 1fr;
  }

  .contact-form-heading,
  .contact-form {
    padding-right: 22px;
    padding-left: 22px;
  }

  .contact-field-grid,
  .contact-topic-grid {
    grid-template-columns: 1fr;
  }

  .contact-field-wide {
    grid-column: auto;
  }

  .contact-submit-row button {
    width: 100%;
  }
}
