.jrs-page {
  --deep: #101923;
  --navy: #26384c;
  --cyan: #9fe8d0;
  --green: #bce8a6;
  --gold: #f1d277;
  --rose: #eca8b5;
}

.jrs-hero .hero-image {
  object-position: 58% center;
}

.jrs-hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 18, 28, 0.9) 0%, rgba(10, 18, 28, 0.64) 48%, rgba(10, 18, 28, 0.16) 100%),
    linear-gradient(180deg, rgba(10, 18, 28, 0.18), rgba(10, 18, 28, 0.62));
}

.jrs-page .hero-content {
  width: min(1050px, calc(100% - 48px));
}

.jrs-page .hero-content h1 {
  font-size: clamp(44px, 6.2vw, 88px);
}

.jrs-page .answer-grid--scale7 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.jrs-page .answer-option {
  min-height: 126px;
}

.jrs-page .answer-option strong {
  font-size: 32px;
}

.jrs-page .answer-option span {
  font-size: 14px;
}

.quadrant-map {
  position: relative;
  height: 270px;
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.26) 50%, transparent calc(50% + 1px)),
    linear-gradient(0deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.26) 50%, transparent calc(50% + 1px)),
    linear-gradient(135deg, rgba(159, 232, 208, 0.18), rgba(236, 168, 181, 0.14));
}

.quadrant-map::before,
.quadrant-map::after {
  position: absolute;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quadrant-map::before {
  content: "Developing";
  left: 16px;
  bottom: 14px;
}

.quadrant-map::after {
  content: "At Risk";
  right: 16px;
  bottom: 14px;
}

.axis {
  position: absolute;
  z-index: 1;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.axis-x {
  right: 16px;
  top: calc(50% + 10px);
}

.axis-y {
  left: 16px;
  top: 16px;
}

.quadrant-map i {
  position: absolute;
  left: calc(var(--risk, 0.5) * 100%);
  bottom: calc(var(--flourish, 0.5) * 100%);
  width: 22px;
  aspect-ratio: 1;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 12px rgba(159, 232, 208, 0.18);
  transform: translate(-50%, 50%);
  transition:
    left 240ms ease,
    bottom 240ms ease;
}

.jrs-page .risk-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jrs-page .risk-list li {
  min-height: 160px;
}

@media (max-width: 1120px) {
  .jrs-page .answer-grid--scale7 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .jrs-page .answer-grid--scale7,
  .jrs-page .risk-list {
    grid-template-columns: 1fr;
  }

  .jrs-page .hero-content h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .quadrant-map {
    height: 220px;
  }
}
