@font-face { 
  font-family: "UniversLTPro-45Light"; 
  src: url("font/UniversLTPro-45Light.woff") format("woff");
}

body,
h1, 
h2, 
h3, 
h4, 
h5, 
h6,
p,
nav,
ul {
  margin: 0;
  padding: 0;
}

* {
  text-rendering: geometricPrecision;
  font-family: "UniversLTPro-45Light";
}

h1, 
h2, 
h3, 
h4, 
h5, 
h6,
b {
  font-weight: lighter;
}

hr {
  border: 0;
  height: 5px;
  background: transparent;
  width: 100%;
}

#cursor {
  position: fixed;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-in-out;
}

#cursor.show {
  opacity: 1;
  visibility: visible;
}

body {
  background-color: #faf9f7;
  transition: background-color .5s ease-in-out;
}

body.dark {
  background: #24231f;
}

body.dark #header #open-menu, 
body.dark #header #back-home,
body.dark #header nav li, 
body.dark #header nav li a,
body.dark #info h2,
body.dark #info h3,
body.dark #info h4,
body.dark #info p,
body.dark #info ul li {
  color: #e3dcd5;
}

body.light {
  background: #e8e6e5;
}

.col {
  box-sizing: border-box;
}

.icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center center;
}

.icon.arrow-bottom {
  background-image: url('img/icon-arrow-bottom.svg');
}

.icon.arrow-right {
  background-image: url('img/icon-arrow-right.svg');
}

.icon.arrow-right-w {
  background-image: url('img/icon-arrow-right-w.svg');
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 26px;
  z-index: 9990;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
}

#header.show {
  opacity: 1;
  visibility: visible;
}

#header #open-menu,
#header #back-home {
  text-decoration: none;
  transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
}

#header #open-menu,
#header #back-home,
#header nav {
  display: inline-block;
  vertical-align: middle;
}

#header #header-inner {
  position: relative;
}

#header nav {
  position: absolute;
  z-index: 9995;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
}

#header.hover #open-menu {
  opacity: 0;
  visibility: hidden;
}

#header.compact,
#header.hover nav {
  opacity: 1 !important;
  visibility: visible !important;
}

#header nav li {
  list-style: none;
  color: #8a837b;
}

#header nav li:first-child {
  margin-left: 0;
}

#header nav li a {
  text-decoration: none;
  transition: color .5s ease-in-out;
}

#header #open-menu,
#header #back-home,
#header nav li,
#header nav li a {
  color: #8a837b;
}

#header nav li a:hover {
  color: #000;
}

#header nav li:last-child {
  opacity: 0.4;
}

body.page #wrapper {
  padding-top: 200px;
}

#front.loading #front-baseline {
  opacity: 0;
  visibility: hidden;
}

#front #front-baseline {
  opacity: 1;
  visibility: visible;
  transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
}

#front #front-showreel .col .carousel .slick-slide {
  background: #eee;
}

#front.loading #front-showreel .col .carousel .slick-list {
  opacity: 0;
  visibility: hidden;
}

#front #front-showreel .col .carousel .slick-list {
  opacity: 1;
  visibility: visible;
  transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
}

#front #front-baseline h1 {
  color: #8a837b;
}

#front #front-baseline h1 strong {
  color: #000;
  font-weight: normal;
}

#front #front-baseline h1 em {
  font-style: normal;
  padding-bottom: 2px;
  border-bottom: 1px solid #eee;
}

#front #front-showreel .col:first-child p {
  line-height: 26px;
}

#front #front-showreel .col:first-child i {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

#projects .project .col.info .project-info p {
  color: #000;
  text-align: justify;
}

#projects .project .col.info h2 {
  color: #000;
}

#projects .project .col.info h3 {
  opacity: 1;
  visibility: visibility;
  transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
}

#projects .project .col.info h3,
#projects .project .col.info h3 a,
#projects .project .col.info .project-info-button {
  color: #8a837b;
  text-decoration: none;
}

#projects .project .col.info h3 a,
#projects .project .col.info .project-info-button {
  transition: color .5s ease-in-out;
}

#projects .project .col.info h3 a:hover,
#projects .project .col.info .project-info-button:hover {
  color: #000;
}

#projects .project .col.info ul li {
  color: #8a837b;
  list-style: none;
}

#projects .project .col.images {
  width: 66.66%;
}

#projects .project .col.images .carousel,
#projects .project .col.images .carousel div {
  width: 100%;
  height: 100%;
}

#projects .project .col.images .carousel div.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel .slick-arrow {
  position: absolute;
  border: 0;
  background-color: transparent;
  width: 16px;
  height: 16px;
  padding: 16px;
  bottom: 0;
  right: 0;
  font-size: 0;
  box-sizing: content-box;
  z-index: 9990;
}

.carousel.autoplay .slick-arrow {
  display: none !important;
}

.carousel .slick-arrow.slick-prev {
  background: url('img/icon-arrow-left.svg') center center / 16px auto no-repeat;
  margin-right: 36px;
}

.carousel .slick-arrow.slick-next {
  background: url('img/icon-arrow-right.svg') center center / 16px auto no-repeat;
}

#projects .project .carousel {
  background: #eee;
}

#projects .project .col.images .carousel div.slide.txt {
  background: #faf9f7;
}

#projects .project .col.images .carousel div.slide.txt h4 {
  margin-bottom: 15px;
}

#projects .project .carousel .slick-list,
#projects .project .info div {
  transition: opacity .5s ease-in-out, visibility .5s ease-in-out; 
}

#projects .project .carousel .slick-list {
  overflow: hidden;
}

#projects .project.loading .carousel .slick-list,
#projects .project.loading .info div {
  opacity: 0;
  visibility: hidden;
}

#projects .editorial {
  height: 70vh;
  display: flex;
  align-items: center;
  padding: 130px 15px 0 15px;
  max-width: calc(80% - 30px);
}

#projects .editorial h2,
#projects .editorial h3 {
  color: #8a837b;
}

#info .content .col.big .col.sub div p {
  text-align: justify;
}

#info .content .col.small .carousel {
  height: 50%;
  width: 100%;
}

#info .content .col.small .carousel * {
  height: 100%;
}

#info .content .col.small .carousel img {
  width: auto;
}

#info .content .col.small .carousel .slick-slide {
  display: flex;
  justify-content: flex-end;
}

#info .content h3 {
  margin-bottom: 5px;
}

#info .content .col ul li {
  list-style: none;
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid #333;
}

#info .content .col ul li a {
  text-decoration: none;
  border-bottom: 1px solid #444;
  padding-bottom: 10px;
  margin-bottom: 10px;
  display: block;
  width: 100%;
}

#info .content .col ul li a,
#info .content .col ul li p,
#info .content .col ul li h2,
#info .content .col ul li h3,
#info .content .col ul li h4 {
  color: #fff;
}

#info .content .col ul li.selected .bloc-inner {
  display: block;
  margin-bottom: 20px;
}

#info .content .col ul li .bloc-inner {
  display: none;
}

#info .content .col ul li img {
  width: 100%;
  height: auto;
  display: block;
}

#info .content .col ul {
  position: relative;
  height: 100%;
}

#info .content .col ul li.bloc-img {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  right: 0;
}

#info .content .read-more { 
  margin-top: 25px;
  position: relative;
  max-height: 80px;
  overflow: hidden;
  transition: max-height .6s ease-in-out;
}

#info .content .read-more::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(255,255,255);
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(36,35,31,1) 100%);
  opacity: 0.9;
  content: '';
  transition: height .6s ease-in-out;
}

#info .content .read-more.open {
  max-height: 1000px;
}

#info .content .read-more.open::after {
  height: 0;
}

#info .content #read-more-open {
  border: 0;
  color: #e3dcd5;
  padding: 0;
  cursor: pointer;
  margin-top: 10px;
  background: transparent;
  border-bottom: 1px solid #6f6e6a; 
  transition: color .6s ease-in-out, border-color .6s ease-in-out;
}

#info .content #read-more-open:hover {
  color: #fff;
  border-color: #fff;
}

#archive .content a {
  text-decoration: none;
  border: 0;
  color: #000;
}

.align-bottom {
  display: flex;
  align-items: flex-end;
}

#getintouch .content h2,
#getintouch .content p,
#getintouch .content .col.align-bottom p {
  color: #8a837b;
}

#getintouch .content h2 strong {
  font-weight: normal;
  color: #000;
}

#getintouch a {
  color: #8a837b;
  text-decoration: none;
  border-bottom: 1px solid #d3d0ce;
  margin: 0 0 2px 0;
  transition: color .5s ease-in-out;
}

#getintouch a:hover {
  color: #000;
}

#content-legal {
  display: block;
  width: 100%; 
}

#content-legal p {
  color: #8a837b;
}

#content-legal p strong {
  font-weight: normal;
}

#archive .col.small img {
  width: 100%;
  height: auto;
}

/* media queries */

@media (max-width: 1000px) {
  .hide-mobile {
    display: none !important;
  }
  #header {
    padding: 30px;
  }
  .section {
    max-width: 100%;
  }
  #header a,
  #front #front-baseline h1,
  #projects .editorial h2,
  #projects .editorial h3,
  #getintouch h4 {
    font-size: 16pt;
    line-height: 24pt;
  }
  #header nav li {
    margin-bottom: 5px;
  }
  #content-legal p {
    font-size: 9pt;
    line-height: 13pt; 
  }
  #header #open-menu,
  #header #back-home {
    opacity: 0.8;
  } 
  #projects .project .col.info h2,
  #projects .project .col.info h3,
  #presentation .content .col h4 {
    font-size: 13pt;
    line-height: 19pt;
  }
  #projects .project .col.info h3 a,
  #projects .project .col.info .project-info p,
  #presentation .content p {
  	font-size: 11pt;
  	line-height: 15pt;
  }
  #front {
    padding: 30px;
  }
  #front #front-showreel .col {
    width: 100%;
  }
  #front #front-showreel .col .carousel div img {
    width: 100%;
    height: auto;
    display: block;
  }
  #front #front-baseline h1 {
    margin-bottom: 100px;
  }
  #front #front-showreel .col:first-child {
    margin-bottom: 30px;
  }
  #projects .project {
    width: calc(100% - 60px);
    padding: 0 30px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column-reverse;
  }
  #projects .project .col.info,
  #projects .project .col.images {
    width: 100%;
  }
  #projects .project .col.info {
    margin-top: 15px;
  }
  #projects .project .col.images {
    position: relative;
    padding-bottom: 75%;
  }
  #projects .project .col.images .carousel {
    position: absolute;
  }
  #info {
    background: #272725;
  }
  #info h2,
  #info h3,
  #info p {
  	color: #ddd;
  }
  #info .content,
  #getintouch .content,
  #archive .content,
  #content-legal .content {
    padding: 0 30px;
  }
  #info .content .col.big .col.sub .col {
  	margin-top: 30px;
  }
  #info,
  #getintouch,
  #archive,
  #content-legal {
    padding: 60px 0;
  }
  #getintouch .credits p {
    margin-bottom: 10px;
  }
  #mc_embed_shell {
    margin: 15px 0 30px 0;
  }
}

@media (min-width: 1000px) {
  #header {
    padding: 30px;
  }
  #header a,
  #header nav li,
  #header nav li a,
  #front #front-baseline h1,
  #info .content h2,
  #info .content .read-more p, 
  #getintouch .content h2,
  #info .content #read-more-open {
    font-size: 18pt;
    line-height: 24pt;
  }
  #header #open-menu,
  #header #back-home {
    opacity: 0.4;
  } 
  #header nav li {
    display: inline-block;
    vertical-align: middle;
    margin-left: 15px;  
  }
  #projects .project .col.info h2,
  #projects .project .col.images .carousel div.slide.txt h4 {
    font-size: 14pt;
    line-height: 19pt;
  }
  #projects .project .col.info h3 {
  	font-size: 11pt;
  	line-height: 20pt;
  }
  #projects .project .col.info h3 a {
    margin-right: 5px;
  }
  #projects .project .col.info h3 a,
  #projects .project .col.info .project-info p,
  #presentation .content .col p {
  	font-size: 11pt;
  	line-height: 15pt;
  }
  #getintouch .content p {
  	font-size: 10pt;
  	line-height: 14pt;
  	padding-right: 30px;
  }
  #getintouch .content h4 {
    margin-bottom: 30px;
    font-size: 12pt;
  }
  #getintouch .content h5 {
    font-size: 11pt;
  }
  #projects .project .col.info ul {
  	font-size: 11pt;
    line-height: 15pt;
  }
  #projects .project .col.images .carousel div.slide.txt h4,
  #projects .project .col.images .carousel div.slide.txt p {
    width: 60%;
  }
  #getintouch .content .col.align-bottom p {
    font-size: 8pt;
    line-height: 12pt;
  }
  #front {
    display: flex;
    padding: 15px;
    flex-direction: column;
    justify-content: space-between;
    width: calc(100vw - 60px);
    height: calc(100vh - 60px);
  }
  #front #front-baseline,
  #front #front-showreel {
    display: flex;
    height: 50%;
  }
  #front #front-baseline {
    align-items: center;
  }
  #front #front-showreel .col,
  #front #front-showreel .col .carousel,
  #front #front-showreel .col .carousel div {
    height: 100%;
  }
  #front #front-showreel .col:first-child {
    display: flex;
    align-items: flex-end;
  }
  #front #front-showreel .col .carousel {
    padding-left: 75%;
  }
  #front #front-baseline h1 {
    max-width: 65%;
    margin-top: -30px;
  }
  #front #front-showreel .col .carousel div img {
    height: 100%;
    width: auto;
    display: block;
    float: right;
  }  
  #front #front-showreel .col {
    width: 50%;
  }
  #wrapper {
    padding: 15px;
  }
  #projects .project,
  #getintouch .content,
  #content-legal .content {
    height: calc(100vh - 160px);
    width: calc(100% - 30px);
    padding: 130px 15px 30px 15px;
    display: flex;
  }
  #archive {
    padding-top: 130px;
  }
  #archive .content {
    height: calc(50vh - 60px);
    width: calc(100% - 30px);
    padding: 30px 15px;
    display: flex;
    margin: 30px 0;
    border-bottom: 1px solid #ddd;
  }
  #info .content {
    height: calc(100vh - 160px);
    width: calc(100% - 60px);
    padding: 130px 15px 30px 15px;
    display: flex;
  }
  #projects .project:nth-child(even) {
    flex-direction: row;
  }
  #projects .project:nth-child(odd) {
    flex-direction: row-reverse;
  }
  #projects .project .col.info {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
  }
  #projects .project:nth-child(even) .col.info {
    padding-right: 30px;
  }
  #projects .project:nth-child(odd) .col.info {
    padding-left: 30px;
  }
  #info .content .col.big .col.sub div h3 {
    font-size: 14pt;
  }
  #projects .project .col.images .carousel div.slide.txt p,
  #info .content .col.big .col.sub div p,
  #info .content .col.big .col.sub div ul li,
  #content-legal p {
    font-size: 11pt;
    line-height: 16pt;
  }
  #info {
    min-height: 100vh;
    width: 100vw;
  }
  #getintouch {
    min-height: 100vh;
  }
  #info .content .col.big {
    display: flex;
    flex-direction: column;
  }
  #info .content .col.big .col.sub {
    display: flex;
    flex-direction: row;
    margin-top: 75px;
  }
  #info .content .col.big .col.sub div {
    width: calc(33.33% - 30px);
    padding-right: 30px;
  }
  #info .content .col.big,
  #getintouch .content .col.big,
  #archive .content .col.big,
  #content-legal .content .col.big {
    width: 66.66%;
  }
  #info .content .col.small,
  #getintouch .content .col.small,
  #archive .content .col.small,
  #content-legal .content .col.small {
    width: 33.33%;
  }
  #info .content .col.small {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    position: sticky;
    top: 0;
  }
  #archive .col.small {
  	display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }
  #archive .col.small .thumbnails {
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: flex-end;
    position: relative;
  }
  #archive .col.small .thumbnails li {
    list-style: none;
    height: 100%;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
  }
  #archive .col.small .thumbnails li.show {
  	opacity: 1;
  	visibility: visible;
  }
  #archive .col.small .thumbnails li img {
    height: 100%;
    width: auto;
    max-width: 100%;
  }
}

/* plugin : slick */

/* Slider */
.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}