#history .s1 {
  background-image: url(/i/history-hero.png);
}

#history .s1 .contain {
  padding-bottom: 8rem;
}

#history .s2 .header-wrapper {
  max-width: 950px;
  margin: 0 auto;
}

#history .s2 .header-wrapper * {
  text-align: center;
}

#history .s2 .header-wrapper h3 {
  margin: 1.25rem auto 2rem;
  line-height: 1em;
}

#history .s2 .header-wrapper h3 i:first-child {
  font-size: 1.254em;
}

#history .s3 {
  padding-bottom: 7.5rem;
  position: relative;
  overflow: hidden;
}

#history .s3 .timeline-content-wrapper {
  position: relative;
  height: 575px;
  margin-bottom: 5rem;
}

#history .s3 .timeline-card {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all .1s ease;
}

#history .s3 .timeline-card.--current {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.5s ease;
}

#history .s3 .content-container {
  width: 100%;
  height: 100%;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 2rem;
}

#history .s3 .img-wrapper {
  width: 55%;
  height: 100%;
}

#history .s3 .img-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#history .s3 .inner-content {
  width: 40%;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 3rem;
  padding: 2rem 0;
}

#history .s3 .inner-content h3 {
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: 'liga' off;
  font-size: 5rem;
  line-height: 1em;
}

#history .s3 .inner-content p {
  font-size: 1.5rem;
  line-height: 1.17em;
  color: #fff;
}

#history .s3 .inner-content .h-line {
  width: 100%;
  height: 0;
  margin: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

#history .s3 .btns-wrapper {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  margin-top: 1.75rem;
  gap: .7rem;
}

#history .s3 .btns-wrapper button {
  background-color: rgba(255, 255, 255, 0);
  border: 0;
  outline: 0;
  cursor: pointer;
}

#history .s3 .btns-wrapper button svg {
  display: block;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

#history .s3 .btns-wrapper button:hover .btn-circle {
  stroke: #e0b0a6;
  fill: #e0b0a6;
}

#history .s3 .btns-wrapper button:hover .btn-arrow {
  stroke: #fff;
}

#history .s3 .btns-wrapper .btn-circle {
  stroke: rgba(255, 255, 255, 0.4);
  fill: rgba(224, 176, 166, 0);
  transition: all .3s ease;
}

#history .s3 .btns-wrapper .btn-arrow {
  stroke: #E0B0A6;
  stroke-width: 2px;
  transition: all .3s ease;
}

#history .s3 .timeline-nav-wrapper {
  position: relative;
}

#history .s3 .current-bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 330px;
  height: 3px;
  background-color: #E0B0A6;
}

#history .s3 .timeline-nav-track {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  transition: transform .5s ease;
  will-change: transform;
  transform-origin: left center;
  transform: translate3d(0, 0, 0);
}

#history .s3 .timeline-nav-btn {
  flex: 0 0 330px;
  text-align: center;
  font-family: avenir-lt-pro, sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: .9rem;
  line-height: 1em;
  position: relative;
  padding: 0 .5rem 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.7);
  transition: color .3s ease;
  letter-spacing: 0.01em;
  cursor: pointer;
}

#history .s3 .timeline-nav-btn.--current, #history .s3 .timeline-nav-btn:hover {
  color: rgba(224, 176, 166, 0.7);
}

@media all and (max-width: 1100px) {
  #history .s3 .current-bar {
    width: 230px;
  }
  #history .s3 .timeline-nav-btn {
    flex: 0 0 230px;
  }
}

@media all and (max-width: 1024px) {
  #history .s3 {
    padding-bottom: 0;
  }
}

@media all and (max-width: 767px) {
  #history .s3 .timeline-content-wrapper {
    height: 470px;
  }
  #history .s3 .timeline-nav-track {
    padding-top: 5rem;
  }
  #history .s3 .btns-wrapper {
    z-index: 10;
    position: relative;
  }
  #history .s3 .content-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
  #history .s3 .content-container .img-wrapper {
    width: 100%;
    height: 250px;
    max-width: 400px;
  }
  #history .s3 .content-container .inner-content {
    width: 100%;
    padding: 0;
    gap: 1.65rem;
  }
  #history .s3 .content-container .inner-content h3 {
    font-size: 3.25rem;
  }
  #history .s3 .content-container .inner-content p {
    font-size: 1.25rem;
  }
  #history .s3 .content-container .inner-content .btns-wrapper {
    margin-top: 1.7rem;
  }
  #history .s3 .current-bar {
    width: 130px;
    bottom: 0;
  }
  #history .s3 .timeline-nav-btn {
    flex: 0 0 130px;
  }
}

#history .s4 {
  position: relative;
  overflow: hidden;
}

#history .s4 .header-wrapper {
  position: absolute;
  top: 150px;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 2rem);
  max-width: 1400px;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(215, 217, 219, 0.25);
  z-index: 10;
}

#history .s4 .header-wrapper.is-fixed {
  position: fixed;
  top: 150px;
  left: 20px;
}

#history .s4 .header-wrapper.is-after {
  position: absolute;
}

#history .s4 #horizontal-scroll-pin {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  height: 100vh;
}

#history .s4 .card {
  flex: 0 0 100vw;
  height: 100%;
  position: relative;
  overflow: hidden;
}

#history .s4 .card-image {
  position: absolute;
  width: 100%;
  height: 100%;
  right: 0;
  top: 0;
  z-index: 1;
  overflow: hidden;
}

#history .s4 .card-image img {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

#history .s4 .contain {
  max-width: 1400px;
}

#history .s4 .global-btn {
  margin-top: 3rem;
}

#history .s4 .card-content {
  width: 100%;
  height: 100%;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  gap: 1rem;
  padding: 5rem 0 4rem;
  position: relative;
  z-index: 3;
}

#history .s4 .card-top, #history .s4 .card-bot {
  max-width: 810px;
  margin: 0;
}

#history .s4 .card-top {
  margin-bottom: 1.25rem;
}

#history .s4 .plus-icon {
  display: none;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

#history .s4 .card:last-child .card-content {
  border-right: 0;
}

#history .s4 .card:hover .card-content {
  background-color: rgba(20, 24, 33, 0);
}

#history .s4 .card:hover .card-image img {
  transform: scale(1);
  opacity: 1;
}

#history .s4 h5 {
  line-height: 1em;
}

@media all and (max-width: 1024px) {
  #history .s4 {
    background-color: #141821;
    padding: 5rem 0;
  }
  #history .s4 .header-wrapper {
    position: static;
    transform: none !important;
    width: 100%;
    padding: 0 1rem 1.25rem;
  }
  #history .s4 #horizontal-scroll-pin {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 0;
  }
  #history .s4 #horizontal-scroll-pin .card {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    height: auto;
    border-bottom: 1px solid rgba(215, 217, 219, 0.25);
  }
  #history .s4 #horizontal-scroll-pin .card:last-child {
    border-bottom: 0;
  }
  #history .s4 #horizontal-scroll-pin .card-image {
    display: none !important;
  }
  #history .s4 #horizontal-scroll-pin .card-content {
    display: block;
    border-right: 0;
    padding: 0;
  }
  #history .s4 #horizontal-scroll-pin .card-bot {
    height: 0;
    overflow: hidden;
    transition: height .5s ease;
    max-width: 100%;
  }
  #history .s4 #horizontal-scroll-pin .card-top {
    display: -webkit-flexbox;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    margin: 0;
    max-width: 100%;
  }
  #history .s4 #horizontal-scroll-pin .card-top .v-line {
    transition: opacity .2s ease;
  }
  #history .s4 #horizontal-scroll-pin .card-top.--active .v-line {
    opacity: 0;
  }
  #history .s4 #horizontal-scroll-pin .plus-icon {
    display: block;
  }
  #history .s4 #horizontal-scroll-pin .card-inner-content {
    padding: 0 0 2rem;
  }
}

#history .s5 .header-wrapper {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  gap: 1rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(215, 217, 219, 0.25);
}

#history .s5 .header-wrapper h3 {
  line-height: 1em;
}

#history .s5 .header-wrapper h3, #history .s5 .header-wrapper p {
  width: 50%;
}

#history .s5 .row {
  width: 100%;
  overflow: hidden;
  height: 120px;
  will-change: height;
  transition: height 0.05s linear;
  position: relative;
}

#history .s5 .row.--in-view .row-content, #history .s5 .row.--in-view h5 {
  transition: opacity .5s ease;
  opacity: 1;
}

#history .s5 .row-line {
  position: absolute;
  bottom: 1px;
  right: 0;
  width: 50%;
  height: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0 0 0 auto;
  will-change: width;
  transition: width .05s ease;
}

#history .s5 .row-wrapper {
  width: 100%;
  padding: 0 0 0 calc(50% + .5rem);
}

#history .s5 .row-content {
  opacity: 0;
  transition: opacity .25s ease;
}

#history .s5 .row-content p {
  padding: 30px 0 50px;
}

#history .s5 h5 {
  line-height: 1em;
  padding-top: 35px;
  opacity: .3;
}

@media all and (max-width: 1024px) {
  #history .s5 .header-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 2rem;
  }
  #history .s5 .header-wrapper h3, #history .s5 .header-wrapper p {
    width: 100%;
  }
  #history .s5 .row-wrapper {
    padding-left: 0;
  }
  #history .s5 .row {
    height: auto;
  }
  #history .s5 .row-content {
    opacity: 1;
  }
  #history .s5 .row-line {
    width: 100%;
  }
  #history .s5 h5 {
    opacity: 1;
  }
}
