/* ───────────────────────── */
/* RESET */
/* ───────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f5f3ee;
  --fg: #1a1a1a;
  --border: rgba(26, 26, 26, 0.18);
  --border-soft: rgba(26, 26, 26, 0.1);
  --muted: rgba(26, 26, 26, 0.42);
  --hover-bg: #eeece6;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* NAV */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 3rem;
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 40;
}

.nav-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--fg);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--fg);
  text-decoration: none;
  opacity: 0.45;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
}

/* BACK LINK */
.back-bar {
  padding: 1.2rem 3rem;
  border-bottom: 0.5px solid var(--border-soft);
}

.back-link {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  opacity: 0.38;
  transition: opacity 0.2s;
}

.back-link:hover {
  opacity: 0.85;
}

/* HERO IMAGE */
.hero-image {
  max-width: 1000px;
  height: calc(100vh - 137px);
  margin: 0 auto;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* PROJECT INTRO */
.project-intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  border-bottom: 0.5px solid var(--border);
}

.intro-main {
  padding: 4rem 3rem;
  border-right: 0.5px solid var(--border);
}

.project-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.3;
  margin-bottom: 1.2rem;
}

.project-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  margin-bottom: 2rem;
}

.project-title em {
  font-style: italic;
  color: #666;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  margin-bottom: 2rem;
  padding: 0.7rem 1rem;

  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  background: #ffefe2;
  color: #9b4b18;

  border: 1px solid rgba(155, 75, 24, 0.18);
  border-radius: 999px;

  box-shadow: 0 6px 24px rgba(155, 75, 24, 0.08);
}

.project-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff7a00;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.45;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.project-intro-text {
  font-size: 0.92rem;
  line-height: 1.9;
  opacity: 0.6;
  max-width: 52ch;
}

.intro-meta {
  padding: 4rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.meta-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.3;
  margin-bottom: 0.5rem;
}

.meta-value {
  font-size: 0.86rem;
  line-height: 1.6;
  opacity: 0.72;
}

/* TEXT BLOCK */
.text-block {
  padding: 4rem 3rem;
  border-bottom: 0.5px solid var(--border-soft);
}

.text-block h2,
.text-block p {
  max-width: 72ch;
}

.text-block h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.text-block h2 em {
  font-style: italic;
  color: #666;
}

.text-block p {
  font-size: 0.9rem;
  line-height: 1.9;
  opacity: 0.58;
  margin-bottom: 1rem;
}

.text-block p:last-child {
  margin-bottom: 0;
}

.character-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr;
  gap: 4rem;

  padding: 4rem 3rem;
  border-bottom: 0.5px solid var(--border-soft);

  align-items: start;
}

.character-intro-text h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.character-intro-text h2 em {
  font-style: italic;
  color: #666;
}

.character-intro-text p {
  font-size: 0.9rem;
  line-height: 1.9;
  opacity: 0.58;
  margin-bottom: 1rem;
  max-width: 50ch;
}

.character-intro-image {
  width: 100%;
  /* max-width: 420px; */

  justify-self: end;

  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.character-intro-image img {
  width: 100%;
  display: block;
}

.character-intro-image:hover .img-hint {
  opacity: 0.75;
}

.character-note {
  margin-top: 0.8rem;

  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  opacity: 0.38;
}

@media (max-width: 900px) {
  .character-intro {
    grid-template-columns: 1fr;
    gap: 2rem;

    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .character-intro-image {
    justify-self: start;
    max-width: 100%;
  }
}

/* ───────────────────────── */
/* SLIDER */
/* ───────────────────────── */

.gallery-wrap {
  width: 100%;
}

.shot-slider {
  max-width: 1280px;
  margin: 3rem auto 0;
  padding: 0 2rem;
  position: relative;
}

.shot-slider-viewport {
  overflow: hidden;
  width: 100%;
}

.shot-slider-track {
  display: flex;
  gap: 0.75rem;
  transition: transform 0.45s ease;
  will-change: transform;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  cursor: pointer;
  aspect-ratio: 16 / 9;
  flex: 0 0 calc((100% - 0.75rem) / 2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

.research-img:hover .img-hint {
  opacity: 0.75;
}

.img-hint {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(245, 243, 238, 0.92);
  padding: 0.3rem 0.6rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover .img-hint {
  opacity: 0.75;
}

.shot-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--fg);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shot-arrow:hover {
  transform: translateY(-50%) scale(1.05);
}

.shot-arrow-left {
  left: 2.6rem;
}

.shot-arrow-right {
  right: 2.6rem;
}

.img-caption {
  max-width: 1280px;
  margin: 1rem auto 3rem;
  padding: 0 2rem;
  font-size: 0.8rem;
  opacity: 0.5;
}

@media (max-width: 900px) {
  .gallery-item {
    flex: 0 0 100%;
  }
}

/* VIDEO */
.video-section {
  padding: 0 0 3rem;
}

.video-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.video-wrap video {
  width: 100%;
  height: auto;
  display: block;
}

.project-updated {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.38);
  margin-bottom: 1.6rem;
}

/* ───────────────────────── */
/* GROEI IN ANIMATIE */
/* ───────────────────────── */
.project-updated {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.38);
  margin-bottom: 1.6rem;
}

.growth-section {
  padding: 4rem 3rem;
  border-bottom: 0.5px solid var(--border-soft);
}

.growth-intro {
  max-width: 72ch;
  margin-bottom: 2.5rem;
}

.growth-intro h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.growth-intro h2 em {
  font-style: italic;
  color: #666;
}

.growth-intro p {
  font-size: 0.9rem;
  line-height: 1.9;
  opacity: 0.58;
  margin-bottom: 1rem;
}

.growth-intro p:last-child {
  margin-bottom: 0;
}

.growth-compare {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
}

.growth-card {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  cursor: pointer;
}

.growth-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.growth-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(245, 243, 238, 0.95);
  padding: 0.4rem 0.7rem;
}

.growth-card-text {
  padding: 1rem 0.25rem 0;
}

.growth-card-text h3 {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 0.6rem;
}

.growth-card-text p {
  font-size: 0.84rem;
  line-height: 1.8;
  opacity: 0.58;
}

.growth-two {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.growth-two .growth-card {
  flex: 0 0 calc((100% - 0.75rem) / 3);
  max-width: calc((100% - 0.75rem) / 3);
}

@media (max-width: 900px) {
  .growth-two {
    flex-direction: column;
    align-items: center;
  }

  .growth-two .growth-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}


/* ONDERZOEK BLOKKEN */
.research-visuals {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 2rem;
  padding: 4rem 3rem;
  border-bottom: 0.5px solid var(--border-soft);
  align-items: start;
}

.research-text h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.research-text h2 em {
  font-style: italic;
  color: #666;
}

.research-text p {
  font-size: 0.9rem;
  line-height: 1.9;
  opacity: 0.58;
  margin-bottom: 1rem;
  max-width: 46ch;
}

.research-img {
  width: 100%;
  overflow: hidden;
  background: var(--bg);
  padding: 0.75rem;
  position: relative;
  cursor: pointer;
}

.research-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.research-img:hover img {
  transform: scale(1.02);
}

.process-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;

  margin-top: 2.2rem;
  padding-top: 1.2rem;

  border-top: 0.5px solid rgba(26,26,26,0.10);

  max-width: 52ch;
}

.process-note p {
  font-size: 0.76rem;
  line-height: 1.9;

  opacity: 0.56;
}

/* Storyboards: 2 x 2 */
.research-storyboards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}

.research-storyboards .research-img {
  aspect-ratio: 4 / 2.5;
}

/* Visuele verkenning: 2 links + 1 groot rechts */
.research-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "left-top right"
    "left-bottom right";
  gap: 0.35rem;
  align-items: stretch;
}

.research-images .research-img:nth-child(1) {
  grid-area: left-top;
}

.research-images .research-img:nth-child(2) {
  grid-area: right;
}

.research-images .research-img:nth-child(3) {
  grid-area: left-bottom;
}




/* ALGEMENE IMG BLOCKS */
.img-block {
  border-bottom: none;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.img-block img {
  display: block;
}

/* LIGHTBOX */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0);
  z-index: 49;
  pointer-events: none;
  transition: background 0.4s ease;
}

.overlay.active {
  background: rgba(26, 26, 26, 0.82);
  pointer-events: all;
}

.expand-container {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  padding: 2rem;
}

.expand-container.active {
  pointer-events: all;
  opacity: 1;
}

.expand-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expand-img-wrap img {
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.expand-caption {
  width: auto;
  padding: 0;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(245, 243, 238, 0.65);
}

.expand-close {
  position: fixed;
  top: 24px;
  right: 28px;
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  z-index: 60;
}

/* QUOTE */
.quote-block {
  padding: 4rem 3rem;
  border-bottom: 0.5px solid var(--border-soft);
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  line-height: 1.5;
  max-width: 900px;
}

/* NEXT PROJECT */
.next-project {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem;
  border-top: 0.5px solid var(--border);
  text-decoration: none;
  color: var(--fg);
  transition: background 0.3s;
}

.next-project:hover {
  background: var(--hover-bg);
}

.next-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.3;
}

.next-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}

.next-arrow {
  width: 48px;
  height: 48px;
  border: 0.5px solid rgba(26, 26, 26, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FOOTER */
footer {
  padding: 2.5rem 3rem;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-family: 'DM Serif Display', serif;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.4;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

/* FADE IN */
.fade-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ───────────────────────── */
/* RESPONSIVE */
/* ───────────────────────── */
@media (max-width: 900px) {
  nav,
  .back-bar,
  .text-block,
  .quote-block,
  footer,
  .next-project,
  .research-visuals,
  .growth-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .project-intro,
  .research-visuals {
    grid-template-columns: 1fr;
  }

  .intro-main {
    border-right: none;
    border-bottom: 0.5px solid var(--border-soft);
  }

  .character-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .character-intro-image {
    justify-self: start;
    max-width: 100%;
  }

  .gallery-item {
    flex: 0 0 100%;
  }

  .growth-compare {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .research-storyboards,
  .research-images {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .research-images .research-img {
    grid-area: auto !important;
  }
}