/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}



html * { 
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: transparent; /* for removing the highlight */
}

*,
*:after,
*:before{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*:focus {
  outline: none;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  text-decoration-color: inherit;
}

strong, b {
  font-weight: 500;
}

img {
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  margin: 0;
  padding: 0;
}



@font-face {
  font-family: 'AC Sans';
  src: url('../fonts/Unica77LLWeb-Regular.woff2') format('woff2'),
       url('../fonts/Unica77LLWeb-Regular.woff') format('woff');
}

html {
    font-size: 62.5%; /* Sets root font size to 10px so that 1em = 10px */
    background-color: #000000;
    color: #FFFFFF;
    /* mobile viewport bug fix */
    height: -webkit-fill-available;
}

body {
  font-family: 'AC Sans', Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 1.6rem; /* 16px */
  line-height: 1.3;
  /* mobile viewport bug fix */
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

body.overflow-content {
  overflow: hidden;
}




header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 95px;
  z-index: 3;
  line-height: 1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 100%);
}

header .logo {
  display: inline-block;
  text-indent: -9999px;
  width: 206px;
  height: 25px;
  background: url('../img/ACS-Logo-Single.svg') center center no-repeat;
  background-size: contain;
  float: none;
  position: absolute;
  top: 3.5rem;
  left: 50%;
  transform: translate3d(-50%,0,0);
  pointer-events: all;
}

header .mobile-menu {
    position: absolute;
    top: 3.5rem;
    left: 3.5rem;
    width: 24px;
    height: 24px;
    pointer-events: all;
    z-index: 5;
    user-select: none;
    caret-color: transparent;
}

header .mobile-menu div {
  display: block;
  min-width: 24px;
  min-height: 24px;
  transition: all .3s ease-out;
  position: absolute;
  top: 0;
  left: 0;
  transition: all .3s ease-out;
  caret-color: transparent;
}

header .mobile-menu span {
  background-color: #FFFFFF;
  display: block;
  min-width: 24px;
  min-height: 2px;
  position: absolute;
  top: 11px;
  left: 0;
  transition: all .3s ease-out;
  caret-color: transparent;
}

header .mobile-menu div:first-child span { top: 4px; }
header .mobile-menu div:last-child span { top: 18px; }

header[data-menu-open="false"] .mobile-menu div:first-child span,
header[data-menu-open="false"] .mobile-menu div:last-child span {
    transition-delay: 0.3s;
}

header[data-menu-open="true"] .mobile-menu div:first-child span,
header[data-menu-open="true"] .mobile-menu div:last-child span {
  top: 11px;
}

header[data-menu-open="true"] .mobile-menu div:first-child,
header[data-menu-open="true"] .mobile-menu div:last-child {
  transform: rotate(45deg);
  transition-delay: 0.3s;
}

header[data-menu-open="true"] .mobile-menu div:nth-child(2) {
  transform: rotate(-45deg);
  transition-delay: 0.3s;
}

header nav {
  opacity: 0;
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  position: fixed;
  justify-content: center;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  padding: 3.5rem;
  z-index: 1;
}

.nav-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
}

.nav-backdrop:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: hsla(0,0%,100%,.15);
  transition: opacity .3s;
  opacity: 1;
}

header nav div.menu-item {
  font-size: 5rem;
  /*margin-top: 15vh;*/
}

header nav div.social {
  position: absolute;
  bottom: 3.5rem;
  left: 3.5rem;
}

header[data-menu-open="true"] nav {
  opacity: 1;
  pointer-events: all;
}

header nav ul li {
    margin-bottom: 2.5rem;
}

header a {
  color: #FFFFFF;
}

@media (max-width: 576px) {
    header .logo {
      height: 20px;
      width: 206px;
      top: 2.2rem;
    }

header .mobile-menu {
      top: 2rem;
      left: 2rem;
    }   

    header nav {
      padding: 2rem;
    }
}



/* Centered Style */
header nav {
    text-align: center;
    justify-content: center;
}

header nav div.menu-item {
  font-size: calc(3rem + 3vw);
  font-size: clamp(3rem, 1rem + 4vw, 9rem);
  line-height: 1.2;
  margin: 0;
}

/*header nav div.menu-item ul li {
    border-bottom: 0.8px solid rgba(255, 255, 255, .2);
}*/

header nav div.menu-item ul li a {
    margin: 2vw 0;
    display: block;
}

/*header nav div.menu-item ul li:last-child {
    border: none;
}*/

header nav ul li {
    margin-bottom: 0;
}

header nav ul li:last-child {
    margin-bottom: 0;
}

header nav ul li a {
    opacity: 0.5;
    transition: all 0.15s ease-in;
}

header nav ul li a:hover {
    opacity: 1;
}









.about-overlay {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 7500;
  text-align: left;
  padding: 0;
  color: #ffffff;
  font-size: 2.5rem;
  visibility: hidden;
  opacity: 0;
  transition: all .2s;
}
.about-overlay.active {
  visibility: visible;
  opacity: 1;
}

.overlay-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  -webkit-transition: -webkit-backdrop-filter .3s;
  transition: -webkit-backdrop-filter .3s;
  -o-transition: backdrop-filter .3s;
  transition: backdrop-filter .3s;
  transition: backdrop-filter .3s, -webkit-backdrop-filter .3s;
  transition-delay: 0.15s; /* Helps to keep all transitions look smooth  */
}


.about-overlay.active .overlay-backdrop {
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
}

.overlay-backdrop:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: hsla(0,0%,100%,.15);
    transition: opacity .3s;
    opacity: 0;
}
.about-overlay.active .overlay-backdrop:before {
  opacity: 1;
}

.about-overlay section {
  padding: 5rem 7rem 7rem 7rem;
  overflow: scroll;
  height: 100%;
}

.about-overlay h2 {
  font-size: inherit;
}

.about-overlay a {
  color: inherit;
  cursor: pointer;
  transition: border .3s;
  outline: 0;
  display: inline-block;
  border-bottom: 1px solid #FFFFFF;
  line-height: 1;
}

.about-overlay a:hover {
  border-color: transparent;
}

.about-overlay a.close {
  position: absolute;
  top: 5rem;
  right: 7rem;
  border: none;
}

.about-content {
  display: flex;
  margin-top: 15vh;
}

.about-section {
  width: 50%;
  padding-right: 4rem;
}

.about-section:last-child {
  padding-right: 0;
}

.about-content p {
  margin-bottom: 1em;
}

.about-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .about-overlay {
    font-size: 2rem;
  }

  .about-overlay section {
    overflow: scroll;
    height: 100%;
    padding: 4rem 4rem 6rem 4rem;
  }
}

@media (max-width: 768px) {
  .about-overlay {
    font-size: 1.8rem;
    padding: 0;
    margin-top: 0;
  }

  .about-overlay section {
    overflow: scroll;
    height: 100%;
    padding: 3rem 3rem 5rem 3rem;
  }

  .about-overlay a.close {
    top: 3rem;
    right: 3rem;
  }

  .about-content {
    display: block;
    margin-top: 10vh;
  }

  .about-section {
    display: block;
    width: 100%;
    padding-right: 0;
    margin-top: 5vh;
  }

  .about-section:first-child {
    margin-top: 0;
  }
}

@media (max-width: 576px) {
  .about-overlay {
    font-size: 1.5rem;
    padding: 0;
    margin-top: 0;
  }
}





video, .video-js {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  display: block;
  max-height: -webkit-fill-available; /* iOS Viewport Fix */
}





.project-wrapper {
    width: 50%;
    float: left;
    overflow: hidden; /* Stops video overflowing outside of container when grid isn't full / even */
}
@media (max-width: 576px) {
    .project-wrapper {
        width: 100%;
    }
}

.project-wrapper .aspect-ratio {
    width: 100%;
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
}


.project-wrapper .poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    z-index: 1;
    transition: all 0.15s linear;
}

.project-wrapper .poster.hide {
    opacity: 0;
}

.project-wrapper .aspect-ratio .player-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.project-wrapper .aspect-ratio .player-wrapper .film-trailer {
    width: 100%;
    height: 100%;
}

.project-wrapper .aspect-ratio .player-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: none;
}

.project-wrapper .project-title {
    position: absolute;
    bottom: 4rem;
    left: 4rem;
    z-index: 2;
}

@media (max-width: 576px) {
    .project-wrapper .project-title {
        bottom: 2rem;
        left: 2rem;
        font-size: 1.4rem;
    }
}

@media (hover: hover) {
    .project-wrapper .project-title {
        opacity: 0;
        transition: opacity 0.3s ease-in;
    }

    a.project .project-wrapper:hover .project-title {
        opacity: 1;
    }
}

#showreel.video-js,
#showreel.video-js video {
  object-fit: contain;
}

/* Lightbox */
.video-lightbox {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: left;
  z-index: 999999;
  background-color: #000000;
  color: #ffffff;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s linear;
}

.video-lightbox .content {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s linear;
  transition-delay: 0.3s;
}

.video-lightbox.active,
.video-lightbox.active .content {
  opacity: 1;
  visibility: visible;
}

.video-lightbox a.close {
  position: absolute;
  top: 5rem;
  right: 7rem;
  z-index: 10000;
  display: inline-block;
  text-indent: -9999px;
  width: 15px;
  height: 15px;
  background: url('../img/Close.svg') center center no-repeat;
  background-size: 15px 15px;
}

.film-info {
  position: absolute;
  top: 5rem;
  left: 7rem;
  z-index: 10000;
  width: 100%;
  max-width: 600px;
}

.film-info h1,
.film-info h2,
.film-info div.project-year {
  display: block;
  font-size: 100%;
  line-height: 1.5;
}

#fixed-title {
    position: fixed;
    top: 50%;
    left: 0;
    z-index: 100;
    width: 100%;
    margin-top: -12px;
    padding: 0 6rem;
    text-align: left;
    pointer-events: none;
    text-shadow: 0px 0px 40px rgba(0,0,0,0.15);
    display: none;
    visibility: hidden;
}


/* VJS Custom Skin */
.video-js.vjs-acs-skin .vjs-control-bar {
  display: flex;
  background-color: transparent;
  bottom: 6rem;
  padding: 0 7rem;
}

.video-js.vjs-acs-skin .vjs-big-play-button {
  display: none;
  visibility: hidden;
}

.video-js.vjs-acs-skin .vjs-time-control,
.video-js.vjs-acs-skin .vjs-picture-in-picture-control {
  display: none;
}

.video-js.vjs-acs-skin .vjs-progress-control:hover .vjs-progress-holder:focus .vjs-time-tooltip, .video-js.vjs-acs-skin .vjs-progress-control:hover .vjs-time-tooltip {
  display: none;
}

.video-js.vjs-acs-skin .vjs-control:focus,
.video-js.vjs-acs-skin .vjs-control:focus:before,
.video-js.vjs-acs-skin .vjs-control:hover:before {
  text-shadow: none;
}

.video-js.vjs-acs-skin .vjs-slider:focus {
  text-shadow: none;
}

.video-js.vjs-acs-skin .vjs-volume-panel {
  order: 10;
}

.video-js.vjs-acs-skin .vjs-progress-holder {
  height: 0.1em;
}

.video-js.vjs-acs-skin .vjs-control:hover .vjs-progress-holder {
  height: 0.1em;
  font-size: 1rem;
}

.video-js.vjs-acs-skin .vjs-play-progress:before {
  font-size: 1rem;
  position: absolute;
  right: -.5em;
  top: -.3333333333em;
  z-index: 1;
}

.video-js.vjs-acs-skin .vjs-slider {
  background: rgba(255,255,255,0.5);
}

.video-js.vjs-acs-skin .vjs-load-progress,
.video-js.vjs-acs-skin .vjs-load-progress div {
  background: transparent;
}

.video-js.vjs-acs-skin.vjs-fullscreen video {
  object-fit: contain;
}

.video-js.vjs-acs-skin.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar {
  opacity: 1;
}

@media (max-width: 1024px) {
  #fixed-title {
    padding: 0 5rem;
  }

  .film-info {
    top: 3rem;
    left: 4rem;
  }

  .video-lightbox {
    font-size: 1.5rem;
  }

  .video-lightbox a.close {
    top: 3rem;
    right: 4rem;
  }

  .video-js.vjs-acs-skin .vjs-control-bar {
    bottom: 3rem;
    padding: 0 3rem;
  }
}

@media (max-width: 768px) {
  #fixed-title {
    padding: 0 3rem;
  }

  .video-lightbox {
    font-size: 1.4rem;
  }
}

@media (max-width: 576px) {
  #fixed-title {
    padding: 0 1.5rem 0 3rem;
    font-size: 1.8rem;
    text-align: center;
  }

  .video-lightbox {
    font-size: 1.5rem;
  }

  .film-info {
    top: 2rem;
    left: 2rem;
  }

  .video-lightbox a.close {
    top: 2rem;
    right: 2rem;
  }

  .video-js.vjs-acs-skin .vjs-control-bar {
    display: flex;
    background-color: transparent;
    bottom: 1.5rem;
    padding: 0 1rem;
  }

  .video-js.vjs-acs-skin .vjs-volume-panel {
    display: none;
  }
}



.gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 30vh;
    z-index: 1;
    background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 100%);
}





/* Homepage Grid */
.background {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}

.background img, .background video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.grid {
  display: flex;
  flex-flow: row nowrap;
  position: relative;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  /* iOS Viewport Fix */
  max-height: -webkit-fill-available;
}

.cell {
  flex-grow: 1;
}