/* Featured challenge: one continuous surface, with the workshop photograph behind the section. */
#challenge.ars-section {
  overflow: hidden;
  padding: clamp(4rem, 5vw, 5.5rem) 0 clamp(3rem, 4vw, 4.5rem);
  background: #061329;
}

#challenge > .ars-container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - clamp(2rem, 7vw, 9.5rem)), 90.5rem);
}

#challenge .ars-challenge-backdrop {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

#challenge .ars-challenge-backdrop img {
  position: absolute;
  top: 0;
  right: -3%;
  width: 76%;
  height: 100%;
  object-fit: cover;
  object-position: 25% 27%;
  filter: brightness(1.23) saturate(.85);
}

#challenge .ars-challenge-backdrop::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #061329 0%, #061329 34%, #061329e8 49%, #0613299e 63%, #06132925 82%),
    linear-gradient(0deg, #061329 0%, #06132900 25%, #06132900 77%, #061329 100%);
  content: "";
}

#challenge .ars-section-intro {
  display: block;
  width: min(53%, 43rem);
  margin: 0 0 clamp(2.1rem, 4vw, 3.5rem);
}

#challenge .ars-section-intro .ars-heading {
  max-width: 17ch;
  margin-top: 1.25rem;
  font-size: clamp(2.7rem, 4vw, 4.2rem);
  line-height: 1.02;
}

#challenge .ars-section-intro > .ars-copy {
  max-width: 49ch;
  margin: 1.45rem 0 0;
  color: #dae6f5;
  font-size: clamp(1rem, 1.2vw, 1.17rem);
  line-height: 1.52;
}

#challenge .ars-challenge-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.6rem, 2.4vw, 2.3rem);
  width: min(53%, 43rem);
  margin: 0;
}

#challenge .ars-challenge-statement {
  max-width: 39rem;
  padding-left: 1.2rem;
  border-left: 2px solid #23ddf2;
  color: #fff;
}

#challenge .ars-challenge-statement span {
  display: block;
  margin-bottom: .65rem;
  color: #71e8f7;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

#challenge .ars-challenge-statement strong {
  display: block;
  max-width: 32ch;
  font-size: clamp(1.3rem, 1.8vw, 1.85rem);
  font-weight: 750;
  line-height: 1.18;
}

#challenge .ars-challenge-measure {
  width: min(100%, 37rem);
  padding-top: 1.35rem;
  border-top: 1px solid #79b9df70;
}

#challenge .ars-challenge-measure-values {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(.5rem, 1.4vw, 1.2rem);
}

#challenge .ars-challenge-measure-values > div {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

#challenge .ars-challenge-measure-values strong {
  color: #f6fbff;
  font-size: clamp(2.9rem, 4vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: 1;
}

#challenge .ars-challenge-measure-values > div:last-child strong {
  color: #51eaf4;
}

#challenge .ars-challenge-measure-values > div span {
  color: #d8e5f3;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .04em;
  line-height: 1.25;
  text-transform: uppercase;
}

#challenge .ars-challenge-measure-arrow {
  color: #72e7f4;
  font-size: 1.9rem;
  line-height: 1;
}

#challenge .ars-challenge-measure > p {
  max-width: 56ch;
  margin: .9rem 0 0;
  color: #aebfd2;
  font-size: .78rem;
  line-height: 1.45;
}

#challenge .ars-challenge-card,
#challenge .ars-card.ars-challenge-card {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

#challenge .ars-challenge-card .ars-heading {
  max-width: 20ch;
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 2.2vw, 2.2rem);
  line-height: 1.12;
}

#challenge .ars-challenge-card > p {
  max-width: 51ch;
  margin: .85rem 0 0;
  color: #d5e2f2;
  font-size: clamp(.98rem, 1.1vw, 1.08rem);
  line-height: 1.52;
}

#challenge .ars-challenge-card .ars-button {
  max-width: 100%;
  min-height: 3.35rem;
  margin: 1.4rem 0 0;
  padding: .9rem 1.35rem;
  border-radius: .8rem;
  box-shadow: 0 .8rem 2rem #01091966;
  line-height: 1.25;
}

#challenge .ars-shift-panel {
  display: grid;
  grid-template-columns: minmax(13rem, .38fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2.4rem);
  align-items: start;
  max-width: 76rem;
  min-height: 0;
  margin: clamp(3rem, 5vw, 4.5rem) 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid #8dc2e652;
  border-radius: 0;
  background: none;
}

#challenge .ars-shift-panel .ars-eyebrow {
  color: #8be9f4;
  font-size: .72rem;
  letter-spacing: .07em;
}

#challenge .ars-shift-panel > div > p:last-child {
  color: #aebfd2;
  font-size: .78rem;
  line-height: 1.45;
}

#challenge .ars-shift-track {
  gap: clamp(.65rem, 1.5vw, 1.5rem);
  margin: 0;
  padding: 0;
  color: #eff8ff;
  background: none;
}

#challenge .ars-shift-track li {
  color: #e8f4ff;
}

/* One connected path gives the four stages a readable direction without implying stage scores. */
#challenge .ars-shift-panel {
  display: block;
  max-width: none;
  padding-top: clamp(1.6rem, 2.7vw, 2.6rem);
}

#challenge .ars-shift-panel > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: end;
  gap: .5rem 2rem;
}

#challenge .ars-shift-panel .ars-eyebrow { grid-column: 1 / -1; }
#challenge .ars-shift-panel h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 2.35vw, 2.55rem);
  font-weight: 780;
  letter-spacing: -.035em;
  line-height: 1.1;
}

#challenge .ars-shift-panel > div > p:last-child {
  max-width: 37ch;
  margin: 0;
  justify-self: end;
  font-size: .86rem;
  line-height: 1.42;
}

#challenge .ars-shift-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: clamp(2.3rem, 3.3vw, 3.2rem) 0 0;
  padding: 0;
  list-style: none;
}

#challenge .ars-shift-track::before {
  position: absolute;
  top: .52rem;
  right: .1rem;
  left: .45rem;
  height: 1px;
  background: linear-gradient(90deg, #708aa9, #26cbdb 34%, #326cf4 67%, #e436e6);
  content: "";
}

#challenge .ars-shift-track::after {
  position: absolute;
  top: .3rem;
  right: .08rem;
  width: .35rem;
  height: .35rem;
  border-top: 1px solid #ed49ee;
  border-right: 1px solid #ed49ee;
  content: "";
  transform: rotate(45deg);
}

#challenge .ars-shift-track li {
  position: relative;
  min-width: 0;
  min-height: 4.2rem;
  padding: 2.1rem 0 0;
  color: #b3c5d8;
  font-size: clamp(1rem, 1.4vw, 1.32rem);
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.16;
  text-transform: none;
}

#challenge .ars-shift-track li::before {
  position: absolute;
  z-index: 1;
  top: .07rem;
  right: auto;
  bottom: auto;
  left: 0;
  width: .9rem;
  height: .9rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: #061329;
  box-shadow: 0 0 0 3px #061329;
  content: "";
}

#challenge .ars-shift-track li:nth-child(2) { color: #77dfed; }
#challenge .ars-shift-track li:nth-child(3) { color: #9aadff; }
#challenge .ars-shift-track li:nth-child(4) {
  color: #fff;
  font-size: clamp(1.1rem, 1.55vw, 1.45rem);
}
#challenge .ars-shift-track li:nth-child(4)::before {
  border-color: #e755ef;
  box-shadow: 0 0 0 3px #061329, 0 0 1.1rem #e02deeaa;
}

@media (max-width: 68rem) {
  #challenge .ars-challenge-backdrop img { right: -10%; width: 84%; }
  #challenge .ars-section-intro,
  #challenge .ars-challenge-feature { width: min(59%, 37rem); }
}

@media (max-width: 46rem) {
  #challenge.ars-section { padding: 3.2rem 0 3.3rem; }
  #challenge > .ars-container { width: calc(100% - 2.4rem); }
  #challenge .ars-section-intro {
    width: 100%;
    margin: 0;
  }
  #challenge .ars-section-intro .ars-heading {
    max-width: 19ch;
    margin-top: 1.2rem;
    font-size: clamp(2.45rem, 9vw, 3.5rem);
  }
  #challenge .ars-section-intro > .ars-copy {
    max-width: 43ch;
    margin-top: 1.25rem;
    font-size: 1rem;
  }
  #challenge .ars-challenge-backdrop img {
    top: clamp(25rem, 115vw, 35rem);
    right: 0;
    width: 100%;
    height: 29rem;
    object-position: 0 32%;
  }
  #challenge .ars-challenge-backdrop::after {
    background:
      linear-gradient(90deg, #061329c9 0%, #0613297a 42%, #06132900 79%),
      linear-gradient(180deg, #061329 0%, #061329 29%, #06132926 39%, #06132912 51%, #061329 68%, #061329 100%);
  }
  #challenge .ars-challenge-feature {
    width: 100%;
    gap: 1.7rem;
    padding-top: clamp(20rem, 80vw, 24rem);
  }
  #challenge .ars-challenge-statement strong {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
  }
  #challenge .ars-challenge-card .ars-heading {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }
  #challenge .ars-challenge-card .ars-button {
    width: 100%;
    font-size: .91rem;
  }
  #challenge .ars-challenge-measure-values strong { font-size: clamp(2.55rem, 11vw, 3.5rem); }
  #challenge .ars-challenge-measure-values > div span { font-size: .69rem; }
  #challenge .ars-shift-panel {
    display: block;
    margin-top: 2.6rem;
    padding-top: 1.6rem;
  }
  #challenge .ars-shift-panel > div { display: block; }
  #challenge .ars-shift-panel h3 { margin-top: .65rem; font-size: clamp(1.75rem, 6.6vw, 2.15rem); }
  #challenge .ars-shift-panel > div > p:last-child {
    max-width: 33ch;
    margin-top: .65rem;
    font-size: .85rem;
  }
  #challenge .ars-shift-track {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 1.9rem 0 0;
    padding-left: 2.8rem;
  }
  #challenge .ars-shift-track::before {
    top: .5rem;
    right: auto;
    bottom: 1.2rem;
    left: .43rem;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, #708aa9, #26cbdb 34%, #326cf4 67%, #e436e6);
  }
  #challenge .ars-shift-track::after { display: none; }
  #challenge .ars-shift-track li {
    min-height: 4.6rem;
    padding: 0 0 1.5rem;
    font-size: 1.22rem;
  }
  #challenge .ars-shift-track li:last-child { min-height: 2rem; padding-bottom: 0; font-size: 1.3rem; }
  #challenge .ars-shift-track li::before {
    top: .15rem;
    right: auto;
    bottom: auto;
    left: -2.8rem;
    width: .9rem;
    height: .9rem;
  }
}

@media (forced-colors: active) {
  #challenge .ars-challenge-backdrop { display: none; }
  #challenge .ars-challenge-card .ars-button { border: 2px solid LinkText; color: LinkText; }
  #challenge .ars-challenge-statement { border-color: CanvasText; }
}
