@font-face {
  font-family: 'Nyght Serif';
  src: url("../fonts/NyghtSerif-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Nyght Serif';
  src: url("../fonts/NyghtSerif-LightItalic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Nyght Serif';
  src: url("../fonts/NyghtSerif-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Nyght Serif';
  src: url("../fonts/NyghtSerif-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Nyght Serif';
  src: url("../fonts/NyghtSerif-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Nyght Serif';
  src: url("../fonts/NyghtSerif-Dark.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  src: url("../fonts/NHaasGroteskDSPro-15UltTh.otf") format("opentype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  src: url("../fonts/NHaasGroteskDSPro-25Th.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  src: url("../fonts/NHaasGroteskDSPro-45Lt.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  src: url("../fonts/NHaasGroteskDSPro-55Rg.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  src: url("../fonts/NHaasGroteskDSPro-75Bd.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

#about .s3 {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

#about .s3 .s3-track {
  display: flex;
  height: 100%;
  width: 100vw;
  will-change: width;
}

#about .s3 .panel {
  flex: 0 0 var(--basis, 10vw);
  flex-basis: clamp(80px, var(--basis, 10vw), 100vw);
  height: 100%;
  position: relative;
  overflow: hidden;
  padding: 0 4vw;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#about .s3 .panel.mobile-stacked {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
}

#about .s3 .panel.panel-1 {
  background-image: url("/i/About_1_Founding.jpg");
}

#about .s3 .panel.panel-2 {
  background-image: url("/i/About_2_Prnciples.jpg");
}

#about .s3 .panel.panel-3 {
  background-image: url("/i/About_3_Headquarter.jpg");
}

#about .s3 .panel .slide-inner {
  position: relative;
  text-align: left;
  top: 35%;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  max-width: 800px;
  min-width: 800px;
}

#about .s3 .panel .slide-inner h2 {
  font-size: 4.75rem;
  line-height: 0.7em;
  color: #fff;
}

#about .s3 .panel .slide-inner .content {
  border-left: solid 2px #DB9900;
  padding-left: 5vw;
  margin-left: 5vw;
}

#about .s3 .panel .slide-inner .content h3 {
  font-size: 3rem;
  line-height: 1.1em;
  margin-bottom: 2rem;
  color: #fff;
}

#about .s3 .panel .slide-inner .content p {
  font-size: 1.25rem;
  line-height: 1.50em;
  color: #fff;
}

#about .s5 h2 {
  font-size: 3rem;
  line-height: 3.5rem;
  margin-bottom: 5rem;
  text-align: center;
}

#about .s5 .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

#about .s5 .wrap .card {
  padding: 5rem 0;
  text-align: center;
  border-right: solid 1px #CCC;
  will-change: transform, opacity;
}

#about .s5 .wrap .card p {
  max-width: 276px;
  margin: 2rem auto 0 auto;
  color: #2E3E49;
}

#about .s5 .wrap .card:last-of-type {
  border-right: none;
}

#about .s6 {
  padding: 10.5rem 0;
  background: url(/i/About_Callout.jpg) no-repeat center/cover;
}

#about .s6 .container {
  max-width: 870px;
  text-align: center;
}

#about .s6 h3 {
  font-size: 3rem;
  line-height: 3.5rem;
  color: #fff;
}

#about .s6 h3 span {
  color: #DB9900;
}

@media screen and (max-width: 1100px) {
  #about .s3 .s3-track {
    position: relative;
  }
  #about .s3 .panel .slide-inner {
    max-width: none;
    min-width: auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #about .s3 .panel .slide-inner .content {
    border-left: none;
    border-top: solid 1px #DB9900;
    padding-left: 0;
    margin-left: 0;
    padding-top: 3rem;
    margin-top: 3rem;
  }
  #about .s3 .panel-4 .slide-inner .content h3 {
    max-width: none;
  }
}

@media screen and (max-width: 1023px) {
  #about .s6 h3 {
    font-size: 2.5rem;
    line-height: 3rem;
  }
}

@media screen and (max-width: 980px) {
  #about .s5 .wrap {
    grid-template-columns: repeat(1, 1fr);
  }
  #about .s5 .wrap .card {
    border-right: none;
    border-bottom: solid 1px #ccc;
    padding: 2rem 0;
  }
  #about .s5 .wrap .card:last-of-type {
    border-bottom: none;
  }
}

@media screen and (max-width: 767px) {
  #about .s1 {
    background-position: 65%;
  }
  #about .s3 .panel .slide-inner h2 {
    font-size: 3.5rem;
  }
  #about .s3 .panel .slide-inner .content {
    padding-top: 2rem;
  }
  #about .s3 .panel .slide-inner .content h3 {
    font-size: 2rem;
  }
  #about .s3 .panel .slide-inner .content p {
    font-size: 1rem;
  }
  #about .s3 .panel.panel-3 {
    background-position: 80%;
  }
  #about .s5 h2 {
    font-size: 2.2rem;
    line-height: 3.2rem;
    margin-bottom: 2rem;
  }
  #about .s5 .wrap .card {
    padding: 1rem 0;
  }
  #about .s5 .wrap .card img {
    transform: scale(0.8);
  }
  #about .s5 .wrap .card p {
    margin-top: 1rem;
  }
  #about .s6 {
    padding: 7.5rem 0;
  }
  #about .s6 h3 {
    font-size: 2rem;
    line-height: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .s3-track, .s3-panel {
    transition: none !important;
  }
}
