/* !Styles: Lex Lexter <hi@leximo.cz> */

@font-face {
  font-family: 'Open Sans Fallback';
  size-adjust: 100%;
  src: local('Arial');
}
@font-face {
  font-family: 'Parisienne Fallback';
  size-adjust: 100%;
  src: local('Arial');
}

/*
  Variables
  ***
*/

:root {

  /* FONTS */
  --font-primary: 'Open Sans', 'Open Sans Fallback', Arial, Helvetica, sans-serif;
  --font-secondary: 'Parisienne', 'Parisienne Fallback', Arial, Helvetica, sans-serif;

}

/*
  Hover devices
  ---
*/

@media (hover: hover) {

  :root {

    /* TRANSITIONS */
    --transition-dynamic: 150ms ease-in-out;
    --transition-static: 150ms linear;

  }

}

/*
  Bodies
  ***
*/

html, body {
  background-color: #252525;
}
body {
  position: relative;
  min-width: 350px;
  font: 400 17px var(--font-primary);
  color: #ADADAC;
}

/*
  Links
  ***
*/

a {
  outline: none;
  text-decoration-thickness: 1px;
  color: #B1A170;
}
a:hover {
  text-decoration-thickness: 1px;
  color: #ADADAC;
}

/*
  icon
  ***
*/

.icon {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  background: center center no-repeat;
  font-size: 0;
  fill: #B3A270;
}

/*
  slick-arrow
  ***
*/

.slick-arrow {
  width: 46px;
  height: 46px;
  position: relative;
  background-color: #252525;
  border: none;
  border-radius: 50%;
  font-size: 0;
  transition: background-color var(--transition-static);
}

/* hover */

.slick-arrow:hover {
  background-color: #B3A270;
}

/*
  Arrow
  ---
*/

.slick-arrow:before, 
.slick-arrow:after {
  content: '';
  width: 9px;
  height: 2px;
  position: absolute;
  left: 19px;
  top: 50%;
  transform-origin: left center;
  background-color: #fff;
}
.slick-arrow:before {
  transform: rotate(-45deg);
}
.slick-arrow:after {
  transform: rotate(45deg);
}

/*
  - next
  ---
*/

.slick-arrow.slick-next {
  transform: scaleX(-1);
}

/*
  subtext
  ***
*/

.subtext {
  margin-bottom: 32px;
  font: 400 24px var(--font-secondary);
}

/*
  gallery
  ***
*/

.gallery {
  margin: 32px -8px 16px -8px;
  font-size: 0;
}

/*
  item
  ---
*/

.gallery__item {
  width: 25%;
  display: inline-block;
  margin-bottom: 16px;
}

/*
  LINK, IMG
  ...
*/

.gallery__item a, 
.gallery__item a img {
  display: block;
  border-radius: 8px;
}
.gallery__item a {
  overflow: hidden;
  margin: 0 8px;
}
.gallery__item a img {
  width: 100%;
  transition: transform var(--transition-dynamic);
}

/* active */

.gallery__item a:hover img {
  transform: scale(1.05);
}

/*
  project
  ***
*/

.project {
  margin: 32px 0;
  padding: 36px 42px;
  background-color: #323232;
  border: 1px solid #4A4A4A;
  font-size: 15px;
}

/*
  - gold
  ---
*/

.project--gold {
  background-color: #B1A170;
  border-color: #c4b383;
  color: #fff;
}

/*
  Adjust button
  ...
*/

.project--gold .button {
  border-color: #fff;
  color: #fff;
}

/*
  Adjust subtext
  ---
*/

.project .subtext {
  margin: 0 0 0 0;
}

/*
  gold
  ---
*/

.project--gold .subtext {
  opacity: 0.75;
}

/*
  gallery
  ---
*/

.project__gallery {
  position: relative;
  margin: 32px -42px 0 -43px;
}

/*
  Adjust slick
  ...
*/

.project__gallery .slick-slide {
  margin: 0 8px;
}
.project__gallery .slick-list {
  margin: 0 -8px;
}

/*
  Adjust slick-arrow
  ...
*/

.project__gallery .slick-arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  margin-top: -21px;
}
.project__gallery .slick-arrow.slick-prev {
  left: 21px;
}
.project__gallery .slick-arrow.slick-next {
  right: 21px;
}

/*
  LINK, IMG
  ...
*/

.project__gallery a, 
.project__gallery a img {
  display: block;
}
.project__gallery a {
  overflow: hidden;
}
.project__gallery a img {
  width: 100%;
  transition: transform var(--transition-dynamic);
}

/* active */

.project__gallery a:hover img {
  transform: scale(1.05);
}


/*
  title
  ---
*/

.project__title {
  margin: 0;
}

/*
  gold
  ---
*/

.project--gold .project__title {
  color: inherit;
}

/*
  content
  ---
*/

.project__content {
  margin: 28px 0 -16px 0;
}


/*
  accordion
  ***
*/

.accordion {
  margin: 32px 0;
  background-color: #323232;
  border: 1px solid #4A4A4A;
}

/*
  + accordion
  ---
*/

.accordion + .accordion {
  margin-top: -33px;
}

/*
  title
  ---
*/

.accordion__title {
  position: relative;
  padding: 14px 24px;
  line-height: 1.6;
  font-weight: 700;
  color: #B3A270;
  cursor: pointer;
}

/*
  icon
  ...
*/

.accordion__title .icon {
  width: 52px;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  border-left: 1px solid #4A4A4A;
}

/*
  SVG
*/

.accordion__title .icon svg {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -10px 0 0 -10px;
  fill: #666666;
  transition: opacity var(--transition-static), 
              fill var(--transition-static);
}
.accordion__title .icon svg:last-child {
  opacity: 0;
}

/* - active */

.accordion.--active .accordion__title .icon svg {
  fill: #B3A270;
}
.accordion.--active .accordion__title .icon svg:first-child {
  opacity: 0;
}
.accordion.--active .accordion__title .icon svg:last-child {
  opacity: 1;
}

/*
  content
  ---
*/

.accordion__content {
  padding: 24px 24px 8px 24px;
  border-top: 1px solid #4A4A4A;
}

/*
  item-dir
  ***
*/

.item-dir__inset {
  height: 400px;
  position: relative;
  display: block;
  background: center center no-repeat;
  background-size: cover;
  text-decoration: none;
  font-size: 16px;
  color: #fff;
}

/*
  - layout
*/

.--layout-home .item-dir__inset {
  height: calc(100vh - 130px);
}

/*
  Overlay
  ---
*/

.item-dir__inset:before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: background-color var(--transition-static);
}

/* hover */

.item-dir__inset:hover:before {
  background-color: rgba(0, 0, 0, 0.25);
}

/*
  title
  ---
*/

.item-dir__title {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  margin: 0;
  padding: 42px 54px;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%);
}

/*
  carousel
  ***
*/

.carousel {
  position: relative;
  font-size: 0;
}

/*
  Adjust slick-arrow
  ---
*/

.carousel .slick-arrow {
  position: absolute;
  top: 50%;
  margin-top: -21px;
  z-index: 10;
}
.carousel .slick-arrow.slick-prev {
  left: 54px;
}
.carousel .slick-arrow.slick-next {
  right: 54px;
}

/*
  button
  ***
*/

.button {
  display: inline-block;
  margin: 4px 12px 0 0;
  padding: 12px 20px 13px 20px;
  border: 1px solid #B3A270;
  border-radius: 6px;
  line-height: 1.5;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: #B3A270;
  transition: border-color var(--transition-static), 
              border-radius var(--transition-static), 
              color var(--transition-static);
}

/* hover */

.button:hover {
  border-color: #fff;
  border-radius: 26px;
  color: #fff;
}

/*
  head
  ***
*/

.head {
  display: block;
}

/*
  Adjust button
  ---
*/

.head .button {
  margin: 32px 12px 0 0;
}

/*
  - layout
  ...
*/

.--layout-404 .head .button {
  margin-right: 0;
}

/*
  - ta-*
  ...
*/

.head.--ta-center .button {
  margin-left: 6px;
  margin-right: 6px;
}


/*
  title
  ---
*/

.head__title {
  margin: 0;
}

/*
  excerpt
  ---
*/

.head__excerpt {
  margin: 12px 0 0 0;
  font: 400 26px var(--font-secondary);
}

/*
  detail
  **
*/

.detail {
  min-height: calc(100vh - 130px);
  position: relative;
}

@media only screen and (min-width: 951px) {

  /*
    - center
    ---
  */

  .detail--center {
    width: 100%;
    display: table;
  }

}

/*
  - media
  ---
*/

.detail--media {
  padding-left: 50%;
}

/*
  RULE
  ---
*/

.detail hr {
  margin-left: -10000px;
  margin-right: -10000px;
}

/*
  - image
  ---
*/

.detail--image hr {
  margin-left: -120px;
  margin-right: -120px;
}

/*
  detail__content
  ***
*/

.detail__content {
  padding: 75px 120px;
}
.detail__content__inset {
  max-width: 712px;
  margin: 0 auto;
}

@media only screen and (min-width: 951px) {

  /*
    - center
    ---
  */

  .detail--center .detail__content {
    display: table-cell;
    vertical-align: middle;
    padding-top: 42px;
  }

}

/*
  image
  ---
*/

.detail__image {
  display: none;
  margin: 36px -160px 0 -160px;
}
.detail__image img {
  display: block;
}

/*
  format
  ---
*/

.detail__format {
  margin-top: 36px;
}

/*
  image
  ---
*/

.detail__media {
  width: 50%;
  height: calc(100vh - 80px);
  position: fixed;
  left: 0;
  top: 80px;
  z-index: 10;
  background: center center no-repeat;
  background-size: cover;
}

/*
  title
  ---
*/

.detail__media__title {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  margin: 0;
  padding: 54px 64px;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%);
}

/*
  SPAN
  ...
*/

.detail__media__title span {
  display: block;
  transition: padding-bottom var(--transition-static);
}

/* - bottom */

.--bottom .detail__media__title span {
  padding-bottom: 42px;
}

/*
  site-wrap
  ***
*/

.site-wrap {
  overflow: hidden;
  padding-top: 80px;
}

/*
  site-head
  ***
*/

.site-head {
  height: 80px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 100;
  background-color: #B3A270;
  box-shadow: 0 0 64px rgba(0, 0, 0, 0.25);
  text-align: center;
  color: #fff;
}

/*
  Line
  ---
*/

.site-head:before {
  content: '';
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  top: 48%;
  z-index: 1;
  background-color: #fff;
}

/*
  LINKS
  ---
*/

.site-head a {
  text-decoration: none;
  color: #fff;
}

/*
  logo
  ---
*/

.site-head__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(0.03deg);
  z-index: 3;
  padding: 12px 24px;
  background-color: #B3A270;
  font: 400 42px var(--font-secondary);
  line-height: 1;
}

/*
  nav-drop
  ***
*/

.nav-drop {
  pointer-events: none;
  position: absolute;
  top: 100%;
  border: 12px solid transparent;
  text-align: center;
  opacity: 0;
  transition: opacity var(--transition-static);
}

/* hover */

.nav-drop.--active {
  pointer-events: all;
  opacity: 1;
}

/*
  - align
  ---
*/

.nav-drop--align-left {
  left: 0;
}
.nav-drop--align-right {
  right: 0;
}

/*
  LINK
  ---
*/

.nav-drop a {
  display: block;
  padding: 16px 36px;
  background-color: #B3A270;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  font-size: 15px;
  transition: background-color var(--transition-static);
}

/* hover */

.nav-drop a:hover {
  background-color: #9D8C5B;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

/* - active */

.nav-drop a.--active {
  background-color: #9D8C5B;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

/*
  Caps
  ...
*/

.nav-drop a:first-child {
  border-radius: 8px 8px 0 0;
}
.nav-drop a:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}

/*
  link
  ---
*/

.site-head__link {
  position: absolute;
  top: 0;
  z-index: 10;
  cursor: pointer;
}

/*
  Arrow
  ...
*/

.site-head__link:before {
  content: '';
  width: 20px;
  height: 20px;
  position: absolute;
  top: 28px;
  transform: rotate(45deg);
  background-color: #B3A270;  
}

/*
  - align
*/

.site-head__link--align-left {
  left: 0;
}
.site-head__link--align-left:before {
  right: -14px;
}
.site-head__link--align-right {
  right: 0;
}
.site-head__link--align-right:before {
  left: -14px;
}

/*
  title
  ...
*/

.site-head__link__title {
  height: 48px;
  display: block;
  padding: 32px 42px 0 42px;
  background-color: #383838;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  transition: background-color var(--transition-static);
}

/* hover */

a.site-head__link:hover .site-head__link__title {
  background-color: #3a3a3a;
}

/*
  Adjust icon
  ...
*/

.site-head__link__title .icon--home {
  top: -2px;
  margin-right: 6px;
}
.site-head__link__title .icon--down {
  top: -1px;
  margin-left: 6px;
}

/* - active */

.site-head__link__title.--active .icon--down {
  transform: scaleY(-1);
}

/*
  site-foot
  ***
*/

.site-foot {
  height: 29px;
  position: relative;
  z-index: 100;
  padding: 20px 24px 0 24px;
  background-color: #252525;
  border-top: 1px solid #B3A270;
}

/*
  nav
  ---
*/

.site-foot__nav {
  margin: 0;
  line-height: 1;
  font-size: 0;
}

/*
  LINK
  ...
*/

.site-foot__nav a {
  float: left;
  padding: 0 6px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
}

@media only screen and (min-width: 501px) {

  /*
    - right
  */

  .site-foot__nav a.--right {
    float: right;
  }

}

/*
  Caps
*/

.site-foot__nav a:first-child {
  padding-left: 0;
}
.site-foot__nav a:last-child {
  padding-right: 0;
}

/*
  lexybox
  ***
*/

.lexybox-count {
  opacity: 0;
}