@font-face {
    font-family: 'Cardinal Classic';
    src: url('fonts/CardinalClassicMidWeb-Regular.woff2') format('woff2'),
        url('fonts/CardinalClassicMidWeb-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Cardinal Classic';
    src: url('fonts/CardinalClassicMidWeb-Italic.woff2') format('woff2'),
        url('fonts/CardinalClassicMidWeb-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}
* {
	margin: 0;
	padding: 0;
    font-weight: normal;
}
* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}
body {
  font-family: 'Cardinal Classic',Arial, sans-serif;
  text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    word-break: break-word;
    background-color: rgb(255,255,255);
    color: black;
    margin: 0 auto;
    overflow: hidden;
}
html {
  box-sizing: border-box;
  -ms-overflow-style: scrollbar;
  scroll-behavior: smooth;
}
img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
section {
  position: relative;
  overflow: hidden;
}
section.main {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  width: 100%;
  padding: 30px 40px 40px;
}
h1, h2 {
  font-size: 30px;
  line-height: 34px;
  text-align: center;
}
h1 {
  text-transform: uppercase;
}
h2 {
  font-style: italic;
}
section.main a, .about>h2, .clients>h2, .index-container>h2 {
  text-transform: uppercase;
  font-style: normal;
  font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
  font-size: 20px;
  line-height: 23px;
  position: absolute;
}
section.main a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.compass {
  height: calc(100% - 136px);
  position: relative;
  margin-top: 68px;
  background-color: white;
}
a.index {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
a.trip {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
a.about {
  transform-origin: top left;
  transform: rotate(270deg) translate(-50%,0);
  top: 50%;
}
a.clients {
 transform-origin: top right;
 transform: rotate(90deg) translate(50%, 0);
 top: 50%;
 right: 0;
}
.compass:before {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 100px);
  top: 50%;
  background-color: black;
  height: 1px;
  z-index: 0;
}
.compass:after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  transform: translateY(-50%);
  height: calc(100% - 100px);
  top: 50%;
  background-color: black;
  width: 1px;
  z-index: 0;
}
.pointer {
  z-index: 10;
  
  transform: rotate(10deg);
  position: absolute;
  top: 10%;
  
  left: calc(50% - min(calc(70*var(--vh) - 120px), 80%)/2);
  background-image:url(img/desktop.svg);
  pointer-events: none;
  height: 80%;
  width: min(calc(70*var(--vh) - 120px), 80%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
section {
  position: absolute;
  transition: top 0.4s, left 0.4s;
  width: 100%;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
}
section.about {
  left: -100vw;
  width: 0;
}
section.clients {
  left: 100vw;
  width: 0;
}
section.index {
  top: calc(var(--vh, 1vh) * 100);
  height: 0;
}
section.trip {
  top: calc(var(--vh, 1vh) * -100);
  height: 0;
}
section.main {
  left: 0;
  top: 0;
}
body.index section.index {
  top: 0;
  height: auto;
}
body.index section.main {
  top: calc(var(--vh, 1vh) * -100);
  height: 0;
  padding: 0;
}

section.trip {
  height: 0;
  overflow: hidden;
}
body.trip section.trip {
  top: 0;
  height: auto;
  
}
.js body.trip section.trip {
  height: 100svh;
  height: calc(var(--vh, 1vh) * 100);
}
body.trip section.main {
  top: calc(var(--vh, 1vh) * 100);
  height: 0;
  padding: 0;
}
body.about section.about {
  left: 0;
  width: 100%;
}
body.about section.main {
  left: 100vw;
  overflow: visible;
}
.clients>h2 {
  width: 100px;
  text-align: center;
  transform-origin: center center;
  transform: rotate(90deg) translate(-12px, 0%);
  top: 50%;
  position: absolute;
  left: 10%;
}
.about>h2 {
  width: 100px;
  text-align: center;
  transform-origin: center center;
  transform: rotate(270deg) translate(12px, 0%);
  top: 50%;
  position: absolute;
  right: 10%;
}
.index-container>h2 {
  width: 100%;
  text-align: center;
  position: static;
  padding-top: 168px;
  padding-bottom: 110px;
}
@media(min-width: 601px) {
  body.about a.about {
    
  }
  body.clients a.clients {

  }
  body.index a.index {
    top: calc(var(--vh, 1vh) * -76);
  }
}
body.clients section.clients {
  left: 0;
  width: 100%;
}
body.clients section.main {
  left: -100vw;
  overflow: visible;
}

div.close {
  left: -34px;
  top: -34px;
  z-index: 7;
  transition: opacity 0.2s;
  transition-delay: 0.1s;
  opacity: 0;
  cursor: pointer;
  width: 34px;
  height: 34px;
  position: fixed;
  background-image: url(img/close.svg?v=1);
}
.about-container, .clients-container {
  overflow: auto;
  height: calc(var(--vh, 1vh) * 100);
  width: 75%;
  padding: 24px 24px 160px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.about-container::-webkit-scrollbar, .clients-container::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.about-container, .clients-container {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.about-container {
  padding-right: 0;
}
.image, .cursor {
    display: none;
    position: fixed;
    top: 50%;
    right: 24px;
    z-index: 1;
    width: 12.5%;
    height: auto;
    margin: 0;
    pointer-events: none;
    z-index: 1000;
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
}
.cursor {
    display: none;
    position: fixed;
    top: -1000px;
    left: -1000px;
    width: 15px;
    height: 10px;
    margin: 0;
    pointer-events: none;
    z-index: 1000;
    -webkit-transform: translate(-50%, -50%);
    transform: translateY(-50%, -50%);
}
body.clients .cursor, body.about .cursor, body.home .cursor, body.index:not(.show-gallery) .cursor {
  display: none !important;
}
body.prev .cursor {
  transform: translate(-50%, -50%) rotate(180deg);
}
body.touch .cursor {
  display: none !important;
}
.image img {
  width: 100%;
  height: auto;
}
.clients-container {
  margin-left: 25%;
  padding-left: 0;
  font-size: 33px;
  line-height: 37px;
}
.clients-container li {
  list-style-type: none;
  padding-bottom: 6px;
  position: relative;
}
.clients-container li:hover {
  font-style: italic;
}
.clients-container li:hover:after {
  content: '';
  display: inline-block;
  width: 50px;
  height: 10px;
}
sup { 
  vertical-align: super; 
  font-size: 0.4em; 
  margin-left: 5px;
  top: -0.57em;
  position: absolute;
}
.about-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 33px;
  line-height: 37px;
}
.address {
  padding-bottom: 160px;
}
.about-container p+p, .about-container p+h2 {
  padding-top: 35px;
}
.about-container h2 {
  padding-left: 35px;
  text-align: left;
}
.about div.close {
  opacity: 1;
  transform: translate(0%, -50%);
  right: 24px;
  top: 50%;
  left: auto;
}
.clients div.close {
  opacity: 1;
  left: auto;
  transform: translate(0%, -50%);
  top: 50%;
  left: 24px;
}
.index div.close, .trip div.close  {
  opacity: 1;
  top: 24px;
  left: calc(50% - 17px);
}
.trip div.close {
  bottom: 24px;
  top: auto;
  z-index: 100;
}

.index-container {
  display: flex;
  flex-wrap: wrap;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 160px;
  overflow: auto;
  height: calc(var(--vh, 1vh) * 100);
}
.index-container figure {
  display: flex;
  justify-content: end;
  flex-direction: column;
  padding-right: 12px;
  padding-bottom: 32px;
}
.index-container figure:last-of-type {
  padding-right: 52px;
}
.index-container figcaption {
  text-align: right;
  font-family: Arial;
  font-size: 14px;
  line-height: 16px;
  padding-top: 5px;
  opacity: 0;
  transition: opacity 0.3s;
}
.about a:hover {
  font-style: italic;
}
.index-container .project:hover figcaption {
  opacity: 1;
}
.thumb {
  opacity: 1;
  transition: opacity 0.3s;
}
.project:hover .thumb {
  opacity: 0.35;
}
.project:hover .thumb:hover {
  opacity: 1;
}
.thumb.landscape {
  width: auto;
}
.thumb.portrait img {
  height: 195px;
  width: auto;
}
.thumb.landscape img {
  width: 195px;
  height: auto;
}
.title h3 {
  font-size: 15px;
  text-align: left;
  font-family: Arial;
  font-size: 14px;
  line-height: 16px;
  transform: rotate(270deg) translate(-100%, -50%);
  transform-origin: 0 0;
  position: absolute;
}
div.title {
  position: relative;
}
.break {
  flex-basis: 100%;
  height: 0;
}

.overlay-gallery {
  z-index: 100;
  position: fixed;
  width: 100%;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.show-gallery .overlay-gallery {
  pointer-events: all;
  opacity: 1;
}
.gallery {
  width: 100%;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
}
.slide {
  align-items: center;
  justify-content: center;
  width: 100%;
  height:  calc(var(--vh, 1vh) * 100);
  display: flex;
}
.slide img, .slide figure {
  max-height: calc(var(--vh, 1vh) * 70);
  max-width: 80vw;
  height: auto !important;
  width: auto !important;
}
.slide figcaption {
  padding-top: 5px;
  font-family: Arial;
  font-size: 14px;
  line-height: 16px;
  position: relative;
  padding-right: 80px;
}
span.count {
  position: absolute;
  right: 0;
}
.back {
  position: absolute;
  font-style: italic;
  font-size: 20px;
  line-height: 26px;
  top: 16px;
  left: 24px;
  cursor: pointer;
  z-index: 100;
}
.trip figure img {
  width: auto;
  height: auto;
}


.trip figure.go {
  width: 100%;
  height: 100%;
}
.trip figure.go img {
  object-fit: cover;
}
div.project, .project-wrap {
  display: contents;
}
button {
  float: left;
  background-color: inherit;
  border: none;
  border-radius: 0;
  box-shadow: 0;
  box-sizing: border-box;
  color: inherit;
  font-family: inherit;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  text-transform: inherit;
  height: 100%;
  width: 50%;
  cursor: none !important;
}
button.right {
  cursor: none !important;
}
.trip-container, .trip-gallery {
  height: 100%;
}

.trip-slide {
  width: 100%;
  height: 100%;
  top: 0;
}
@keyframes start {
    0% {
      transform: rotate(95deg);
    }
    25% {
      transform: rotate(-80deg);
    }
    40% {
      transform: rotate(38deg);
    }
    76% {
      transform: rotate(-100deg);
    }
    100% {
      transform: rotate(38deg);
    }
}
@media (orientation: landscape) {
  #bp {
    width: 1px;
  }
  .trip figure {
    
   
  }
  .trip figure.show {
    opacity: 1;
    height: calc(var(--vh, 1vh) * 80);
  }
  .trip figure.show.go {
    top: calc(var(--vh, 1vh) * 100);
  }
}

@media(max-width: 600px) {
  .slide img, .slide figure {
    max-height: calc(var(--vh, 1vh) * 80);
    max-width: calc(100vw - 24px);
  }
  .pointer {
    animation-name: start;
    animation-duration: 4s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    transform: rotate(38deg);
  }
  .index-container .project figcaption {
    opacity: 1;
  }
  #bp {
    width: 3px;
  }
  .project-wrap::-webkit-scrollbar {
    display: none;
  }
  
  /* Hide scrollbar for IE, Edge and Firefox */
  .project-wrap {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  .project-wrap {
    display: block;
    overflow: auto;
  }
  div.project {
    display: inline-flex;
    
  }
  div.title {
    width: 20px;
  }
  .clients>h2, .about>h2 {
    display: none;
  }
  .index-container {
    display: block;
    padding: 0px 0 160px 0;
  }
  .thumb.landscape img {
    width: 168px;
  }
  .thumb.portrait img {
    width: 168px;
  }
  .back {
    top: 9px;
    left: 16px;
  }
  .index button.flickity-button {
    display: none;
  }
  .slide figure {
    max-width: calc(100% - 24px);
  }
  .slide img {
    max-width: 100%;
  }
  .about-container {
    font-size: 24px;
    line-height: 28px;
    display: block;
    padding: 28px 12px;
    width: 100%;
    padding-bottom: 160px;
  }
  .image {
    display: none !important;
  }
  
  .clients-container {
    font-size: 24px;
    line-height: 28px;
    padding: 28px 12px;
    padding-bottom: 160px;
    width: 100%;
    margin-left: 0;
  }
  .clients-container li {
    padding-bottom: 8px;
  }
  .clients div.close {
    left: 12px;
  }
  .about div.close {
    right: 12px;
  }
  h1, h2 {
    font-size: 29px;
    line-height: 32px;
  }
  section.main {
    padding: 24px 12px;
  }
  .compass {
    height: calc(100% - 160px);
  }
  .pointer {
    background-image: url(img/mobile.svg);
  }
  .close-gallery {
    display: none !important;
  }
}
@media(max-width: 340px) {
  h1, h2 {
    font-size: calc(29 * 100vw / 340);
    line-height: calc(32 * 100vw / 340);
  }
  a.trip {
    width: 100%;
    text-align: center;
  }
}
.trip-slide {
  opacity: 1 !important;
  z-index: 0;
  overflow: hidden;
}
.trip-slide.is-selected {
  z-index: 5;
}
.trip-slide.is-previous {
  z-index: 4;
}
.trip-slide.is-prev-prev {
  z-index: 3;
}
.trip figure {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.trip img {
  width: 0;
  height: 0;
  transition: width 0.2s, height 0.2s;
}


.flickity-prev-next-button.previous, .flickity-prev-next-button.next, .close-gallery {
  left: 0 !important;
  width: 50%;
  height: 100%;
  top: 0;
  transform: none;
  position: absolute;
}
.flickity-prev-next-button.next {
  width: 100%;
  z-index: 9;
}
.flickity-prev-next-button.previous {
  z-index: 10;
}
.flickity-prev-next-button.next {
  
  right: 0 !important;
  left: auto !important;
  z-index: 9;
}
.close-gallery {
  z-index: 100;
}
.flickity-prev-next-button {
  cursor: none !important;
}
.flickity-prev-next-button.next[disabled] {
  pointer-events: none;
}
.close-gallery {
  z-index: 9;
}
.flickity-prev-next-button svg {
  width: 100%;
  height: 100%;
  display: block;
  top: 0;
  left: 0;
}
.flickity-prev-next-button svg path {
  display: none;
}