/* =========================================================
   1. EXACTE LETTERTYPES HERSTEL (PLUS JAKARTA SANS & MONO)
   ========================================================= */
:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-display: 'Playfair Display', Georgia, serif;

  --background: #09090b;
  --foreground: #f4f4f5;
  --card: #09090b;
  --border: #1b1b1f;
  --muted-foreground: #a1a1aa;
}

body {
  font-family: var(--font-sans) !important;
  background-color: var(--background) !important;
  color: var(--foreground) !important;
}

/* De grote Patrick Vastenhoud titel pakt weer de vertrouwde styling */
.hero-title,
#hero h1,
.hero h1 {
  font-family: var(--font-sans) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
}

/* Labels, tijden en navigatie blijven technisch strak monospace */
.mono,
.meta-label,
.nav-links a,
#clock,
.resume-download-btn {
  font-family: var(--font-mono) !important;
}

/* =========================================================
   2. HEADER CONTAINER & RESUME KNOP UITLIJNING FIX
   ========================================================= */
.meta-bar-container {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--background) 90%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-sizing: border-box;
}

/* 4 gelijke kolommen binnen dezelfde rasterbreedte als de rest van de pagina */
.meta-bar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
}

/* Kolom 4: strak naar rechts getrokken maar binnen de 2rem padding */
.meta-resume-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.meta-resume-col .meta-label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted-foreground);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* De minimalistische downloadknop */
.resume-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.72rem;
  color: #ffffff;
  background-color: var(--card);
  border: 1px solid var(--border);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.resume-download-btn:hover {
  background-color: #ffffff;
  color: #09090b;
  border-color: #ffffff;
}

/* Dot Grid canvas */
.bg-dot-grid {
  background-image: radial-gradient(var(--dot-color) 1px, transparent 1px);
  background-size: 20px 20px;
}

.font-display { font-family: var(--font-display); }
.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}

.text-brand { color: var(--color-brand) !important; }
.muted { color: var(--muted-foreground); }
.font-medium { font-weight: 500; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.border-y {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.border-b {
  border-bottom: 1px solid var(--border);
}

/* Ambient resets */
.ambient {
  position: relative;
}

/* Strakke frosted surface zonder shadow */
.surface {
  background: color-mix(in srgb, var(--card) 92%, transparent);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  transition: border-color 0.2s ease;
}

/* Subtiele strakke oranje rand bij hover (geen blur, geen gloed) */
.surface:hover {
  border-color: var(--color-brand);
  box-shadow: none !important;
}

/* Buttons - Strak rechthoekig */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background-color: var(--color-brand);
  color: #fff;
  border: 1px solid var(--color-brand);
}
.btn-primary:hover {
  background-color: var(--color-brand-hover);
  border-color: var(--color-brand-hover);
  box-shadow: none !important;
}

.btn-ghost {
  background-color: color-mix(in srgb, var(--card) 80%, transparent);
  color: var(--foreground);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--color-brand);
  background-color: var(--color-brand-wash);
  box-shadow: none !important;
}

/* Pill badge - Nu strak rechthoekig label */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 90%, transparent);
  padding: 0.35rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-foreground);
  backdrop-filter: blur(6px);
  border-radius: 0;
}

/* =========================================================
   HEADER & META BAR
   ========================================================= */
.meta-bar-container {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding: 1.25rem 2rem;
  background: color-mix(in srgb, var(--background) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.meta-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .meta-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

.meta-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
  opacity: 0.8;
}

.meta-val {
  margin-top: 0.25rem;
  color: var(--foreground);
}

.flex-center {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Strak vierkant oranje indicatorblokje i.p.v. rond bolletje */
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--color-brand);
}

.nav-links a {
  color: var(--foreground);
  text-decoration: none;
  margin-right: 0.75rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-brand); }

.theme-switch-cell {
  text-align: left;
}
@media (min-width: 768px) {
  .theme-switch-cell { text-align: right; }
}

.theme-buttons button {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.75rem;
  color: var(--foreground);
  cursor: pointer;
  margin-right: 0.5rem;
  transition: color 0.2s;
}
.theme-buttons button:hover { color: var(--color-brand); }
.theme-buttons button.active { color: var(--color-brand); font-weight: 600; }

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
  height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 2rem 2rem 2rem;
  user-select: none;
}

.hero-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}

.portrait-base {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-inverted {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
  /* Volgt live de --mouse-x en --mouse-y uit het script */
  -webkit-mask-image: radial-gradient(circle 60px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 98%, transparent 100%);
  mask-image: radial-gradient(circle 60px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 98%, transparent 100%);
  transition: opacity 0.2s ease;
}

.portrait-card:hover .portrait-inverted {
  opacity: 1;
}


/* =========================================================
   HERO TITLE: VOLLEDIGE GROOTTE + EXACT GECENTREERD
   ========================================================= */
.hero-name {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  
  width: max-content;
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: center;
  
  /* De originele enorme lettergrootte */
  font-size: clamp(4rem, 11vw, 13.5rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-family: var(--font-display);
  font-weight: 400;
  white-space: nowrap;
  user-select: none;
  cursor: default;

  background: none !important;
  -webkit-text-fill-color: initial !important;
}

/* Individuele letters: standaard ZWART in Light Mode */
.hero-name .char {
  display: inline-block;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  transition: color 0.15s ease, -webkit-text-fill-color 0.15s ease;
}

/* Dark Mode: standaard WIT */
.dark .hero-name .char {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Hover over specifieke letter: GRIJS */
.hero-name .char:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  transition:  !important;
}

/* Spatie tussen voor- en achternaam */
.hero-name .char-space {
  display: inline-block;
  width: 0.28em;
}
/* =========================================================
   INTRO & SECTION HEADS
   ========================================================= */
/* =========================================================
   INTRO SECTION: SOLIDE ACHTERGROND (WIT / DIEPZWART)
   ========================================================= */
.intro-strip-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 6rem 0;
  
  /* Licht: egaal dekkend wit (overdekt de dot-grid achtergrond) */
  background-color: #f7f7f7;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  z-index: 2;
}

/* Donker: diep egaal zwart (#0a0a0c of #000000) */
.dark .intro-strip-section {
  background-color: #0c0c0e;
  border-color: #222226;
}

/* Binnencontainer voor nette uitlijning met de rest van je pagina */
.intro-strip-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .intro-strip-inner {
    grid-template-columns: 1.1fr 1.4fr;
    align-items: start;
    gap: 5rem;
  }
}

.intro-title-col h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;

  color: var(--foreground);
  margin: 0;
}

.intro-content-col p {
  font-size: 1.05rem;

  color: var(--muted-foreground);
  margin-top: 0;
  margin-bottom: 2rem;
}

.intro-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* =========================================================
   INTRO KNOPPEN (Geen paarse browser :visited kleur)
   ========================================================= */
.intro-actions a {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  user-select: none;
}

/* 1. Primaire oranje knop (Get in touch) */
.intro-actions .btn-brand,
.intro-actions .btn-brand:visited {
  background-color: var(--color-brand, #000);
  color: #ffffff !important;
  border: 1px solid var(--color-brand, #fff);
}

.intro-actions .btn-brand:hover {
  background-color: var(--color-brand-hover, #fff);
  border-color: var(--color-brand-hover, #fff);
  color: #000 !important;
}

/* 2. Secundaire knop (View all projects) - subtiel omlijnd, oranje bij hover */
.intro-actions .btn-secondary,
.intro-actions .btn-secondary:visited {
  background-color: transparent;
  color: var(--foreground, #111111) !important;
  border: 1px solid var(--border, #e5e7eb);
}

.dark .intro-actions .btn-secondary,
.dark .intro-actions .btn-secondary:visited {
  color: #ffffff !important;
  border-color: #27272a;
}

.intro-actions .btn-secondary:hover {
  border-color: var(--color-brand, #ffffff);
  color: var(--color-brand, #ffffff) !important;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
}

.section-desc {
  max-width: 400px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* =========================================================
   SELECTED WORKS: EXTRA BINNENRUIMTE & GROTE TITELS
   ========================================================= */

/* Royale padding rondom binnen de archival box */
.project-card,
.project-box {
  padding: 3.5rem 3.5rem !important; /* Ruime ademruimte boven, onder en opzij */
}

/* Grid layout: mooi verticaal gecentreerd uitlijnen */
.project-inner-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: start !important; /* Voorkomt dat de hele box meeveert met hoogteverschillen */
}

/* 2. Zet een rotsvaste hoogte op de titelrij */
.project-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  min-height: 3.8rem; /* Reserveert exact genoeg hoogte voor de grootste titel + cursor */
  height: 3.8rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

/* 3. Zorg dat de titel nooit inklapt naar 0px hoogte */
.type-sequence-title {
  font-family: var(--font-sans, "Plus Jakarta Sans", "Inter", sans-serif);
  font-size: clamp(2.2rem, 3.4vw, 3rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1 !important; /* Strakke vaste line-height */
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  min-height: 1em; /* Blijft exact 1 regel hoog, zelfs als er 0 letters staan */
  margin: 0;
}

/* Voorkomt dat de tekstspan inklapt als hij leeg is */
.type-sequence-title .type-text {
  display: inline-block;
  min-height: 1em;
  white-space: pre;
}

/* De oranje terminal cursor blijft rotsvast staan */
.type-sequence-title .type-cursor {
  width: 9px !important;
  height: 0.82em !important;
  margin-left: 0.15em !important;
  vertical-align: -0.06em !important;
  background-color: #FF8D00;
  border: 1.5px solid #404040;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Mobiel */
@media (max-width: 900px) {
  .project-title-row {
    min-height: 3rem;
    height: auto;
  }
}
/* =========================================================
   MEDIA GRID & BACKGROUND
   ========================================================= */
.media-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .media-grid { grid-template-columns: repeat(12, 1fr); }
  .span-7 { grid-column: span 7; }
  .span-5 { grid-column: span 5; }
}

.media-card {
  padding: 0.5rem;
}
.media-inner {
  overflow: hidden;
  border: 1px solid var(--border);
}
.media-img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.aspect-4-3 { aspect-ratio: 4/3; }
.aspect-4-5 { aspect-ratio: 4/5; }
.aspect-16-9 { aspect-ratio: 16/9; }
.aspect-16-10 { aspect-ratio: 16/10; }
.aspect-21-9 { aspect-ratio: 21/9; }

.media-card figcaption {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0.25rem 0.25rem 0.25rem;
}

.timeline-capabilities-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .timeline-capabilities-grid { grid-template-columns: 7fr 5fr; }
}

.timeline-list {
  padding: 1.5rem;
  list-style: none;
}
.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; }
@media (min-width: 640px) {
  .timeline-item { grid-template-columns: 80px 180px 1fr; }
}
.timeline-title { font-weight: 700; }
.timeline-desc { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.5; }

.capabilities-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.media-preview-box { padding: 0.5rem; }
.capabilities-img { width: 100%; border: 1px solid var(--border); aspect-ratio: 16/10; object-fit: cover; display: block; }
.capabilities-box { padding: 1.5rem; }
.capabilities-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.85rem; }
.capabilities-list dt { font-size: 0.85rem; font-weight: 600; 
margin: 0 !important;
  padding: 0 !important;}
.capabilities-list dd { font-size: 0.85rem; color: var(--muted-foreground); 
margin: 0 !important;
  padding: 0 !important;}

/* =========================================================
   CONTACT & FOOTER
   ========================================================= */
.footer-section {
  padding-top: 4rem;
}
.contact-card {
  padding: 2.5rem;
}
.contact-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 7fr 5fr; }
}
.contact-heading {
  font-size: 2rem;
  font-weight: 700;
  margin: 1rem 0 1.5rem 0;
  line-height: 1.2;
}
.contact-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: start; /* Zorgt dat de kolom direct strak bovenaan begint */
}

.link-list {
  list-style: none;
  margin: 1rem 0 0 0; /* Geen verborgen marges */
  padding: 0;        /* Heft de standaard browser-inspringing (padding-left) op */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.link-list a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}
.link-list a:hover { color: var(--color-brand); }
.studio-address {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}
.footer-meta {
  display: flex;
  justify-content: space-between;
  padding: 2rem 0;
}
.vastenhoud-watermark {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(3rem, 10vw, 19rem);
  line-height: 0.75;
  color: var(--foreground);
  opacity: 0.08;
  letter-spacing: -0.05em;
  text-align: center;
  user-select: none;
  margin-bottom: -1rem;
}

/* =========================================================
   PROJECT DETAIL PAGE (ORIGIN)
   ========================================================= */
.project-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--background) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
}
.project-nav-wrap {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.back-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--foreground);
  text-decoration: none;
}
.back-link:hover { color: var(--color-brand); }
.artist-brand { font-size: 1rem; }

.project-detail-body {
  padding-top: 4rem;
  padding-bottom: 6rem;
}
.project-hero-head {
  max-width: 800px;
  margin: 0 auto 3rem auto;
}
.text-center { text-align: center; }
.project-main-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.project-main-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-top: 1rem;
}

.video-container-card {
  padding: 0.75rem;
  max-width: 1200px;
  margin: 0 auto;
}
.video-ratio-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
}
.video-ratio-box iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* 2-Koloms Expanded Grid */
.editorial-expanded-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  margin-top: 5rem;
}

@media (min-width: 860px) {
  .editorial-expanded-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }
}

.editorial-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.block-unit {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.editorial-statement {
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.editorial-lead {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.editorial-medium-head {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--foreground);
}

.editorial-subhead {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--foreground);
}

.editorial-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.editorial-fig {
  padding: 0.5rem;
}

.editorial-img {
  width: 100%;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
}

.fig-micro {
  display: block;
  font-size: 0.65rem;
  padding: 0.5rem 0.25rem 0.2rem 0.25rem;
  text-align: right;
  opacity: 0.7;
}

.caption-text {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin-top: 0.25rem;
}

.callout-box {
  padding: 1.75rem;
}

.clean-bullet-list {
  list-style: square inside;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  margin-left: 0.25rem;
}

.full-width-feature {
  margin: 6rem 0;
}

.p-2 {
  padding: 0.6rem;
}

.center-quote-wrap {
  max-width: 880px;
  margin: 3.5rem auto 0 auto;
  text-align: center;
}

.grand-quote {
  font-size: clamp(1.4rem, 2.6vw, 2.25rem);
  font-weight: 300;
  line-height: 1.45;
  font-style: italic;
  color: var(--foreground);
}

.mt-3 { margin-top: 0.75rem; }
.mt-6 { margin-top: 5rem; }

.project-bottom-nav {
  margin-top: 6rem;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.next-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.capabilities-video {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
}

/* =========================================================
   RECOGNITIONS SECTION (Base44 / Nothing style banner)
   ========================================================= */
.recognitions-section {
  padding-bottom: 5rem;
}

.recognitions-header {
  max-width: 800px;
  margin-bottom: 3rem;
}

.recognitions-lead {
  font-size: 1.15rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* De grote container met de zachte, warme gradient backdrop */
.recognitions-banner {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 2rem;
  border: 1px solid var(--border);
  /* Sfeervolle organische blur-achtergrond (warm bruin/groen/oranje) */
  background: 
    radial-gradient(ellipse at 15% 20%, rgba(130, 95, 45, 0.42), transparent 50%),
    radial-gradient(ellipse at 50% 10%, rgba(185, 115, 60, 0.38), transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(85, 105, 55, 0.35), transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(160, 75, 25, 0.28), transparent 60%),
    color-mix(in srgb, var(--card) 60%, transparent);
}

.dark .recognitions-banner {
  background: 
    radial-gradient(ellipse at 15% 20%, rgba(130, 95, 45, 0.26), transparent 50%),
    radial-gradient(ellipse at 50% 10%, rgba(185, 115, 60, 0.24), transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(85, 105, 55, 0.22), transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(160, 75, 25, 0.18), transparent 60%),
    color-mix(in srgb, var(--card) 40%, transparent);
}

/* 3 Kolommen voor de kaarten */
.recognitions-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 860px) {
  .recognitions-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Witte, strakke kaart */
.recognition-card {
  background: #ffffff;
  color: #111827;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.dark .recognition-card {
  background: #151518;
  color: #f3f4f6;
  border: 1px solid var(--border);
}

.recognition-card:hover {
  border-color: var(--color-brand);
}

.recognition-role {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  color: inherit;
}

.recognition-quote {
  font-size: 0.885rem;
  line-height: 1.65;
  color: #4b5563;
}

.dark .recognition-quote {
  color: #9ca3af;
}

.recognition-author-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.dark .recognition-author-row {
  border-top: 1px solid var(--border);
}

/* Zwarte ronde actieknop linksonder */
.recognition-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50% !important; /* Bewust rond voor deze specifieke UI-knop */
  background: #111827;
  color: #ffffff;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.dark .recognition-btn {
  background: #27272a;
  color: #ffffff;
}

.recognition-card:hover .recognition-btn {
  background-color: var(--color-brand);
}

.recognition-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.recognition-author-info strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: inherit;
}

.recognition-author-info span {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =========================================================
   MARCO.FYI STYLE CASE STUDY (Beknopt meta-overzicht + beeldgrid)
   ========================================================= */
.case-study-header {
  max-width: 1100px;
  margin: 2rem auto 4.5rem auto;
}

.case-title-group {
  margin-bottom: 3rem;
}

.case-main-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--foreground);
  line-height: 1.1;
}

.case-sub-title {
  font-size: 1.15rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

/* 2-Koloms Meta Grid */
.case-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}

@media (min-width: 768px) {
  .case-meta-grid {
    grid-template-columns: 1fr 2fr;
    gap: 4.5rem;
  }
}

.case-meta-col-left,
.case-meta-col-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.meta-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.meta-caption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-foreground);
  opacity: 0.8;
}

.meta-value-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--foreground);
}

.meta-body-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--foreground);
}

.case-actions {
  margin-top: 1rem;
}

/* =========================================================
   CASE STUDY GALLERY GRID
   ========================================================= */
.case-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  padding-bottom: 4rem;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.gallery-frame {
  padding: 0.4rem;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 95%, transparent);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
}

.gallery-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted-foreground);
  letter-spacing: 0.05em;
  margin-left: 0.25rem;
}

/* Kolombreedtes */
.span-12 { grid-column: span 12; }
.span-7  { grid-column: span 12; }
.span-6  { grid-column: span 12; }
.span-5  { grid-column: span 12; }

@media (min-width: 768px) {
  .span-7 { grid-column: span 7; }
  .span-6 { grid-column: span 6; }
  .span-5 { grid-column: span 5; }
}

/* =========================================================
   MARCO-STYLE "WHAT I'M ABOUT" & BENTO GRID
   ========================================================= */
.about-bento-container {
  padding-top: 3.5rem;
  padding-bottom: 6rem;
}

.about-split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .about-split-layout {
    grid-template-columns: 5fr 6fr;
    gap: 3.5rem;
    align-items: start;
  }
}

/* Linker Column: The Story */
.about-story-card {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.about-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--foreground);
}

.story-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.story-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-foreground);
  opacity: 0.8;
}

.story-block p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--foreground);
}

.story-social-icons {
  display: flex;
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.story-social-icons a {
  text-decoration: none;
  font-size: 1.15rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.story-social-icons a:hover {
  color: var(--color-brand);
}

/* Rechter Column: Bento Grid */
.about-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.bento-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Bento 1: Status */
.bento-status-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bento-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bento-avatar {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.bento-user strong {
  display: block;
  font-size: 0.85rem;
}

.bento-user span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted-foreground);
}

.bento-badge-icon {
  color: var(--color-brand);
  font-size: 1.2rem;
}

.bento-status-text {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 1.25rem 0;
  color: var(--foreground);
}

.bento-link-arrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}
.bento-link-arrow:hover { color: var(--color-brand); }

/* Bento 2 & 4: Audio Cards */
.music-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.music-brand-dot {
  width: 8px;
  height: 8px;
  background: #ff2d55; /* Apple Music roze/rood */
}

.podcast-badge-icon {
  color: var(--color-brand);
}

.music-content, .podcast-body {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.music-artwork {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.podcast-cover {
  width: 54px;
  height: 54px;
  background: var(--muted);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
}

.music-meta, .podcast-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.music-track, .podcast-meta strong {
  font-size: 0.85rem;
}

.music-artist, .podcast-meta span {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.music-controls {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.music-controls button {
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  font-size: 0.8rem;
  transition: color 0.2s;
}
.music-controls button:hover { color: var(--color-brand); }

.mt-auto { margin-top: auto; }

/* Bento 3: Photo */
.bento-photo {
  padding: 0;
  min-height: 240px;
}

.bento-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bento-photo-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #ffffff;
}

/* Bento 5: Chat Widget (Over 2 kolommen) */
.bento-chat {
  grid-column: span 2;
  min-height: 200px;
  background: color-mix(in srgb, var(--card) 96%, transparent);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.chat-bubble {
  max-width: 80%;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  line-height: 1.4;
}

.bubble-sent {
  align-self: flex-end;
  background: var(--color-brand);
  color: #ffffff;
}

.bubble-received {
  align-self: flex-start;
  background: var(--muted);
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  width: 22px;
  height: 22px;
  object-fit: cover;
}

.chat-input-bar {
  display: flex;
  border: 1px solid var(--border);
  background: var(--background);
}

.chat-input-bar input {
  flex: 1;
  background: none;
  border: none;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--foreground);
  outline: none;
}

.chat-input-bar button {
  background: none;
  border: none;
  border-left: 1px solid var(--border);
  padding: 0 1.25rem;
  font-size: 1rem;
  color: var(--foreground);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.chat-input-bar button:hover {
  background-color: var(--color-brand);
  color: #ffffff;
}

/* =========================================================
   BENTO PHOTO CAROUSEL
   ========================================================= */
.bento-carousel {
  padding: 0;
  position: relative;
  min-height: 280px;
  overflow: hidden;
  user-select: none;
}

.carousel-track-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.carousel-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.carousel-nav-controls {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: color-mix(in srgb, var(--card) 85%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 0.25rem 0.5rem;
  z-index: 10;
}

.carousel-btn {
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
  transition: color 0.2s ease;
}

.carousel-btn:hover {
  color: var(--color-brand);
}

.carousel-counter {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0 0.25rem;
}

/* Music indicator animatie tijdens afspelen */
.music-brand-dot.playing {
  background-color: var(--color-brand) !important;
  animation: pulseDot 1.4s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* =========================================================
   INTERACTIVE ISOMETRIC CUBE (Bento Card)
   ========================================================= */
.bento-interactive-cube {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  overflow: hidden;
  user-select: none;
}

.iso-cube-viewport {
  position: relative;
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.iso-cube-stage {
  position: relative;
  /* translateY tilt de kubus omhoog zodat hij niet meer tegen de bodem aanloopt */
  transform: translateY(-45px) scale(0.60) skewY(-20deg);
  transform-origin: center center;
}

.iso-cube {
  position: relative;
  z-index: 2;
}

.iso-cube:nth-child(2) {
  z-index: 1;
  translate: -50px -50px;
}

.iso-cube:nth-child(3) {
  z-index: 3;
  translate: 50px 50px;
}

.iso-cube div {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 25px;
  translate: calc(-60px * var(--x)) calc(-50px * var(--y));
}

/* De blokjes in ruststand (afgestemd op light mode) */
.iso-cube div span {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 44px;
  background: #d8d9de;
  border: 1px solid var(--border);
  z-index: calc(1 * var(--i));
  transition: background-color 0.8s ease, border-color 0.8s ease;
  cursor: pointer;
}

.iso-cube div span:before {
  content: "";
  position: absolute;
  left: -32px;
  width: 32px;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-right: none;
  transform-origin: right;
  transform: skewY(45deg);
  transition: background-color 0.8s ease, border-color 0.8s ease;
}

.iso-cube div span:after {
  content: "";
  position: absolute;
  top: -32px;
  left: 0px;
  width: 100%;
  height: 32px;
  background: #ececed;
  border: 1px solid var(--border);
  border-bottom: none;
  transform-origin: bottom;
  transform: skewX(45deg);
  transition: background-color 0.8s ease, border-color 0.8s ease;
}

/* Ruststand in Dark Mode */
.dark .iso-cube div span {
  background: #1f1f23;
  border-color: #2e2e34;
}
.dark .iso-cube div span:before {
  background: #2a2a30;
  border-color: #2e2e34;
}
.dark .iso-cube div span:after {
  background: #161619;
  border-color: #2e2e34;
}

/* Strakke oranje hover zonder blur of gloed */
.iso-cube div span:hover {
  background: var(--color-brand) !important;
  border-color: var(--color-brand-hover) !important;
  transition: 0s !important;
}

.iso-cube div span:hover:before {
  background: var(--color-brand-hover) !important;
  border-color: var(--color-brand-hover) !important;
  transition: 0s !important;
}

.iso-cube div span:hover:after {
  background: #ff7733 !important; /* Iets lichtere oranje bovenzijde voor 3D diepte */
  border-color: #ff7733 !important;
  transition: 0s !important;
}

.cube-card-footer {
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

/* =========================================================
   BENTO 1: CSS 3D ANIMATED ROTATING CUBE
   (Afgestemd op de stijl van Patrick Vastenhoud)
   ========================================================= */
.bento-rotator-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  overflow: hidden;
  user-select: none;
}

.rotator-viewport {
  position: relative;
  width: 100%;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.rotator-cube {
  position: relative;
  width: 90px;
  height: 90px;
  transform-style: preserve-3d;
  transform: rotateX(-30deg) rotateY(35deg);
  animation: rotateCube 12s linear infinite;
  transition: transform 0.4s ease;
}

.rotator-cube:hover {
  animation-play-state: paused;
}

/* Doorlopende 3D-rotatie over alle assen */
@keyframes rotateCube {
  0% {
    transform: rotateX(-30deg) rotateY(0deg);
  }
  100% {
    transform: rotateX(-30deg) rotateY(360deg);
  }
}

.rotator-cube div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* De 4 zijvlakken van de kubus */
.rotator-cube div span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(#e5e7eb, #d1d5db);
  border: 1px solid var(--border);
  transform: rotateY(calc(90deg * var(--i))) translateZ(45px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Donkere modus styling */
.dark .rotator-cube div span {
  background: linear-gradient(#1c1c20, #121215);
  border-color: #ffffff;
}

/* Bovenste deksel van de kubus */
.rotator-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  background: #f3f4f6;
  border: 1px solid var(--border);
  transform: rotateX(90deg) translateZ(45px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dark .rotator-top {
  background: #232328;
  border-color: #27272a;
}

/* Interactief hover-effect: de kubus explodeert subtiel open in het oranje */
.rotator-cube:hover div span {
  background: linear-gradient(var(--color-brand), var(--color-brand-hover));
  border-color: var(--color-brand-hover);
  transform: rotateY(calc(90deg * var(--i))) translateZ(62px);
}

.rotator-cube:hover .rotator-top {
  background: #f5f5f7;
  border-color: var(--color-brand);
  transform: rotateX(90deg) translateZ(62px);
}

/* =========================================================
   PORTRAIT SPOTLIGHT INVERT EFFECT
   ========================================================= */
.portrait-card {
  position: relative;
  width: 260px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: none;
  cursor: crosshair;
}

.portrait-base {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
}

.portrait-inverted {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
  /* Masker dat meebeweegt met de cursor via CSS variabelen */
  -webkit-mask-image: radial-gradient(circle 55px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 98%, transparent 100%);
  mask-image: radial-gradient(circle 55px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 98%, transparent 100%);
  transition: opacity 0.2s ease;
}

.portrait-card:hover .portrait-inverted {
  opacity: 1;
}

/* =========================================================
   HEADER BACK BUTTON (Subpagina's)
   ========================================================= */
.nav-back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 75%, transparent);
  color: var(--foreground);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nav-back-button:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.back-arrow {
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.nav-back-button:hover .back-arrow {
  transform: translateX(-3px);
}

/* =========================================================
   OIKEIOSE ASYMMETRIC SLIDING IMAGE GALLERY
   ========================================================= */
.case-gallery-container {
  margin: 4rem 0 6rem 0;
}

.sliding-card-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-rows: 290px;
  grid-auto-flow: dense;
  gap: 2rem; /* Ruimere lucht tussen de kaarten */
}

@media (min-width: 640px) {
  .sliding-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sliding-card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Speelse variaties in formaat */
@media (min-width: 640px) {
  .sliding-card-grid .span-2 {
    grid-column: span 2;
  }
  .sliding-card-grid .row-span-2 {
    grid-row: span 2;
  }
}

/* Basis kaart */
.slide-card {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--color-brand);
  border: 1px solid var(--border);
  overflow: hidden;
  user-select: none;
  transition: border-color 0.2s ease;
}

.slide-card:hover {
  border-color: var(--color-brand);
}

.slide-card .card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
}

/* Oranje Tekstlaag: Tekst staat nu hoog (flex-start) met ruime padding */
.slide-card .face-text {
  background-color: var(--color-brand);
  color: #ffffff;
  padding: 2rem 1.75rem;
  align-items: flex-start;
  justify-content: flex-start;
  box-sizing: border-box;
  z-index: 1;
}

.card-inner-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-inner-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.15;
}

.card-inner-text p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

/* Bovenste Fotolaag */
.slide-card .face-media {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  transition: height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 2;
  top: auto;
  bottom: 0;
}

/* Bovenste fotolaag: standaard in kleur */
.slide-card .face-media img,
.slide-card .face-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0%); /* Standaard volle kleur */
  transition: filter 0.4s ease;
}

/* Hover-effect: foto krimpt in én wordt zwart-wit */
.slide-card:hover .face-media {
  height: 48px;
}

.slide-card:hover .face-media img,
.slide-card:hover .face-media video {
  filter: grayscale(100%) contrast(1.1); /* Zwart-wit bij hover */
}

/* =========================================================
   STANDALONE PROMINENT VIDEO SHOWCASE
   ========================================================= */
.case-featured-video-section {
  max-width: 1400px;
  margin: 0 auto 5rem auto;
}

.featured-video-frame {
  padding: 0.5rem;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 95%, transparent);
}

.featured-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
}

.featured-video-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.25rem 0 0.25rem;
  font-size: 0.72rem;
}

@media (min-width: 1024px) {
  /* Dwingt Card 06 specifiek naar de rechter twee kolommen */
  .sliding-card-grid .col-right {
    grid-column: 3 / span 2;
  }
  /* Dwingt Card 09 specifiek naar de eerste (linker) kolom */
  .sliding-card-grid .col-left {
    grid-column: 1 / span 1;
  }
}

.source-link-text {
  font-family: var(--font-mono);
  font-size: 0.68rem !important;
  opacity: 0.8;
  word-break: break-all;
  margin-top: 0.25rem;
}

/* =========================================================
   HERO TITLE CURSOR-TRACKING COLOR WIPE
   ========================================================= */
/* =========================================================
   HERO TITLE CURSOR COLOR WIPE (Zwart in Light, Wit in Dark)
   ========================================================= */
.hero-name {
  position: relative;
  display: inline-block;
  user-select: none;
  cursor: default;
  white-space: nowrap;

  /* Dynamische gradient die van links naar rechts vult */
  background-image: linear-gradient(
    to right,
    var(--wipe-color, #111111) var(--wipe-progress, 0%),
    var(--muted-foreground) var(--wipe-progress, 0%)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  /* In light mode: vult met zwart */
  --wipe-color: #111111;
}

/* In dark mode: vult met wit */
.dark .hero-name {
  --wipe-color: #ffffff;
}

.hero-name.is-leaving {
  transition: --wipe-progress 0.35s ease;
}

.hero-name::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--wipe-progress, 0%);
  color: var(--color-brand); /* Oranje ingevulde kleur */
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  transition: width 0.05s ease-out; /* Vloeiende micro-demping bij cursorbeweging */
}

/* Subtiele terugtrekking wanneer de muis de titel verlaat */
.hero-name.is-leaving::before {
  transition: width 0.35s ease;
}

/* =========================================================
   RECOGNITIONS: RONDE AVATAR PLACEHOLDERS
   ========================================================= */
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.testimonial-avatar-thumb {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%; /* Perfect rond */
  overflow: hidden;
  background-color: var(--muted);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.testimonial-avatar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

/* Subtiele kleur en zoom bij hover over de kaart */
.testimonial-card:hover .testimonial-avatar-thumb img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial-author-info .author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
}

.testimonial-author-info .author-role {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
}

@media (max-width: 768px) {

/* Zorg dat de banner niet samengeknepen wordt */
  .recognitions-banner {
    padding: 1.5rem 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
  }

  /* Zorg dat de parent-wrapper van de kaarten naar 1 kolom gaat */
  .recognition-grid,
  .recognitions-grid,
  .recognitions-row,
  .testimonial-grid,
  .testimonials-wrap {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 1.5rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* De kaart zelf: verplicht 100% van de schermbreedte */
  .surface.recognition-frame {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 1.75rem 1.25rem !important;
    box-sizing: border-box !important;
    margin: 0 0 1.5rem 0 !important;
  }

  /* Tekst binnen de kaart weer ruimte en normale regellengte geven */
  .surface.recognition-frame h3 {
    font-size: 1.35rem !important;
    margin-bottom: 0.75rem !important;
  }

  .surface.recognition-frame p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
    word-break: normal !important;
  }

  .testimonial-footer {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}


/* =========================================================
   OIKEIOSE: RESTRUCTURED CLEAN NARRATIVE LAYOUT
   ========================================================= */
.case-narrative-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  margin: 4rem auto 6rem auto;
  align-items: start;
}

@media (min-width: 960px) {
  .case-narrative-split {
    grid-template-columns: 1.1fr 1.3fr;
    gap: 4.5rem;
  }
}

.narrative-tag {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.narrative-heading {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1.25rem 0;
  color: var(--foreground);
}

.narrative-body {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin-bottom: 2.25rem;
}

/* Elegante PDF Download Button */
.narrative-download-box {
  margin-top: 1.5rem;
}

.btn-download-pdf {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.4rem;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 85%, transparent);
  text-decoration: none;
  color: var(--foreground);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
}

.btn-download-pdf:hover {
  border-color: var(--color-brand);
  background: var(--card);
  transform: translateY(-2px);
}

.pdf-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--color-brand);
  color: #ffffff;
  padding: 0.35rem 0.55rem;
  letter-spacing: 0.08em;
}

.pdf-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.pdf-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--foreground);
}

.pdf-meta {
  font-size: 0.68rem;
  color: var(--muted-foreground);
}

.pdf-download-icon {
  font-size: 1.25rem;
  color: var(--color-brand);
  transition: transform 0.2s ease;
}

.btn-download-pdf:hover .pdf-download-icon {
  transform: translateY(3px);
}

/* Rechterkant: Twee beelden naast elkaar */
.case-narrative-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.case-photo-frame {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.case-photo-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.case-photo-frame:hover img {
  filter: grayscale(0%);
}

.photo-caption {
  font-size: 0.65rem;
  color: var(--muted-foreground);
}

/* Grote beelden onder elkaar */
.case-stacked-showcase {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-bottom: 7rem;
}

.stacked-photo-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stacked-photo-item img {
  width: 100%;
  max-height: 85vh;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
}

.stacked-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.25rem;
  font-size: 0.72rem;
}

/* =========================================================
   VISUAL INDEX: SANS-SERIF TITEL + ECHTE PINTEREST MASONRY
   ========================================================= */
.visual-index-section {
  max-width: 1440px;
  margin: 6rem auto 9rem auto;
  padding: 0 1.5rem;
}

.visual-index-header {
  margin-bottom: 2.75rem;
}

/* Strakke sans-serif titel (identiek aan Selected work) */
.visual-index-title {
  font-family: inherit; /* Normale sans-serif */
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--foreground);
  margin: 0 0 0.4rem 0;
}

.visual-index-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
}

/* Echte Pinterest Masonry: 3 tot max 4 kolommen */
.artistic-visual-grid {
  column-count: 1;
  column-gap: 1.75rem;
}

@media (min-width: 640px) {
  .artistic-visual-grid {
    column-count: 2;
    column-gap: 1.75rem;
  }
}

@media (min-width: 960px) {
  .artistic-visual-grid {
    column-count: 3;
    column-gap: 2rem;
  }
}

@media (min-width: 1280px) {
  .artistic-visual-grid {
    column-count: 4; /* Max 4 kolommen breed */
    column-gap: 2rem;
  }
}

/* =========================================================
   VISUAL INDEX: PINTEREST COLUMN LAYOUT (HERSTELD)
   ========================================================= */
.visual-index-section {
  max-width: 1440px;
  margin: 6rem auto 9rem auto;
  padding: 0 1.5rem;
}

.visual-index-header {
  margin-bottom: 2.75rem;
}

.visual-index-title {
  font-family: inherit;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--foreground);
  margin: 0 0 0.4rem 0;
}

.visual-index-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
}

/* Echte multi-column masonry */
.artistic-visual-grid {
  column-count: 1;
  column-gap: 2rem;
}

@media (min-width: 640px) {
  .artistic-visual-grid {
    column-count: 2;
    column-gap: 2rem;
  }
}

@media (min-width: 960px) {
  .artistic-visual-grid {
    column-count: 3;
    column-gap: 2.25rem;
  }
}

@media (min-width: 1280px) {
  .artistic-visual-grid {
    column-count: 4;
    column-gap: 2.25rem;
  }
}

/* =========================================================
   PIN CARDS & MEDIA WEERGAVE
   ========================================================= */
.pin-card {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 2.25rem;
  break-inside: avoid;
  page-break-inside: avoid;
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden; /* Houdt de masonry strak op zijn plek */
  user-select: none;
}

/* Hoogtevarianten voor speels ritme */
.pin-card.size-tall   { height: 460px; }
.pin-card.size-medium { height: 360px; }
.pin-card.size-square { height: 300px; }
.pin-card.size-wide   { height: 230px; }

/* Oude tekstlagen definitief uitschakelen */
.pin-card .face-text {
  display: none !important;
}

.pin-card .face-media {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
}

.pin-card img,
.pin-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0%);
  transition: filter 0.4s ease;
}

/* Zwart-wit overgang bij hover */
.pin-card:hover img,
.pin-card:hover video,
.case-photo-frame:hover img,
.case-photo-frame:hover video {
  filter: grayscale(100%);
}

.case-photo-frame img,
.case-photo-frame video {
  transition: filter 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}


/* Artistieke lege plekken */
.pin-spacer {
  display: block;
  width: 100%;
  height: 180px;
  margin-bottom: 2.25rem;
  break-inside: avoid;
  border: 1px dashed color-mix(in srgb, var(--border) 45%, transparent);
  background: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.3;
  pointer-events: none;
}

/* =========================================================
   ARCHIVAL HOEKEN: MICRO-PIXELS NAAR WIT KADER BIJ HOVER
   Toepassing: Visual Index, Selected Works, Recognitions & Projectmedia
   ========================================================= */

.pin-card,
.case-photo-frame,
.trio-item,
.quad-item,
.work-item,
.project-card,
.work-card,
.surface.recognition-frame {
  position: relative !important;
  overflow: hidden !important;
  background-color: var(--card) !important;
  border: 1px solid var(--border) !important;
}

/* Inhoud van de kaarten blijft netjes onder het getekende kader */
.pin-card > *,
.case-photo-frame > *,
.work-item > *,
.surface.recognition-frame > * {
  position: relative;
  z-index: 1;
}

/* De hoek-overlay */
.pin-card::before,
.case-photo-frame::before,
.trio-item::before,
.quad-item::before,
.work-item::before,
.project-card::before,
.work-card::before,
.surface.recognition-frame::before {
  content: "" !important;
  position: absolute !important;
  inset: 6px !important; /* Ligt vlak binnen het kader */
  pointer-events: none !important;
  z-index: 25 !important;
  box-sizing: border-box !important;

  /* 8 witte gradients (2 per hoek) */
  background:
    /* Horizontale lijnen */
    linear-gradient(to right, #ffffff 100%, transparent 100%) top left,
    linear-gradient(to left,  #ffffff 100%, transparent 100%) top right,
    linear-gradient(to right, #ffffff 100%, transparent 100%) bottom left,
    linear-gradient(to left,  #ffffff 100%, transparent 100%) bottom right,
    /* Verticale lijnen */
    linear-gradient(to bottom, #ffffff 100%, transparent 100%) top left,
    linear-gradient(to top,    #ffffff 100%, transparent 100%) bottom left,
    linear-gradient(to bottom, #ffffff 100%, transparent 100%) top right,
    linear-gradient(to top,    #ffffff 100%, transparent 100%) bottom right !important;

  background-repeat: no-repeat !important;

  /* IN RUST: Minuscule pixel-stipjes van slechts 2.5px bij 2.5px */
  background-size: 
    2.5px 2.5px, 2.5px 2.5px, 
    2.5px 2.5px, 2.5px 2.5px, 
    2.5px 2.5px, 2.5px 2.5px, 
    2.5px 2.5px, 2.5px 2.5px !important;

  opacity: 0.55 !important;
  transition: 
    background-size 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.35s ease !important;
}

/* BIJ HOVER: Vloeit vanuit de stipjes uit naar een gesloten wit 1px lijntje */
.pin-card:hover::before,
.case-photo-frame:hover::before,
.trio-item:hover::before,
.quad-item:hover::before,
.work-item:hover::before,
.project-card:hover::before,
.work-card:hover::before,
.surface.recognition-frame:hover::before {
  opacity: 1 !important;
  /* Dikte versmalt naar 1px strakke lijnen die in het midden (51%) sluiten */
  background-size: 
    51% 1px, 51% 1px, 
    51% 1px, 51% 1px, 
    1px 51%, 1px 51%, 
    1px 51%, 1px 51% !important;
}

/* =========================================================
   2. HOEK-ANIMATIE FIX SPECIFIEK VOOR RECOGNITIONS
   ========================================================= */
.testimonial-card,
.recognitions-card,
.recognitions-grid > div,
.recognitions-cards-grid > div {
  position: relative !important;
  overflow: hidden !important;
}

.testimonial-card > *,
.recognitions-card > * {
  position: relative;
  z-index: 1;
}

.testimonial-card::before,
.recognitions-card::before,
.recognitions-grid > div::before,
.recognitions-cards-grid > div::before {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  z-index: 10 !important;
  box-sizing: border-box;

  background:
    linear-gradient(to right, var(--color-brand, #ff5500) 100%, transparent 100%) top left,
    linear-gradient(to left,  var(--color-brand, #ff5500) 100%, transparent 100%) top right,
    linear-gradient(to right, var(--color-brand, #ff5500) 100%, transparent 100%) bottom left,
    linear-gradient(to left,  var(--color-brand, #ff5500) 100%, transparent 100%) bottom right,
    linear-gradient(to bottom, var(--color-brand, #ff5500) 100%, transparent 100%) top left,
    linear-gradient(to top,    var(--color-brand, #ff5500) 100%, transparent 100%) bottom left,
    linear-gradient(to bottom, var(--color-brand, #ff5500) 100%, transparent 100%) top right,
    linear-gradient(to top,    var(--color-brand, #ff5500) 100%, transparent 100%) bottom right;

  background-repeat: no-repeat;
  background-size: 
    14px 1.5px, 14px 1.5px, 
    14px 1.5px, 14px 1.5px, 
    1.5px 14px, 1.5px 14px, 
    1.5px 14px, 1.5px 14px;

  opacity: 0.3;
  transition: background-size 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}

.testimonial-card:hover::before,
.recognitions-card:hover::before,
.recognitions-grid > div:hover::before,
.recognitions-cards-grid > div:hover::before {
  opacity: 1 !important;
  background-size: 
    51% 1.5px, 51% 1.5px, 
    51% 1.5px, 51% 1.5px, 
    1.5px 51%, 1.5px 51%, 
    1.5px 51%, 1.5px 51% !important;
}
/* =========================================================
   OIKEIOSE EDITORIAL PAGE SCATTER & RHYTHM
   ========================================================= */

/* 1. Gespiegelde lay-out (Foto's links, tekst rechts) */
@media (min-width: 960px) {
  .reverse-split {
    grid-template-columns: 1.3fr 1.1fr !important;
  }
}

/* 2. Drie langwerpige portretfoto's naast elkaar */
.case-trio-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem auto 6rem auto;
}

@media (min-width: 768px) {
  .case-trio-showcase {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trio-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trio-item img {
  width: 100%;
  aspect-ratio: 9/16; /* Strakke langwerpige hoogte */
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.trio-item:hover img {
  filter: grayscale(0%);
}

/* 3. Midden Video Showcase */
.case-mid-video-section {
  margin: 3rem auto 7rem auto;
}

.mid-video-wrapper {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.5rem;
  box-sizing: border-box;
}

.mid-video-element {
  width: 100%;
  max-height: 50vh;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
}

.mid-video-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.25rem 0 0.25rem;
  font-size: 0.72rem;
}

/* 4. Vier beelden 2x2 (even groot) */
.case-quad-grid-section {
  margin: 3rem auto 8rem auto;
}

.quad-grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .quad-grid-container {
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid */
    gap: 2.25rem;
  }
}

.quad-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quad-item img {
  width: 100%;
  aspect-ratio: 4/3; /* Exact identiek vierkant/breed formaat */
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.quad-item:hover img {
  filter: grayscale(0%);
}

/* =========================================================
   PROJECTPAGINA AFBEELDINGEN: STANDAARD KLEUR -> ZW BIJ HOVER
   ========================================================= */

/* Dekt alle mogelijke containers: trio, quad, split en losse projectfoto's */
.case-trio-showcase img,
.trio-item img,
.quad-item img,
.quad-grid-container img,
.case-quad-grid-section img,
.case-photo-frame img,
.project-media-grid img,
.case-media-item img {
  filter: grayscale(0%) !important;
  transition: filter 0.35s ease, border-color 0.25s ease;
}

/* Bij hover pas omzetten naar zwart-wit */
.case-trio-showcase img:hover,
.trio-item:hover img,
.quad-item:hover img,
.quad-grid-container img:hover,
.case-quad-grid-section img:hover,
.case-photo-frame:hover img,
.project-media-grid img:hover,
.case-media-item:hover img {
  filter: grayscale(100%) !important;
  border-color: var(--color-brand);
}

/* =========================================================
   VIDEO'S: ALTIJD 100% KLEUR (GEEN ZWART-WIT FILTER)
   ========================================================= */
video,
.featured-video-element,
.mid-video-element {
  filter: none !important;
  -webkit-filter: none !important;
}

/* =========================================================
   CASE STUDY TRIO SHOWCASE (Compacter & meer vierkant)
   ========================================================= */
.case-trio-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1100px; /* Houdt het totale trio compacter en gecentreerd */
  margin: 1.5rem auto 5.5rem auto;
}

@media (min-width: 768px) {
  .case-trio-showcase {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.trio-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trio-item img {
  width: 100%;
  aspect-ratio: 1 / 1; /* Maakt de beelden strak vierkant i.p.v. langwerpig */
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
  filter: grayscale(100%);
  transition: filter 0.3s ease, border-color 0.25s ease;
}

.trio-item:hover img {
  filter: grayscale(0%);
  border-color: var(--color-brand);
}

/* =========================================================
   DIGITAL BEAUTY: ONEINDIGE SCROLL MET RUST EN ASYMMETRIE
   ========================================================= */
body.digital-beauty-body {
  margin: 0;
  padding: 0;
  overflow: hidden; /* Scrollen verloopt via de interne viewport */
  background-color: var(--background, #f5f5f7);
}

/* Vaste Minimale Header (Bovenop het beeld) */
.infinite-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 2.5rem;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  font-size: 0.8rem;
  z-index: 100;
  pointer-events: auto;
  background: linear-gradient(180deg, var(--background, #f5f5f7) 65%, transparent 100%);
}

.ih-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ih-label {
  font-weight: 700;
  color: var(--foreground, #111111);
}

.ih-value, .ih-nav {
  color: var(--muted-foreground, #666666);
}

.ih-nav a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ih-nav a:hover {
  color: var(--color-brand, #ff5500);
}

/* Vaste Footer */
.infinite-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 2.5rem;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  z-index: 100;
  pointer-events: auto;
  background: linear-gradient(0deg, var(--background, #f5f5f7) 65%, transparent 100%);
}

.ih-back {
  color: var(--foreground, #111111);
  text-decoration: none;
  font-weight: 600;
}

.ih-back:hover {
  color: var(--color-brand, #ff5500);
}

.ih-scroll-hint {
  font-size: 0.75rem;
  color: var(--muted-foreground, #666666);
}

/* Viewport voor de oneindige scroll */
.infinite-scroll-viewport {
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  scrollbar-width: none; /* Geen storende scrollbalk */
}

.infinite-scroll-viewport::-webkit-scrollbar {
  display: none;
}

.infinite-track {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.infinite-set {
  width: 100%;
  position: relative;
}

/* De losse zwevende beelden */
.stream-item {
  position: relative;
  box-sizing: border-box;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.stream-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
}

.stream-item:hover {
  transform: scale(1.015);
}

/* =========================================================
   ASYMMETRISCHE POSITIES & ROYALE WITRUIMTES (VIEWPORT-SPACING)
   ========================================================= */
.pos-left-top {
  width: clamp(260px, 25vw, 360px);
  margin-left: 5vw;
  margin-top: 14vh;
  margin-bottom: 35vh; /* Grote leegte */
}

.pos-right-mid {
  width: clamp(540px, 32vw, 420px);
  margin-left: auto;
  margin-right: 8vw;
  margin-bottom: 45vh; /* Ruimte */
}

.pos-center-low {
  width: clamp(260px, 24vw, 340px);
  margin-left: 45vw;
  margin-bottom: 50vh;
}

.pos-left-mid {
  width: clamp(220px, 20vw, 300px);
  margin-left: 12vw;
  margin-bottom: 40vh;
}

.pos-right-tall {
  width: clamp(300px, 32vw, 440px);
  height: 75vh;
  margin-left: auto;
  margin-right: 5vw;
  margin-bottom: 60vh; /* Enorme ademruimte */
}

.pos-left-bottom {
  width: clamp(280px, 28vw, 380px);
  margin-left: 3vw;
  margin-bottom: 45vh;
}

.pos-right-small {
  width: clamp(180px, 16vw, 240px);
  margin-left: auto;
  margin-right: 18vw;
  margin-bottom: 55vh;
}

.pos-left-tall {
  width: clamp(280px, 26vw, 380px);
  height: 65vh;
  margin-left: 8vw;
  margin-bottom: 40vh;
}

.pos-center-top {
  width: clamp(520px, 22vw, 620px);
  margin-left: 38vw;
  margin-bottom: 60vh;
}

.pos-right-bottom {
  width: clamp(260px, 25vw, 360px);
  margin-left: auto;
  margin-right: 4vw;
  margin-bottom: 45vh;
}

.pos-left-small {
  width: clamp(300px, 18vw, 360px);
  margin-left: 15vw;
  margin-bottom: 50vh;
}

.pos-center-tall {
  width: clamp(280px, 27vw, 400px);
  height: 70vh;
  margin-left: 40vw;
  margin-bottom: 50vh;
}

/* Media in de infinite stream: zowel img als video vullen hun container */
.stream-item img,
.stream-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* Zorg dat de site-header vast bovenaan blijft zweven boven de scrollbare track */
.digital-beauty-body .site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* =========================================================
   DIGITAL BEAUTY: GEEN STIPPEN OP DE ACHTERGROND
   ========================================================= */
body.digital-beauty-body,
body.digital-beauty-body::before,
body.digital-beauty-body::after,
.digital-beauty-body .infinite-scroll-viewport {
  background-image: none !important;
  background-color: var(--background, #f5f5f7) !important;
}

/* =========================================================
   RECOGNITIONS: COMPLETE HERSTEL OPMAAK + HOEKANIMATIE
   ========================================================= */

/* 1. Volledig herstel van de originele kaart-look */
.surface.recognition-frame {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background-color: var(--card, #ffffff) !important;
  border: 1px solid var(--border) !important;
  padding: 2.25rem 2rem !important; /* Herstelt de binnenruimte */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* 2. Typografie binnen de kaart netjes positioneren */
.surface.recognition-frame h3 {
  color: #ffffff !important;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground, #111111);
  margin: 0 0 1.25rem 0;
}

.surface.recognition-frame p {
color: #ffffff !important;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted-foreground, #ffffff);
  margin: 0 0 2rem 0;
}

/* 3. Footer en avatar netjes horizontaal uitlijnen */
.surface.recognition-frame .testimonial-footer {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  margin-top: auto !important;
}

.surface.recognition-frame .testimonial-avatar-thumb {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 4px;
  overflow: hidden;
}

.surface.recognition-frame .testimonial-avatar-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.surface.recognition-frame .testimonial-author-info {
  display: flex !important;
  flex-direction: column !important;
}

.surface.recognition-frame .testimonial-author-info h4 {
  color: #ffffff !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
  color: var(--foreground, #111111) !important;
}

.surface.recognition-frame .testimonial-author-info span {
  color: #71717a !important;
  font-size: 0.68rem !important;
  color: var(--muted-foreground, #777777) !important;
  letter-spacing: 0.05em;
}

/* 4. De subtiele hoeklijntjes (overlay zonder de DOM te beïnvloeden) */
.surface.recognition-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  z-index: 10;
  box-sizing: border-box;

  background:
    linear-gradient(to right, var(--color-brand, #ff5500) 100%, transparent 100%) top left,
    linear-gradient(to left,  var(--color-brand, #ff5500) 100%, transparent 100%) top right,
    linear-gradient(to right, var(--color-brand, #ff5500) 100%, transparent 100%) bottom left,
    linear-gradient(to left,  var(--color-brand, #ff5500) 100%, transparent 100%) bottom right,
    linear-gradient(to bottom, var(--color-brand, #ff5500) 100%, transparent 100%) top left,
    linear-gradient(to top,    var(--color-brand, #ff5500) 100%, transparent 100%) bottom left,
    linear-gradient(to bottom, var(--color-brand, #ff5500) 100%, transparent 100%) top right,
    linear-gradient(to top,    var(--color-brand, #ff5500) 100%, transparent 100%) bottom right;

  background-repeat: no-repeat;
  background-size: 
    14px 1.5px, 14px 1.5px, 
    14px 1.5px, 14px 1.5px, 
    1.5px 14px, 1.5px 14px, 
    1.5px 14px, 1.5px 14px;

  opacity: 0.35;
  transition: background-size 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}

/* 5. Hover: Lijntjes sluiten rustig naar elkaar toe */
.surface.recognition-frame:hover::before {
  opacity: 1;
  background-size: 
    51% 1.5px, 51% 1.5px, 
    51% 1.5px, 51% 1.5px, 
    1.5px 51%, 1.5px 51%, 
    1.5px 51%, 1.5px 51%;
}

/* =========================================================
   RESPONSIVE DESIGN VOOR MOBIEL (MAX-WIDTH: 768PX)
   ========================================================= */
@media (max-width: 768px) {

  /* 1. Algemene containers & secties: maximale schermbreedte benutten */
  .container,
  .site-header-inner,
  .meta-bar,
  .visual-index-section,
  .recognitions-inner,
  .recognitions-content-inner,
  section {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
  }

  /* 2. Meta Header op mobiel: compacter en niet storend */
  .meta-bar-container {
    position: relative !important; /* Niet meer sticky zodat hij niet over je titels hangt */
  }

  .meta-bar {
    grid-template-columns: 1fr 1fr !important; /* 2x2 grid op mobiel */
    gap: 1.25rem 0.75rem !important;
    padding: 1.25rem 1rem !important;
  }

  .meta-resume-col {
    align-items: flex-start !important;
    text-align: left !important;
  }

  /* 3. Hero & Portret op mobiel */
  .hero-section {
    padding: 2.5rem 0 3.5rem 0 !important;
  }

  .hero-center {
    width: 100% !important;
  }

  #interactive-portrait,
  .portrait-card {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto 2rem auto !important;
  }

  .hero-title,
  #hero-title {
    font-size: clamp(2.4rem, 11vw, 3.8rem) !important;
    line-height: 1.05 !important;
    word-break: break-word;
    text-align: left !important;
  }

  /* 4. Selected Works / Projectkaarten: volle breedte, geen smalle slierten */
  .work-item,
  .project-card,
  .work-card,
  .case-item,
  .featured-work-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 2.5rem !important;
  }

  /* Zorg dat projecttitels en beschrijvingen royaal breed zijn */
  .work-item p,
  .project-card p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }

  /* 5. VISUAL INDEX: ALTIJD 2 KOLOMMEN NAAST ELKAAR */
  .artistic-visual-grid,
  .visual-index-grid {
    column-count: 2 !important;
    column-gap: 0.75rem !important; /* Compactere tussenruimte op mobiel */
    display: block !important;
    width: 100% !important;
  }

  .pin-card {
    margin-bottom: 0.75rem !important;
    width: 100% !important;
  }

  /* Schaal de vaste hoogtes van de kaarten omlaag voor mobiel */
  .pin-card.size-tall   { height: 260px !important; }
  .pin-card.size-medium { height: 210px !important; }
  .pin-card.size-square { height: 175px !important; }
  .pin-card.size-wide   { height: 140px !important; }

  /* Verberg de lege artistieke gaten op mobiel voor een strak raster */
  .pin-spacer {
    display: none !important;
  }

  /* 6. Recognitions: volle breedte, kaarten onder elkaar met natuurlijke hoogte */
  .recognitions-banner-full {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 3.5rem 0 !important;
  }

  .recognitions-cards-grid,
  .recognitions-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }

  .surface.recognition-frame {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.75rem 1.25rem !important; /* Prettige binnenruimte */
    box-sizing: border-box !important;
  }

  .surface.recognition-frame p {
    font-size: 0.9rem !important;
    margin-bottom: 1.5rem !important;
  }

  /* 7. Practice & Timeline op mobiel */
  .timeline-capabilities-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* =========================================================
   1. INTRO / STATEMENT VLAK: DEFINITIEF DARK MODE
   ========================================================= */
/* Pakt het witte vlak onder de hero aan */
.intro-section,
.statement-section,
.about-preview,
.manifesto-section,
section:has(p:contains("Exploring")),
div:has(> p:contains("Based in Breda")) {
  background-color: var(--card, #121215) !important;
  color: var(--foreground, #f4f4f5) !important;
  border-top: 1px solid var(--border, #27272a) !important;
  border-bottom: 1px solid var(--border, #27272a) !important;
}

/* Zorg dat de lichte/onzichtbare intro-tekst helder wit/lichtgrijs wordt */
.intro-section h2,
.intro-section p,
.statement-section h2,
.statement-section p,
.about-preview p {
  color: var(--foreground, #f4f4f5) !important;
}

.intro-section p.lead,
.statement-title {
  color: #ffffff !important;
}


/* =========================================================
   2. RECOGNITIONS & CONTAINERS: VOLLE BREEDTE OP MOBIEL
   ========================================================= */
@media (max-width: 768px) {

  /* Het intro-vlak vult netjes de hele breedte */
  .intro-section,
  .statement-section,
  .about-preview {
    width: 100% !important;
    max-width: 100% !important;
    padding: 3rem 1.25rem !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* RECOGNITIONS GRID BREAKDOWN:
     Breek alle 3-koloms desktop grids rigoureus af naar 100% breedte */
  .recognitions-section,
  .recognitions-wrapper,
  .recognitions-banner-full,
  .recognitions-cards-grid,
  .recognitions-grid,
  .testimonials-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important; /* Forceert 1 volle kolom */
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* DE KAART ZELF: BENUT DE VOLLEDIGE SCHERMBREEDTE */
  .surface.recognition-frame,
  .testimonial-card,
  .recognition-card {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1.5rem 0 !important;
    padding: 1.75rem 1.25rem !important; /* Ruime binnenkant, geen smalle sliert */
    box-sizing: border-box !important;
    height: auto !important; /* Hoogte past zich natuurlijk aan de tekst aan */
  }

  /* Tekst binnen de recognitions-kaart */
  .surface.recognition-frame p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
    word-break: normal !important; /* Voorkomt het afbreken per 2 woorden */
    white-space: normal !important;
  }

  /* Footer van de kaart */
  .surface.recognition-frame .testimonial-footer {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }

  .surface.recognition-frame .testimonial-avatar-thumb {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    flex-shrink: 0 !important;
  }
}

/* =========================================================
   1. INTRO STRIP SECTIE: PERMANENT DONKER
   ========================================================= */
.intro-strip-section,
.intro-strip-inner {
  background-color: var(--card, #121215) !important;
  background: var(--card, #121215) !important;
  color: var(--foreground, #f4f4f5) !important;

}

.intro-strip-section h2,
.intro-strip-section p {
  color: var(--foreground, #f4f4f5) !important;
}

.intro-strip-section h2 {
  color: #ffffff !important;
}

/* =========================================================
   2. MOBIEL: VOLLEDIGE SCHERMBREEDTE BENUTTEN (GEEN SMALLE ZUILEN)
   ========================================================= */
@media (max-width: 768px) {

  /* Visual Index Container: druk hem naar de volledige schermranden */
  .visual-index-section,
  .visual-index-section.container,
  .visual-index-container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important; /* Breekt uit eventuele parent containers */
    margin-right: calc(-50vw + 50%) !important;
    padding-left: 12px !important;  /* Slechts een minimale veilige schermmarge */
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }

  .visual-index-header {
    padding: 0 4px !important;
    margin-bottom: 1.5rem !important;
  }

  /* Het raster zelf: 2 kolommen die de volledige 100% breedte vullen */
  .artistic-visual-grid,
  .visual-index-grid {
    display: block !important;
    width: 100% !important;
    column-count: 2 !important;
    column-gap: 8px !important; /* Strakke tussenruimte tussen de 2 kolommen */
  }

  /* De kaarten: vullen de breedte van de kolom en hebben natuurlijke hoogte */
  .pin-card {
    width: 100% !important;
    margin-bottom: 8px !important;
    height: auto !important; /* Laat de natuurlijke aspect-ratio van de afbeelding spreken */
    aspect-ratio: auto;
  }

  /* Geen geforceerde hoge desktopformaten op mobiel */
  .pin-card.size-tall,
  .pin-card.size-medium,
  .pin-card.size-square,
  .pin-card.size-wide {
    height: auto !important;
    min-height: unset !important;
  }

  .pin-card img,
  .pin-card video {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
  }

  /* Verberg lege gaten op mobiel */
  .pin-spacer {
    display: none !important;
  }

  /* Intro Strip layout op mobiel: breder en netjes gestapeld */
  .intro-strip-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    padding: 3rem 1.25rem !important;
  }

  .intro-title-col h2 {
    font-size: 1.85rem !important;
    line-height: 1.15 !important;
  }

  .intro-content-col p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }
}

/* =========================================================
   VOLLEDIGE SCHERMBREEDTE VOOR DE HELE SITE OP MOBIEL
   (HERO, WORKS, RECOGNITIONS, INTRO & FOOTER)
   ========================================================= */
@media (max-width: 768px) {

  /* 1. Reset alle wrappers, mains en containers naar 100% breedte */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  main,
  section,
  article,
  .container,
  .site-container,
  .content-wrapper,
  .page-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 1rem !important;  /* 16px ademruimte aan de randen */
    padding-right: 1rem !important;
    box-sizing: border-box !important;
  }

  /* 2. Hero Sectie & Portret */
  .hero-section,
  #hero,
  .hero-center {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #interactive-portrait,
  .portrait-card {
    width: 100% !important;
    max-width: 100% !important; /* Vult netjes het midden zonder piepklein te worden */
    height: auto !important;
  }

  .hero-title,
  #hero-title {
    width: 100% !important;
    font-size: clamp(2.4rem, 11vw, 3.8rem) !important;
    line-height: 1.05 !important;
  }

  /* 3. Selected Works / Projectkaarten: Volledige breedte benutten */
  .works-section,
  .featured-works,
  .projects-section,
  .work-grid,
  .works-grid,
  .project-list {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
  }

  .work-item,
  .project-card,
  .work-card,
  .case-item,
  .featured-work-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 2rem !important;
    box-sizing: border-box !important;
  }

  /* Projectmedia vult de volle kaart */
  .work-item img,
  .work-item video,
  .project-card img,
  .project-card video {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }

  /* 4. Recognitions: Geen smalle kolom meer, maar 100% breed */
  .recognitions-section,
  .recognitions-wrapper,
  .recognitions-banner-full,
  .recognitions-cards-grid,
  .recognitions-grid,
  .testimonials-grid {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
  }

  .surface.recognition-frame,
  .testimonial-card,
  .recognition-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    margin: 0 0 1.25rem 0 !important;
    padding: 1.75rem 1.25rem !important;
    box-sizing: border-box !important;
  }

  /* 5. Timeline / Capabilities / About previews */
  .timeline-capabilities-grid,
  .about-grid,
  .capabilities-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 2rem !important;
  }
}

/* =========================================================
   3D MODEL VIEWER (VORM.GLB)
   ========================================================= */
.model-viewer-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
  background-color: var(--card, #121215);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

model-viewer.model-viewport {
  width: 100%;
  height: 100%;
  min-height: 340px;
  --poster-color: transparent;
  background-color: transparent;
  outline: none;
}

/* Op mobiel de hoogte evenredig houden */
@media (max-width: 768px) {
  .model-viewer-wrapper,
  model-viewer.model-viewport {
    min-height: 260px;
    height: 260px;
  }
}

.pin-card {
  pointer-events: auto !important;
  cursor: pointer;
}

.pin-card::before,
.pin-card::after {
  pointer-events: none !important;
}

.pin-card .card-face,
.pin-card video {
  pointer-events: none;
}

/* =========================================================
   FAQ / QUESTIONS I GET MOST OFTEN (COMPLEET MET ANIMATIE)
   ========================================================= */
.faq-section {
  width: 100%;
  background-color: var(--background, #09090b);
  border-top: 1px solid var(--border, #27272a);
  border-bottom: 1px solid var(--border, #27272a);
  padding: 6rem 0;
  box-sizing: border-box;
}

.faq-inner.container {
  display: grid;
  grid-template-columns: 1fr 1.6fr; /* Desktop: titel links, vragen rechts */
  gap: 4rem;
  align-items: start;
}

/* Linkerkolom: Header */
.faq-header-col {
  position: sticky;
  top: 6rem;
}

.faq-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  color: var(--muted-foreground, #a1a1aa);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.faq-tag-divider {
  width: 28px;
  height: 1px;
  background-color: var(--muted-foreground, #a1a1aa);
  opacity: 0.4;
}

.faq-main-title {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 0 0 1.5rem 0;
}

.faq-hint {
  font-size: 0.8rem;
  color: var(--muted-foreground, #71717a);
  letter-spacing: 0.04em;
  margin: 0;
}

/* Rechterkolom: Accordion Lijst */
.faq-list-col {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border, #27272a);
}

.faq-item {
  border-bottom: 1px solid var(--border, #27272a);
  transition: background-color 0.25s ease;
}

.faq-summary {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 0.5rem;
  cursor: pointer;
  list-style: none; /* Verwijdert standaard browser pijltje */
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-num {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted-foreground, #71717a);
  min-width: 42px;
}

.faq-question {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  flex-grow: 1;
  transition: color 0.2s ease;
}

.faq-item:hover .faq-question {
  color: #d4d4d8;
}

/* Ronde knop met vloeiende rotatie & kleurtransitie */
.faq-icon-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  border: 1px solid var(--border, #27272a);
  background-color: var(--card, #121215);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease,
              border-color 0.25s ease,
              color 0.25s ease;
}

.faq-icon-btn .icon-plus,
.faq-icon-btn .icon-close {
  display: block !important;
  position: absolute;
  line-height: 1;
  transition: transform 0.3s ease, opacity 0.25s ease;
}

.faq-icon-btn .icon-plus {
  font-size: 1.1rem;
  opacity: 1;
  transform: rotate(0deg);
}

.faq-icon-btn .icon-close {
  font-size: 1.15rem;
  opacity: 0;
  transform: rotate(-90deg);
}

/* Geopende toestand van de knop */
.faq-item[open] .faq-icon-btn {
  background-color: #ffffff;
  color: #09090b;
  border-color: #ffffff;
  transform: rotate(90deg);
}

.faq-item[open] .faq-icon-btn .icon-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.faq-item[open] .faq-icon-btn .icon-close {
  opacity: 1;
  transform: rotate(0deg);
}

/* Vloeiend uitklappen van het antwoord (CSS Grid transitie) */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
  opacity: 0;
  padding: 0 0.5rem 0 calc(42px + 1.5rem + 0.5rem);
  box-sizing: border-box;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding-bottom: 0;
  transition: padding-bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted-foreground, #a1a1aa);
  max-width: 650px;
}

.faq-item[open] .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-item[open] .faq-answer p {
  padding-bottom: 1.75rem;
}

/* =========================================================
   FAQ RESPONSIVE MOBIEL (VOLLE BREEDTE)
   ========================================================= */
@media (max-width: 768px) {
  .faq-section {
    padding: 4rem 0 !important;
  }

  .faq-inner.container {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .faq-header-col {
    position: static !important;
  }

  .faq-summary {
    gap: 0.75rem !important;
    padding: 1.25rem 0 !important;
  }

  .faq-num {
    min-width: 34px !important;
    font-size: 0.7rem !important;
  }

  .faq-question {
    font-size: 1rem !important;
    line-height: 1.35 !important;
  }

  .faq-icon-btn {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
  }

  .faq-answer {
    padding: 0 0 0 calc(34px + 0.75rem) !important;
  }

  .faq-item[open] .faq-answer p {
    padding-bottom: 1.25rem !important;
  }

  .faq-answer p {
    font-size: 0.88rem !important;
  }
}

/* =========================================================
   HOW I WORK SECTION (ARCHIVAL DARK THEME)
   ========================================================= */
.how-i-work-section {
  width: 100%;
  background-color: var(--background, #09090b);
  border-top: 1px solid var(--border, #27272a);
  border-bottom: 1px solid var(--border, #27272a);
  padding: 6rem 0;
  box-sizing: border-box;
}

.how-i-work-inner.container {
  display: grid;
  grid-template-columns: 1fr 1.8fr; /* Titel links, lijst rechts */
  gap: 4rem;
  align-items: start;
}

/* Linkerkolom */
.how-header-col {
  position: sticky;
  top: 6rem;
}

.how-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  color: var(--muted-foreground, #a1a1aa);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.how-tag-divider {
  width: 24px;
  height: 1px;
  background-color: var(--border, #27272a);
}

.how-main-title {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 0 0 1rem 0;
  line-height: 1.05;
}

.how-subtext {
  font-size: 0.8rem;
  color: var(--muted-foreground, #71717a);
  letter-spacing: 0.04em;
  margin: 0;
}

/* Rechterkolom: Items */
.how-list-col {
  display: flex;
  flex-direction: column;
}

.how-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border, #27272a);
}

.how-item:first-child {
  padding-top: 0;
}

.how-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.how-item-num {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--muted-foreground, #71717a);
  padding-top: 0.2rem;
  min-width: 32px;
}

.how-item-content {
  flex: 1;
}

.how-item-title {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem 0;
  line-height: 1.3;
}

.how-item-text {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted-foreground, #a1a1aa);
  margin: 0;
  max-width: 620px;
}

/* =========================================================
   HOW I WORK RESPONSIVE (MOBIEL: VOLLE BREEDTE)
   ========================================================= */
@media (max-width: 768px) {
  .how-i-work-section {
    padding: 4rem 0 !important;
  }

  .how-i-work-inner.container {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .how-header-col {
    position: static !important;
  }

  .how-item {
    gap: 1rem !important;
    padding: 1.75rem 0 !important;
  }

  .how-item-title {
    font-size: 1.05rem !important;
  }

  .how-item-text {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }
}

/* =========================================================
   METHODOLOGY / HOW IT RUNS (SCROLL PROGRESSION BAR)
   ========================================================= */
.method-section {
  width: 100%;
  background-color: var(--background, #09090b);
  border-top: 1px solid var(--border, #27272a);
  border-bottom: 1px solid var(--border, #27272a);
  padding: 5.5rem 0 6rem 0;
  box-sizing: border-box;
  position: relative;
}

.method-inner.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

/* Monospace Archival Tag */
.method-top-bar {
  margin-bottom: 2.75rem;
}

.method-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted-foreground, #a1a1aa);
  text-transform: uppercase;
}

.method-tag-bracket {
  color: #52525b;
}

.method-tag-title {
  color: #ffffff;
  font-weight: 600;
}

.method-tag-divider {
  color: #52525b;
}

/* =========================================================
   DE PROGRESSIEBALK EN BLOKJES
   ========================================================= */
.method-timeline-track {
  position: relative;
  width: 100%;
  height: 24px;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

/* Grijze achtergrondlijn */
.method-line-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background-color: var(--border, #27272a);
  transform: translateY(-50%);
  z-index: 1;
}

/* Witte gevulde progressiebalk die meescrolt */
.method-line-fill {
  position: absolute;
  left: 0;
  top: 50%;
  height: 1.5px;
  width: 0%;
  background-color: #ffffff;
  transform: translateY(-50%);
  z-index: 2;
  transition: width 0.08s linear;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* Grid met 5 ankerpunten voor de blokjes */
.method-nodes-container {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 3;
}

.method-node {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Exact uitgelijnd met de linkerkant van elke kolom */
}

/* Het technische vierkante blokje */
.method-node .node-square {
  width: 10px;
  height: 10px;
  border: 1px solid var(--border, #3f3f46);
  background-color: var(--background, #09090b);
  box-sizing: border-box;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

/* Zodra geactiveerd door scroll: volledig wit ingekleurd */
.method-node.active .node-square {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  transform: scale(1.15);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

/* =========================================================
   DE 5 HORIZONTALE KOLOMMEN
   ========================================================= */
.method-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.method-step {
  display: flex;
  flex-direction: column;
  opacity: 0.35;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Actieve stap licht helder op */
.method-step.active {
  opacity: 1;
}

.method-step-num {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted-foreground, #71717a);
  margin-bottom: 0.85rem;
}

.method-step.active .method-step-num {
  color: #ffffff;
}

.method-step-title {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: #ffffff;
  margin: 0 0 0.85rem 0;
}

.method-step-desc {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted-foreground, #a1a1aa);
  margin: 0;
}

/* =========================================================
   RESPONSIVE (TABLET & MOBIEL)
   ========================================================= */
@media (max-width: 1024px) {
  .method-steps-grid {
    grid-template-columns: repeat(5, minmax(220px, 1fr));
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none;
  }
  .method-steps-grid::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 768px) {
  .method-section {
    padding: 3.5rem 0 4rem 0 !important;
  }
  
  .method-inner.container {
    padding: 0 1rem !important;
  }

  /* Horizontaal scrollbaar op mobiel met behoud van de progress bar */
  .method-steps-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.25rem !important;
    padding-bottom: 1rem;
  }

  .method-step {
    min-width: 78vw !important;
    scroll-snap-align: start;
    opacity: 0.5;
  }

  .method-step.active {
    opacity: 1;
  }
}

/* =========================================================
   HERO: INTER VARIABLE FONT WEIGHT HOVER (ORIGINKIT EFFECT)
   ========================================================= */
@font-face {
  font-family: "InterVariableFramer";
  src: url("https://rsms.me/inter/font-files/InterVariable.woff2?v=4.0") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   HERO: DYNAMIC WEIGHT CURSOR PROXIMITY (ORIGINKIT)
   ========================================================= */
@font-face {
  font-family: "InterVariableFramer";
  src: url("https://rsms.me/inter/font-files/InterVariable.woff2?v=4.0") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.hero-proximity-title {
  font-family: "InterVariableFramer", "Inter Variable", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(3.2rem, 11.2vw, 11rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #ffffff;
  display: block;
  width: 100%;
  text-align: center;
  margin: 2.5rem auto 1.5rem auto;
  user-select: none;
  cursor: default;
  white-space: nowrap;
}

/* De individuele letters en spaties */
.hero-proximity-title .proximity-word {
  display: inline-block;
  white-space: nowrap;
}

.hero-proximity-title .proximity-letter {
  display: inline-block;
  font-variation-settings: 'wght' 400;
  will-change: font-variation-settings;
}

.hero-proximity-title .proximity-space {
  display: inline-block;
  width: 0.28em;
}

.hero-proximity-title .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Op mobiele schermen netjes laten schalen en wrappen */
@media (max-width: 768px) {
  .hero-proximity-title {
    font-size: clamp(2.5rem, 12.5vw, 4.4rem);
    white-space: normal;
    line-height: 1.05;
    margin-top: 1.75rem;
    padding: 0 0.5rem;
  }
}

/* =========================================================
   SELECTED WORKS: TYPE SEQUENCE (ORIGINKIT TYPOGRAPHY)
   ========================================================= */
.type-sequence-title {
  font-family: var(--font-sans, "Plus Jakarta Sans", "Inter", sans-serif);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  position: relative;
  margin: 0;
  cursor: pointer;
  user-select: none;
}

.type-sequence-title .type-text {
  display: inline-block;
  white-space: pre;
}

/* De karakteristieke oranje Originkit terminal cursor */
.type-sequence-title .type-cursor {
  display: inline-block;
  box-sizing: border-box;
  width: 8px;
  height: 0.85em; /* Schaal mee met de lettergrootte van de titel */
  margin-left: 0.12em;
  vertical-align: -0.05em;
  background-color: #ffffff;
  border: 1.5px solid #404040;
  border-radius: 2px;
  opacity: 1;
  transition: opacity 0.1s ease;
  will-change: opacity;
}

.type-sequence-title .type-cursor.blink-off {
  opacity: 0;
}

/* Screenreader toegankelijkheid */
.type-sequence-title .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   SELECTED WORKS: OMLIUNDE ARCHIVAL KADER OPSTELLING
   ========================================================= */
.works-section {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 6rem 2rem 8rem 2rem;
  box-sizing: border-box;
}

.works-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 3.5rem;
}

.works-main-title {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 0;
}

.works-tag {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted-foreground, #71717a);
  text-transform: uppercase;
}

/* Royale tussenruimte tussen de verschillende projecten */
.works-list {
  display: flex;
  flex-direction: column;
  gap: 7rem; /* Zorgt dat de werken nooit op elkaar gepropt staan */
}

/* =========================================================
   SELECTED WORKS: DYNAMIC EXPANDING CORNER FRAME HOVER
   ========================================================= */
.project-box {
  width: 100%;
  background-color: rgba(18, 18, 21, 0.4);
  /* Subtiele donkere basisrand in ruststand */
  border: 1px solid var(--border, #27272a);
  border-radius: 4px;
  padding: 2.75rem 2.5rem;
  box-sizing: border-box;
  position: relative;
  cursor: pointer;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.project-box:hover {
  background-color: rgba(24, 24, 28, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* 1. De hoeklijnen in ruststand (kleine technische archival hoekjes van 14px) */
.project-box .box-corner {
  position: absolute;
  pointer-events: none !important;
  z-index: 5;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              opacity 0.3s ease;
}

/* Top-Left */
.project-box .box-corner.tl {
  top: -1px;
  left: -1px;
  width: 14px;
  height: 14px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.6);
  border-left: 1.5px solid rgba(255, 255, 255, 0.6);
}

/* Top-Right */
.project-box .box-corner.tr {
  top: -1px;
  right: -1px;
  width: 14px;
  height: 14px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.6);
  border-right: 1.5px solid rgba(255, 255, 255, 0.6);
}

/* Bottom-Left */
.project-box .box-corner.bl {
  bottom: -1px;
  left: -1px;
  width: 14px;
  height: 14px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.6);
  border-left: 1.5px solid rgba(255, 255, 255, 0.6);
}

/* Bottom-Right */
.project-box .box-corner.br {
  bottom: -1px;
  right: -1px;
  width: 14px;
  height: 14px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.6);
  border-right: 1.5px solid rgba(255, 255, 255, 0.6);
}

/* 2. Bij HOVER: De hoeklijnen groeien vanuit alle 4 de hoeken naar elkaar toe en sluiten het kader */
.project-box:hover .box-corner {
  border-color: #ffffff; /* Fel wit oplichten */
  width: calc(50% + 2px); /* Groeit tot het midden van de breedte */
  height: calc(50% + 2px); /* Groeit tot het midden van de hoogte */
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.25)); /* Subtiele luminescentie */
}

/* Zorg dat interactieve elementen binnen de box goed doorklikbaar blijven */
.project-box .image-flipper,
.project-box .type-sequence-title {
  position: relative;
  z-index: 6;
}

/* Grid binnenin het kader: links beeld, rechts tekst */
.project-inner-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center; /* Mooi verticaal gecentreerd ten opzichte van elkaar */
}

/* Linkerkolom: Beeld */
.project-media-col {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #000000;
  overflow: hidden;
  border-radius: 2px;
}

.image-flipper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 12.5;
  display: block;
  cursor: pointer;
}

.image-flipper canvas.flipper-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Rechterkolom: Inhoud */
.project-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
}

.project-year {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--muted-foreground, #71717a);
}

.project-lead {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 1.05rem;
  line-height: 1.55;
  color: #ffffff;
  font-weight: 500;
  margin: 0 0 1.25rem 0;
}

.project-desc {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted-foreground, #a1a1aa);
  margin: 0 0 2.25rem 0;
}

/* Specificaties tabel met strakke haarfijne lijntjes */
.project-specs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.spec-k {
  color: var(--muted-foreground, #71717a);
}

.spec-v {
  color: #ffffff;
  text-align: right;
}

/* =========================================================
   RESPONSIVE (MOBIEL)
   ========================================================= */
@media (max-width: 900px) {
  .works-section {
    padding: 4rem 1rem !important;
  }

  .works-list {
    gap: 4rem !important;
  }

  .project-box {
    padding: 1.5rem !important; /* Compacter kader op telefoons */
  }

  .project-inner-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .project-lead {
    font-size: 0.95rem !important;
  }
}

/* =========================================================
   PROJECT CARD ALS KLIKBARE LINK
   ========================================================= */
a.project-card,
a.project-card-link {
  display: block;             /* Zorgt dat het kader zijn volledige breedte en grid behoudt */
  text-decoration: none;      /* Haalt blauwe/onderstreepte browser-stijlen weg */
  color: inherit;             /* Behoudt de originele witte en grijze tekstkleuren */
  cursor: pointer;
}

/* Voorkomt dat het canvas van de image-flipper de klik op de kaart onderschept */
.image-flipper canvas.flipper-canvas {
  pointer-events: none;
}

/* =========================================================
   HERO: LIQUID MASK CURSOR PORTRET (WEBGL)
   ========================================================= */
.hero-liquid-portrait {
  position: relative;
  width: clamp(200px, 24vw, 300px);
  aspect-ratio: 3 / 4; /* Verhouding van je originele portretfoto */
  margin: 1rem auto 1.5rem auto;
  overflow: hidden;
  background-color: #000000;
  border: 1px solid var(--border, #27272a);
  border-radius: 2px;
  cursor: crosshair;
  touch-action: none;
  box-sizing: border-box;
}

.hero-liquid-portrait canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Op mobiel formaat schalen */
@media (max-width: 768px) {
  .hero-liquid-portrait {
    width: clamp(220px, 60vw, 290px);
    margin: 0.5rem auto 1.25rem auto;
  }
}

/* =========================================================
   CUSTOM CURSOR (ORIGINEEL & DIRECT WERKENDE VERSIE)
   ========================================================= */
@media (hover: hover) and (pointer: fine) {
  html, body, a, button, [role="button"], canvas {
    cursor: none !important;
  }

  .cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffffff !important;
    mix-blend-mode: difference;
    pointer-events: none !important;
    z-index: 999999999;
    transform: translate3d(-50%, -50%, 0);
    will-change: transform;
    opacity: 1 !important;
    transition: width 0.15s ease, height 0.15s ease, scale 0.12s ease-out;
  }


}
/* =========================================================
   FLOATING GALLERY: ABSOLUUT & VEILIG UITGELIJND
   ========================================================= */
.floating-gallery-section {
  position: relative;
  width: 100%;
  padding: 4rem 0;
  box-sizing: border-box;
}

.floating-gallery-root {
  position: relative;
  width: 100%;
  height: 850px;
  background: #09090b;
  border-top: 1px solid var(--border, #27272a);
  border-bottom: 1px solid var(--border, #27272a);
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.floating-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 250px;
  background-color: #121215;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  will-change: transform;
  transform-origin: center center;
  overflow: hidden;
  /* Standaard buiten beeld verbergen totdat JS de exacte x/y berekend heeft */
  visibility: hidden;
}

.floating-card.is-ready {
  visibility: visible;
}

.floating-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.floating-card .card-corner-dot {
  position: absolute;
  width: 3px;
  height: 3px;
  background-color: #ffffff;
  pointer-events: none;
  opacity: 0.8;
  z-index: 2;
}
.floating-card .card-corner-dot.tl { top: 4px; left: 4px; }
.floating-card .card-corner-dot.br { bottom: 4px; right: 4px; }

.floating-card.is-zoomed {
  border-color: #ffffff !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.95);
  z-index: 9999 !important;
}

.floating-gallery-root.has-zoomed .floating-card:not(.is-zoomed) {
  opacity: 0.2;
  filter: blur(3px);
  pointer-events: none;
}

@media screen and (max-width: 1568px) {

  /* Zorg dat de sectie zelf netjes 100% breed is en nergens horizontaal weglekt */
  .floating-gallery-section {
    width: 120% !important;
    max-width: 200vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* De header ('Archive' & 'CLICK TO EXPAND') houdt wel een nette leesbare marge */
  .floating-gallery-header {
    padding-left: 1.25rem !important;
    padding-right: .25rem !important;
    box-sizing: border-box !important;
  }

#floatingGalleryRoot {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.floating-card {
  position: absolute;
  top: 0;
  left: 0;
}

  /* Zorg dat de individuele vallende kaarten/video's binnen de breedte passen */
  #floatingGalleryRoot > * {
    max-width: 40vw !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* =========================================================
   PAGE TRANSITION CURTAIN (MET FAILSAFE HERSTEL)
   ========================================================= */
.page-transition-curtain {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #09090b;
  z-index: 99999999;
  pointer-events: none;
  transform: translateY(-100%); /* Standaard ALTIJD uit beeld */
  will-change: transform;
}

/* Subtiel laseraccent op de rand */
.page-transition-curtain::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff 50%, transparent);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

/* 1. BINNENKOMEN: Gordijn begint dekkend en schuift direct open */
body.page-entering .page-transition-curtain {
  transform: translateY(0%);
  animation: curtainExitTop 0.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* 2. VERLATEN: Gordijn trekt dicht bij klik op een link */
body.is-transitioning .page-transition-curtain {
  pointer-events: all;
  animation: curtainSlideUp 0.45s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes curtainSlideUp {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0%); }
}

@keyframes curtainExitTop {
  0% { transform: translateY(0%); }
  100% { transform: translateY(-100%); }
}
/* =========================================================
   ABOUT EDITORIAL (NAHIYAN-STIJL ASYMMETRIE)
   ========================================================= */

.about-editorial-wrap {
  width: 100%;
  min-height: 100vh;
  padding: 6.5rem 4rem 12rem 4rem;
  background-color: #09090b;
  color: #ededed;
  box-sizing: border-box;
}

.about-editorial-inner {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
}

/* Titel */
.about-title-compact {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 2.85rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0 0 5.5rem 0;
  text-transform: none !important;
}

.editorial-copy p{
  font-family: var(--font-sans, "Plus Jakarta Sans", "Inter", sans-serif);
  font-size: 1.15rem;
}
/* Typografie: standaard monospace font, geen capslock */
.editorial-divider,
.editorial-copy,
.specs-block,
.spec-label,
.spec-detail,
.now-playing-tag {
  font-family: var(--font-mono, "Geist Mono", "JetBrains Mono", monospace) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}



.about-col-left {
  width: 100%;
  max-width: 380px; /* Was 340px */
}

/* 2. Subtiel grotere header-tag */
.editorial-divider {
  font-size: 0.78rem; /* Was 0.72rem */
  color: #71717a;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.6rem;
}

/* 3. De alinea's zelf groter en prettiger leesbaar */
.editorial-copy p {
  font-size: 0.9rem; /* Was 0.74rem — comfortabeler op desktop */
  line-height: 1.65;
  color: #fff;
  margin-bottom: 1.4rem;
}

/* RIJ 1: HOW I WORK LINKS + FOTO RECHTS */
.about-row-hero {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 6rem;
  align-items: start;
  margin-bottom: 5.5rem;
}


.about-col-right {
  width: 100%;
}

.main-hero-box {
  width: 100%;
  aspect-ratio: 9 / 11;
  border-radius: 0%;
}

/* RIJ 2: WHAT I DO & OUTSIDE OF WORK (LINKS VAN DE HOOFDFOTO-AS) */
.about-row-middle {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 6rem;
  margin-bottom: 6rem;
}

/* Deze container staat in kolom 1 en lijnt rechts uit (tegen de linkerkant van de fotokolom) */
.about-col-middle-text {
  max-width: 440px;
  margin-left: auto; /* Drijft helemaal naar de middenas toe */
  width: 100%;
}

.editorial-text-group {
  margin-bottom: 3.5rem;
}

.specs-block {
  margin-bottom: 1.25rem;
}

.spec-label {
  font-size: 0.69rem;
  color: #71717a;
  margin-bottom: 0.25rem;
}

.spec-detail {
  font-size: 0.74rem;
  color: #d4d4d8;
  line-height: 1.55;
}

/* RIJ 3: DUAL MEDIA (HARDWARE LINKS + SPOTIFY RECHTS OVER DE VOLLE BREEDTE) */
.about-dual-media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  width: 100%;
}

.about-dual-media-row .media-box {
  aspect-ratio: 16 / 11;
}

/* RIJ 4: PANORAMAFOTO ONDERAAN */
.about-wide-media-row .wide-box {
  width: 100%;
  aspect-ratio: 21 / 10;
}

/* Media Cards algemeen */
.media-box {
  position: relative;
  overflow: hidden;
  background-color: #121215;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.media-asset {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Beide boxen vullen exact die 352px */
.about-aligned-column .about-dual-media-row .media-box {
  height: 352px;
  aspect-ratio: auto !important; /* Overschrijft alle eerdere conflicterende aspect-ratio's */
}
/* Spotify Widget Styling */
.music-widget-box {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.music-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.85rem;
  background: #0d0d10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  height: 34px;
  box-sizing: border-box;
}

.now-playing-tag {
  font-size: 0.62rem;
  color: #e4e4e7;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.green-indicator {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #1DB954;
  box-shadow: 0 0 6px #1DB954;
}

.mini-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 9px;
}

.mini-equalizer span {
  width: 1.5px;
  background-color: #1DB954;
  border-radius: 1px;
  animation: miniEq 1.2s ease-in-out infinite alternate;
}

.mini-equalizer span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.mini-equalizer span:nth-child(2) { height: 95%; animation-delay: 0.3s; }
.mini-equalizer span:nth-child(3) { height: 60%; animation-delay: 0.15s; }
.mini-equalizer span:nth-child(4) { height: 35%; animation-delay: 0.4s; }

@keyframes miniEq {
  0% { height: 20%; }
  100% { height: 100%; }
}

.spotify-container {
  flex: 1;
  width: 100%;
  height: calc(100% - 34px);
  background: #121215;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.spotify-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Responsive fallback */
@media (max-width: 980px) {
  .about-editorial-wrap {
    padding: 5rem 1.5rem 8rem 1.5rem;
  }
  .about-row-hero,
  .about-row-middle {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .about-col-middle-text {
    margin-left: 0;
    max-width: 100%;
  }
  .about-dual-media-row {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   SPOTIFY NOW PLAYING CARD
   ========================================================= */
.music-widget-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #121215;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.music-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.85rem;
  background: #0d0d10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.now-playing-tag {
  font-size: 0.62rem;
  color: #e4e4e7;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono, "Geist Mono", "JetBrains Mono", monospace);
}

.green-indicator {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #1DB954;
  box-shadow: 0 0 6px #1DB954;
}

.mini-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 9px;
}

.mini-equalizer span {
  width: 1.5px;
  background-color: #1DB954;
  border-radius: 1px;
  animation: miniEq 1.2s ease-in-out infinite alternate;
}

.mini-equalizer span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.mini-equalizer span:nth-child(2) { height: 95%; animation-delay: 0.3s; }
.mini-equalizer span:nth-child(3) { height: 60%; animation-delay: 0.15s; }
.mini-equalizer span:nth-child(4) { height: 35%; animation-delay: 0.4s; }

@media screen and (max-width: 768px) {
  /* Laat de Spotify embed het volledige kaartje opvullen */
  iframe[src*="spotify.com"] {
    width: 100% !important;
    height: 100% !important;
    min-height: 360px !important;
    display: block !important;
  }
}

@keyframes miniEq {
  0% { height: 20%; }
  100% { height: 100%; }
}

/* Vult de volledige resterende hoogte van de kaart op */
.spotify-container {
  flex: 1;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  margin: 0;
  padding: 0;
}

.spotify-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =========================================================
   ABOUT EDITORIAL (UITLIJNING OP DE RODE AS)
   ========================================================= */

/* Rij 2: De uitgelijnde kolom die op dezelfde as start */
.about-row-aligned {
  display: grid;
  grid-template-columns: 1fr 480px; /* Zelfde verhouding als de hoofdfoto */
  gap: 6rem;
  margin-bottom: 6rem;
}

/* Deze container start op de rode lijn en strekt uit over de volle breedte */
.about-aligned-column {
  grid-column: 1 / -1; /* Neemt de ruimte vanaf de middenas tot de rechterrand */
  margin-left: calc(100% - 480px - 6rem - 440px); /* Berekent exact de start van 'outside of work' */
  width: auto;
}

/* Zorg dat de tekstblokken compact blijven binnen de kolom */
.about-aligned-column .editorial-text-group {
  max-width: 440px;
  margin-bottom: 3.5rem;
}

/* Dual media rij start exact op de rode lijn */
.about-aligned-column .about-dual-media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 980px; /* Houdt de kaders elegant en compact */
}

/* De fotokaart links behoudt zijn mooie verhouding */
.about-aligned-column .about-dual-media-row .media-box:not(.music-widget-box) {
  aspect-ratio: 16 / 11;
  height: 100%;
}

/* De Spotify box: hef de starre aspect-ratio op en laat hem strak aansluiten */
.about-aligned-column .about-dual-media-row .music-widget-box {
  aspect-ratio: auto; /* Geen geforceerde verhouding die loze ruimte maakt */
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}

/* Zorg dat de iframe 100% van de binnenkant vult zonder marges */
.about-aligned-column .about-dual-media-row .music-widget-box .spotify-container {
  flex: 1;
  display: flex;
  width: 100%;
  height: 100%;
}

.about-aligned-column .about-dual-media-row .music-widget-box .spotify-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Panoramafoto onderaan */
.about-aligned-column .wide-box {
  width: 100%;
  max-width: 980px;
  aspect-ratio: 21 / 10;
}

/* =========================================================
   ORBITAL PARTICLE LOADER
   ========================================================= */
.orbit-loader {
  --uib-size: 42px;
  --uib-color: #ffffff; /* Wit accent voor de darkmode achtergrond */
  --uib-speed: 1.75s;
  position: relative;
  height: var(--uib-size);
  width: var(--uib-size);
  animation: orbitRotate calc(var(--uib-speed) * 4) linear infinite;
  pointer-events: none;
}

@keyframes orbitRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.orbit-loader .particle {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.orbit-loader .particle:nth-child(1)  { --uib-delay: 0;    transform: rotate(8deg); }
.orbit-loader .particle:nth-child(2)  { --uib-delay: -0.4; transform: rotate(360deg); }
.orbit-loader .particle:nth-child(3)  { --uib-delay: -0.9; transform: rotate(72deg); }
.orbit-loader .particle:nth-child(4)  { --uib-delay: -0.5; transform: rotate(90deg); }
.orbit-loader .particle:nth-child(5)  { --uib-delay: -0.3; transform: rotate(144deg); }
.orbit-loader .particle:nth-child(6)  { --uib-delay: -0.2; transform: rotate(180deg); }
.orbit-loader .particle:nth-child(7)  { --uib-delay: -0.6; transform: rotate(216deg); }
.orbit-loader .particle:nth-child(8)  { --uib-delay: -0.7; transform: rotate(252deg); }
.orbit-loader .particle:nth-child(9)  { --uib-delay: -0.1; transform: rotate(300deg); }
.orbit-loader .particle:nth-child(10) { --uib-delay: -0.8; transform: rotate(324deg); }
.orbit-loader .particle:nth-child(11) { --uib-delay: -1.2; transform: rotate(335deg); }
.orbit-loader .particle:nth-child(12) { --uib-delay: -0.5; transform: rotate(290deg); }
.orbit-loader .particle:nth-child(13) { --uib-delay: -0.2; transform: rotate(240deg); }

.orbit-loader .particle::before {
  content: '';
  position: absolute;
  height: 17.5%;
  width: 17.5%;
  border-radius: 50%;
  background-color: var(--uib-color);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  --uib-d: calc(var(--uib-delay) * var(--uib-speed));
  animation: orbitKeyframe var(--uib-speed) linear var(--uib-d) infinite;
}

@keyframes orbitKeyframe {
  0%   { transform: translate(calc(var(--uib-size) * 0.5)) scale(0.73684); opacity: 0.65; }
  5%   { transform: translate(calc(var(--uib-size) * 0.4)) scale(0.684208); opacity: 0.58; }
  10%  { transform: translate(calc(var(--uib-size) * 0.3)) scale(0.631576); opacity: 0.51; }
  15%  { transform: translate(calc(var(--uib-size) * 0.2)) scale(0.578944); opacity: 0.44; }
  20%  { transform: translate(calc(var(--uib-size) * 0.1)) scale(0.526312); opacity: 0.37; }
  25%  { transform: translate(0%) scale(0.47368); opacity: 0.3; }
  30%  { transform: translate(calc(var(--uib-size) * -0.1)) scale(0.526312); opacity: 0.37; }
  35%  { transform: translate(calc(var(--uib-size) * -0.2)) scale(0.578944); opacity: 0.44; }
  40%  { transform: translate(calc(var(--uib-size) * -0.3)) scale(0.631576); opacity: 0.51; }
  45%  { transform: translate(calc(var(--uib-size) * -0.4)) scale(0.684208); opacity: 0.58; }
  50%  { transform: translate(calc(var(--uib-size) * -0.5)) scale(0.73684); opacity: 0.65; }
  55%  { transform: translate(calc(var(--uib-size) * -0.4)) scale(0.789472); opacity: 0.72; }
  60%  { transform: translate(calc(var(--uib-size) * -0.3)) scale(0.842104); opacity: 0.79; }
  65%  { transform: translate(calc(var(--uib-size) * -0.2)) scale(0.894736); opacity: 0.86; }
  70%  { transform: translate(calc(var(--uib-size) * -0.1)) scale(0.947368); opacity: 0.93; }
  75%  { transform: translate(0%) scale(1); opacity: 1; }
  80%  { transform: translate(calc(var(--uib-size) * 0.1)) scale(0.947368); opacity: 0.93; }
  85%  { transform: translate(calc(var(--uib-size) * 0.2)) scale(0.894736); opacity: 0.86; }
  90%  { transform: translate(calc(var(--uib-size) * 0.3)) scale(0.842104); opacity: 0.79; }
  95%  { transform: translate(calc(var(--uib-size) * 0.4)) scale(0.789472); opacity: 0.72; }
  100% { transform: translate(calc(var(--uib-size) * 0.5)) scale(0.73684); opacity: 0.65; }
}

/* Centrering binnen de pagina-overgang */
.page-transition-curtain {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Centrering in de Spotify container tijdens het inladen */
.spotify-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spotify-container .orbit-loader {
  position: absolute;
  z-index: 1;
}

.spotify-container iframe {
  position: relative;
  z-index: 2;
  transition: opacity 0.3s ease;
}

/* =========================================================
   KAATENCO PROJECT GRID & 4-AFBEELDINGEN LAYOUT
   ========================================================= */

.project-content-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  margin-top: 5rem;
  margin-bottom: 6rem;
  align-items: start;
}

.project-text-col {
  display: flex;
  flex-direction: column;
}

.project-subtitle {
  font-family: var(--font-sans);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--foreground, #ffffff);
  margin: 0 0 1.25rem 0;
  line-height: 1.2;
}

.project-text-col p {
  color: var(--muted-foreground, #a1a1aa);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* Bullet list passend bij jouw screenshot */
.project-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.project-bullet-list li {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--foreground, #ededed);
  position: relative;
  padding-left: 1.25rem;
}

.project-bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--foreground, #ffffff);
}

/* 2x2 Afbeeldingen Grid */
.project-gallery-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
}

.project-gallery-grid-2x2 .media-box {
  aspect-ratio: 4 / 5; /* Zelfde verhouding als de foto's op je screenshot */
  border-radius: 0;   /* Hoekig conform de rest van de site */
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #121215;
  overflow: hidden;
  position: relative;
}

.project-gallery-grid-2x2 .media-asset {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Behoudt je bestaande site-brede hover effect */
.project-gallery-grid-2x2 .media-box:hover .media-asset {
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .project-content-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* =========================================================
   MOBILE RESPONSIVE FIXES (TELEFOONS TOT 768px)
   ========================================================= */
@media (max-width: 768px) {
  
  /* 1. Basis containers naar de volledige breedte met comfortabele randen */
  body {
    overflow-x: hidden;
  }

  .container,
  .about-editorial-wrap,
  .about-editorial-inner,
  .practice-container,
  .case-extension-inner,
  .footer-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    box-sizing: border-box !important;
  }

  /* 2. Hero & About rijen: alles strak naar 1 kolom over volle breedte */
  .about-row-hero,
  .about-row-aligned,
  .about-aligned-column {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    gap: 2.5rem !important;
  }

  .about-col-left,
  .about-col-right,
  .main-hero-box,
  .about-aligned-column .editorial-text-group {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 3. Dual media & Spotify op mobiel: netjes onder elkaar */
  .about-aligned-column .about-dual-media-row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    gap: 1.5rem !important;
  }

  .about-aligned-column .about-dual-media-row .media-box {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 11 !important;
  }

  .about-aligned-column .about-dual-media-row .music-widget-box {
    aspect-ratio: auto !important;
    height: 380px !important; /* Geeft Spotify voldoende hoogte op mobiel */
  }

  /* 4. Practice & Timeline (screenshot 4 & 5): volledige breedte */
  .practice-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }

  .timeline-card,
  .practice-sidebar,
  .capabilities-box {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.5rem 1.25rem !important;
    box-sizing: border-box !important;
  }

  /* Tijdlijnregels breken netjes af op mobiel */
  .timeline-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
  }

  /* 5. Recognitions & Quotes (screenshot 2) */
  .recognitions-grid,
  .recognition-frame,
  .quote-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* 6. Archive galerij (screenshot 3) */
  .archive-gallery,
  .archive-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; /* 2 compacte kolommen ipv over elkaar gepropt */
    gap: 0.75rem !important;
    width: 100% !important;
  }

  /* 7. Contact / Footer sectie (screenshot 6) */
  .contact-card {
    padding: 1.75rem 1.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .contact-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    width: 100% !important;
  }

  .contact-heading {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
  }

  .btn-row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }

  .btn-row .btn {
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .contact-links-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* =========================================================
   NAVIGATIEBAR MOBIEL FIX: VOORKOM DAT DE PAGINA 4X UITZOOMT
   ========================================================= */
@media screen and (max-width: 768px) {
  
  /* 1. Header mag nooit breder zijn dan het scherm */
  .meta-bar-container,
  .meta-bar {
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 0.75rem 1rem !important;
    overflow-x: hidden !important;
  }

  /* 2. Breek de header-kolommen netjes af op mobiel */
  .meta-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
  }

  /* 3. Schakel de custom cursor uit op touchscreens (kan scrollen blokkeren) */
  .cursor {
    display: none !important;
  }

  /* =========================================================
     1. FIX: GESTABILISEERDE TITEL (GEEN SHIFTING MEER)
     ========================================================= */
/* --- 1. STABILISEER TITEL IN SELECTED WORKS --- */
  .pin-card h3,
  .work-item h3,
  .project-card h3,
  .project-title {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    min-height: auto !important;
    animation: none !important;
    transform: none !important;
  }

/* Schakel het knipperende type-streepje / cursor uit op mobiel */
  .typing-cursor,
  .pin-card h3::after,
  .project-card h3::after {
    display: none !important;
  }


/* --- 2. ARCHIVE VALLENDE BEELDEN VOLLEDIG RAND-TOT-RAND --- */
  /* Doorbreekt de container-padding zodat de stage 100% viewport breed is */
  .archive-section,
  .archive-stage,
  .archive-container,
  #archive {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* Zorg dat de canvas of het element waar de beelden in vallen de volle breedte gebruikt */
  .archive-stage canvas,
  .archive-canvas,
  .archive-viewport {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }

  /* Titels en instructie ('CLICK TO EXPAND & PLAY') netjes met veilige marge */
  .archive-section h2,
  .archive-section .mono,
  .archive-header {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}

  /* Laat de vallende kaarten optimaal de breedte benutten */
  .archive-card,
  .archive-item,
  .pin-card {
    max-width: 85vw !important;          /* Voorkomt dat individuele beelden buiten beeld vallen */
  }

/* =========================================================
   FUNCTIONELE 4-KOLOMS FOOTER STYLING
   ========================================================= */
.site-footer {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #0b0b0c;
  color: #f3f3f3;
  font-family: 'Plus Jakarta Sans', sans-serif;
  padding: 5rem 0 2.5rem 0;
  margin-top: 6rem;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.9fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer-heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 1.4rem 0;
}

.footer-bio {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  max-width: 290px;
  margin: 0 0 1.75rem 0;
}

/* Ronde icon buttons linksonder kolom 1 */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-icon-btn:hover {
  background: #ffffff;
  color: #0b0b0c;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Contact gegevens */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-highlight {
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-contact-highlight:hover {
  opacity: 0.75;
}

.footer-location {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 0.4rem;
}

/* Links & Recent Work lijsten */
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-link {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Onderste scheidingslijn + Copyright + Back-to-top knop */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.48);
  margin: 0;
}

.footer-scroll-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: #0b0b0c;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
  flex-shrink: 0;
}

.footer-scroll-top:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}
/* Responsive weergave voor tablet en telefoon */
@media screen and (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media screen and (max-width: 600px) {
  .site-footer {
    padding: 3.5rem 0 2rem 0;
  }

  .footer-container {
    padding: 0 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-bottom: 2.5rem;
  }
}