#stage-master-labs {
  --stage-ink: var(--foreground, #1b1b1b);
  --stage-paper: var(--heroBg, #faf9f7);
  --stage-accent: var(--heroAccent, #fc4926);
  --stage-line: var(--heroLine, rgba(27, 27, 27, .18));
  position: relative;
  overflow: hidden;
  background: var(--stage-paper);
  color: var(--stage-ink);
  font-family: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  scroll-margin-top: 104px;
}

#stage-master-labs *,
#stage-master-labs *::before,
#stage-master-labs *::after { box-sizing: border-box; }

.stage-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: clamp(78px, 8vw, 124px) clamp(24px, 3.65vw, 56px);
  border-top: 1px solid var(--stage-line);
}

.stage-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  align-items: end;
  gap: clamp(32px, 6vw, 100px);
}

.stage-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  color: var(--stage-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.stage-eyebrow::before {
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}

.stage-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.65rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.stage-heading h2 em {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.065em;
}

.stage-intro {
  max-width: 480px;
  margin: 0 0 7px;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
}

.stage-intro strong { font-weight: 750; }

.stage-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(24px, 4vw, 62px);
  margin: clamp(42px, 5vw, 70px) 0 clamp(48px, 6vw, 85px);
  padding: 24px 0;
  border-top: 1px solid var(--stage-line);
  border-bottom: 1px solid var(--stage-line);
}

.stage-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.stage-stat strong {
  position: relative;
  display: inline-block;
  font-variant-numeric: tabular-nums;
  color: var(--stage-accent);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1;
}

.stage-stat .stage-count-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.stage-stat strong > span { font: inherit; }

.stage-stat span { font-size: 14px; font-weight: 650; }

.stage-content {
  display: flex;
  align-items: flex-start;
  gap: clamp(48px, 7vw, 112px);
}

.stage-work { flex: 1 1 46%; min-width: 0; }

.stage-work-item {
  display: block;
  padding: 22px 0 23px;
  border-top: 1px solid var(--stage-line);
}

.stage-work-item:last-child { border-bottom: 1px solid var(--stage-line); }
.stage-work-number { display: none; }
.stage-work-item > div { width: 100%; }
.stage-work-item h3 { margin: 0 0 10px; font-size: clamp(21px, 1.55vw, 25px); font-weight: 750; letter-spacing: -.025em; }
.stage-work-item p { max-width: 480px; margin: 0; color: rgba(27, 27, 27, .76); font-size: clamp(16px, 1.15vw, 18px); line-height: 1.55; }
.stage-work-item p strong { color: var(--stage-ink); font-weight: 750; }
.stage-work-item .stage-impact { margin-top: 13px; color: var(--stage-ink); font-size: clamp(15px, 1.05vw, 16px); }
.stage-impact-label { display: block; margin-bottom: 4px; color: var(--stage-accent); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.stage-impact-text { color: var(--stage-ink); font-style: italic; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

.stage-gallery { flex: 1 1 54%; min-width: 0; margin: 0; }
.stage-gallery-topline { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 14px; color: rgba(27, 27, 27, .58); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.stage-compare { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.stage-compare-label { font-size: 13px; font-weight: 650; }
.stage-compare-options { display: flex; border: 1px solid var(--stage-line); padding: 3px; gap: 3px; }
.stage-compare-button { min-width: 60px; min-height: 40px; padding: 8px 15px; border: 0; border-radius: 0; background: transparent; color: var(--stage-ink); font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; transition: background 180ms ease, color 180ms ease; }
.stage-compare-button:hover { background: rgba(252, 73, 38, .1); }
.stage-compare-button[aria-pressed="true"] { background: var(--stage-accent); color: var(--stage-ink); }
.stage-compare-button:focus-visible { outline: 2px solid var(--stage-ink); outline-offset: 3px; }
.stage-gallery-window { overflow: hidden; background: #fff; border: 1px solid var(--stage-line); box-shadow: 16px 16px 0 rgba(252, 73, 38, .085); }
.stage-gallery-chrome { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid rgba(27, 27, 27, .1); }
.stage-gallery-chrome span { width: 6px; height: 6px; border-radius: 50%; background: #d8d6d2; }
.stage-gallery-chrome span:first-child { background: var(--stage-accent); }
.stage-gallery-viewport { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #f5f3f0; }
.stage-gallery-image { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 260ms ease; }
.stage-gallery-image.is-current { opacity: 1; }
.stage-gallery-image--website { transform: scale(1.65); }
.stage-gallery-image--content { transform: scale(1.16); }
.stage-gallery-image--campaign { transform: scale(1.14); }
.stage-gallery-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; padding: 12px 16px; }
.stage-gallery-caption { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.3; }
.stage-gallery-controls { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.stage-gallery-button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; color: var(--stage-ink); background: transparent; border: 1px solid var(--stage-line); border-radius: 50%; font: inherit; font-size: 18px; line-height: 1; cursor: pointer; transition: color 180ms ease, background 180ms ease; }
.stage-gallery-button:hover { color: white; background: var(--stage-accent); border-color: var(--stage-accent); }
.stage-gallery-button:focus-visible { outline: 2px solid var(--stage-accent); outline-offset: 3px; }
.stage-gallery-count { min-width: 44px; color: rgba(27, 27, 27, .6); font-size: 11px; font-weight: 800; text-align: center; letter-spacing: .08em; }

@keyframes stage-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.stage-reveal { animation: stage-enter 560ms cubic-bezier(.22, 1, .36, 1) both; }
.stage-stats.stage-reveal { animation-delay: 70ms; }
.stage-work-item.stage-reveal { animation-delay: 100ms; }
.stage-work-item:nth-child(2).stage-reveal { animation-delay: 150ms; }
.stage-work-item:nth-child(3).stage-reveal { animation-delay: 200ms; }
.stage-work-item:nth-child(4).stage-reveal { animation-delay: 250ms; }
.stage-gallery.stage-reveal { animation-delay: 120ms; }

@media (max-width: 950px) {
  .stage-heading { grid-template-columns: 1fr; }
  .stage-heading { gap: 22px; }
  .stage-content { flex-direction: column; gap: 45px; }
  .stage-work, .stage-gallery { width: 100%; flex: none; }
  .stage-intro { max-width: 620px; }
  .stage-work { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
  .stage-work-item:nth-last-child(2) { border-bottom: 1px solid var(--stage-line); }
}

@media (max-width: 640px) {
  .stage-inner { padding: 65px 20px 78px; }
  .stage-eyebrow { margin-bottom: 19px; font-size: 10px; letter-spacing: .15em; }
  .stage-heading h2 { font-size: clamp(39px, 11vw, 54px); }
  .stage-intro { font-size: 16px; }
  .stage-stats { gap: 20px 25px; margin: 39px 0 42px; padding: 20px 0; }
  .stage-stat { gap: 7px; }
  .stage-stat strong { font-size: 30px; }
  .stage-stat span { font-size: 12px; }
  .stage-work { display: block; }
  .stage-work-item:nth-last-child(2) { border-bottom: 0; }
  .stage-work-item { padding: 18px 0 19px; }
  .stage-work-item p { font-size: 16px; }
  .stage-work-item .stage-impact { font-size: 15px; }
  .stage-gallery-window { box-shadow: 9px 9px 0 rgba(252, 73, 38, .085); }
  .stage-gallery-caption { font-size: 12px; }
  .stage-gallery-topline { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .stage-gallery-image, .stage-gallery-button, .stage-compare-button { transition: none; }
  .stage-reveal { animation: none; }
}

/* Compacte stagecase: tekst links, werkvoorbeelden en cijfers rechts. */
.stage-inner { padding-block: clamp(32px, 4vh, 56px); }
.stage-heading { display: block; }
.stage-heading h2 { font-size: clamp(38px, 3.7vw, 56px); }
.stage-eyebrow { margin-bottom: 14px; gap: 10px; }
.stage-eyebrow::before { display: none; }
.stage-brand-mark { display: block; width: 30px; height: 30px; object-fit: contain; flex: none; }
.stage-intro { max-width: 660px; margin: 20px 0 0; font-size: 16px; line-height: 1.5; }
.stage-work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.stage-work-item { padding: 19px 0; }
.stage-work-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--stage-line); }
.stage-work-item h3 { display: flex; align-items: center; gap: 9px; font-size: clamp(17px, 1.4vw, 21px); margin-bottom: 8px; }
.stage-work-icon { display: block; flex: 0 0 20px; width: 20px; height: 20px; color: var(--stage-accent); }
.stage-work-item p { font-size: 15px; line-height: 1.5; }
.stage-work-item .stage-impact { margin-top: 14px; font-size: 14px; }
.stage-gallery { align-self: center; }
.stage-gallery-topline { margin-bottom: 14px; }
.stage-compare { margin-bottom: 18px; }
.stage-gallery-window { box-shadow: 0 0 0 transparent; transition: translate 200ms cubic-bezier(.2,.8,.2,1), box-shadow 200ms ease; }
.stage-gallery-chrome { height: 26px; }
.stage-gallery-open { display: block; width: 100%; padding: 0; border: 0; text-align: inherit; cursor: zoom-in; color: var(--stage-ink); font: inherit; }
.stage-gallery-open:focus-visible { outline: 3px solid var(--stage-accent); outline-offset: -3px; }
.stage-gallery-open .stage-gallery-image { transition: opacity 260ms ease; }
.stage-gallery-expand { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 8px 12px; background: var(--stage-paper); color: var(--stage-ink); font-size: 12px; font-weight: 700; box-shadow: 0 2px 12px #00000014; transition: background 180ms ease; }
@media (hover: hover) {
  .stage-gallery-window:has(.stage-gallery-open:hover) { translate: 0 -2px; box-shadow: 4px 5px 0 var(--stage-accent); }
  .stage-gallery-open:hover .stage-gallery-expand { background: var(--stage-accent); }
}
.stage-gallery-footer { min-height: 52px; padding: 10px 12px; }
.stage-gallery-caption { font-size: 12px; }
.stage-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0 0; padding: 22px 0; }
.stage-stat { flex-direction: column; align-items: flex-start; gap: 7px; }
.stage-stat strong { font-size: clamp(28px, 2.6vw, 38px); }
.stage-stat > span { font-size: 12px; }
@media (min-width: 1024px) {
  .stage-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-areas: "heading gallery" "work gallery"; column-gap: clamp(32px, 4.2vw, 64px); row-gap: 32px; }
  .stage-heading { grid-area: heading; }
  .stage-content { display: contents; }
  .stage-work { grid-area: work; }
  .stage-gallery { grid-area: gallery; }
}
@media (max-width: 1023px) {
  .stage-content { display: flex; flex-direction: column; gap: 28px; margin-top: 24px; }
  .stage-work, .stage-gallery { width: 100%; flex: none; }
  .stage-gallery { max-width: 680px; }
}
@media (max-width: 600px) {
  .stage-inner { padding: 40px 20px; }
  .stage-heading h2 { font-size: clamp(36px, 10vw, 48px); }
  .stage-work { grid-template-columns: 1fr; }
  .stage-work-item:nth-last-child(2) { border-bottom: 0; }
  .stage-work-item p { font-size: 16px; }
  .stage-work-item .stage-impact { font-size: 15px; }
  .stage-stat > span { font-size: 11px; }
  .stage-stats { gap: 8px; }
}

/* De native dialog houdt toetsenbordfocus binnen de geopende galerij. */
.stage-lightbox { box-sizing: border-box; position: fixed; inset: 0; width: min(1120px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 40px); margin: auto; padding: 24px; border: 1px solid #d7d3ce; background: #faf9f7; color: #1b1b1b; font-family: "Satoshi", Arial, sans-serif; overflow: auto; overscroll-behavior: contain; }
.stage-lightbox::backdrop { background: rgb(15 15 15 / .78); backdrop-filter: blur(5px); }
.stage-lightbox-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.stage-lightbox-header h2 { margin: 0; font-size: clamp(17px, 2vw, 23px); font-weight: 750; }
.stage-lightbox button { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid #bfbab3; background: transparent; color: #1b1b1b; font: inherit; font-size: 23px; cursor: pointer; }
.stage-lightbox button:hover { background: #fc4926; border-color: #fc4926; }
.stage-lightbox .stage-lightbox-close { font-size: 30px; }
.stage-lightbox-image { display: block; width: 100%; height: min(60dvh, 610px); object-fit: contain; background: #f0eeeb; }
.stage-lightbox-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 16px 0; }
.stage-lightbox-caption { margin: 0; font-size: 15px; font-weight: 650; }
.stage-lightbox-controls { display: flex; align-items: center; gap: 12px; flex: none; }
.stage-lightbox-count { min-width: 42px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.stage-portfolio-download { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 14px 20px; background: #fc4926; color: #1b1b1b; font-size: 14px; font-weight: 750; text-decoration: none; }
.stage-portfolio-download:hover { background: #ff6141; }
.stage-gallery > .stage-portfolio-download { display: flex; margin-top: 20px; border-radius: 6px; }
.stage-portfolio-download:focus-visible { outline: 3px solid #1b1b1b; outline-offset: 4px; }
.stage-lightbox :is(button, a):focus-visible { outline: 2px solid #1b1b1b; outline-offset: 3px; }
@media (max-width: 600px) {
  .stage-lightbox { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); padding: 14px; }
  .stage-lightbox-image { height: 48dvh; }
  .stage-lightbox-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stage-portfolio-download { width: 100%; box-sizing: border-box; gap: 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .stage-gallery-open .stage-gallery-image, .stage-gallery-expand, .stage-gallery-window { transition: none; }
  .stage-gallery-window:has(.stage-gallery-open:hover) { translate: none; }
}
