.cs-seq {
  position: relative;
  padding-block: var(--cs-section-y);
  overflow: clip;
}
@media (min-width: 768px) {
  html.has-motion .cs-seq {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    min-height: 100svh;
    padding-block: 40px;
  }
}
.cs-seq__head {
  margin-bottom: 32px;
}
.cs-seq__track {
  display: grid;
  gap: 32px;
  margin: 0;
  padding: 0 var(--cs-gutter);
  list-style: none;
}
@media (min-width: 768px) {
  .cs-seq__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: calc(var(--cs-wrap) + 2 * var(--cs-gutter));
    margin-inline: auto;
    box-sizing: border-box;
  }
  html.has-motion .cs-seq__track {
    display: flex;
    gap: 24px;
    width: max-content;
    max-width: none;
    margin-inline: 0;
    padding-inline: max(var(--cs-gutter), (100vw - var(--cs-wrap)) / 2);
    will-change: transform;
  }
}
.cs-seq__panel {
  min-width: 0;
}
@media (min-width: 768px) {
  html.has-motion .cs-seq__panel {
    flex: none;
    width: min(70vw, (100svh - 440px) * 1.5);
  }
}
@media (min-width: 1025px) {
  html.has-motion .cs-seq__panel {
    width: min(62vw, 900px, (100svh - 440px) * 1.5);
  }
}
.cs-seq__fig {
  margin: 0;
}
.cs-seq__img {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  height: auto;
  object-fit: cover;
  border-radius: var(--cs-radius);
  background: #d9c2ad;
}
.cs-seq figcaption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 14px;
  margin-top: 14px;
}
.cs-seq__num {
  grid-row: span 2;
  color: var(--cs-copal);
  font: 400 34px/1 var(--cs-serif);
}
.cs-seq figcaption b {
  color: var(--cs-forest);
  font: 400 24px/1.2 var(--cs-serif);
}
.cs-seq__line {
  font-size: 16px;
}
.cs-seq__foot {
  display: none;
  margin-top: 28px;
}
@media (min-width: 768px) {
  html.has-motion .cs-seq__foot {
    display: block;
  }
}
.cs-seq__progress {
  position: relative;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--cs-line);
}
.cs-seq__fill {
  position: absolute;
  inset: 0;
  background: var(--cs-forest);
  transform: translateX(-100%);
}
.cs-seq__steps {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: var(--cs-coal);
  font: 400 14px/1.3 var(--cs-sans);
}
.cs-seq__steps li {
  text-align: center;
  transition: color 0.3s;
}
.cs-seq__steps li:first-child {
  text-align: left;
}
.cs-seq__steps li:last-child {
  text-align: right;
}
.cs-seq__steps li.is-current {
  color: var(--cs-forest);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .cs-seq__steps li {
    transition: none;
  }
}