.production-steps {
  position: relative;
  z-index: 1;
  margin-top: -120px;
  padding: clamp(96px, 7vw, 118px) var(--gutter) clamp(110px, 9vw, 160px);
  overflow: clip;
  background: var(--paper);
  color: var(--ink);
}

.production-steps__layout {
  display: grid;
  grid-template-columns: minmax(390px, 508px) minmax(530px, 622px);
  justify-content: space-between;
  gap: clamp(76px, 10vw, 230px);
  max-width: var(--content-max);
  margin: 0 auto;
}

.production-steps__left {
  position: sticky;
  top: clamp(54px, 6vh, 90px);
  align-self: start;
}

.production-steps__title {
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(42px, 4.167vw, 65px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: normal;
  white-space: normal;
}

.production-steps__title .reveal-char {
  color: rgba(33, 37, 41, .24);
}

.production-steps__title-line {
  display: inline;
  white-space: normal;
}

@media (min-width: 1280px) {
  .production-steps__title-line {
      display: inline-block;
      white-space: nowrap;
    }
}

.production-steps__media {
  margin-top: clamp(118px, 10.6vw, 153px);
}

.production-steps__caption,
.production-steps__note {
  margin: 0;
  color: #76777a;
  font-weight: 400;
  line-height: 1.5;
}

.production-steps__caption {
  margin-bottom: 14px;
  font-size: clamp(14px, 1.111vw, 17px);
}

.production-steps__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 508 / 415;
  border-radius: 20px;
  object-fit: cover;
}

.production-steps__note {
  max-width: 360px;
  margin-top: clamp(56px, 5.28vw, 80px);
  font-size: 20px;
  font-weight: 300;
}

.production-timeline {
  position: relative;
  display: grid;
  gap: clamp(80px, 7.58vw, 110px);
  margin-top: clamp(280px, 23.6vw, 340px);
}

.production-timeline__line,
.production-timeline__progress {
  position: absolute;
  top: 18px;
  left: 15px;
  width: 2px;
  height: calc(100% - 36px);
  border-radius: 999px;
}

.production-timeline__line {
  background: #e8e8e8;
}

.production-timeline__progress {
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(252, 192, 190, 1);
  transform: scaleY(0);
  transform-origin: center top;
  will-change: transform;
}

.production-step {
  position: relative;
  display: grid;
  min-height: 0;
  grid-template-columns: clamp(70px, 7vw, 100px) minmax(0, 1fr);
  align-content: start;
  padding-left: clamp(52px, 4.17vw, 60px);
}

.production-step__marker {
  position: absolute;
  z-index: 2;
  top: 3px;
  left: 5px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid #e8e8e8;
  border-radius: 50%;
  background: var(--paper);
  transition: border-color .25s ease, transform .25s ease;
}

.production-step__marker > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e8e8e8;
  transition: background-color .25s ease, transform .25s ease;
}

.production-step.is-active .production-step__marker {
  border-color: #76777a;
  transform: scale(1.03);
}

.production-step.is-active .production-step__marker > span {
  background: #76777a;
  transform: scale(1.08);
}

.production-step__number {
  margin: -12px 0 0;
  color: #e8e8e8;
  font-size: clamp(44px, 4.167vw, 64px);
  font-weight: 400;
  line-height: 1.25;
  transition: color .25s ease;
}

.production-step.is-active .production-step__number {
  color: #202529;
}

.production-step__copy {
  min-width: 0;
}

.production-step__copy h3,
.production-step__copy p {
  margin: 0;
}

.production-step__copy h3 {
  color: #e8e8e8;
  font-size: clamp(29px, 2.778vw, 43px);
  font-weight: 600;
  line-height: 1.2;
  transition: color .35s ease;
}

.production-step.is-active .production-step__copy h3 {
  color: #212529;
}

.production-step__copy p {
  max-width: 470px;
  margin-top: 15px;
  color: #757575;
  font-size: clamp(16px, 1.389vw, 20px);
  font-weight: 300;
  line-height: 1.5;
  transition: color .25s ease, opacity .25s ease;
}

.production-step.is-active .production-step__copy p {
  color: #5f5f5f;
}

.factory-showcase {
  position: relative;
  height: auto;
  aspect-ratio: 1360 / 475;
  margin-top: clamp(62px, 6.9vw, 106px);
  overflow: hidden;
  border-radius: 20px;
  background: transparent;
  clip-path: inset(0 round 20px);
  contain: paint;
  isolation: isolate;
}

@media (min-width: 980px) {
  .factory-showcase {
      width: 100%;
      height: clamp(577px, 45.14vw, 650px);
      aspect-ratio: auto;
      margin-left: 0;
    }
}

.factory-showcase__poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: url("/assets/icons/factory-showcase-mask.svg");
  mask-image: url("/assets/icons/factory-showcase-mask.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.factory-showcase__stats {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  display: grid;
  width: 34%;
  height: 50%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-content: center;
  padding: clamp(24px, 3vw, 48px);
  background: #ffffff;
}

.factory-showcase__stats div {
  min-width: 0;
}

.factory-showcase__stats strong,
.factory-showcase__stats span {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

.factory-showcase__stats strong {
  font-size: clamp(30px, 2.778vw, 43px);
  line-height: 1.1;
}

.factory-showcase__stats span {
  margin-top: 10px;
  color: #76777a;
  font-size: clamp(14px, 1.25vw, 19px);
  line-height: 1.25;
}

@media (max-width: 1279px) {
  .production-steps__layout {
      grid-template-columns: minmax(340px, .9fr) minmax(480px, 1.1fr);
      gap: clamp(48px, 6vw, 78px);
    }

  .production-step {
      grid-template-columns: clamp(68px, 7vw, 90px) minmax(0, 1fr);
    }
}

@media (max-width: 979px) {
  .production-steps {
      padding-top: 82px;
    }

  .production-steps__layout {
      grid-template-columns: minmax(300px, .8fr) minmax(390px, 1.2fr);
      gap: 42px;
    }

  .production-steps__media {
      margin-top: 96px;
    }

  .production-timeline {
      margin-top: 240px;
    }

  .production-step {
      min-height: 0;
      grid-template-columns: 66px minmax(0, 1fr);
      padding-left: 42px;
    }

  .production-step__copy h3 {
      font-size: clamp(27px, 3.6vw, 36px);
    }
}

@media (max-width: 767px) {
  .production-steps {
      margin-top: -70px;
      padding: 72px var(--gutter) 62px;
      overflow: hidden;
    }

  .production-steps__layout {
      display: block;
      max-width: 680px;
    }

  .production-steps__left {
      position: relative;
      top: auto;
    }

  .production-steps__title {
      width: auto;
      max-width: none;
      font-size: clamp(30px, 7vw, 44px);
      line-height: 1.2;
      white-space: normal;
    }

  .production-steps__media {
      margin-top: 64px;
    }

  .production-steps__caption {
      margin-bottom: 12px;
      font-size: 14px;
    }

  .production-steps__image {
      border-radius: 18px;
    }

  .production-steps__note {
      max-width: 470px;
      margin-top: 30px;
      font-size: 16px;
    }

  .production-timeline {
      gap: 80px;
      margin-top: 78px;
    }

  .production-timeline__line,
    .production-timeline__progress {
      top: 14px;
      left: 11px;
      height: calc(100% - 28px);
    }

  .production-timeline__progress {
      top: 0;
      left: 0;
      height: 100%;
    }

  .production-step {
      min-height: 0;
      grid-template-columns: 58px minmax(0, 1fr);
      padding-left: 40px;
    }

  .production-step__marker {
      top: 2px;
      left: 2px;
      width: 20px;
      height: 20px;
    }

  .production-step__marker > span {
      width: 6px;
      height: 6px;
    }

  .production-step__number {
      margin-top: -7px;
      font-size: 36px;
    }

  .production-step__copy h3 {
      font-size: clamp(25px, 7.2vw, 34px);
    }

  .production-step__copy p {
      margin-top: 12px;
      font-size: 16px;
    }
}

@media (min-width: 1800px) {
  .production-steps__title {
      width: max-content;
      max-width: calc(100vw - 2 * var(--gutter));
      white-space: nowrap;
    }
}

@media (max-width: 1279px) {
  .factory-showcase__stats {
      width: 38%;
    }
}

@media (max-width: 979px) {
  .factory-showcase {
      height: auto;
      aspect-ratio: 1360 / 475;
      margin-top: 62px;
    }

  .factory-showcase__poster {
      height: 100%;
    }

  .factory-showcase__stats {
      top: 0;
      width: 34%;
      height: 50%;
      padding: 28px;
    }
}

@media (max-width: 767px) {
  .factory-showcase {
      display: grid;
      height: auto;
      min-height: 720px;
      aspect-ratio: auto;
      grid-template-rows: 300px auto auto;
      margin-top: 48px;
      overflow: visible;
      border-radius: 18px;
      background: transparent;
      clip-path: none;
      contain: none;
    }

  .factory-showcase__poster,
    .factory-showcase__stats,
    .brand-showcase {
      position: relative;
      inset: auto;
      width: 100%;
      height: auto;
    }

  .factory-showcase__poster {
      z-index: 0;
      grid-row: 1;
      border-radius: 18px;
      object-position: 42% 50%;
      clip-path: inset(0 round 18px);
      -webkit-mask-image: none;
      mask-image: none;
    }

  .factory-showcase__stats {
      z-index: 1;
      grid-row: 2;
      min-height: 150px;
      padding: 28px 22px;
    }
}

@media (max-width: 479px) {
  .factory-showcase {
      grid-template-rows: 260px auto auto;
    }

  .factory-showcase__stats {
      min-height: 142px;
      gap: 12px;
    }

  .factory-showcase__stats strong {
      font-size: 28px;
    }

  .factory-showcase__stats span {
      font-size: 13px;
    }
}
