.cw-contact {
  background: var(--cw-color-surface);
  color: var(--cw-text);
  font-family: var(--font-body);
}

.cw-contact-hero {
  width: 100%;
  overflow: hidden;
  background: var(--cw-color-surface-evergreen-soft);
}

.cw-contact-hero__image {
  display: block;
  width: 100%;
  height: auto;
}

.cw-contact-overview {
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
  padding: clamp(48px, 5.8vh, 68px) 0 clamp(48px, 5.8vh, 68px);
}

.cw-contact-overview__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.28fr);
  column-gap: clamp(64px, 6.4vw, 112px);
  row-gap: clamp(98px, 9vh, 118px);
  grid-template-areas:
    "office people"
    "resources image";
}

.cw-contact-overview__left,
.cw-contact-overview__right {
  min-width: 0;
  display: contents;
}

.cw-contact-office {
  grid-area: office;
}

.cw-contact-people {
  grid-area: people;
}

.cw-contact-resources {
  grid-area: resources;
  align-self: center;
}

.cw-contact-image {
  grid-area: image;
}

.cw-contact-office h1,
.cw-contact-people h2,
.cw-contact-resources h2 {
  margin: 0;
  color: var(--cw-green-primary);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.cw-contact-office h1 {
  font-size: clamp(32px, 2.08vw, 40px);
  white-space: nowrap;
}

.cw-contact-people h2,
.cw-contact-resources h2 {
  font-size: clamp(32px, 2.08vw, 40px);
  white-space: nowrap;
}

.cw-contact-office__body {
  margin-top: 28px;
  max-width: 740px;
  font-size: clamp(19px, 1.16vw, 23px);
  line-height: 1.32;
}

.cw-contact-office__body p,
.cw-contact-office__info p,
.cw-contact-person p {
  margin: 0;
}

.cw-contact-office__info {
  margin-top: 8px;
}

.cw-contact-office__info p {
  display: inline;
}

.cw-contact-office__info a,
.cw-contact-person a {
  color: var(--cw-green-primary);
  text-decoration: none;
}

.cw-contact-resources {
  padding-top: 0;
}

.cw-contact-resources ul {
  display: grid;
  gap: 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.cw-contact-resources a {
  color: var(--cw-text);
  font-size: clamp(20px, 1.18vw, 23px);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cw-contact-people {
  padding-top: 2px;
}

.cw-contact-people__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 6vw, 96px);
  margin-top: 28px;
}

.cw-contact-person h3 {
  margin: 0 0 14px;
  color: var(--cw-text);
  font-size: clamp(22px, 1.32vw, 26px);
  font-weight: 700;
  line-height: 1.12;
}

.cw-contact-person {
  font-size: clamp(19px, 1.16vw, 23px);
  line-height: 1.28;
}

.cw-contact-person strong {
  font-weight: 700;
}

.cw-contact-image {
  width: 100%;
  margin-top: 0;
}

.cw-contact-image__media {
  display: block;
  width: 100%;
  aspect-ratio: 1280 / 598;
  object-fit: cover;
}

.cw-contact-lead {
  background: var(--cw-color-surface);
}

.cw-contact-lead__intro {
  position: relative;
  padding: 68px 0 118px;
  background: var(--cw-color-surface-evergreen-soft);
  overflow: visible;
}

.cw-contact-lead__intro::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 88px;
  background: var(--cw-color-surface);
  clip-path: polygon(0 72%, 100% 0, 100% 100%, 0 100%);
}

.cw-contact-lead__intro .cw-container {
  position: relative;
  z-index: 1;
  text-align: left;
}

.cw-contact-lead__intro h2 {
  max-width: 1120px;
  margin: 0 0 32px 0;
  color: var(--cw-green-primary);
  font-family: var(--font-body);
  font-size: 50px;
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
  text-align: left;
}

.cw-contact-lead__intro .cw-container > div {
  max-width: 790px;
  margin-left: 0;
  margin-right: auto;
  color: var(--cw-text);
  font-size: 20px;
  line-height: 1.35;
  text-align: left;
}

.cw-contact-lead__note-wrap {
  position: relative;
  z-index: 2;
  min-height: 34px;
  margin-top: -52px;
}

.cw-contact-lead__note {
  margin: 0;
  color: var(--cw-moss);
  font-size: 18px;
  text-align: right;
}

.cw-contact-lead__form {
  padding: 50px 0 78px;
}

.cw-contact-lead__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 58px;
}

.cw-contact-lead__field {
  display: grid;
  gap: 8px;
  color: var(--cw-moss);
  font-size: 18px;
}

.cw-contact-lead__field.is-wide {
  grid-column: 1 / -1;
}

.cw-contact-lead__field input,
.cw-contact-lead__field textarea {
  width: 100%;
  min-height: 36px;
  border: 0;
  border-bottom: 1px solid var(--cw-moss);
  border-radius: 0;
  background: transparent;
  color: var(--cw-text);
  font: inherit;
  outline: none;
}

.cw-contact-lead__field textarea {
  min-height: 72px;
  resize: vertical;
}

.cw-contact-lead__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  min-height: 54px;
  margin: 52px auto 0;
  border: 0;
  background: var(--cw-color-action);
  color: var(--cw-white);
  font-family: var(--font-body);
  font-size: 20px;
  cursor: pointer;
}

@media (min-width: 1920px) {
  .cw-contact-overview__inner {
    max-width: 1640px;
  }
}

@media (max-width: 1440px) {
  .cw-contact-overview {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .cw-contact-overview__inner {
    gap: 72px;
  }

  .cw-contact-office__body,
  .cw-contact-person,
  .cw-contact-resources a {
    font-size: 20px;
  }

  .cw-contact-person h3 {
    font-size: 24px;
  }
}

@media (max-width: 1180px) {
  .cw-contact-overview {
    min-height: 0;
  }

  .cw-contact-overview__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "office"
      "people"
      "resources"
      "image";
    gap: 64px;
  }

  .cw-contact-overview__left,
  .cw-contact-overview__right {
    display: contents;
  }

  .cw-contact-resources,
  .cw-contact-image {
    margin-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .cw-contact-overview {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .cw-contact-office h1,
  .cw-contact-people h2,
  .cw-contact-resources h2,
  .cw-contact-lead__intro h2 {
    font-size: 34px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .cw-contact-office__body,
  .cw-contact-office__info,
  .cw-contact-office__info p,
  .cw-contact-person,
  .cw-contact-person p,
  .cw-contact-office__info a,
  .cw-contact-person a {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .cw-contact-office__body,
  .cw-contact-person,
  .cw-contact-resources a {
    font-size: 20px;
    line-height: 1.32;
  }

  .cw-contact-people__grid,
  .cw-contact-lead__fields {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cw-contact-lead__intro {
    padding: 42px 0 72px;
  }

  .cw-contact-lead__intro .cw-container > div {
    font-size: 18px;
  }

  .cw-contact-lead__note {
    text-align: left;
    font-size: 16px;
  }

  .cw-contact-lead__note-wrap {
    margin-top: -36px;
    min-height: 24px;
  }

  .cw-contact-lead__form {
    padding: 44px 0;
  }

  .cw-contact-lead__submit {
    width: 100%;
  }
}
