@import url("https://use.typekit.net/num4ina.css");

:root{
  --grey: #EAEAEA;
  --orange: #FFA269;
  --green: #9DFFBF;
}

body{
  font-family: "stolzl", sans-serif;
  margin: 0;
  padding: 0;
  font-size: 20px;
  overflow-x: hidden;
}

html{
  overflow-x: hidden;
}


@property --content-gradient-stop {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

.content-page .page .gradient {
  --content-gradient-stop: 0%;
  background: linear-gradient(
    90deg,
    var(--page-gradient-color, transparent) 0%,
    rgba(255, 255, 255, 0) var(--content-gradient-stop)
  ) !important;
  animation: contentGradientFill 2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes contentGradientFill {
  from {
    --content-gradient-stop: 0%;
  }
  to {
    --content-gradient-stop: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
    opacity: 1;
  }

  .content-page .page .gradient {
    animation: none;
    --content-gradient-stop: 100%;
  }
}

*{
  box-sizing: border-box;
}

.logo{
  padding: 24px;
  display: block;
  position: absolute;
  z-index: 2;
}

.logo img{
  width: 35vw;
}

.menu-button{
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 3vw;
  min-width: 40px;
}

.menu-button img{
  width: 100%;
  height: auto;
}

.hero{
  min-width: 100vw;
  height: 130vh;
  position: relative;
  top: 0;
  left: 0;
  overflow: hidden;
}

.hero.has-video-media{
  height: 100vh;
  object-fit: cover;
}

.hero:after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,var(--grey) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero img,
.hero video{
  width: 100%!important;
  height: 130vh!important;
  position: absolute;
  top: -120px;
  left: 0;
  z-index: -1;
  object-fit: cover;
  z-index: -1;
}

.hero iframe{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 110vh;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  z-index: 0;
  pointer-events: none;
}

.hero.has-video-media iframe{
  width: 177.78vh;
  height: 110vh;
}

.hero h2{
  position: absolute;
  top: 14vw;
  z-index: 2;
  max-width: 400px;
  left: 24px;
  font-size: 24px;
}

.collapsible {
  padding: 24px;
  background: linear-gradient(180deg,var(--grey) 0%, rgba(255, 255, 255, 0) 100%);
}

.collapsible-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 36px;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  max-width: 1000px;
}

.collapsible-icon {
  flex: 0 0 auto;
  font-size: 36px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.collapsible.is-open .collapsible-icon {
  transform: rotate(45deg);
}

.collapsible-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  max-width: 1000px;
}

.collapsible.is-open .collapsible-panel {
  opacity: 1;
}

.collapsible-panel p {
  margin: 24px 0 0;
  font-size: 28px;
  margin-left: 48px;
}

h1, h2, h3{
  font-weight: 300;
  line-height: 1.2;
}

h2{
  font-size: 36px;
  margin: 0;
}

.content{
  display: flex;
  flex-wrap: wrap;
}

.content .project-item{
  width: 50%;
  background-color: var(--grey);
  position: relative;
  margin-top: 2%;
  /* height: fit-content; */
  opacity: 1;
  transform: translateY(0);
  max-height: 2400px;
  overflow: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.4s ease, margin-top 0.4s ease;
}

.content .project-item .gradient{
  transition: all 0.4s ease;
}

.content .project-item:hover .gradient{
  height: 170%;
}

.content .project-item.is-hidden {
  opacity: 0;
  transform: translateY(10px);
  max-height: 0;
  margin-top: 0 !important;
  pointer-events: none;
}

.content .project-item.is-gone {
  display: none !important;
}

.content .project-item.is-revealing {
  animation: filterFadeIn 0.35s ease;
}

@keyframes filterFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home.is-filtered .content .project-item{
  width: 48%!important;
  margin-right: 1%!important;
  margin-left: 1%!important;
}

.content .project-item.nieuws{
  background-color: transparent;
}
.content .project-item:nth-child(odd){
  margin-right: 2%;
}

.content .project-item img{
    filter: grayscale(50%);
}

.content .project-item.nieuws .info {
  max-width: 100%;
  margin: 0;
}

.content .project-item.nieuws .info h2{
  margin: 10px 0;
}

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

.content .project-item .gradient{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(0deg,var(--orange) 0%, rgba(255, 255, 255, 0) 100%); */
  z-index: 0;
}

.related-items-grid {
  margin-top: 0;
  background-color: white;
}

.related-items-grid .project-item{
  margin-top: 0;
  margin-bottom: 2%;
}

.related-items-grid .project-item > a,
.related-items-grid .project-item > .project-item-body {
  display: block;
  height: 100%;
}

.content-page footer{
  background-color: white;
}

.related-items-grid .project-item.project-item-current {
  min-height: 78vh;
  pointer-events: none;
  opacity: 0.5;
}

.related-items-grid .project-item.project-item-current img {
  filter: grayscale(100%);
}

.related-items-grid .project-item.project-item-current .gradient {
  opacity: 0.35;
}

.content-page{
  background-color: var(--grey);
}

.content-page .logo img{
  height: 100px;
  width: auto;
}

.page{
  /* background-color: var(--grey); */
  min-height: 100vh;
  padding-top: 120px;
}

.page .project-item{
  width:100%!important;
  display: flex;
  flex-direction: row-reverse;
}

.page .gradient{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

.page .project-item img{
  width: 100%;
  height: 100vh;
  margin-left: auto;
  margin-right: 0;
  display: block;
  object-fit: cover;
  object-position: center right;
  mix-blend-mode: darken;
  margin-top: -120px;
  /* overflow: visible; */
}

.page .intro{
  font-size: 36px;
  margin-left: 24px;
  max-width: 1000px;
  padding-top: 24px;
}

.page .info{
  font-size: 36px;
  max-width: 50%;
  position: absolute;
  left: 24px;
}

.page .info h2{
  font-size: 36px;
  margin-bottom: 48px;
  margin-top: 24px;
}

.content-blocks{
  /* margin-top: 100px; */
}

.text-block{
  max-width: 900px;
  margin: 0 0 0 48px;
  display: block;
  padding: 14px;
}

.info{
  padding: 0 24px 48px 24px;
  position: relative;
  max-width: 600px;
}

.info h2{
  margin-bottom: 5px;
}

.info p{
  margin: 0;
}

.content .project-item img{
  width: 100%;
  height: 70vh;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: darken;
}

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

.columns {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), 1fr);
  gap: 2rem;
  padding: 60px 48px;
  position: relative;
}

.column {
  min-width: 0;
  padding: 0 24px;
}

.column .text-block{
  margin: 0;
  padding-left: 0;
  margin-bottom: 24px;
}

.column figure, .column img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  margin-bottom: 2vw;
}

.gallery-block{
  padding: 48px 0;
}

.gallery-swiper .swiper-slide {
    width: auto!important;              /* allows variable width */
    display: flex;
    align-items: center;
    margin: 0 1vw;
}

.gallery-swiper img {
    height: 500px;            /* same height for all */
    width: auto;              /* preserve aspect ratio */
    display: block;
}



.menu-button {
    background: none;
    border: none;
    cursor: pointer;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 998;
}

.menu-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* Panel */
.menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    min-width: 40vw;
    max-width: 600px;
    height: 100vh;
    background: linear-gradient(-90deg,var(--green) 50%, rgba(255, 255, 255, 0) 100%);
    padding: 30px 20px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
}

/* Open state */
.menu-panel.open {
    transform: translateX(0);
}

/* Close button */
.menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 36px;
    cursor: pointer;
}

/* Links */
.menu-items {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-right: 100px;
    margin-left: auto;
    text-align: left;
}

.menu-link {
    font-size: 36px;
    text-decoration: none;
    color: black;
    opacity: 0;
    transition: all 0.3s ease;
}

.menu-panel.open .menu-link {
    opacity: 1;
}

/* Language switcher */
.language-switcher {
    margin-top: auto;
    display: flex;
    gap: 10px;
    margin-right: 24px;
    margin-left: auto;
}

.language-switcher a {
    text-decoration: none;
    opacity: 0.6;
}

.language-switcher a.active {
    opacity: 1;
    font-weight: bold;
}

footer{
  padding-top: 100px;
  background: linear-gradient(0deg,var(--grey) 0%, rgba(255, 255, 255, 0) 100%);
}

footer .footer-inner{
  display: flex;
  flex-wrap: wrap;
  padding: 48px 24px 14px 24px;
  justify-content: flex-start;
  align-items: flex-start;
}

footer img{
  max-width: 200px;
  margin-right: 48px;
}

footer .text-block{
  margin: 0 24px;
  padding: 0;
}

footer .text-block:nth-child(4){
  width: auto;
  margin-right: 0;
  margin-left: auto;
  margin-top: 24px;
  text-align: right;
}

footer p{
  margin: 0;
}

footer h3{
  font-size: 12px;
}

.is-hidden{
  display: none;
}