/*
 * Reset (Eric Meyer)
 * -----------------------------
 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin          : 0;
  padding         : 0;
  border          : 0;
  font-size       : 100%;
  font            : inherit;
  vertical-align  : baseline;
  text-decoration : none;
  outline         : none;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display : block;
}
ol, ul {
  list-style : none;
}
blockquote, q {
  quotes : none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content : '';
  content : none;
}
table {
  border-collapse : collapse;
  border-spacing  : 0;
}



/*
 * Fonts
 * -----------------------------
 */

@font-face {
  font-family: 'Tomahack';
  src: url('../fonts/Tomahack.eot'); /* IE9 Compat Modes */
  src: url('../fonts/Tomahack.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/Tomahack.woff') format('woff'), /* Modern Browsers */
       url('../fonts/Tomahack.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('../fonts/Tomahack.svg#7fd5a18e89f7818327fe30f3ca00b978') format('svg'); /* Legacy iOS */
  font-style:   normal;
  font-weight:  400;
  font-display: swap;
}
@font-face {
  font-family: 'Edmondsans Regular';
  src: url('../fonts/Edmondsans-Regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/Edmondsans-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/Edmondsans-Regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/Edmondsans-Regular.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('../fonts/Edmondsans-Regular.svg#7bbba12411bdd1eb69cf9e8a612ada82') format('svg'); /* Legacy iOS */
  font-style:   normal;
  font-weight:  400;
  font-display: swap;
}

@font-face {
  font-family: 'Vollkorn';
  src: url('../fonts/Vollkorn-Italic.eot'); /* IE9 Compat Modes */
  src: url('../fonts/Vollkorn-Italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/Vollkorn-Italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/Vollkorn-Italic.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('../fonts/Vollkorn-Italic.svg#98961ae4718e843253f083e38d65264f') format('svg'); /* Legacy iOS */
       
  font-style:   italic;
  font-weight:  400;
  font-display: swap;
}

@font-face {
  font-family: 'caohim';
  src:url('../fonts/caohim.eot?-cuggzg');
  src:url('../fonts/caohim.eot?#iefix-cuggzg') format('embedded-opentype'),
    url('../fonts/caohim.woff?-cuggzg') format('woff'),
    url('../fonts/caohim.ttf?-cuggzg') format('truetype'),
    url('../fonts/caohim.svg?-cuggzg#caohim') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

[class^="i-"], [class*=" i-"] {
  font-family: 'caohim';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.i-codepen:before {
  content: "\63";
}
.i-home:before {
  content: "\76";
}
.i-image:before {
  content: "\70";
}
.i-location:before {
  content: "\6d";
}
.i-gift:before {
  content: "\6a";
}
.i-happy:before {
  content: "\7a";
}
.i-mail:before {
  content: "\65";
}
.i-user:before {
  content: "\75";
}
.i-export:before {
  content: "\64";
}
.i-heart:before {
  content: "\61";
}
.i-star:before {
  content: "\79";
}
.i-house:before {
  content: "\68";
}
.i-search:before {
  content: "\73";
}
.i-cog:before {
  content: "\77";
}
.i-trophy:before {
  content: "\72";
}
.i-graduation:before {
  content: "\62";
}
.i-calendar:before {
  content: "\6b";
}
.i-screen:before {
  content: "\6e";
}
.i-archive:before {
  content: "\71";
}
.i-github:before {
  content: "\67";
}
.i-twitter:before {
  content: "\74";
}
.i-facebook:before {
  content: "\66";
}
.i-googleplus:before {
  content: "\6f";
}
.i-linkedin:before {
  content: "\6c";
}
.i-instagram:before {
  content: "\69";
}



/*
 * Useful
 * -----------------------------
 */

.u-left       { float: left !important; }
.u-right      { float: right !important; }

.u-text-left      { text-align: left !important; }
.u-text-right     { text-align: right !important; }
.u-text-center    { text-align: center !important; }

.u-outline,
.u-placeholder    { display: none !important; }

.u-table {
  display: table;
  width: 100%;
}
.u-table-cell {
  display: table-cell;
}

.u-pos-relative     { position: relative; }
.u-half             { width   : 50%; }
.u-two-third        { width   : 66%; }
.u-third            { width   : 33.33%; }
.u-one-fifth        { width   : 20%; }
.u-full             { width   : 100%; }
.u-row {
  max-width: 760px;
  padding: 80px 20px;
  margin: 0 auto;
}
.u-row + .u-row     { padding-top: 0; }
.u-row--followed    { padding-bottom: 50px; }

.u-padding-r        { padding-right: 20px; }
.u-padding-l        { padding-left: 20px; }

.u-antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  font-smoothing: antialiased;
}

.u-clearfix {
  overflow: hidden;
  *zoom: 1;
}



/*
 * Generic
 * -----------------------------
 */

*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 1.7em;
  outline: none;
}
html {
  background-color: #bfb29e;
  height: 100%;
  width: 100%;
}
body {
  font: italic normal 20px/1.5em 'Vollkorn', Georgia, Palatino, 'Times New Roman', Times, serif;
  color: #4c403a;
  text-align: left;
}

h1 {
  font: 400 92px/1em 'Tomahack', Helvetica, 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
  color: #ad9561;
}
h2, h3 {
  font: normal 30px 'Edmondsans Regular', Helvetica, 'Helvetica Neue', Arial, sans-serif;
  color: #bfb29e;
  margin: 20px 0 30px;
}
h3 i {
  font-size: smaller;
}

p {
  margin-bottom: 25px;
}
strong {
  font-weight: bold;
}

a {
  -moz-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1);
  -o-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1);
  -webkit-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1);
  text-decoration: underline;
  color: #ad9561;
}
a:hover,
a:active,
a:focus {
  text-decoration: none;
  color: #bfb29e;
}

blockquote {
  position: relative;
  font-size: 30px;
  line-height: 1.3em;
  padding: 0 65px;
  color: #2e2623;
}
blockquote:before {
  content: '«';
  font-size: 150px;
  position: absolute;
  top: -79px;
  left: -10px;
  z-index: -1;
  color: #bfb29e;
}
blockquote:after {
  content: '»';
  font-size: 150px;
  position: absolute;
  top: -79px;
  right: -5px;
  z-index: -1;
  color: #bfb29e;
}
body.lang--en .blockquote:before {
  content: '”';
  left: 0;
}
body.lang--en .blockquote:after {
  content: '„';
  top: auto;
  bottom: -90px;
  right: 0;
}



/*
 * Components
 * -----------------------------
 */

.site-header {
  background: #4c403a url('../img/pattern.png') repeat center top;
  position: relative;
  z-index: 8;
  height: 408px;
  border-bottom: 2px solid #c0b39f;
  -webkit-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.4);
  -moz-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.4);
  box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.4);
}
.site-header:before {
  content: '';
  background: transparent url('../img/sep-header-sand.png') repeat-x center top;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -160px;
  width: 320px;
  height: 480px;
}
.site-header .u-row {
  padding-top: 95px;
  padding-bottom: 30px;
  position: relative;
}
.author-title {
  font-size: 25px;
  margin-top: 10px;
  margin-bottom: 10px;
  text-transform: none;
  color: #bfb29e;
}
.author-title + .author-title {
  margin-top: 0;
  margin-bottom: 30px;
}

.social-item {
  display: inline-block;
}
.social-link {
  display: inline-block;
  margin: 0 10px;
  font-size: 33px;
  text-decoration: none;
}
.social-link:hover,
.social-link:active,
.social-link:focus {
  transform: translateY(-4px);
  -webkit-transform: translateY(-4px);
  -moz-transform: translateY(-4px);
  -o-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
}

.about {
  background-color: #eeece8;
}
.about p {
  color: #6f615a;
}
.about strong {
  color: #4c403a;
}

.clients {
  position: relative;
  background-color: #e4e0da;
  padding-bottom: 30px;
}
.clients:before {
  content: '';
  background: transparent url('../img/sep-middle-sand.png') repeat-x center top;
  position: absolute;
  top: -69px;
  left: 50%;
  margin-left: -107px;
  width: 215px;
  height: 125px;
}
.clients h2,
.clients h3 {
  color: #bfb29e;
}
.clients h4 {
  color: #4c403a;
}
.clients p,
.clients a,
.clients li {
  color: #4c403a;
}
.clients a {
  color: #ad9561;
}
.clients li {
  font: normal 20px/1.5em 'Edmondsans Regular', Helvetica, 'Helvetica Neue', Arial, sans-serif;
}
.clients a:hover,
.clients a:active,
.clients a:focus {
  color: #bfb29e;
}
.clients-list {
  -webkit-column-count: 2;
     -moz-column-count: 2;
          column-count: 2;
}
.clients-list small {
  font-size: small;
  padding-top: 7px;
}

.recognitions-list {
  background-color: #eeece8;
  padding: 20px 40px;
}
.recognition {
  padding: 30px 0;
}
.recognition li {
  font: normal 16px/1.75em 'Edmondsans Regular', Helvetica, 'Helvetica Neue', Arial, sans-serif;
}
.recognition + .recognition {
  border-top: 1px solid #d6cfc3;
}
.recognition-project {
  font: normal 25px 'Edmondsans Regular', Helvetica, 'Helvetica Neue', Arial, sans-serif;
  margin-bottom: 5px;
}
.recognition-title {
  font-size: 14px;
  line-height: 1.5em;
  margin-bottom: 0;
}

.insta {
  position: relative;
  background-color: #2e2623;
  color: #bfb29e;
  padding-top: 15px;
}
.insta:before {
  content: '';
  background: transparent url('../img/sep-middle-sand.png') repeat-x center top;
  position: absolute;
  top: -69px;
  left: 50%;
  margin-left: -107px;
  width: 215px;
  height: 125px;
}
.insta:after {
  content: '';
  background: transparent url('../img/sep-top-sand.png') repeat-x center top;
  position: absolute;
  bottom: -11px;
  left: 50%;
  margin-left: -107px;
  width: 215px;
  height: 47px;
}
.insta .u-row {
  padding-top: 60px;
}
.insta h3 {
  margin-bottom: 50px;
}
.insta-list {
  margin-bottom: 50px;
}
.insta-item {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}
.insta-item:after {
  content: '';
  -moz-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1);
  -o-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1);
  -webkit-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1);
  opacity: 0;
  background-color: rgba(46,38,36,0.8);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
}
.insta-item figcaption {
  -moz-transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1);
  -o-transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1);
  -webkit-transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1);
  transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1);
  -ms-transform: translateY(-40%);
  -webkit-transform: translateY(-40%);
  -moz-transform: translateY(-40%);
  -o-transform: translateY(-40%);
  transform: translateY(-40%);
  opacity: 0;
  font-size: 26px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 6;
  width: 100%;
}
.insta-item:hover figcaption,
.insta-item:active figcaption,
.insta-item:focus figcaption {
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 1;
}
.insta-item:hover:after,
.insta-item:active:after,
.insta-item:focus:after {
  opacity: 1;
}
.insta-item-illu {
  display: block;
  position: relative;
  z-index: 2;
}

.site-main {
  position: relative;
  z-index: 6;
}

.site-footer {
  position: relative;
  z-index: 4;
  background-color: #eeece8;
  overflow: hidden;
}

.page-tools {
  font: normal 14px 'Edmondsans Regular', Helvetica, 'Helvetica Neue', Arial, sans-serif;
  position: absolute;
  top: 20px;
  right: 20px;
}
.page-tools,
.page-tools a {
  color: #8CB5C8;
}



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

/* Small-ish */
@media all and (max-width:700px) {
  .site-header:before {
    background-image: none;
  }
}

/* Small */
@media all and (max-width:600px) {
  .u-half,
  .u-two-third,
  .u-third,
  .u-one-fifth {
    width: 100%;
  }

  .u-padding-r {
    padding-right: 0;
  }
  .u-padding-l {
    padding-left: 0;
  }

  .author {
    font-size: 72px;
  }
  .author-title {
    font-size: 23px;
  }
  blockquote {
    font-size: 24px;
  }
  blockquote:before {
    font-size: 100px;
    top: -48px;
  }
  blockquote:after {
    font-size: 100px;
    top: -48px;
  }
}


/* X-Small */
@media all and (max-width:430px) {
  html {
    background-position: center -90px;
    min-height: 0;
  }
  body {
    font-size: 18px;
    line-height: 1.5em;
  }
  blockquote {
    padding-right: 25px;
    padding-left: 25px;
    font-size: 20px;
  }
  blockquote:before {
    font-size: 60px;
    top: -5px;
  }
  blockquote:after {
    font-size: 60px;
    top: -5px;
  }

  .u-row {
    padding-top: 55px;
    padding-bottom: 60px;
  }

  .site-header {
    height: auto;
  }
  .site-header .u-row {
    padding-top: 55px;
  }
  .social-link {
    margin-right: 8px;
    margin-left: 8px;
  }

  .author {
    font-size: 50px;
  }
  .author-title {
    font-size: 20px;
  }

  .clients-list {
    -webkit-column-count: 1;
       -moz-column-count: 1;
            column-count: 1;
  }

  .recognition {
    padding-top: 26px;
    padding-bottom: 26px;
  }
  .recognition-project {
    font-size: 20px;
  }
  .recognitions-list {
    padding-right: 30px;
    padding-left: 30px;
  }
}