.work-profile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(13rem, .72fr) minmax(0, 1.55fr);
  gap: clamp(2rem, 5vw, 5rem);
  margin: 0 0 clamp(3rem, 7vw, 5.5rem);
  padding: clamp(2rem, 4.5vw, 3.75rem) 0;
  border-top: 1px solid rgba(192, 149, 64, .58);
  border-bottom: 1px solid rgba(16, 52, 75, .16);
}

.work-profile::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: clamp(4.5rem, 10vw, 8rem);
  height: 3px;
  background: var(--gold);
}

.work-profile-heading h3 {
  margin: .6rem 0 .85rem;
  color: var(--navy);
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  line-height: .98;
  font-weight: 400;
}

.work-profile-heading p {
  max-width: 24rem;
  margin: 0;
  color: #526b79;
  font: 400 .95rem/1.65 var(--sans);
}

.work-profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 4vw, 3.75rem);
  margin: 0;
}

.work-profile-fact {
  padding: .15rem 0 1rem;
  border-bottom: 1px solid rgba(16, 52, 75, .13);
}

.work-profile-fact:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.work-profile-fact dt {
  margin: 0 0 .32rem;
  color: #8f6e31;
  font: 600 .68rem/1.3 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.work-profile-fact dd {
  margin: 0;
  color: var(--navy);
  font: 400 1rem/1.5 var(--sans);
}

.work-profile-action {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  width: fit-content;
  margin-top: .65rem;
  padding: .88rem 1.15rem;
  border: 1px solid var(--navy);
  color: var(--navy);
  font: 500 .92rem/1.2 var(--sans);
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease;
}

.work-profile-action::after {
  content: "↗";
  color: var(--gold);
  font-size: 1.05em;
}

.work-profile-action:hover,
.work-profile-action:focus-visible {
  color: var(--white);
  background: var(--navy);
}

@media (max-width: 720px) {
  .work-profile {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .work-profile-facts {
    grid-template-columns: 1fr;
  }

  .work-profile-fact:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(16, 52, 75, .13);
  }

  .work-profile-fact:last-child {
    border-bottom: 0;
  }

  .work-profile-action {
    grid-column: 1;
    width: 100%;
    justify-content: space-between;
  }
}

