@font-face {
  font-family: Icons;
  src: url("./vendor/IconFont-Regular.woff2") format("woff2");
  font-display: block;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-size: 14px;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: #000;
}

bodycopy,
projectcontent {
  display: block;
}

.page-shell,
.page {
  position: relative;
  min-height: 100vh;
}

.page {
  display: flex;
  background: #dfdfdf;
}

.page > bodycopy {
  width: 100%;
}

.page-content {
  position: relative;
  z-index: 2;
}

.landing {
  background: #000;
}

.landing .page {
  background: transparent;
}

.landing .page-shell {
  isolation: isolate;
}

.landing .page-content {
  color: #9c9c9c;
}

#animated-backdrop {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background: #000 url("./images/background.jpg") center / cover no-repeat;
}

#animated-backdrop canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: #000;
  transition: opacity 600ms ease;
}

#animated-backdrop canvas.is-ready {
  opacity: 1;
}

#animated-backdrop::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  pointer-events: none;
  background: rgba(0, 0, 0, .3);
}

[grid-row] {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

[grid-col] {
  box-sizing: border-box;
}

[grid-col="1"],
[grid-col="x1"] { width: 8.333333%; }
[grid-col="2"],
[grid-col="x2"] { width: 9.090909%; }
[grid-col="3"],
[grid-col="x3"] { width: 10%; }
[grid-col="4"],
[grid-col="x4"] { width: 11.111111%; }
[grid-col="5"],
[grid-col="x5"] { width: 12.5%; }
[grid-col="6"],
[grid-col="x6"] { width: 14.285714%; }
[grid-col="7"],
[grid-col="x7"] { width: 16.666667%; }
[grid-col="8"],
[grid-col="x8"] { width: 20%; }
[grid-col="9"],
[grid-col="x9"] { width: 25%; }
[grid-col="10"],
[grid-col="x10"] { width: 33.333333%; }
[grid-col="11"],
[grid-col="x11"] { width: 50%; }
[grid-col="12"],
[grid-col="x12"] { width: 100%; }
[grid-col="1"] { width: 8.333333%; }
[grid-col="2"] { width: 16.666667%; }
[grid-col="3"] { width: 25%; }
[grid-col="4"] { width: 33.333333%; }
[grid-col="5"] { width: 41.666667%; }
[grid-col="6"] { width: 50%; }
[grid-col="7"] { width: 58.333333%; }
[grid-col="8"] { width: 66.666667%; }
[grid-col="9"] { width: 75%; }
[grid-col="10"] { width: 83.333333%; }
[grid-col="11"] { width: 91.666667%; }
[grid-col="12"] { width: 100%; }

[grid-pad="0"] { padding: 0; }
[grid-pad="1"] { padding: .5rem; }
[grid-pad="2"] { padding: 1rem; }
[grid-pad="3"] { padding: 1.5rem; }
[grid-pad="4"] { padding: 2rem; }
[grid-pad="5"] { padding: 2.5rem; }
[grid-pad="6"] { padding: 3rem; }
[grid-pad="7"] { padding: 3.5rem; }
[grid-pad="8"] { padding: 4rem; }
[grid-pad="9"] { padding: 4.5rem; }
[grid-pad="10"] { padding: 5rem; }
[grid-gutter="0"] { margin: 0; }
[grid-gutter="1"] { margin: -.5rem; }
[grid-gutter="2"] { margin: -1rem; }
[grid-gutter="3"] { margin: -1.5rem; }
[grid-gutter="4"] { margin: -2rem; }
[grid-gutter="5"] { margin: -2.5rem; }
[grid-gutter="6"] { margin: -3rem; }
[grid-gutter="7"] { margin: -3.5rem; }
[grid-gutter="8"] { margin: -4rem; }
[grid-gutter="10"] { margin: -5rem; }

.content img {
  max-width: 100%;
  height: auto;
}

.image-gallery {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

.image-gallery > img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition-property: opacity;
  transition-timing-function: cubic-bezier(.4, 0, .22, 1);
  object-fit: contain;
}

.image-gallery > img.is-current {
  z-index: 1;
  opacity: 1;
}

.gallery-arrow {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: 50%;
  border: 0;
  padding: 0;
  opacity: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-arrow.prev { left: 0; cursor: w-resize; }
.gallery-arrow.next { right: 0; cursor: e-resize; }

iframe {
  max-width: 100%;
  border: 0;
}

.lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 3rem;
  opacity: 0;
  background: rgba(0, 0, 0, .94);
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 96vw;
  max-height: 94vh;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  top: 1.2rem;
  right: 1.6rem;
  border: 0;
  color: #fff;
  font: 300 4rem/1 sans-serif;
  background: transparent;
  cursor: pointer;
}

.page-content {
  animation: page-in 500ms cubic-bezier(.24, 1, .29, 1) both;
}

.page-wash {
  position: fixed;
  z-index: 1000;
  inset: 0;
  opacity: 1;
  background: #fff;
  pointer-events: none;
  animation: wash-out 650ms 80ms cubic-bezier(.4, 0, .22, 1) forwards;
}

body.is-leaving .page-wash {
  opacity: 1;
  pointer-events: auto;
  animation: none;
  transition: opacity 500ms cubic-bezier(.4, 0, .22, 1);
}

@keyframes page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes wash-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@media (max-width: 700px) {
  html {
    font-size: 10px;
  }

  [grid-responsive] > [grid-col] {
    width: 100%;
  }

  .landing [grid-responsive] > [grid-col] {
    padding: 1.5rem 2.5rem;
  }

  .landing .content_padding {
    padding: 3rem !important;
  }

  .landing .container_width {
    width: 100% !important;
  }

  .content_padding {
    padding: 4rem 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #animated-backdrop canvas,
  .image-gallery > img,
  .page-content,
  .page-wash {
    animation: none;
    transition: none;
  }

  .page-wash {
    display: none;
  }
}
