:is(.section, .partners-section, .course-section) h2.section-title-glint {
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--gold, #c7a773);
}

.section-title-text {
  display: inline-block;
  color: inherit;
  font-weight: inherit;
  padding-block: .12em .18em;
  margin-block: -.12em -.18em;
}

@media (max-width: 660px) {
  :is(.section, .partners-section, .course-section) h2.section-title-glint {
    font-size: 41px;
  }
}

@media (max-width: 390px) {
  .partners-section h2.section-title-glint {
    font-size: clamp(32px, 10vw, 41px);
  }
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  @media (prefers-reduced-motion: no-preference) {
    .hero h1 span,
    .section-title-glint > .section-title-text {
      background: linear-gradient(105deg, var(--gold) 40%, #fff0cf 50%, var(--gold) 60%) 100% 0 / 300% 100%;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: hero-gold-glint 3s linear infinite;
    }
  }
}

@keyframes hero-gold-glint {
  0% { background-position: 100% 0; }
  42%, 100% { background-position: 0 0; }
}
