/* GXJ Beats — 1:1 Figma node 1730:2 / Motions Webflow template */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-white);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a, button { cursor: pointer; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
  font-weight: 500;
}

.text-small { font-size: var(--fs-small); line-height: var(--lh-small); font-weight: 300; }

/* ---- Pill button (Motions: text rolls up on hover) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 23px;
  border: 1px solid var(--c-white);
  border-radius: var(--r-pill);
  font-size: var(--fs-small);
  font-weight: 300;
  line-height: 20.4px;
  color: var(--c-white);
  overflow: hidden;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn__roll {
  position: relative;
  display: block;
  height: 20px;
  overflow: hidden;
}
.btn__roll span {
  display: block;
  height: 20px;
  transition: transform var(--dur) var(--ease);
}
.btn:hover .btn__roll span { transform: translateY(-20px); }
.btn:hover { background: var(--c-white); color: var(--c-bg); }
.btn:active { transform: scale(0.98); }
@media (prefers-reduced-motion: reduce) {
  .btn__roll span { transition: none; }
}

/* ============ Nav ============ */
.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 62px;
  background: var(--c-bg);
}
.nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}
.nav__links {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0 0 0 77px;
  list-style: none;
}
.nav__links a {
  font-size: var(--fs-small);
  font-weight: 300;
  text-transform: capitalize;
  transition: opacity var(--dur) var(--ease);
}
.nav__links a:hover { opacity: 0.6; }
.nav__logo {
  position: absolute;
  left: 50%;
  top: calc(50% - 4px);
  translate: -50% -50%;
}
.nav__logo img { width: 65px; height: 31px; }
.nav .btn { margin-left: auto; }

/* ============ Hero ============ */
.hero {
  position: relative;
  height: 900px;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay { position: absolute; inset: 0; background: var(--c-overlay); }
.hero__title {
  position: absolute;
  left: 50%;
  top: 477.9px;
  translate: -50% -50%;
  width: 100%;
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-h1);
  font-weight: 500;
  text-align: center;
}
.hero__foot {
  position: absolute;
  inset: auto var(--page-pad) 0 var(--page-pad);
  width: auto; /* .container's width:100% would overflow: both inset edges already bound it */
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
}
.hero__foot-left { max-width: 320px; }
.hero__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: var(--fs-body);
}
.hero__meta img { width: 16px; height: 16px; }
.hero__based {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
}
.hero__socials {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: var(--fs-small);
  text-align: left;
}
.hero__socials a:hover { opacity: 0.6; }

/* ============ Story ============ */
.story { padding-top: 124px; padding-bottom: 114px; }
.story__head {
  display: grid;
  grid-template-columns: 1fr 572px;
  gap: 80px;
  align-items: start;
}
.story__intro p { max-width: 573px; }
.story__partners { margin-top: 45px; }
.story__partners-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 10px;
}
.story__partners-row img { height: 25px; width: auto; opacity: 0.9; }
.story__video-wrap {
  margin: 100px 120px 0;
  border-radius: var(--r-media);
  overflow: hidden;
}
.story__video-wrap video {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 14px;
}
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 84px 96px;
  margin-top: 96px;
}
.service {
  border-top: 0.5px solid var(--c-line);
  padding-top: 16px;
}
.service__head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.service__head img { width: 32px; height: 32px; }
.service__title { font-size: var(--fs-item); line-height: var(--lh-item); font-weight: 400; }
.service p { margin-top: 27px; }

/* ============ Projects ============ */
.projects { padding-top: 124px; padding-bottom: 128px; position: relative; }
.projects__head { position: relative; }
.projects__head .h2 { max-width: 837px; }
.projects__head > p { max-width: 404px; margin-top: 27px; }
.deco-star {
  position: absolute;
  top: 4px;
  right: 16px;
  width: 92px;
  height: 92px;
  animation: spin 24s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .deco-star { animation: none; } }

.projects__grid-row {
  display: grid;
  grid-template-columns: 268.8fr 1011.2fr;
  margin-top: 96px;
}
.projects__label {
  font-size: var(--fs-small);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--c-accent);
}
.projects__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 16px;
}
.project { padding: 16px; }
.project__media {
  position: relative;
  display: block;
  border-radius: var(--r-media);
  overflow: hidden;
  height: 280px;
  cursor: none;
}
.project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.project__media:hover img { transform: scale(1.04); }
.project__media img.project__play {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  width: 32px; height: 32px;
  transition: none;
  transform: none;
}
.project__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 9.5px;
}
.project__name { font-size: var(--fs-body); font-weight: 300; }
.project__sub { margin-top: 3px; font-size: var(--fs-small); color: var(--c-muted-60); }

/* "Play 04:12" cursor follower (Motions) */
.play-cursor {
  position: fixed;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  font-weight: 400;
}
.play-cursor.is-active { opacity: 1; }
.play-cursor__play { font-size: 48px; line-height: 60px; }
.play-cursor__time { font-size: var(--fs-small); color: var(--c-muted-60); }
@media (hover: none) { .play-cursor { display: none; } }

/* ============ Collaboration ============ */
.collab { padding-top: 124px; padding-bottom: 128px; }
.collab .h2 { max-width: 842px; }
.collab__divider {
  height: 0.5px;
  background: var(--c-line);
  margin-top: 45px;
}
.collab__cta {
  display: flex;
  justify-content: flex-end;
  margin-top: 16.5px;
}
.collab__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 66px;
  margin-top: 32px;
}
.step__num {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--r-num);
  background: var(--c-num);
  font-size: var(--fs-item);
  font-weight: 400;
}
.step__title { margin-top: 16px; font-size: var(--fs-item); line-height: var(--lh-item); font-weight: 400; }
.step p { margin-top: 16px; max-width: 382px; }

/* ============ Team ============ */
.team { padding-top: 92px; padding-bottom: 96px; }
.team .h2 { max-width: 834px; }
.team__intro { margin-top: 27px; max-width: 573px; }
.team__list { margin-top: 96px; list-style: none; padding: 0; }
.member { border-top: 0.5px solid var(--c-line); }
.member__row {
  display: grid;
  grid-template-columns: 456px 1fr 24px;
  align-items: center;
  width: 100%;
  min-height: 52.8px;
  text-align: left;
}
.member__id {
  display: flex;
  align-items: center;
  gap: 8px;
}
.member__id img {
  width: 40px; height: 40px;
  border-radius: 3.2px;
  object-fit: cover;
}
.member__name { font-size: var(--fs-body); font-weight: 500; }
.member__role { font-size: var(--fs-body); font-weight: 300; }
.member__arrow {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 5px;
  background: var(--c-bg);
}
.member__arrow img {
  width: 6px; height: 4px;
  transition: transform var(--dur) var(--ease);
}
.member__row[aria-expanded="true"] .member__arrow img { transform: rotate(180deg); }
/* uitklap-paneel (member-white-content in de template: wit vlak, zwarte tekst) */
.member__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur) var(--ease);
}
.member__panel-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  margin: 8px 0 24px;
  padding: 32px;
  border-radius: var(--r-media);
  background: var(--c-white);
  color: #0f1215;
}
.member__panel-inner h3 { font-size: var(--fs-item); font-weight: 500; }
.member__panel-inner p { margin-top: 12px; font-weight: 300; }
.member__connect { margin-top: 24px; font-size: var(--fs-small); font-weight: 500; }
.member__socials { display: flex; gap: 16px; margin-top: 8px; font-size: var(--fs-small); }
.member__socials a { color: #0f1215; text-decoration: underline; }
.member__photo {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 1;
}

/* ============ Footer ============ */
.footer {
  background: var(--c-bg-deep);
  padding: 60px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 80px;
  align-items: start;
}
.footer .h2 { max-width: 549px; }
.footer .btn { margin-top: 30px; }
.footer__col {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 110px;
}
.footer__col a {
  font-size: var(--fs-small);
  color: var(--c-muted);
  transition: color var(--dur) var(--ease);
}
.footer__col a:hover { color: var(--c-white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 96px 0 10px;
  font-size: var(--fs-small);
}
.footer__bottom span a { color: var(--c-muted); }
.footer__bottom span a:hover { color: var(--c-white); }

/* ============ Ticker (bottom marquee) ============ */
.ticker {
  background: var(--c-bg-deep);
  height: 61px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker__track {
  display: flex;
  gap: 84px;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}
.ticker__track span {
  font-size: var(--fs-ticker);
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* ============ Lightbox ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 8, 10, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox video {
  width: min(960px, 100%);
  border-radius: var(--r-media);
}
.lightbox__close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-white);
  color: var(--c-white);
  font-size: 18px;
}

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-inview {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ============ Responsive ============ */
@media screen and (max-width: 991px) {
  .nav__links { padding-left: 24px; gap: 14px; }
  .hero { height: 720px; }
  .story__head { grid-template-columns: 1fr; gap: 48px; }
  .story__video-wrap { margin: 64px 0 0; }
  .story__video-wrap video { height: 400px; }
  .services { gap: 48px; }
  .projects__grid-row { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media screen and (max-width: 767px) {
  .nav__links { display: none; }
  .hero { height: 600px; }
  .hero__foot { flex-wrap: wrap; }
  .services { grid-template-columns: 1fr; gap: 40px; }
  .projects__grid { grid-template-columns: 1fr; }
  .project { padding: 12px 0; }
  .collab__steps { grid-template-columns: 1fr; gap: 40px; }
  .member__row { grid-template-columns: 1fr auto 24px; gap: 12px; }
  .member__panel-inner { grid-template-columns: 1fr; padding: 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__col a { display: inline-block; padding: 5px 0; } /* 44px-ish touch targets */
  .hero__socials a { padding: 4px 0; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .story__video-wrap video { height: 260px; }
  .project__media { height: 220px; }
}

/* mobiel: hero-titel centreren (desktop-top 477.9px valt buiten de lagere hero) */
@media screen and (max-width: 767px) {
  .hero__title { top: 50%; padding-inline: 16px; }
  .deco-star { display: none; } /* overlapt de kop op smalle schermen */
}
