/*  Normalize.css v8.0.0
----------------------------------------------- */

button,hr,input{overflow:visible}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}

/*  Base
----------------------------------------------- */

html {
  color: #000;
  font: .85em/1.4 "DIN", Helvetica, Arial;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  background: #fff;
  overflow-x: hidden;
  overflow-y: scroll;
  height: 100%;
}

*, *:before, *:after {
  box-sizing: border-box;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

iframe,
img,
svg,
video {
  vertical-align: middle;
}

textarea {
  resize: vertical;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

a{
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0); ;
  tap-highlight-color: rgba(255, 255, 255, 0); ;
}

/*  Browser upgrade prompt
----------------------------------------------- */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/*  Font
----------------------------------------------- */

@font-face {
  font-family: 'DIN';
  src: url('../fonts/din-regular.woff2') format('woff2'),
       url('../fonts/din-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'DIN';
  src: url('../fonts/din-bold.woff2') format('woff2'),
       url('../fonts/din-bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

/*  Animations
----------------------------------------------- */

@keyframes fadeIn {
  from { opacity: 0; }
  to {   opacity: 1; }
}

@keyframes rotate {
  from { transform: rotate(0); }
  to {   transform: rotate(45deg); }
}

@keyframes shake {
  from, to {  transform: translateX(0); }
  25%, 75% {  transform: translateX(-.2em);  }
  50% {       transform: translateX(.2em); }
}

@keyframes slideInBottom {
  from {  transform: translateY(10em); }
  to {    transform: translateY(0); }
}

@keyframes slideInTop {
  from {  transform: translateY(0); }
  to {    transform: translateY(100%); }
}

@keyframes slideOutLeft {
  from {	transform: translateX(0); }
  to {	transform: translateX(-100%); }
}

@keyframes fadeOutBottom {
  from {
    transform: translateY(10em);
    opacity: 0;      
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInBottom {
  from {
    transform: translateY(1em);
    opacity: 0;      
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInTop {
  from {
    transform: translateY(-1em);
    opacity: 0;      
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#project #flap{
  min-height: inherit;
  margin-top: inherit;
}

#project #flap #projects{
  display: none;
}

#project > article{
  transform: translateY(0);
  position: relative;
  padding-bottom: 5em;
  clear: bloth;
}

.site.is-exiting #project header,
.site.is-exiting #project #content{
  animation: fadeIn .3s ease-in-out alternate-reverse both;
}

#project #title,
#project #copyright {
  animation: fadeInTop .3s ease-in-out both;
}

#project #copyright{
  animation-delay: .2s;
}

/*  Colors
----------------------------------------------- */

.slide.paysage.focus a,
#projects li.paysage .name:before,
#slider .slide.paysage.focus ~ #cursor,
#slider.paysage #cursor,
#slider.paysage .slide,
#slider.paysage ~ article header,
#prevnext a.paysage{
  background: #00BBEF;
}

.slide.architecture.focus a,
#projects li.architecture .name:before,
#slider .slide.architecture.focus ~ #cursor,
#slider.architecture #cursor,
#slider.architecture .slide,
#slider.architecture ~ article header,
#prevnext a.architecture{
  background: #FFDD00;
}

.slide.usage.focus a,
#projects li.usage .name:before,
#slider .slide.usage.focus ~ #cursor,
#slider.usage #cursor,
#slider.usage .slide,
#slider.usage ~ article header,
#prevnext a.usage{
  background: #EA504C;
}

/*  Header
----------------------------------------------- */

#header{
  background: #fff;
  width: 3.2em;
  height: 100%;
  position: absolute;
  top: 50vh;
  z-index: 2;
}

#header.fixed{
  position: fixed;
  top: 0;
  margin-top: 0;
}

#header > a {
  display: inline-block;
}

#logo{
  width: .750em;
  height: 1.938em;
  margin: 0;
  padding: .6em .46em;
  font-size: 2em;
  box-sizing: content-box;
}

#header.home #logo,
.site.is-exiting.to-home #logo{
  opacity: 0;
  transition: opacity .3s ease-in-out;
}
#logo,
#header.home.fixed #logo,
.site.is-exiting #logo,
.site.is-exiting #header.home #logo{
  opacity: 1;
  transition: opacity .3s ease-in-out;
}

#header ul{
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  padding: 0;
  margin: 0;
  transform: rotate(-90deg);
  transform-origin: left top;
  position: fixed;
  bottom: 1.5em;
  pointer-events: none;
}

#header input:checked ~ ul{
  pointer-events: auto;
}

#header li,
.site.is-exiting #header input:checked ~ ul li{
  display: inline-block;
  background: #fff;
  visibility: hidden;
  opacity: 0;
  transform: translateX(-1em);
  transition: visibility 0s .3s, all .3s ease;
}

#header li a{
  text-decoration: none;
  color: #000;
  font-size: 1.125em;
  text-transform: uppercase;
  padding: .7em;
  margin-top: .045em;
  display: inline-block;
}

#header li:first-of-type a{
  padding-right: 1em;
}

#header li a.active{
  font-weight: bold;
}

#header input:checked ~ ul li{
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

#header input:checked ~ ul li:nth-of-type(1){
  transition: visibility 0s, all .3s .1s ease;
}

#header input:checked ~ ul li:nth-of-type(2){
  transition: visibility 0s, all .3s .05s ease;
}

#dots{
  cursor: pointer;
  position: fixed;
  bottom: 0;
  padding: 1.35em;
}

#dots:hover svg circle{
  animation: shake .6s ease-in-out;
}

#dots:hover svg circle:nth-of-type(2){
  animation-delay: .1s;
}

#dots:hover svg circle:nth-of-type(1){
  animation-delay: .2s;
}

#dots svg{
  width: .5em;
/*  height: 2.375em;*/
  overflow: visible;
}

/*  Index
----------------------------------------------- */

#flap{
  min-height: 100vh;
  margin-top: 50vh;
  background: #fff;
  padding: 0 1.2em 0 4.7em;
  z-index: 1;
}

#biglogo{
  position: fixed;
  display: block;
  max-height: 41vh;
  width: 6.6em;
  height: 18.55em;
  top: 1.8em;
  left: 1em;
  z-index: -1;
  pointer-events: none;
}

#project #biglogo{
  opacity: 0;
}

.site #biglogo{
  opacity: 1
}

.site.is-exiting #home #biglogo{
  animation: fadeIn .3s ease-in-out alternate-reverse both;
}

.site.is-exiting.to-home #project #biglogo{
  animation: fadeIn .3s .3s ease-in-out alternate both;
}

#projects{
  text-transform: uppercase;
  z-index: 100;
  background: #fff;
}

#sort{
  position: absolute;
  left: 0;
  right: 0;
  white-space: nowrap;
  background: #fff;
  padding-top: 1.5em;
  padding-left: 4.7em;
  z-index: 1
}

#header.fixed ~ main #sort,
#header.fixed ~ #agency nav{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding-left: 4.7em;
  z-index: 1;
}

#sort label{
  cursor: pointer;
  padding: .2em 0;
  margin-right: .8em;
  line-height: 2em;
  display: inline-block;
  position: relative;
  -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

#sort label:last-of-type{
  margin-right: 0;
}

#sort label span{
  display: none;  
}

#sort label:after{
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background: #000;
  transform: translateY(-.2em);
  opacity: 0;
  transition: all .3s ease;
}

#sort input:checked + label{
  font-weight: bold;
}

#sort label:hover:after,
#sort input:checked + label:after{
  transform: translateY(0);
  opacity: 1;
}

#projects ul{
  margin: 0;
  padding: 5.2em 0 0 0;
  list-style: none;
}

#projects li{
  display: block;
}

#projects.all[data-limit="5"] li:nth-of-type(n+6),
#projects.all[data-limit="6"] li:nth-of-type(n+7),
#projects.all[data-limit="7"] li:nth-of-type(n+8),
#projects.all[data-limit="8"] li:nth-of-type(n+9),
#projects.all[data-limit="9"] li:nth-of-type(n+10),
#projects.all[data-limit="10"] li:nth-of-type(n+11){
  display: none;
}

/*
@keyframes fade {
  from { opacity: 1;  }
  to   { opacity: .15; }
}
*/

/*
#projects li.faded{
  animation: fade .3s ease both;
}
*/

#projects li.faded{
  display: none;
}

#projects li:last-of-type{
  margin-bottom: 0;
}

#projects .name{
  font-size: 2em;
  line-height: 1.2em;
  margin: 0 0 .1em 0;
  transition: all .15s ease;
}

#projects p{
  font-size: 1.2em;
  font-weight: normal;
  margin: 0;
}

#projects p:before{
  content: "➝";
}

#projects span:not(:last-of-type):after{
  content: ' •'
}

#projects a{
  text-decoration: none;
  color: #000;
  display: block;
  outline: none;
  padding-bottom: 2em;
}

/* Index colored dots */
#projects li .name:before{
  content: '';
  position: absolute;
  display: inline-block;
  width: .4em;
  height: .4em;
  border-radius: 50%;
  margin-top: .3em;
  margin-left: -.65em;
  opacity: 0;
  transform: scale(0);
  transition: all .15s ease-in-out;
}
#projects li.focus .name:before{
  opacity: 1;
  transform: scale(1);
}

/*  Slider
----------------------------------------------- */

#slider{
  margin: 0;
  padding: 0;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  list-style: none;
  overflow: hidden;
  z-index: -2;
}

.slide{
  z-index: 3;
}

.slide, .slide a, .slide div{
  height: 50vh;
  width: 100%;
  position: absolute;
}

.slide.focus{
  z-index: 100;
}

.slide div{
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.slide.focus .grayscale{  
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray;
  mix-blend-mode: multiply;
  opacity: .7;
}

#home .slide .color,
#site.is-exiting.to-home .slide.focus .color{
  opacity: 0;
  transition: opacity .3s ease-in-out;
}

#site.is-exiting.to-agency #home #flap > *,
#site.is-exiting.to-contact #home #flap > *{
  opacity: 0;
  transition: opacity .3s .3s ease-in-out;
}

#project .slide .color,
#site.is-exiting.to-project .slide.focus .color{
  opacity: 1;
  transition: opacity .3s ease-in-out;
}

#home .slide.focus a:before{
  content: '';
  position: fixed;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  height: 50vh;
  background-color: inherit;
  transform: translateY(0);
}

.site.is-exiting.to-project .slide.focus a:before{
  animation: slideInTop .3s .15s ease-in alternate both;
}

/* Slide loader */
.slide.loading ~ .loader{
  display: inline-block;
}

.slide.loading ~ .loader svg{
  animation: fadeIn .5s .3s ease both;
}

.loader{
  z-index: 100;
  display: none;
  position: absolute;
  left: 50%;
  top: 25%;
  transform: translate(-50%, -50%) rotate(90deg);
}

.site.is-exiting .slide.loading ~ .loader{
  display: none;
}

.loader svg{
  width: .5em;
  opacity: 0;
  overflow: visible;
}

.loader svg circle{
  animation: shake 2s infinite;
}

.loader svg circle:nth-of-type(2){
  animation-delay: .1s;
}

.loader svg circle:nth-of-type(1){
  animation-delay: .2s;
}

/* Cursor */
#cursor{
  position: fixed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 100;
  top: 1.4em;
  right: 1.2em;
}

#project #cursor{
  transform: rotate(45deg);
}

.site.is-exiting #home #cursor{
  animation: rotate .4s ease-in-out alternate both;
}

.site.is-exiting #project #cursor{
  animation: rotate .4s ease-in-out alternate-reverse both;
}

#slider .slide:hover ~ #cursor{
  display: block;
}

#home #slider a:hover,
#project #slider a:hover{
  cursor: none;
}

#cursor line{
  fill:none;
  stroke: #000;
  stroke-miterlimit:10;
  stroke-width:2px;
}

/*  Project
----------------------------------------------- */
#project #slider{
  position: fixed;
}

#project > article{
  padding-left: 3.2em;
  margin-top: 50vh;
  width: 100%;
  float: left;
  background: #fff;
  opacity: 1;
  transition: opacity .3s ease-in-out;
}

.site.is-exiting.is-bottom #project > article{
  opacity: 0;
}

.site.is-exiting.is-bottom #header.project{
  top: 50vh;
}

.site.is-exiting.is-bottom #header.project #logo{
  animation: fadeIn .3s ease-in-out both;
}

#project > article header{
  padding: 1.9em 1.5em 1em 1.5em;
}

#project #title{
  text-transform: uppercase;
  margin-bottom: .5em;
}

#project #title h1{
  font-size: 2em;
  line-height: 1.2em;
  margin: 0 0 .15em 0;
}

#project #title p{
  margin: 0;
  font-size: 1.2em;
}

#project #title p:before{
  content: "➝";
  margin-right: .5em;
}

#project #copyright{
  display: inline-block;
  padding: 0;
  margin: 1.5em 0;
  list-style: none;
}

#project #copyright strong{
  display: inline-block;
}

#project #content{
  display: inline-block;
  margin-top: 3em;
  width: 100%;
}

#project #copyright p{
  margin-top: 0;
}

figure {
  display: inline-block;
  text-align: center;
  position: relative;
  margin: 0 0 3em 0;
  clear: both;
  background: #ccc;
  width: 100%;
}

figure.loaded{
  background: #fff;
}

figure.alignleft,{
  text-align: left;
}

figure.alignright{
  text-align: right;
}

figure img{
  width: 100%;
  height: auto;
}

figcaption{
  display: none;
}

.video{
  width: 100%;
  height: 0;
  padding-top: 0;
  padding-bottom: 56.25%;
  position: relative;
  margin: 0 0 3em 0;
  clear: both;
  text-align: center;
}

.video-position.alignleft{
  float: left;
}

.video-position.alignright{
  float: right;
}

.video iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#project .text{
  font-size: 1.2em;
  padding: 0 1.3em 2.526em;
}

#project .text[lang|=en]{
  opacity: .5;
}

#project .text h2{
  font-size: 1em;
  margin: 0;
  text-transform: uppercase;
}

#project .text p:last-of-type{
  margin-bottom: 0;
}

#project .text p:first-of-type{
  margin-top: 0;
}

/*  Project footer
----------------------------------------------- */

#prevnext{
  position: fixed;
  opacity: 0;
  height: 4.750em;
  left: 3.2em;
  right: 0;
  bottom: 0;
  margin: 0;
}

.site #prevnext,
.site.is-exiting.is-bottom.to-home #prevnext{
  transform: translateY(50vh);
  transition: transform .3s ease-in-out, height .3s .2s ease-in-out;
}

.site.is-bottom #prevnext{
  opacity: 1;
  transform: translateY(0);
}

.site.is-exiting.to-project #prevnext{
  height: calc(100% - 50vh);
}

#prevnext a{
  display: inline-block;
  position: absolute;
  width: 50%;
  height: 100%;
  line-height: 4em;
  top: 0;
  bottom: 0;
  padding: 0 1.2em;
  text-transform: uppercase;
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  overflow: hidden;
  transition: all .3s ease-in-out;
}

#prevnext a.prev{
  left: 0;
}

#prevnext a.next{
  right: 0;
}

#prevnext a.solo{
  width: 100%;
}

#prevnext a.clicked{
  width: 100%;
  z-index: 1;
}

#prevnext span{
  opacity: 1;
  transition: opacity .3s ease;
}

.site.is-exiting.to-project #prevnext span{
  opacity: 0;
}

#prevnext span span{
  display: none;
}

/*  Agency - Contact
----------------------------------------------- */

#agency #flap,
#contact #flap{
  background: #fff;
  padding: 0 1.2em 2em 4.7em;
}

#agency nav {
  position: absolute;
  top: 50vh;
  bottom: inherit;
  background: #fff;
  z-index: 1;
  white-space: nowrap;
  padding-top: 1.5em;
}

#agency h2{
  margin-top: 0;
}

.site #agency nav,
.site #agency article,
.site #contact header,
.site #contact #infos,
.site #contact footer{
  animation: fadeIn .3s ease-in-out both; 
}

.site #agency article,
.site #contact #infos,
.site #contact footer{
  animation-delay: .15s;
}

.site.is-exiting #agency nav,
.site.is-exiting #agency article,
.site.is-exiting #contact header,
.site.is-exiting #contact #infos,
.site.is-exiting #contact footer{
  animation: fadeIn .3s alternate-reverse ease-in-out both;
}

#agency nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

#agency nav li{
  display: inline-block;
  margin-right: .8em;
}

#agency nav li:last-of-type{
  margin-right: 0;
}

#agency nav a{
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  padding: .2em 0;
  line-height: 2em;
  display: inline-block;
  position: relative;
}

#agency nav a.active{
  font-weight: bold;
}

#agency nav a:after{
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background: #000;
  transform: translateY(-.2em);
  opacity: 0;
  transition: all .3s ease;
}

#agency nav a:hover:after,
#agency nav a.active:after{
  opacity: 1;
  transform: translateY(0);
}

#agency article,
#contact article{
  font-size: 1.2em;
}

#agency section{
  padding-top: 4.25em;
}

#agency section:last-of-type{
  min-height: calc(100vh - 2.7em);
}

#agency h2{
  font-size: 1.684em;
  line-height: 1.2em;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
}

#agency h2:after, #contact header:after, #agency footer:before{
  content: '';
  display: block;
  position: absolute;
  background: #000;
  width: 2em;
  height: 1px;
  bottom: -.5em;
}

#agency .intro{
  font-weight: bold;
}

#agency #slider{
  position: fixed;
  width: 100%;
  height: 50vh;
}

#agency #slider li{
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity .3s .3s ease-in-out;
}

#agency #slider li.active{
  z-index: 10;
  opacity: 1;
  transition: opacity .3s .0s ease-in-out;
}

#agency #slider li img,
#map{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#agency .content{
  margin-top: 1em;
}

#agency .content a{
  color: #000;
}

#agency #publications .content{
  padding-left: 1em; 
}

#agency #partenaires p:first-of-type{
  margin-top: 0;
}

#agency #partenaires p{
  margin-bottom: 1.4em;
}

#agency #publications li *:first-child{
  font-weight: bold;
}

/*  Contact
----------------------------------------------- */

#contact header{
  padding-top: 2.54em;
  font-size: 1.684em;
  line-height: 1.2em;
  text-transform: uppercase;
  position: relative;
}

#contact header p{
  margin: 0;
  padding-bottom: .1em;
}

#contact a{
  text-decoration: none;
  color: #000;
}

#contact a.download{
  display: inline-block;
  padding: .5em;
  text-transform: uppercase;
  text-decoration: none!important;
  font-weight: bold;
  border: solid 1px #000;
  margin-bottom: .4em;
  position: relative;
  transition: color .2s ease;
  z-index: 1;
}

#contact a.download:hover,
#contact a.download:focus{
  color: #fff;
}

#contact a.download:before{
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background: #000;
  transition: height .15s ease;
  z-index: -1;
}

#contact a.download:hover:before,
#contact a.download:focus:before{
  height: 100%;
}

#contact #infos{  
  margin-top: 2.5em;
}

#contact #slider{
  width: 100%;
  height: 50vh;
  left: inherit;
}

#contact #infos a:hover{
  text-decoration: underline;
}

#contact #pin {
  top: 50%;
  left: 50%;
  width: 10em;
  height: 10em;
  padding: 2em;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  transform: translate(-50%, -50%) scale(1);
  transition: transform .3s ease-in-out;
}

#contact #pin svg{
  width: 100%;
  height: 100%;
}

#contact #slider a:hover #pin {
  transform: translate(-50%, -50%) scale(.95);
}

#contact strong{
  text-transform: uppercase;
}

#agency footer{
  font-size: .8em;
  margin: 3em 0 4em;
  position: relative;
  padding-top: 1.5em;
}

#agency footer:before{
  bottom: inherit;
  top: 0;
  width: 100%;
}

#agency footer a{
  font-weight: bold;
  color: #000;
}

/*  Error 404
----------------------------------------------- */

#error {
  position: absolute;
  display: inline-block;
  left: 50%;
  top: 50%;
  text-align: center;
}

#error .content{
  transform: translate(-50%, -50%);
  display: inline-block;
}
#error h1 {
  font-size: 6em;
  line-height: 1em;
  margin: 0;
}
#error p {
  margin: 0 auto;
  font-size: 1.2em;
}
#error a {
  color: #000;
}

/*  Responsive
----------------------------------------------- */

@media only screen and (min-width:22em){
  html{
    font-size: .9em;
  }
}

@media only screen and (min-width:25em){ 
  #sort label span{
    display: inline;  
  }
  #project #copyright{
    column-count: 2;
    column-gap: 1em;
    column-fill: balance;
  }
  #agency #partenaires .content{
    column-count: 2;
    column-gap: 1em;
    column-fill: balance;
  }
}

@media only screen and (min-width:40em){
  html{
    font-size: 1em;
  }
  #biglogo{
    width: 8.250em;
    height: 23.188em;
  }
  #flap{
    padding: 0 1.2em 0 6.4em;
  }
  main #sort{
    padding-left: 6.4em!important;
  }
  
  #project #title h1,
  #projects .name{
    font-size: 2.4em;
  }
  #agency h2{
    font-size: 2em;
  }
  #contact header{
    padding-top: 2.27em;
    font-size: 2em;
  }
  #contact #infos{  
    margin-top: 2.7em;
  }
  #project #copyright{
    column-count: 3;
    column-gap: 2em;
    column-fill: balance;
    margin: 1.5em 0 .5em 0;
  }
  #project > article header{
    padding: 1.9em 1.5em;
  }
  #projects ul{
    padding: 5.65em 0 0 0;
  }
  #projects li .name:before{
    width: .3em;
    height: .3em;
    margin-top: .35em;
    margin-left: -.5em;
  }
  #project > article header{
    padding: 3em;
  }
  #project .text{
    width: 100%;
    padding: 0 2.526em 2.526em;
    float: left;
    clear: left;
  }
  #project .text.right{
    float: right;
    clear: right;
  }  
  figure {
    clear: both;
  }
  #header.fixed ~ main #sort,
  #header.fixed ~ #agency nav,
  #agency #flap,
  #contact #flap{
    padding-left: 6.4em;
  }
  #agency section{
    padding-top: 4.7em;
  }
  #agency #partenaires .content{
    column-count: 3;
  }
}

@media only screen and (min-width:54em) {
  #agency #partenaires .content{
    column-count: 4;
  }  
}



@media only screen and (min-width:64em) {
  #header{
    top: 0;
  }
  #header.home #logo,
  #header.home.fixed #logo,
  .site.is-exiting.to-home #logo{
    opacity: 0;
    transition: opacity .3s .3s ease-in-out;
  }
  
  #project #content{
    margin-top: 3em;
  }
  figure, .video{
    margin: 1em 0 3em 0;
  }
  
  figure:last-of-type{
    margin-bottom: 4em;
  }
  figure.alignleft,
  figure.alignright,
  figure.centered,
  .video-position.alignleft,
  .video-position.alignright,
  .video-position.centered{
    width: 70%;
  }
  
  figure.centered,
  .video-position.centered{
    margin-left: 15%;
  }
  
  #logo,
  .site.is-exiting #logo,
  .site.is-exiting #header.home #logo{
    opacity: 1;
    transition: opacity .3s .3s ease-in-out;
  }
  
  .site.is-exiting.is-bottom #header.project #logo{
    animation: none;
  }
    
  #dots{
    display: none;
  }
  
  #header{
    width: 3.4em;
  }
  
  #header ul{
    bottom: auto;
    top: 24.7em;
    width: 18.5em;
    pointer-events: auto;
  }
  
  #header li{
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }
  
  #header li a{
    padding: .7em;
    margin-top: .045em;
  }

  .site.is-exiting.is-bottom #header.project{
    top: 0;
  }
  
  #flap{
    width: 50%;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 0;
    padding: 1em 2em 2em 3.2em;
  }
  
  #biglogo{
    width: 6.6em;
    height: 18.55em;
    top: 0;
    margin-top: 7.4em;
    z-index: 20;
    left: calc(11.5vw - 3.2em);
    animation: none;
  }
  
  .site.is-exiting #biglogo{
    position: absolute;
  }
  
  #projects{
    padding-left: 16vw;
  }
  
  #sort{
    white-space: nowrap;
    background: #fff;
    padding-top: 1.5em;
  }

  main #sort,
  #agency nav{
    position: fixed;
    top: 0;
    left: 0;
    right: 50%!important;
    z-index: 50;
    padding: 2.5em 3em 0 calc(16vw + 3em)!important;
  }

  #sort label span{
    display: none;  
  }
  
  #projects ul{
    padding: 6em 0 0 0;
  }
  
  #projects a{
    padding-bottom: 2.5em;
  }
  
  .site.is-exiting #header.fixed ~ main #sort{
    position: absolute;
    width: 100%;
  }
  
  #projects .name{
    font-size: 2em;
    margin: 0 0 .1em 0;
  }
  
  /* Flap animation */
  #project #flap{
    display: block;
    min-height: 100vh;
    transform: translateX(-100%);
  }
  #project #flap #projects{
    display: block;
  }
  .site.is-exiting.to-project #flap{
    animation: slideOutLeft .6s ease-in-out alternate both;
  }
  .site.is-exiting #project #flap{
    animation: slideOutLeft .6s ease-in-out alternate-reverse both;
  }
  .site.is-exiting.to-agency #project #flap > *,
  .site.is-exiting.to-contact #project #flap > *{
    opacity: 0;
  }
  
  #project > article{
    margin-top: calc(100vh - 10em);
  }
  
  .site.is-exiting #project > article{
    animation: fadeOutBottom .3s ease-in-out alternate-reverse both;
  }
  
  .site.is-exiting.is-bottom #project > article{
    opacity: 1;
  }
  
  #project > article header{
    display: flex;
    justify-content: space-between;
  }
  
  #projects li .name:before{
    width: .4em;
    height: .4em;
    margin-top: .3em;
    margin-left: -.65em;
  }

  #project #title{
    flex: 1;
    padding-right: 3em;
    margin-bottom: 0;
  }
  
  #project #copyright{
    flex: 2;
    margin: .2em 0;
  }
  
  #project #title,
  #project #copyright {
    animation: fadeInBottom .3s ease-in-out alternate both;
  }
  
  .site.is-exiting #project header,
  .site.is-exiting #project #content{
    animation: none;
  }
  
  #slider{
    background: #ccc;
    z-index: -2;
  }
  
  .slide, .slide a, .slide div{
    height: 100%;
  }
  
  .slide.focus .grayscale{
    opacity: 1;
  }
  
  .loader{
    left: 75%;
    top: 50%;
  }
  
  /* Project bottom color transition */
  #home .slide.focus a:before{
    content: '';
    position: absolute;
    display: block;
    top: inherit;
    left: 0;
    right: 0;
    bottom: 0;
    height: 10em;
    z-index: 1;
    background-color: inherit;
    transform: translateY(10em);
  }  
  .site.is-exiting.to-project .slide.focus a:before{
    animation: slideInBottom .6s ease-in-out alternate both;
  }
  #project .text{
    padding: 0 2.526em 2.526em;
    width: 50%;
  }
  
  figcaption{
    display: inline-block;
    position: absolute;
    bottom: -2.2em;
    right: 1em;
    color: #fff;
    transition: color .3s ease;
    cursor: default;
  }

  figcaption:after{
    content: '©';
    font-family: Helvetica, Arial;
    font-size: 1.2em;
    margin-left: .2em;
    margin-top: -.2em;
    vertical-align: middle;
    display: inline-block;
    color: #000;
  }

  figcaption:hover{
    color: #000;
  }
  
  .site #prevnext,
  .site.is-exiting.is-bottom.to-home #prevnext{
    transform: translateY(10em);
    transition: transform .3s ease-in-out, height .4s .2s ease-in-out;
  }

  .site.is-exiting.to-project #prevnext{
    height: 10em;
  }
  
  #prevnext{
    left: 3.4em;
  }
  
  #prevnext a{
    text-align: left;
    padding: 0 2.526em;
  }
  
  #prevnext a.next{
    text-align: right;
  }
  
  #prevnext span span{
    display: inline;
  }
  
  #header.fixed ~ #agency nav,
  #header ~ #agency nav{
    position: fixed;
    width: inherit!important;
    right: 50%!important;
    left: 0!important;
    top: 0;
    padding: 2.5em 3em 0 6.4em!important;
  }
  
  #agency #flap,
  #contact #flap{
    padding-left: 6.4em;
    padding-right: 3em;
  }
  
  #agency section{
    padding-top: 5.75em;
  }
  
  #agency #slider{
    position: fixed;
    width: 50%;
    height: 100vh;
    right: 0;
    left: inherit;
  }
  
  #contact #slider{
    width: 50%;
    height: 100%;
    left: inherit;
  }
  
  #contact #pin {
    width: 12em;
    height: 12em;
  }
  
  #contact header{
    padding-top: 2.85em;
    font-size: 2em;
  }  
  
  #contact #infos{  
    margin-top: 2.7em;
  }
  #agency #partenaires .content{
    column-count: 2;
  }
}

@media only screen and (min-width:70em){
  #sort label span{
    display: inline;  
  }
}

@media only screen and (min-width:80em){
  #biglogo{
    width: 8.250em;
    height: 23.188em;
    left: calc(12vw - 3.4em);
  }
  #header ul{
    top: 28.5em;
    width: 22.3em;
  }
  #header li a{
    font-size: 1.2em;
  }
  #projects{
    padding-left: 20vw;
  }
  #flap{
    padding: 1em 3em 2em 3.2em;
  }
  main #sort,
  #agency nav{
    padding: 2.5em 3em 0 calc(20vw + 3em)!important;
  }
  #agency #partenaires .content{
    column-count: 3;
  }
  figure, .video{
    width: calc(100% - 6.8em);
    margin-left: 3.4em;
  }
}

@media only screen and (min-width:100em){
  #biglogo{
    width: 8.250em;
    height: 23.188em;
    left: calc(10.5vw - 3.4em);
  }
  #project #title h1,
  #projects .name{
/*    font-size: 2.4em;*/
  }
  #projects{
    padding-left: 18vw;
  }
  main #sort,
  #agency nav{
    padding: 2.5em 3em 0 calc(18vw + 3em)!important;
  }
  #project .text{
    font-size: 1.4em;
  }
  #agency #partenaires .content{
    column-count: 4;
  }
}

@media only screen and (min-width:110em){
  #project #title h1,
  #projects .name{
    font-size: 2.4em;
  }
}