/* Page group "about" (v3, 2026-10-21): over-ons, kennis and the three kennis posts.
   Only these fragments load this file. Colours come only from the :root tokens in site.css.
   Class prefix ab- keeps these rules apart from the other page groups. */

/* A coded step SVG outside a step card: hero media or the visual of a section */
.ab-viz {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-1);
  padding: var(--s-6);
  display: grid;
  place-items: center;
}
.ab-viz svg {
  width: 100%;
  max-width: 440px;
  height: auto;
}
.page-hero .ab-viz {
  align-self: center;
}

/* Text beside a visual. The text column holds the label, the H2, at most two short paragraphs */
.ab-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-8);
  align-items: center;
}
.ab-split-top {
  align-items: start;
}
.ab-split-top > .ab-viz {
  position: sticky;
  top: calc(var(--nav-h) + var(--s-6));
}
.ab-text h2 {
  max-width: 20ch;
}
.ab-text > p {
  color: var(--text-2);
  font-size: var(--fs-lead);
  line-height: 1.55;
  margin-top: var(--s-4);
  max-width: 52ch;
}
.ab-text > p.src {
  font-size: var(--fs-xs);
  margin-top: var(--s-4);
}
.ab-text > .more {
  margin-top: var(--s-4);
}
.ab-text > .check-list {
  margin-top: var(--s-5);
}

/* Illustration as the visual of a section (3D clay on light; no frame, no blend mode) */
.ab-ill {
  margin: 0;
}
.ab-ill img {
  display: block;
  width: 100%;
  height: auto;
}
.ab-ill figcaption {
  margin-top: var(--s-3);
  text-align: center;
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--violet);
}

/* Career path: four stops on one line; vertical on a phone */
.ab-path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-5);
  position: relative;
}
.ab-path::before {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 8px;
  height: 2px;
  background: var(--tint-violet-line);
}
.ab-path li {
  position: relative;
  padding-top: var(--s-6);
}
.ab-path li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--violet);
}
.ab-path li.is-now::before {
  background: var(--accent);
  border-color: var(--accent);
}
.ab-path .label {
  display: block;
  margin-bottom: var(--s-2);
}
.ab-path b {
  display: block;
  font-size: var(--fs-h3);
  line-height: 1.3;
  color: var(--ink);
}
.ab-path li > span:last-child {
  display: block;
  margin-top: var(--s-1);
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--text-2);
}

/* Founder letter beside a fact card */
.ab-founder {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: var(--s-8);
  margin-top: var(--s-8);
  align-items: start;
}
.ab-letter p {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 56ch;
}
.ab-letter p + p {
  margin-top: var(--s-4);
}
.ab-letter .ab-sign {
  font-weight: 600;
  color: var(--ink);
}
.ab-founder .src {
  margin-top: var(--s-4);
}
/* the "who is at the table" diagram sits under the fact card since the founder portrait took the hero (D95) */
.ab-founder .ab-viz {
  margin-top: var(--s-6);
}

/* Article cards with the illustration on top (kennis index, "verder lezen") */
.ab-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.ab-posts-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ab-post {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  color: inherit;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.ab-post:hover {
  border-color: var(--hair-strong);
  transform: translateY(-2px);
}
.ab-post img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--canvas);
  border-bottom: 1px solid var(--hair);
}
.ab-post-body {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-5);
  flex: 1;
}
.ab-post .tags {
  margin-bottom: 0;
}
.ab-post h3 {
  font-size: var(--fs-h3-lg);
  line-height: 1.25;
  transition: color 0.15s;
}
.ab-post:hover h3 {
  color: var(--violet);
}
.ab-post p {
  color: var(--text-2);
  font-size: var(--fs-small);
  line-height: 1.55;
}
/* Two cards in a row ("verder lezen"): image left, text right, so the cards stay short */
.ab-posts-2 .ab-post {
  flex-direction: row;
}
.ab-posts-2 .ab-post img {
  width: 42%;
  flex: 0 0 42%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-bottom: 0;
  border-right: 1px solid var(--hair);
}
.ab-post-meta {
  margin-top: auto;
  padding-top: var(--s-3);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-2) var(--s-3);
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* Numbered steps beside the ladder diagram (guide "Waar begin je") */
.ab-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-6);
  counter-reset: ab-step;
}
.ab-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: var(--s-4);
  counter-increment: ab-step;
}
.ab-steps li::before {
  content: counter(ab-step);
  grid-row: 1 / span 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--violet);
  color: var(--surface);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: var(--fs-small);
}
.ab-steps h3 {
  font-size: var(--fs-h3-lg);
  line-height: 1.3;
  padding-top: 2px;
}
.ab-steps p {
  color: var(--text-2);
  line-height: 1.6;
  margin-top: var(--s-2);
  max-width: 56ch;
}
.ab-steps .ab-done {
  font-size: var(--fs-small);
  color: var(--muted);
}
.ab-steps .ab-done b {
  color: var(--green-ink);
}

/* Two measured numbers side by side (each keeps its source line) */
.ab-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
.ab-stats .stat-card p:not(.src) {
  font-size: var(--fs-body);
  color: var(--text-2);
}
.ab-stats .stat-card .case-num {
  margin-top: 0;
}

/* Two options side by side, each with a small coded SVG on top (article "Brein of app") */
.ab-vs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
.ab-vs-card {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-1);
  padding: var(--s-6);
}
.ab-vs-card svg {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  margin-bottom: var(--s-5);
}
.ab-vs-card h3 {
  font-size: var(--fs-h3-lg);
}
.ab-vs-card .check-list {
  margin-top: var(--s-3);
}

/* Question table of the island article: the cost column gets a magenta dot on desktop (the phone uses the table-stack labels) */
@media (min-width: 901px) {
  .ab-q td:first-child {
    width: 52%;
  }
  .ab-q td:last-child::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 10px;
    vertical-align: 2px;
  }
}

/* Route pill in a table cell: violet = Brein in the Samenwerking, magenta = an app */
.ab-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-m);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.4;
}
.ab-pill-v {
  background: var(--tint-violet);
  color: var(--violet-deep);
}
.ab-pill-m {
  background: var(--tint-magenta);
  color: var(--accent-ink);
}

/* Extra shapes for the coded step SVGs of this group (the base set is site.css section 26) */
.step-svg .arrow-m {
  fill: var(--accent);
}
.step-svg .num {
  fill: var(--violet);
}
.step-svg .t-num {
  font-size: 14px;
  font-weight: 700;
  fill: var(--surface);
}
.step-svg .zone {
  fill: var(--tint-violet);
  stroke: var(--tint-violet-line);
  stroke-width: 1;
}
.step-svg .no circle {
  fill: var(--red-tint);
}
.step-svg .no path {
  fill: none;
  stroke: var(--red-ink);
  stroke-width: 2.2;
  stroke-linecap: round;
}

@media (max-width: 900px) {
  .ab-split,
  .ab-founder,
  .ab-posts,
  .ab-posts-2,
  .ab-stats,
  .ab-vs {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-split {
    gap: var(--s-6);
  }
  .ab-split-top > .ab-viz {
    position: static;
  }
  .ab-founder {
    gap: var(--s-6);
    margin-top: var(--s-7);
  }
  .ab-viz {
    padding: var(--s-3);
  }
  .ab-vs-card {
    padding: var(--s-4);
  }
  .ab-posts-2 .ab-post {
    flex-direction: column;
  }
  .ab-posts-2 .ab-post img {
    width: 100%;
    flex: none;
    aspect-ratio: 3 / 2;
    border-right: 0;
    border-bottom: 1px solid var(--hair);
  }
  .step-svg .t-num {
    font-size: 15px;
  }
  .ab-viz .step-svg .t-badge,
  .ab-vs-card .step-svg .t-badge {
    font-size: 15px;
  }
  .ab-viz .step-svg .lbl,
  .ab-vs-card .step-svg .lbl {
    font-size: 15px;
  }
  /* the question is bold already: no repeated "Vraag" label on a phone */
  .ab-q td:first-child {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-q td:first-child::before {
    display: none;
  }
  /* one magenta dot marks the cost, as on desktop: no repeated "Bij nee" caption per row */
  .ab-q td:last-child {
    display: block;
  }
  .ab-q td:last-child::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 10px;
    vertical-align: 2px;
    padding: 0;
  }
  /* the comparison SVGs shrink to about 0.8x on a phone: keep their labels above 13px */
  .ab-vs-card .step-svg .t-sm {
    font-size: 16px;
  }
  .ab-path {
    grid-template-columns: minmax(0, 1fr);
    padding-left: var(--s-6);
  }
  .ab-path::before {
    left: 9px;
    right: auto;
    top: 8px;
    bottom: 8px;
    width: 2px;
    height: auto;
  }
  .ab-path li {
    padding-top: 0;
  }
  .ab-path li::before {
    left: calc(-1 * var(--s-6));
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-post:hover {
    transform: none;
  }
}

/* Mission statement inside a split text column */
.ab-text .statement {
  margin-top: var(--s-6);
}
.statement .ab-note {
  margin-top: var(--s-2);
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--text-2);
}

/* Over ons ends with the counters band and the footer, both dark; a light CTA band between them breaks the
   three-dark-blocks stack (Tim, 2026-10-22). `inherit` takes the light :root tokens back from the page. */
.band.band-light {
  --ink: inherit;
  --text-2: inherit;
  --muted: inherit;
  --violet: inherit;
  --violet-deep: inherit;
  --hair: inherit;
  --hair-strong: inherit;
  --surface: inherit;
  --sunken: inherit;
  --canvas: inherit;
  --accent-ink: inherit;
  --field-line: inherit;
  --tint-violet: inherit;
  color-scheme: light;
  background: var(--tint-violet);
  color: var(--ink);
}
