* {
  box-sizing: border-box;
  margin:0;
  padding:0;
}

html, body {
  border: none;
  overflow-x: clip;
  scroll-behavior: smooth;
}
a {
  color: unset;
  text-decoration: none;
}
p {
  margin-bottom: 1em;
}
img {
  max-width: 100%;
  object-fit: contain;
}
body {
  background: #000;
  animation: fade-in 2s ease-in-out both;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/*  ---  FONT STYLING  --- */
body {
  font-family: 'Sharp Sans Medium';
  font-size: 16px;
  letter-spacing: 0.25px;
  line-height: 1.5;
}
h1 {
  font-family: 'Sharp Sans Bold';
  font-size: 70px;
  letter-spacing: 2px;
  text-transform: lowercase;
  line-height: 1.1;
  margin-bottom: 0.3em;
}
h2 {
  font-family: 'Sharp Sans Bold';
  font-size: 80px;
  letter-spacing: 2px;
  text-transform: lowercase;
}
h3 {
  font-size: 40px;
  letter-spacing: 0.5px;
  line-height: 1.1;
}
h4 {
  font-family: 'Sharp Sans Bold';
  font-size: 40px;
  letter-spacing: 1px;
  margin-bottom: 1em;
  text-transform: uppercase;
}
h4::after, .name:after {
  content: '';
  display: block;
  width: 1.5em;
  height: 5px;
  margin-top: 0.5em;
  background: lightgray;
}
h5 {
  font-family: 'Sharp Sans Bold';        
  font-size: 28px;
}

/* ---- SITE STYLING ---- */
/* there are two centered max-width container classes: */
.reel-width {
  max-width: 1800px;
  margin: 0 auto;
}
.playing .reel-width {
  max-width: 100%;
}
.content-width {
  max-width: calc(1800px + 100px);
  /* !important to prevent accidential paddings/margins overwrites */
  padding-left: 50px !important;
  padding-right: 50px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* and one 100em width class e.g. for the claim and film poster */
.right-aligned {
  max-width: 100em;
  text-align: right;
}

/* Margin bottom */
.mb-10 {
  margin-bottom: 10vh;
}
.mb-2 {
  margin-bottom: 2em;
}
/*  - - H E A D E R - -  */
header {
  /*position: sticky;
  top: 0;
  z-index: 100;*/
  height: 85px;
  padding: 20px 0px;
  background: #f6f6f6;
  color: #000;
  overflow: clip;
  margin-bottom: 2em;
}
.playing header {
  height: 0;
  padding: 0;
  margin: 0;  
  opacity: 0;
  transition: 0.5s ease-out;
}
.h-wrapper {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: baseline;
}
header .logo {
  width: 200px;
}
header nav a {
  font-family: 'Sharp Sans Bold';
  margin-left: 2em;
  text-transform: lowercase;
  transition: 0.5s ease-out;
}
nav a.active {
  padding-bottom: 3px;
  box-shadow: 0 2px 0 #000;;
}
section:not(:last-child) {
  padding-bottom: 5vh;
}
.landing {
  transition: 2s 0.5s ease-out;
  position: relative;
}
.playing .landing {
  transition: 0;
  height: 100vh;
}
/* faded background colors */
section:not(.landing) {
  position: relative;
  background: #eee;
  transition: background-color 2s 0.25s ease-in-out;
}
.playing section {
  background: #000;
  transition: background-color 0.25s 0s ease-out, height 0.25s 0s ease-out;
}
/* white fold indicator background */
.landing::after {
  content: "";
  background: #eee;
  width: 100%;
  height: 22vh;
  position: absolute;
  bottom: 0;
  z-index: 1;
  transition: background-color 2s 0.25s ease-in-out;
}
.playing .landing::after {
  background: #000;
  transition: background-color 0.25s 0s ease-out;
}

/* reel wrapper */
.reel-wrapper {
  position: relative;
  height: 70vh;
  transition: 0.5s ease-out;
  overflow: hidden;
  z-index: 10;
}
.playing .reel-wrapper {
  width: 100%;
  height: 100%;
}
#teaser, #play {
  transition: 0.25s 0.25s ease-in-out;
}
.playing #teaser, .playing #play {
  transition-delay: 0;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease-out;
}
#reel {
  opacity: 1;
  transition: 1s ease-out;
}
body:not(.playing) #reel {
  pointer-events: none;
  opacity: 0;
  transition: 0.5s ease-out;
}

video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
video#reel {
  object-fit: contain;
}

.triangle {
  border: 100px solid white;
  border-right: 0;
  border-top-color: transparent;
  border-bottom-color: transparent;
  width: 0;
  height: 0;
  opacity: 0.5;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: scaleX(1.4) translateY(-50%);
  transition: 0.2s ease-out;
}
.triangle:hover {
  opacity: 1;
  transform: scaleX(1.4) translateY(-50%) scale(1.1);
}

.close {
  position: absolute;
  z-index: 100;
  top: 2em;
  right: 2em;
  color: white;
  transition: 0.5s ease-out;
  transform: scaleY(0.7);
}
body:not(.playing) .close {
  opacity: 0;
}


/* -  C L A I M  SECTION -  */
.claim-wrapper {
  height: 60vh;
}
.claim {
  position: sticky;
  top: calc(50vh - 5em);
  padding:  0;
}

/* - - -  BELOW THE FOLD  - - - */

/* -  D I V I S I O N S  SECTION - */
.divisions {
  position: relative;
  display: flex;
  flex-flow: row nowrap;
  width: 100vw;
  height: calc(100% + 20px);
  overflow-x: scroll;
  overflow-y: hidden;*/ /* HIDE SCROLLBAR */
  scroll-behavior: smooth; 
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  scrollbar-width: none;
  transition: opacity 0.4s ease-out;
  touch-action: pan-x;
  /*scroll-snap-type: x mandatory;*/
}
.divisions::-webkit-scrollbar {
  display: none;
}
.division {
  flex: 0 0 100vw;
  scroll-snap-align: start;
  padding-top: 1em;
}
.card {
  position: relative;
  height: 800px;            
}
.card img {
  position: absolute;
  pointer-events: none;
  height: 100%;
  width: 100em;
  object-fit: cover;
}
.card-content {
  position: relative;
  color: white;
  height: 100%;
  width: 100em;
  max-width: 100vw;
  padding: 2em 4em;
  display: flex;
  flex-flow: column nowrap;
  justify-content: end;
}
.teaser {
  font-size: 125%;
  max-width: 38em;
}
.arrow-sticky-wrapper {
  position: absolute;
  top: 50%;
  left: 100em; 
}
.arrow-center-wrapper {
  position: sticky;
  top: 50vh;
  height: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
}
.arrow-next {
  color: #000;
  font-size: 64px;
  font-family: 'Sharp Sans Bold';
  padding: 100px;
  transition: 0.2s ease-out;
  transform: scaleX(0.7);
}
.arrow-next:hover {
  transform: scaleX(0.9) scale(1.1) translateX(5px);
}
blockquote {
  display: flex;
  flex-flow: row nowrap;
  align-items: baseline;
  font-size: 125%;
  max-width: 38em;
  margin-left: 16em;
  margin-top: 2em;
  margin-bottom: 5em;
  position: relative;
}
blockquote::before {
  content: '»';
  color: lightgray;
  font-size: 128px;
  font-family: 'Sharp Sans Bold';
  position: absolute;
  line-height: 0;
  top: 0.02em;
  left: -0.7em;
}
.next-link-wrapper {
  margin-top: 2em;
  margin-bottom: 6px; /* for underline box shadow */
}
.next-link {
  padding: 4px 0;
  box-shadow: 0 2px 0 black;
}
.next-link:hover {
  padding-bottom: 5px;
  box-shadow: 0 3px 0 black;
}

/*  P R O J E C T S  section */
.projects {
  display: flex;
  justify-content: space-between;
}
.sliding {
  overflow: hidden;
}
.wrapper {
  position: relative;
  width: 100%;
  height: 400%;
  /* reset transition properties, set by script */
  top: 0;
  margin: 0;            
}
.film-slider .wrapper {
  line-height: 0;
}
.film-slider {
  width: 24.3%;
  height: 640px;
}
.film-slider img {
  height: 640px;
  object-fit: cover;
}

/*  T E A M  section */
.team {
  display: flex;
  gap: 1em;
}
.person {
  width: 25%;
  position: relative;
}
.person img {
  filter: grayscale(1);
}
.person .desc {
  color: white;
  position: absolute;
  bottom: 1em;
  left: 1.5em;
}
/* Contact */
.contact {
  padding: 4em 6em;
  padding-bottom: 5em;
  margin: auto;
  width: 41em;
  background: #e6e6e6; 
  position: relative;
}
#contact blockquote {
  margin-top: 0;
}
.name {
  padding-left: 2em;
  margin-bottom: 2em;
  font-size: 120%;
}
.name :first-child {
  font-size: 110%;
}

/* popup player */
.popup-player {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  transition: 0.5s ease-out;
}
.popup-player:not(:active) {
  opacity: 0;
  transform: scale(90%);
  pointer-events: none;
}


/* Footer */
footer {
  background: #ddd;        
}
.footer-wrapper {
  padding: 50px;
  display: flex;
  flex-flow: row wrap;
  gap: 2em;
  justify-content: space-between;
  align-items: center;
}
.newsletter {
  display: flex;
  flex-flow: row nowrap;
  justify-content: end;
  align-items: center;
  gap: 30px;
  padding: 20px 0;
}
button {
  background: #000;
  color: #fff;
  font-family: 'Sharp Sans Bold';
  padding: 15px 35px;
  border-radius: 15px;
  border: 0;
  letter-spacing: 1px;
  transition: 0.1s ease-out;
  cursor: pointer;
}
button:hover {
  background: #fff;
  color: #000;
}
footer .logo {
  width: 8em;
}
ul {
  list-style: none;
  margin-block-start: 0;
  margin-block-end: 0;
  padding-inline-start: 0;
}
b {
  font-family: 'Sharp Sans Bold';
}
footer .copyright {
  background: #222;
  color: #eee;
  font-size: 88%;
  padding: 0.5em 1em;
}
footer .copyright > div.content-width {
  display: flex;
  justify-content: space-between;
}
/* small screens */
@media screen and (max-width: 1921px) {
  .reel-width {
    max-width: 1400px;
  }
  .content-width {
    max-width: calc(1400px + 100px); /* include padding */
  }
  header {
    padding: 20px 50px;
    margin: 0;
  }
  .card-content, .card img {
    width: calc(100% - 100px);
  }
  h1 {
    font-size: 60px;
  }
  .arrow-sticky-wrapper {
    left: unset;
    right: -100px;
  }
}
@media screen and (max-width:1400px) {
  h1 {
    font-size: 50px;
  }
  .card {
    padding: 0 !important;
  }
}
/* split nav into 4 */
@media screen and (max-width: 1020px) {
  .h-wrapper {
    align-items: center;
  }
  header nav {
    display: flex;
    margin-left: 2em;
    flex-flow: row wrap;
    gap: 5px;
    justify-content: end;
  }
  header nav a {
    flex-basis: 40%;
    text-align: right;
  }
}
/* Mobile */
@media screen and (max-width: 850px){
  body {
    font-size: 10px;
    letter-spacing: 0;
  }
  .content-width {
    max-width: 100%;
    padding: 20px !important;
  }
  .mb-10 {
    margin-bottom: 0;
  }
  h1 {
    font-size: 6vw;
    letter-spacing: 0.1px;
  }
  h2 {
    font-size: 5vw;
  }
  h3 {
    font-size: 18px;
  }
  h4 {
    font-size: 16px;
  }
  h5 {
    font-size: 14px;
  }
  header {
    height: auto;
    padding: 20px;
  }
  header .logo {
    width: 100px;
  }
  nav {
    display: none;
  }
  .triangle {
    border-width: 25px;
  }
  .claim-wrapper {
    height: 30vh;
  }
  .card {
    flex-flow: column;
    gap: 1em;
    height: auto;
    padding: 0 !important;
  }
  .card img {
    height: 33vh;
  }
  .card-content {
    height: 33vh;
    padding: 20px;
  }
  .arrow-next {
    display: none;
  }
  blockquote {
    margin-left: 0;
    margin-bottom: 0;
  }
  blockquote::before {
    display: none;
  }
  .img-slider, .img-slider img {
    width: calc(100vw - 2em);
    height: 60vw;
  }
  .content {
    height: auto;
    padding: 0 1em;
  }
  h2 {
    line-height: 1.25;
    display: block;
  }
  .pagation {
    display: none;
  }
  .projects {
    flex-flow: row wrap;
    gap: 1em;
  }
  .film-slider {
    height: 33vh;
    width: 48%;
  }
  .film-slider img {
    height: 33vh;
  }
  .team {
    flex-flow: row wrap;
    justify-content: space-between;
  }
  .person {
    width: 47%;
  }
  .contact {
    padding: 2em;
    margin: 0 -2em;
    text-align: center;
  }
  .contact .name {
    margin: 0;
    font-size: 120%;
  }
  .contact .name::after {
    display: none;
  }
  .contact div.meetings-iframe-container {
    margin-left: -2.5em;
    margin-right: -2.5em;
  }
  .meetings-iframe-container > iframe {
    height: unset !important;
  }
  #contact .content-width {
    padding: 0;
  }
  .footer-wrapper {
    gap: 2em;
    margin: 0;
    padding: 3em 1em;
    width: calc(100vw - 2em);
  }
  .newsletter {
    flex-flow: column nowrap;
    gap: 5px;
    align-items: end;
    padding: 0;
  }  
  footer button {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: unset;
  }
}