main .section-heading h2 {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: fit-content;
}

main .section-heading h2::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 1.02em;
  height: .52em;
  right: -.82em;
  top: -.22em;
  border: 1.5px solid rgba(232, 187, 68, .88);
  border-bottom: 0;
  border-radius: 1.02em 1.02em 0 0;
  background: repeating-conic-gradient(
    from 270deg at 50% 100%,
    transparent 0 10deg,
    rgba(232, 187, 68, .78) 11deg 12deg
  );
  opacity: .9;
  transform: rotate(8deg);
  transform-origin: bottom center;
  pointer-events: none;
}

main .section-heading h2::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: -.16em;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 78%, rgba(249, 219, 130, 0) 100%);
  pointer-events: none;
}

@media (max-width: 600px) {
  main .section-heading h2::before {
    width: .86em;
    height: .44em;
    right: -.66em;
    top: -.16em;
  }

  main .section-heading h2::after { bottom: -.13em; }
}
