.cert-path-section.cert-path--reference {
  padding: 112px 5.5vw 132px;
  background: #fbfcfd;
  background-image:
    linear-gradient(rgba(11, 65, 109, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 65, 109, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  overflow: hidden;
}

.cert-path--reference .ladder-header {
  max-width: 1440px;
  margin: 0 auto 82px;
  text-align: left;
}

.cert-path--reference .sec-eyebrow {
  justify-content: flex-start;
  margin-bottom: 16px;
  color: #f27600;
}

.cert-path--reference .sec-h2 {
  max-width: none;
  color: #0b416d;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: clamp(34px, 4.6vw, 66px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.cert-path--reference .cert-path {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 0;
  max-width: 1440px;
  min-height: 430px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 1;
}

.cert-path--reference .cert-path__step {
  --rise: 0px;
  --step: 48px;
  min-width: 0;
  min-height: 218px;
  margin: 0;
  padding: 32px 24px 26px;
  position: relative;
  transform: translateY(var(--rise));
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-top: 8px solid #f27600;
  border-radius: 0;
  box-shadow: 0 18px 34px rgba(12, 47, 72, 0.12);
}

.cert-path--reference .cert-path__step:nth-child(1) { --rise: 192px; }
.cert-path--reference .cert-path__step:nth-child(2) { --rise: 144px; }
.cert-path--reference .cert-path__step:nth-child(3) { --rise: 96px; }
.cert-path--reference .cert-path__step:nth-child(4) { --rise: 48px; }
.cert-path--reference .cert-path__step:nth-child(5) { --rise: 0px; }

/* Keep the staircase offset after the site's reveal animation completes. */
.cert-path--reference .cert-path__step.js-fade.up {
  transform: translateY(calc(var(--rise) + 40px));
}

.cert-path--reference .cert-path__step.js-fade.in {
  transform: translateY(var(--rise));
}

.cert-path--reference .cert-path__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: calc(-1 * var(--step) - 7px);
  right: -7px;
  width: 7px;
  height: calc(var(--step) + 14px);
  background: #f27600;
  z-index: 2;
}

.cert-path--reference .cert-path__kicker {
  position: absolute;
  left: 14px;
  top: -50px;
  margin: 0;
  color: #101820;
  font-size: clamp(15px, 1.45vw, 22px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.cert-path--reference .cert-path__name {
  color: #121a20;
  font-size: clamp(17px, 1.5vw, 23px);
  font-weight: 800;
  line-height: 1.35;
}

.cert-path--reference .cert-path__en {
  margin-top: 14px;
  color: #394b58;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 980px) {
  .cert-path-section.cert-path--reference {
    padding: 92px 6vw 104px;
  }

  .cert-path--reference .cert-path {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    padding-left: 30px;
  }

  .cert-path--reference .cert-path__step,
  .cert-path--reference .cert-path__step:nth-child(n) {
    --rise: 0px;
    width: 100%;
    min-height: 0;
    padding: 24px 20px 22px;
    transform: none;
    border-top-width: 5px;
  }

  .cert-path--reference .cert-path__step.js-fade.up {
    transform: translateY(40px);
  }

  .cert-path--reference .cert-path__step.js-fade.in {
    transform: none;
  }

  .cert-path--reference .cert-path__step:not(:last-child) {
    margin-bottom: 44px;
  }

  .cert-path--reference .cert-path__step:not(:last-child)::after {
    top: auto;
    right: auto;
    left: -24px;
    bottom: -49px;
    width: 5px;
    height: 49px;
  }

  .cert-path--reference .cert-path__kicker {
    top: 28px;
    left: -30px;
    width: 22px;
    color: #f27600;
    font-size: 11px;
    line-height: 1.3;
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .cert-path-section.cert-path--reference {
    padding-top: 80px;
  }

  .cert-path--reference .ladder-header {
    margin-bottom: 46px;
  }

  .cert-path--reference .sec-h2 {
    font-size: clamp(31px, 9vw, 42px);
  }
}
