/* ============== EXTRA / SPEELSE ELEMENTEN ============== */

/* -------- Marquee strip (onder hero) -------- */
.marquee {
  background: var(--vdbs-leisteen);
  color: var(--vdbs-off-white);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(232, 220, 196, 0.12);
  border-bottom: 1px solid rgba(232, 220, 196, 0.12);
}
.marquee__track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 40s linear infinite;
  align-items: center;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 64px;
  font-family: var(--font-serif-accent);
  font-style: italic;
  font-size: 32px;
  letter-spacing: -0.01em;
  color: var(--vdbs-creme);
  white-space: nowrap;
  text-transform: none;
}
.marquee__item .accent {
  font-family: var(--font-serif-accent);
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 32px;
  color: var(--vdbs-creme);
  margin: 0;
}
.marquee__dot {
  width: 6px; height: 6px;
  background: var(--vdbs-creme);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* -------- Numbers / counter strip -------- */
.numbers {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--vdbs-line-light);
  margin-top: 120px;
  max-width: var(--container-max);
  margin-left: auto; margin-right: auto;
}
@media (max-width: 900px) { .numbers { grid-template-columns: 1fr 1fr; } }
.number {
  padding: 48px 24px 0;
  border-right: 1px solid var(--vdbs-line-light);
  position: relative;
}
.number:first-child { padding-left: 0; }
.number:last-child { border-right: 0; padding-right: 0; }
@media (max-width: 900px) {
  .number:nth-child(2n) { border-right: 0; }
  .number:nth-child(-n+2) { border-bottom: 1px solid var(--vdbs-line-light); padding-bottom: 32px; }
  .number { padding-left: 0 !important; padding-right: 0 !important; padding-top: 32px; }
}
.number__value {
  font-weight: 200; font-size: clamp(48px, 6vw, 88px);
  line-height: 1; letter-spacing: -0.03em;
  color: var(--vdbs-leisteen);
  font-feature-settings: 'tnum';
  display: flex; align-items: baseline; gap: 6px;
}
.number__value-suffix {
  font-family: var(--font-serif-accent);
  font-style: italic; font-weight: 400;
  font-size: 0.42em;
  color: #8A6F3E;
  letter-spacing: 0;
}
.number__label {
  margin-top: 18px;
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--vdbs-grijs);
}
.number__sub {
  margin-top: 8px;
  font-size: 14px; color: var(--vdbs-leisteen);
  max-width: 24ch;
  line-height: 1.5;
}

/* -------- Image gallery (asymmetric mozaïek) -------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}
.gallery__item image-slot,
.gallery__item .gallery__img {
  display: block;
  width: 100%; height: 100%;
  position: absolute; inset: 0;
}
.gallery__img {
  background-size: cover; background-position: center;
  transition: transform 1200ms var(--ease-out), filter 600ms var(--ease-out);
  filter: saturate(0.92);
}
.gallery__item:hover .gallery__img { transform: scale(1.05); filter: saturate(1.0); }

/* sizes */
.gallery__item--tall   { grid-column: span 5; aspect-ratio: 4/5; }
.gallery__item--wide   { grid-column: span 7; aspect-ratio: 16/11; }
.gallery__item--square { grid-column: span 4; aspect-ratio: 1/1; }
.gallery__item--row    { grid-column: span 8; aspect-ratio: 16/9; }
.gallery__item--small  { grid-column: span 4; aspect-ratio: 4/5; }
.gallery__item--full   { grid-column: span 12; aspect-ratio: 21/9; }

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .gallery__item--tall, .gallery__item--wide, .gallery__item--square,
  .gallery__item--row, .gallery__item--small { grid-column: span 6; aspect-ratio: 4/3; }
  .gallery__item--full { grid-column: span 6; aspect-ratio: 16/10; }
}

.gallery__caption {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  z-index: 2;
  display: flex; align-items: end; justify-content: space-between;
  gap: 16px;
  color: var(--vdbs-off-white);
  pointer-events: none;
  opacity: 0; transform: translateY(6px);
  transition: opacity 350ms var(--ease-out), transform 350ms var(--ease-out);
}
.gallery__item:hover .gallery__caption { opacity: 1; transform: translateY(0); }
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(21,25,31,0.55) 100%);
  opacity: 0;
  transition: opacity 350ms var(--ease-out);
  pointer-events: none;
}
.gallery__item:hover::after { opacity: 1; }
.gallery__caption-title {
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
}
.gallery__caption-meta {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.2em; opacity: 0.8;
}

/* Logo — mark only, scales up larger since no wordmark */
.nav__brand-logo {
  height: 140px;
  width: auto;
  display: block;
  margin: -22px 0;
  transition: height 280ms cubic-bezier(0.4, 0, 0.2, 1), margin 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.is-scrolled .nav__brand-logo,
.nav--scrolled .nav__brand-logo {
  height: 108px;
  margin: -20px 0;
}
@media (max-width: 720px) {
  .nav__brand-logo { height: 96px; margin: -12px 0; }
  .nav.is-scrolled .nav__brand-logo,
  .nav--scrolled .nav__brand-logo { height: 80px; margin: -6px 0; }
}

/* Footer logo — mark only */
.footer__brand-logo {
  display: block;
  width: 180px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: -20px 0 4px -20px;
  opacity: 0.95;
}

/* Steps v2 — process timeline with rail */
.steps-v2 {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 64px;
  padding-top: 56px;
}
.steps-v2__rail {
  position: absolute;
  top: 84px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(248, 244, 236, 0.12);
}
.steps-v2__rail-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, #C9A961 0%, #E8DCC4 100%);
  transition: width 1400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.steps-v2.is-visible .steps-v2__rail-fill { width: 100%; }
.step-v2 {
  position: relative;
  padding-right: 24px;
}
.step-v2__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.step-v2__num {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: #C9A961;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.step-v2__dot {
  position: absolute;
  top: 28px;
  left: 80px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #C9A961;
  box-shadow: 0 0 0 4px #2B3640, 0 0 0 5px rgba(201, 169, 97, 0.3);
  transform: scale(0);
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.steps-v2.is-visible .step-v2:nth-child(2) .step-v2__dot { transition-delay: 200ms; transform: scale(1); }
.steps-v2.is-visible .step-v2:nth-child(3) .step-v2__dot { transition-delay: 500ms; transform: scale(1); }
.steps-v2.is-visible .step-v2:nth-child(4) .step-v2__dot { transition-delay: 800ms; transform: scale(1); }
.steps-v2.is-visible .step-v2:nth-child(5) .step-v2__dot { transition-delay: 1100ms; transform: scale(1); }
.step-v2__phase {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 244, 236, 0.55);
  margin-left: auto;
}
.step-v2__title {
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1.15;
  color: #F8F4EC;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step-v2__body {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(248, 244, 236, 0.7);
  margin-bottom: 20px;
}
.step-v2__meta {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(201, 169, 97, 0.7);
  padding-top: 12px;
  border-top: 1px solid rgba(248, 244, 236, 0.08);
}
@media (max-width: 900px) {
  .steps-v2 { grid-template-columns: 1fr; gap: 48px; }
  .steps-v2__rail { display: none; }
  .step-v2__dot { display: none; }
}

/* Image-slot styling (placeholder when empty) */
image-slot {
  --is-bg: linear-gradient(160deg, #3A4651 0%, #2B3640 100%);
  --is-fg: rgba(248, 244, 236, 0.45);
  --is-border: transparent;
  background: linear-gradient(160deg, #3A4651 0%, #2B3640 100%);
}
.gallery__item, .sticky-pair__img, .hero-thumbs__item, .project__media {
  background: linear-gradient(160deg, #3A4651 0%, #2B3640 100%);
}

/* -------- Sticky-scroll: tekst sticky, beelden scrollen -------- */
.sticky-pair {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  max-width: var(--container-max);
  margin: 0 auto;
}
@media (max-width: 900px) { .sticky-pair { grid-template-columns: 1fr; gap: 48px; } }
.sticky-pair__text {
  position: sticky; top: 120px;
  align-self: start;
  padding-top: 12px;
}
@media (max-width: 900px) { .sticky-pair__text { position: relative; top: 0; } }
.sticky-pair__images {
  display: flex; flex-direction: column;
  gap: 24px;
}
.sticky-pair__img {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: linear-gradient(160deg, #3A4651 0%, #2B3640 100%);
}
.sticky-pair__img:nth-child(2) { aspect-ratio: 16/11; margin-left: 14%; }
.sticky-pair__img:nth-child(3) { aspect-ratio: 4/5; margin-right: 8%; }
@media (max-width: 900px) {
  .sticky-pair__img,
  .sticky-pair__img:nth-child(2),
  .sticky-pair__img:nth-child(3) { margin: 0; aspect-ratio: 4/3; }
}
.sticky-pair__img image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.sticky-pair__caption {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(248, 244, 236, 0.6);
  font-family: ui-monospace, monospace;
}

/* -------- Tilt op project cards -------- */
.project {
  transition: transform 400ms var(--ease-out);
  transform-style: preserve-3d;
  perspective: 1200px;
}
.project__media-tilt {
  transform-style: preserve-3d;
  transition: transform 600ms var(--ease-out);
}

/* -------- Reveal mask op beelden (clip-path entrance) -------- */
.image-reveal {
  position: relative;
  overflow: hidden;
}
.image-reveal::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--vdbs-leisteen);
  z-index: 5;
  transform: translateY(0);
  transition: transform 1200ms var(--ease-out);
}
.image-reveal.in::before {
  transform: translateY(-101%);
}

/* -------- Floating accent shapes -------- */
.float-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}
.float-shape--circle {
  width: 320px; height: 320px;
  border: 1px solid var(--vdbs-line-light);
  border-radius: 50%;
}
.section--dark .float-shape--circle { border-color: rgba(232, 220, 196, 0.10); }

/* -------- Hover linkrijen -------- */
.link-row {
  display: flex; align-items: center; gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--vdbs-line-light);
  position: relative;
  cursor: pointer;
  transition: padding 300ms var(--ease-out);
  text-decoration: none; color: inherit; border-bottom: 1px solid var(--vdbs-line-light);
}
.link-row:hover { padding-left: 18px; }
.link-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 0; background: var(--vdbs-creme);
  transition: width 350ms var(--ease-out);
  z-index: -1;
}
.link-row:hover::before { width: 100%; }

/* -------- Subtiele puls op CTA buttons -------- */
.btn--primary::after {
  display: none;
}

/* -------- Hero beelden ticker (3 thumbnails) -------- */
.hero-thumbs {
  position: absolute;
  right: var(--container-pad-d);
  bottom: 96px;
  z-index: 2;
  display: flex; gap: 14px;
  align-items: end;
  opacity: 0; transform: translateY(20px);
  animation: rise 800ms var(--ease-out) 1700ms forwards;
}
.hero-thumbs__item {
  width: 100px; height: 130px;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(160deg, #3A4651 0%, #2B3640 100%);
  position: relative;
  border: 1px solid rgba(232, 220, 196, 0.18);
  transition: transform 400ms var(--ease-out);
}
.hero-thumbs__item:hover { transform: translateY(-4px); }
.hero-thumbs__item:nth-child(1) { transform: rotate(-1.5deg); }
.hero-thumbs__item:nth-child(2) { transform: translateY(-10px) rotate(0.5deg); }
.hero-thumbs__item:nth-child(3) { transform: rotate(1deg); }
.hero-thumbs__item:hover { transform: translateY(-8px) rotate(0); }
.hero-thumbs__label {
  position: absolute; left: 8px; bottom: 6px; right: 8px;
  font-size: 8px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(248, 244, 236, 0.7);
  font-family: ui-monospace, monospace;
}
@media (max-width: 900px) { .hero-thumbs { display: none; } }

/* -------- Animated section divider -------- */
.divider-rule {
  display: block;
  height: 1px;
  background: var(--vdbs-line-light);
  width: 100%;
  position: relative;
  overflow: hidden;
}
.divider-rule::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 30%; background: var(--vdbs-creme);
  transform: translateX(-100%);
  transition: transform 1600ms var(--ease-out);
}
.divider-rule.in::after { transform: translateX(400%); }

/* -------- Project card extra polish -------- */
.project__media {
  background: linear-gradient(160deg, #3A4651 0%, #2B3640 100%);
}
.project__media image-slot {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.project__media image-slot::part(img) {
  transition: transform 900ms var(--ease-out);
}
.project:hover .project__media image-slot::part(img) { transform: scale(1.06); }

/* -------- Magnetic accent words -------- */
.accent {
  background: linear-gradient(105deg, currentColor 0%, currentColor 40%, #8A6F3E 50%, currentColor 60%, currentColor 100%);
  background-size: 200% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-position 1200ms var(--ease-out);
}
.section--dark .accent {
  background: linear-gradient(105deg, var(--vdbs-creme) 0%, var(--vdbs-creme) 40%, #FFF6E2 50%, var(--vdbs-creme) 60%, var(--vdbs-creme) 100%);
  background-size: 200% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text;
  background-clip: text;
}
.accent.in,
.in .accent {
  background-position: 0% 50%;
}
