/* The four-layer stack (Tim, 2026-10-21): bigger layer labels, longer hold. The Samenwerking hero and home section 01 load this file */
/* ---------- hero panel animation: shared ---------- */
/* fixed column widths: a chip that changes its text must not move the agent column */
/* separate borders belong to the cells, so a row line fades and moves with its row */
.screen table {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}
.screen th:nth-child(2) {
  width: var(--status-col, 128px);
}
html[lang="en"] .screen {
  --status-col: 126px;
}
/* the KPI value rolls inside its own line box */
.screen-kpi b {
  position: relative;
  overflow: hidden;
  height: 1.35em;
}
.screen-kpi b .n {
  display: inline-block;
  will-change: transform;
}
.screen-kpi b .n-in {
  position: absolute;
  left: 0;
  top: 0;
}
.chip {
  will-change: transform;
}
/* the running dot breathes: the clock writes --pulse */
.chip-run::before {
  transform: scale(var(--pulse, 1));
  opacity: calc(0.55 + 0.45 * var(--pulse, 1));
}

/* the stack lives in the hero media box: same size as the static panel, so no layout shift */
.stack-host {
  perspective: 1800px;
  perspective-origin: 50% 45%;
  margin: 0;
}
/* while it tilts, the stack reaches up to ~27 px past a 390 px screen; the hero clips it, so the page never scrolls sideways (home: #lagen in home-hero.css) */
.page-hero:has(.stack-host) {
  overflow-x: clip;
}
.c-scene {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.screen {
  will-change: transform, opacity;
}
.c-slab {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.c-top {
  position: absolute;
  inset: 0;
  border-radius: var(--r-m);
  background: var(--surface);
  border: 1px solid var(--hair-strong);
}
.c-side {
  position: absolute;
  overflow: hidden;
}
.c-front {
  left: 0;
  right: 0;
  top: 100%;
  height: 44px;
  transform-origin: top;
  transform: rotateX(-90deg);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 0 0 4px 4px;
}
.c-front span {
  font-weight: 600;
  opacity: 0.7;
}
.c-left {
  top: 0;
  bottom: 0;
  right: 100%;
  width: 44px;
  transform-origin: right;
  transform: rotateY(-90deg);
  border-radius: 4px 0 0 4px;
}
/* foundation first: the Brein is the darkest layer, the panel on top carries the magenta */
.c-slab-1 .c-top {
  background: var(--tint-violet);
  background-image:
    linear-gradient(var(--tint-violet-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--tint-violet-line) 1px, transparent 1px);
  background-size: 20px 20px;
}
.c-slab-1 .c-side {
  background: var(--violet-deep);
  color: #fff;
}
.c-slab-2 .c-side {
  background: var(--violet);
  color: #fff;
}
.c-slab-3 .c-side {
  background: var(--violet-bright);
  color: var(--on-accent);
}
.c-slab-4 .c-side {
  background: var(--accent);
  color: var(--on-accent);
}
.c-slab .c-left {
  filter: brightness(0.8);
}
.c-sheen {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.75) 50%,
    transparent 70%
  );
  will-change: transform, opacity;
}
.screen-check {
  position: relative;
}
.screen-check .a-ring {
  position: absolute;
  inset: -1px;
  border-radius: var(--r-s);
  box-shadow: 0 0 0 2px var(--accent);
  opacity: 0;
  pointer-events: none;
}
