.engagement {
  position: relative;
  overflow: hidden;
  border-block: 1px solid #382a14;
  background:
    linear-gradient(110deg, #050504 0 44%, transparent 70%),
    radial-gradient(circle at 88% 16%, #51360e42, transparent 32%),
    #090704;
}

.engagement::after {
  content: "01  02  03  04  05  06";
  position: absolute;
  right: -14px;
  bottom: -42px;
  color: #f3c96808;
  font: 600 clamp(64px, 10vw, 150px)/1 Georgia, serif;
  letter-spacing: 14px;
  white-space: nowrap;
  pointer-events: none;
}

.engagement-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  column-gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}

.engagement-intro .eyebrow,
.engagement-intro h2 {
  grid-column: 1;
}

.engagement-intro h2 {
  margin: 8px 0 0;
  color: var(--cream);
  font: 500 clamp(34px, 4vw, 58px)/1.2 Georgia, "Noto Serif SC", serif;
}

.engagement-intro > p:last-of-type {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: #b8aa86;
}

.engagement-intro .button {
  grid-column: 2;
  width: fit-content;
  margin-top: 20px;
}

.engagement-path {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #59431f;
  background: #050504cc;
}

.engagement-path article {
  position: relative;
  min-height: 310px;
  padding: 30px 26px;
  border-right: 1px solid #392b17;
}

.engagement-path article:last-child {
  border-right: 0;
}

.engagement-path article:nth-child(3) {
  border-right: 0;
}

.engagement-path article:nth-child(-n+3) {
  border-bottom: 1px solid #392b17;
}

.engagement-path article::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 82px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.engagement-path article > span {
  color: #6d5529;
  font: 30px/1 Georgia, serif;
}

.engagement-path small {
  display: block;
  margin-top: 58px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2px;
}

.engagement-path h3 {
  margin: 12px 0 8px;
  color: var(--bright);
  font: 500 23px/1.35 Georgia, "Noto Serif SC", serif;
}

.engagement-path p {
  margin: 0;
  color: var(--muted);
}

.engagement-output {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  margin-top: 28px;
  padding: 42px;
  border: 1px solid #59431f;
  background: linear-gradient(135deg, #171006, #080705 60%);
}

.engagement-output small {
  color: var(--gold);
  letter-spacing: 2px;
}

.engagement-output h3 {
  margin: 26px 0 0;
  color: var(--cream);
  font: 500 clamp(26px, 3vw, 40px)/1.35 Georgia, "Noto Serif SC", serif;
}

.engagement-output ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.engagement-output li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid #352916;
}

.engagement-output li:last-child {
  border-bottom: 0;
}

.engagement-output b {
  color: var(--bright);
}

.engagement-output span {
  color: var(--muted);
}

@media (max-width: 1050px) {
  .engagement-intro,
  .engagement-output {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .engagement-intro .eyebrow,
  .engagement-intro h2,
  .engagement-intro > p:last-of-type,
  .engagement-intro .button {
    grid-column: 1;
    grid-row: auto;
  }

  .engagement-path {
    grid-template-columns: 1fr 1fr;
  }

  .engagement-path article:nth-child(3) {
    border-right: 1px solid #392b17;
  }

  .engagement-path article:nth-child(even) {
    border-right: 0;
  }

  .engagement-path article:nth-child(-n+4) {
    border-bottom: 1px solid #392b17;
  }

  .engagement-path article:nth-child(n+5) {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .engagement-path {
    grid-template-columns: 1fr;
  }

  .engagement-path article,
  .engagement-path article:nth-child(3),
  .engagement-path article:nth-child(5) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #392b17;
  }

  .engagement-path article:last-child {
    border-bottom: 0;
  }

  .engagement-output {
    padding: 26px 22px;
  }

  .engagement-output li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
