/* ============================================================
   DataMotuz — "Data in beweging"
   Signature: één flow-lijn die door de pagina's loopt.
   Eén accent (signaal-oranje). Alles eromheen blijft stil.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Color — light theme, brand navy + one warm accent */
  --ink:        #20283C;   /* brand navy — text + dark anchor */
  --ink-2:      #2A3450;   /* lifted navy panel */
  --ink-3:      #3A465F;   /* hairline on dark */
  --paper:      #FCFCFB;   /* light base */
  --paper-2:    #F1F3F7;   /* light panel for rhythm */
  --mist:       #E4E8EE;   /* light divider */
  --muted:      #4C5867;   /* secondary text on light */
  --muted-dark: #A7B2C2;   /* secondary text on dark */
  --mauve:      #9C9298;   /* tertiary neutral (from brand logo) */
  --accent:     #FF7A2F;   /* signal orange — the one bold choice */
  --accent-deep:#E85F18;
  --accent-soft:#FFE7DA;

  /* Type */
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body:    "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Scale */
  --step--1: clamp(0.80rem, 0.77rem + 0.15vw, 0.88rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.13rem);
  --step-1:  clamp(1.25rem, 1.15rem + 0.50vw, 1.55rem);
  --step-2:  clamp(1.60rem, 1.40rem + 1.00vw, 2.30rem);
  --step-3:  clamp(2.10rem, 1.70rem + 2.00vw, 3.60rem);
  --step-4:  clamp(2.80rem, 2.00rem + 4.00vw, 5.80rem);

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

/* ---------- Shared layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.section[id] { scroll-margin-top: 72px; } /* anchor targets clear the sticky header */
.section--dark { background: var(--ink); color: var(--paper); }
.section--alt { background: var(--paper-2); }
.section--accent {
  background:
    radial-gradient(130% 150% at 50% -30%, var(--accent-soft) 0%, transparent 55%),
    var(--paper-2);
}
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
}
.section--dark .eyebrow { color: var(--accent); }
.eyebrow::before {
  content: "";
  width: 1.6em; height: 1px;
  background: currentColor;
  display: inline-block;
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }
h1 { font-size: var(--step-4); font-weight: 700; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
.lead { font-size: var(--step-1); line-height: 1.45; color: var(--muted); font-weight: 400; }
.section--dark .lead { color: var(--muted-dark); }
.accent-text { color: var(--accent); }
.measure { max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--mono); font-size: var(--step--1);
  letter-spacing: 0.04em; font-weight: 500;
  padding: 0.95em 1.5em;
  border-radius: var(--radius);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--ink); box-shadow: 0 1px 0 var(--accent-deep); }
.btn--primary:hover { background: var(--accent-deep); color: #fff; transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--mist); color: var(--ink); }
.section--dark .btn--ghost { border-color: var(--ink-3); color: var(--paper); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.section--dark .btn--ghost:hover { color: var(--accent); border-color: var(--accent); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* press feedback — the button reacts to a push (tactile response) */
.btn:active { transform: scale(0.97); }
.btn--primary:active { transform: translateY(-2px) scale(0.97); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--mist); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 0; font-family: var(--display); font-weight: 700; font-size: 1.24rem; letter-spacing: -0.045em; line-height: 1; --marker: #20283C; }
.brand__word { letter-spacing: -0.045em; white-space: nowrap; }
.brand b { color: var(--accent-deep); font-weight: 700; }
.brand__m { display: inline-block; width: 1.04em; height: 0.82em; vertical-align: -0.07em; margin: 0 0.02em; overflow: visible; }
.site-footer .brand { --marker: #F4F6F8; }
.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.4rem); }
.nav__links a {
  font-family: var(--mono); font-size: var(--step--1);
  letter-spacing: 0.02em; color: color-mix(in srgb, var(--ink) 82%, transparent);
  position: relative; padding-block: 0.4em;
  transition: color .2s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--accent);
}
.nav__cta { display: inline-flex; }
.nav__toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle span::before { transform: translateY(-7px); }
.nav__toggle span::after { transform: translateY(5px); } /* offset for pseudo */
.nav__toggle span::before, .nav__toggle span::after { position: absolute; }

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--mist);
    padding: var(--gutter);
    transform: translateY(-130%); transition: transform .4s var(--ease);
    box-shadow: 0 24px 40px -28px rgba(12,24,34,.4);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { font-size: var(--step-1); padding-block: 0.7em; width: 100%; border-bottom: 1px solid var(--mist); }
  .nav__links .nav__cta { margin-top: 1rem; }
  body.menu-open { overflow: hidden; }
}

/* ============================================================
   HERO  — light; thesis: data sets the organisation in motion
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  color: var(--ink);
  overflow: hidden;
  padding-block: clamp(4.5rem, 11vw, 9rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative; z-index: 2;
}
.hero__eyebrow { color: var(--accent-deep); margin-bottom: 1.6rem; }
.hero h1 { margin-bottom: 1.6rem; }
.hero__sub { font-size: var(--step-1); color: var(--muted); line-height: 1.5; max-width: 38ch; margin-bottom: 2.4rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ambient gridlines (faint navy) */
.hero__bg {
  position: absolute; inset: 0; z-index: 1; opacity: 1;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px);
  background-size: clamp(60px, 8vw, 110px) 100%;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
}

/* ---- the figure: data lifts the organisation (growth breaking upward) ---- */
.hero__figure { position: relative; min-height: 380px; }
.growth-svg { width: 100%; height: 100%; overflow: visible; --marker: var(--ink); }
.growth-svg .axis { stroke: color-mix(in srgb, var(--ink) 11%, transparent); stroke-width: 1; }
.growth-svg .gridline { stroke: color-mix(in srgb, var(--ink) 6%, transparent); stroke-width: 1; }
.growth-svg .bar { fill: var(--ink-2); transform-box: fill-box; transform-origin: bottom; }
.growth-svg .bar:last-of-type { fill: var(--ink); }
.growth-svg .area { fill: var(--accent); opacity: .09; }
.growth-svg .trend { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.growth-svg .arrowhead { fill: var(--accent); }
.growth-svg .dot { fill: var(--paper); stroke: var(--accent); stroke-width: 2; }
.growth-svg .endpoint { fill: var(--marker); stroke: var(--paper); stroke-width: 2.5; }
.growth-svg .trend-particle {
  fill: var(--accent);
  /* rides the trend line off the main thread (GPU), no per-frame JS */
  offset-path: path("M82,210 L150,130 L220,190 L300,104 L410,40");
  offset-rotate: 0deg;
  animation: rideTrend 4.5s linear 1.5s infinite;
}
.growth-svg .led { fill: var(--accent); }
.growth-svg .led-ring { fill: none; stroke: var(--accent); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }

@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.growth-svg .bar { animation: grow 1.1s cubic-bezier(0.22,1,0.36,1) both; }
@keyframes ledPulse {
  0%, 100% { transform: scale(1); opacity: .85; }
  50%      { transform: scale(2.1); opacity: .12; }
}
.growth-svg .led-ring { animation: ledPulse 2.6s ease-in-out infinite; }
@keyframes rideTrend {
  from { offset-distance: 0%;   opacity: 1; }
  to   { offset-distance: 100%; opacity: .25; }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { min-height: 300px; order: 2; }
  .hero__sub { max-width: none; }
}

/* ============================================================
   STAT / PROOF strip
   ============================================================ */
.proof { border-block: 1px solid var(--mist); background: var(--paper); }
.proof__inner { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: 1.6rem; }
.proof__label { font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) {
  .proof__inner { justify-content: center; text-align: center; }
  .proof__inner .proof__label { width: 100%; text-align: center; }
  .proof__inner .logos-strip { margin-left: 0 !important; justify-content: center; width: 100%; }
}
.proof__logos { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.2rem, 3vw, 2.6rem); margin-left: auto; }
.proof__logos span {
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  color: var(--ink); letter-spacing: -0.01em; opacity: .55;
  transition: opacity .25s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .proof__logos span:hover { opacity: 1; } }

/* ============================================================
   SECTION HEADER (reusable)
   ============================================================ */
.sec-head { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 720px; }
.sec-head--wide { max-width: none; }
.sec-head .eyebrow { margin-bottom: 0.2rem; }

/* ============================================================
   VALUE / DIFFERENTIATORS
   ============================================================ */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.2rem); }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value { position: relative; padding-top: 1.4rem; border-top: 2px solid var(--ink); text-align: center; }
.value__icon { width: 32px; height: 32px; color: var(--accent-deep); margin: 0 auto 0.9rem; }
.value h3 { margin: 0 0 0.6rem; font-size: var(--step-0); }
.value p { color: var(--muted); font-size: var(--step--1); line-height: 1.6; }
@media (max-width: 540px) { .values { grid-template-columns: 1fr; } }

/* lead rendered as a pulled quote (from the about text) */
.lead-quote { font-family: var(--display); font-weight: 500; font-size: var(--step-1); line-height: 1.4; color: var(--ink); letter-spacing: -0.01em; }
.lead-quote .mark { color: var(--accent); }

/* client logo strip (Home proof + Over clients) */
.logos-strip { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.4rem, 3.5vw, 3rem); }
.logos-strip .client { height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.logos-strip img { width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .25s var(--ease), opacity .25s var(--ease); }
/* optical balancing: icon+text marks taller, wide wordmarks a touch smaller */
.logos-strip .client--mark img { max-height: 46px; max-width: 78px; }
.logos-strip .client--word img { max-height: 26px; max-width: 124px; }
@media (hover: hover) and (pointer: fine) { .logos-strip .client:hover img { filter: none; opacity: 1; } }
.client-fallback { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--muted); }

/* testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.4rem); }
.testi {
  background: var(--paper); border: 1px solid var(--mist); border-radius: var(--radius);
  padding: clamp(1.3rem, 2.6vw, 1.7rem); display: flex; flex-direction: column; gap: 1rem;
}
.testi__head { height: 30px; display: flex; align-items: center; }
.testi__logo { max-height: 26px; max-width: 130px; width: auto; height: auto; object-fit: contain; object-position: left center; }
.testi__logo-fallback { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.testi__result { font-family: var(--display); font-weight: 600; font-size: var(--step-0); color: var(--ink); line-height: 1.3; letter-spacing: -0.01em; margin: 0; }
.testi__quote { color: var(--muted); font-size: var(--step--1); line-height: 1.6; }
.testi__who { font-family: var(--mono); font-size: var(--step--1); color: var(--muted); line-height: 1.45; margin-top: auto; padding-top: 0.9rem; border-top: 1px solid var(--mist); }
.testi__who strong { display: block; font-family: var(--display); font-size: var(--step-0); color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 720px) { .testi-grid { grid-template-columns: 1fr; } }

/* product teaser (home) */
.teaser-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); margin-bottom: 2.4rem; }
.teaser { display: flex; flex-direction: column; gap: 0.5rem; background: var(--paper); border: 1px solid var(--mist); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); color: var(--ink); transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .teaser:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 18px 40px -30px rgba(32,40,60,.5); } }
.teaser__tag { font-family: var(--mono); font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); }
.teaser h3 { font-size: var(--step-1); margin: .2rem 0; }
.teaser p { color: var(--muted); font-size: var(--step--1); flex: 1; }
.teaser__more { font-family: var(--mono); font-size: var(--step--1); color: var(--ink); display: inline-flex; gap: .5em; align-items: center; margin-top: .5rem; }
@media (hover: hover) and (pointer: fine) {
  .teaser:hover .teaser__more { color: var(--accent-deep); }
  .teaser:hover .teaser__more .arrow { transform: translateX(4px); }
}
@media (max-width: 640px) { .teaser-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SERVICES  (menu of distinct offerings — not a sequence)
   ============================================================ */
.services { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; background: var(--mist); border: 1px solid var(--mist); border-radius: var(--radius); overflow: hidden; }
.service {
  background: var(--paper); color: var(--ink);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  grid-column: span 4;
  display: flex; flex-direction: column; gap: 0.8rem;
  align-items: center; text-align: center;
  position: relative; isolation: isolate;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.service::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--accent); transition: width .35s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .service:hover { background: #fff; box-shadow: 0 18px 40px -30px rgba(32,40,60,.5); }
  .service:hover::after { width: 100%; }
}
.service__icon { width: 32px; height: 32px; color: var(--accent-deep); }
.service__tag { font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.1em; color: var(--accent-deep); text-transform: uppercase; }
.service h3 { color: var(--ink); }
.service p { color: var(--muted); flex: 1; }
.service__more { font-family: var(--mono); font-size: var(--step--1); color: var(--ink); display: inline-flex; gap: .5em; align-items: center; margin-top: 0.4rem; }
@media (hover: hover) and (pointer: fine) { .service:hover .service__more { color: var(--accent-deep); } }
/* feature the first two wider, last three narrower for rhythm */
.service:nth-child(1), .service:nth-child(2) { grid-column: span 6; }
@media (max-width: 860px) {
  .service, .service:nth-child(1), .service:nth-child(2) { grid-column: span 12; }
}

/* light variant for service preview on home */
.section--dark .services { border-color: var(--ink-3); }

/* ============================================================
   WORKFLOW (a real sequence → numbering justified)
   ============================================================ */
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--mist); border: 1px solid var(--mist); }
.flow-step { background: var(--paper); padding: clamp(1.4rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: 0.6rem; align-items: center; text-align: center; }
.flow-step__num { font-family: var(--display); font-weight: 700; font-size: var(--step-3); color: var(--paper-2); -webkit-text-stroke: 1px var(--mist); line-height: 1; }
.flow-step__icon { width: 32px; height: 32px; color: var(--accent-deep); }
.flow-step h3 { font-size: var(--step-1); }
.flow-step p { color: var(--muted); font-size: var(--step--1); line-height: 1.55; }
@media (max-width: 860px) { .flow-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .flow-steps { grid-template-columns: 1fr; } }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.quote-block { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.quote { font-family: var(--display); font-weight: 500; font-size: var(--step-2); line-height: 1.25; letter-spacing: -0.015em; max-width: 22ch; }
.quote .mark { color: var(--accent); }
.quote-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.quote-meta { font-family: var(--mono); font-size: var(--step--1); color: var(--muted); letter-spacing: 0.04em; }
.quote-meta strong { display: block; color: var(--ink); font-weight: 600; letter-spacing: 0; font-family: var(--display); font-size: var(--step-0); margin-bottom: .2rem; }
@media (max-width: 760px) { .quote-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-inner { display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; }
.cta-inner h2 { max-width: 16ch; }
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; } }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); color: var(--ink); padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.page-hero h1 { font-size: var(--step-3); max-width: 16ch; margin: 1.2rem 0 1.4rem; }
.page-hero .lead { max-width: 52ch; color: var(--muted); }
.page-hero__bg { position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(to right, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px);
  background-size: clamp(60px, 8vw, 110px) 100%;
  mask-image: linear-gradient(to bottom, transparent, #000 40%, transparent); }
.page-hero .wrap { position: relative; z-index: 2; }

/* ============================================================
   OVER / ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-photo { position: relative; }
.about-photo .frame {
  aspect-ratio: 4/5; background: var(--paper-2);
  border: 1px solid var(--mist); border-radius: var(--radius);
  display: grid; place-items: center; overflow: hidden;
  position: relative;
}
.about-photo .frame img { width: 100%; height: 100%; object-fit: cover; }
/* photo frames: block casual saving (right-click "save image", drag-to-desktop) */
.about-photo .frame img, .product-media .frame img {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.about-photo .frame .placeholder { font-family: var(--mono); font-size: var(--step--1); color: var(--muted); text-align: center; padding: 2rem; letter-spacing: .06em; }
.about-photo .badge {
  position: absolute; left: -14px; bottom: 24px;
  background: var(--accent); color: var(--ink);
  font-family: var(--mono); font-size: var(--step--1); font-weight: 500;
  letter-spacing: 0.06em; padding: 0.7em 1em; border-radius: var(--radius);
  box-shadow: 0 8px 24px -10px rgba(12,24,34,.5);
}
.about-body p { color: var(--ink); margin-bottom: 1.2rem; max-width: 58ch; }
.about-body p .muted { color: var(--muted); }
.about-sign { font-family: var(--display); font-size: var(--step-1); margin-top: 1.5rem; }
.about-sign small { display: block; font-family: var(--mono); font-size: var(--step--1); color: var(--muted); letter-spacing: .08em; margin-top: .3rem; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 340px; } }

/* certifications / chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.chip { font-family: var(--mono); font-size: var(--step--1); letter-spacing: .04em; padding: 0.5em 0.9em; border: 1px solid var(--mist); border-radius: 999px; color: var(--muted); }
.chip b { color: var(--accent-deep); font-weight: 500; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding-bottom: 1.4rem; border-bottom: 1px solid var(--mist); }
.contact-item:last-child { border-bottom: none; }
.contact-item .ico { width: 38px; height: 38px; border: 1px solid var(--mist); border-radius: var(--radius); display: grid; place-items: center; color: var(--accent-deep); }
.contact-item .k { font-family: var(--mono); font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-item .v { font-family: var(--display); font-size: var(--step-1); font-weight: 500; }
.contact-item .v a:hover { color: var(--accent-deep); }

/* form */
.form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-family: var(--mono); font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--mist); border-radius: var(--radius);
  padding: 0.85em 1em; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-family: var(--mono); font-size: var(--step--1); color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--ink-3); }
.footer-grid h4 { font-family: var(--mono); font-weight: 500; font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 1.2rem; }
.footer-brand .brand { color: var(--paper); margin-bottom: 1rem; }
.footer-brand p { color: var(--muted-dark); max-width: 32ch; }
.footer-links a, .footer-contact a { color: var(--muted-dark); display: block; padding: 0.35em 0; transition: color .2s var(--ease); }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding-top: 2rem; font-family: var(--mono); font-size: var(--step--1); color: var(--muted-dark); letter-spacing: .03em; }
.footer-bottom a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
.footer-bottom a:hover { color: var(--accent); }

/* legal / privacy pages */
.legal { max-width: 72ch; }
.legal h2 { margin: 2.4rem 0 .6rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 1.6rem 0 .4rem; font-size: var(--step-0); }
.legal p, .legal li { color: var(--muted); }
.legal ul { display: grid; gap: .5rem; margin: .6rem 0 0; padding-left: 1.2rem; }
.legal a { color: var(--accent-deep); }
.legal__updated { font-family: var(--mono); font-size: var(--step--1); color: var(--muted-dark); letter-spacing: .03em; margin-top: 2.6rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ============================================================
   TRAININGEN
   ============================================================ */
.training-list { display: grid; gap: 1.25rem; }
.training-card {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  position: relative;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.training-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
  border-radius: var(--radius) 0 0 var(--radius);
  transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .training-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 18px 40px -28px rgba(12,24,34,.45); }
  .training-card:hover::before { transform: scaleY(1); }
}
.training-card.is-full { opacity: .82; }

/* date block */
.t-date { text-align: center; border-right: 1px solid var(--mist); padding-right: clamp(.8rem,2vw,1.4rem); }
.t-date .day { font-family: var(--display); font-weight: 700; font-size: var(--step-3); line-height: 1; color: var(--ink); }
.t-date .month { font-family: var(--mono); font-size: var(--step--1); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep); margin-top: .3rem; }
.t-date .year { font-family: var(--mono); font-size: var(--step--1); color: var(--muted); }
.t-date-end { font-family: var(--mono); font-size: var(--step--1); color: var(--accent-deep); margin-top: .35rem; }

/* body */
.t-body h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.t-meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin-bottom: .9rem; }
.t-meta span { font-family: var(--mono); font-size: var(--step--1); letter-spacing: .03em; color: var(--muted); display: inline-flex; align-items: center; gap: .45em; }
.t-meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); display: inline-block; }
.t-body p { color: var(--muted); font-size: var(--step-0); max-width: 62ch; }
.t-topics { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.t-topics li { font-family: var(--mono); font-size: var(--step--1); color: var(--muted); padding: .35em .75em; border: 1px solid var(--mist); border-radius: 999px; }

/* aside: price + spots + cta */
.t-aside { display: flex; flex-direction: column; align-items: flex-end; gap: .8rem; text-align: right; min-width: 150px; }
.t-price { font-family: var(--display); font-weight: 600; font-size: var(--step-1); color: var(--ink); }
.t-spots { font-family: var(--mono); font-size: var(--step--1); letter-spacing: .03em; display: inline-flex; align-items: center; gap: .5em; color: var(--muted); }
.t-spots .dot { width: 7px; height: 7px; border-radius: 50%; background: #2FA866; }
.t-spots.low .dot { background: var(--accent); }
.t-spots.full .dot { background: var(--muted); }
.t-aside .btn { width: 100%; justify-content: center; }

@media (max-width: 760px) {
  .training-card { grid-template-columns: 1fr; }
  .t-date { display: flex; align-items: baseline; gap: .5em; text-align: left; border-right: none; border-bottom: 1px solid var(--mist); padding: 0 0 .9rem; }
  .t-date .month, .t-date .year { margin: 0; }
  .t-date .day { font-size: var(--step-2); }
  .t-aside { align-items: flex-start; text-align: left; flex-direction: row; flex-wrap: wrap; justify-content: space-between; width: 100%; }
  .t-aside .btn { width: auto; }
}

/* states */
.t-status { padding: 2rem 0; }
.t-empty {
  border: 1px dashed var(--mist); border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem); text-align: center;
  background:
    radial-gradient(circle at 50% -20%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 60%),
    var(--paper);
}
.t-empty .eyebrow { justify-content: center; margin-bottom: 1rem; }
.t-empty h3 { font-size: var(--step-2); margin-bottom: .8rem; }
.t-empty p { color: var(--muted); max-width: 46ch; margin: 0 auto 1.6rem; }
.t-error { font-family: var(--mono); font-size: var(--step--1); color: var(--muted); text-align: center; padding: 2rem; }

/* registration form region */
.signup { scroll-margin-top: 90px; }
.signup__ctx {
  font-family: var(--mono); font-size: var(--step--1); letter-spacing: .03em;
  color: var(--accent); display: inline-flex; align-items: center; gap: .6em;
  margin-bottom: 1.2rem; min-height: 1.2em;
}
.signup__ctx::before { content: "▸"; }
.signup__ctx:empty { display: none; }
.signup-ok {
  border: 1px solid var(--mist); border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 1.4rem 1.6rem; background: var(--paper);
}
.signup-ok strong { font-family: var(--display); display: block; margin-bottom: .3rem; }
.signup-ok p { color: var(--muted); font-size: var(--step-0); }
[hidden] { display: none !important; }

/* training status badge */
.t-status-badge { display: inline-flex; align-items: center; gap: .5em; font-family: var(--mono); font-size: var(--step--1); letter-spacing: .04em; padding: .28em .7em; border-radius: 999px; margin-bottom: .8rem; }
.t-status-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.t-status-badge--open { background: #E3F3EA; color: #1B7A4B; }
.t-status-badge--open::before { background: #2FA866; }
.t-status-badge--closed { background: var(--paper-2); color: var(--muted); }
.t-status-badge--closed::before { background: var(--mauve); }
.btn.is-disabled { opacity: .55; cursor: default; pointer-events: none; }

/* select + honeypot */
.field select {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--mist); border-radius: var(--radius);
  padding: 0.85em 2.4em 0.85em 1em; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%235E6B7C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1em center;
}
.field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   PRODUCTEN
   ============================================================ */
.product-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.product-row + .product-row { margin-top: clamp(3rem, 6vw, 5rem); }
.product-row--reverse .product-media { order: 2; }

.product-media .frame {
  aspect-ratio: 4 / 3; background: var(--paper-2);
  border: 1px solid var(--mist); border-radius: var(--radius);
  display: grid; place-items: center; overflow: hidden; position: relative;
}
.product-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.product-media .frame .placeholder { font-family: var(--mono); font-size: var(--step--1); color: var(--muted); text-align: center; padding: 2rem; letter-spacing: .06em; }

.product-body .eyebrow { margin-bottom: 1rem; }
.product-body h2 { margin-bottom: 1rem; }
.product-body p { color: var(--muted); margin-bottom: 1.2rem; max-width: 52ch; }
.product-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.6rem; }
.product-price { font-family: var(--display); font-weight: 600; font-size: var(--step-2); color: var(--ink); }
.product-price small { font-family: var(--mono); font-weight: 400; font-size: var(--step--1); color: var(--muted); letter-spacing: .04em; display: block; }

.status-pill {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--mono); font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase;
  padding: .45em .9em; border-radius: 999px; margin-bottom: 1.2rem;
  background: var(--accent-soft); color: var(--accent-deep);
}
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.status-pill--live { background: #E3F3EA; color: #1B7A4B; }
.status-pill--live::before { background: #2FA866; }

.product-highlight { display: inline-flex; align-items: center; gap: .65em; font-family: var(--display); font-weight: 600; font-size: var(--step-0); color: var(--accent-deep); background: var(--accent-soft); border-radius: var(--radius); padding: .7em 1.1em; margin: 0 0 1.3rem; }
.product-highlight svg { width: 18px; height: 18px; flex: none; }
.product-quote { font-family: var(--display); font-weight: 500; font-size: var(--step-1); line-height: 1.4; color: var(--ink); border-left: 3px solid var(--accent); padding-left: 1.1rem; margin: 0 0 1.4rem; max-width: 52ch; }
.product-list { display: grid; gap: .7rem; margin: 1.2rem 0; }
.product-list li { position: relative; padding-left: 1.6rem; color: var(--ink); }
.product-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent-deep); font-family: var(--mono); }

/* medallion diagram */
.medallion { width: 100%; height: auto; }
.medallion .layer-label { font-family: var(--display); font-weight: 600; font-size: 15px; }
.medallion .layer-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; fill: var(--muted); }
.medallion .flow { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }

@media (max-width: 760px) {
  .product-row { grid-template-columns: 1fr; }
  .product-row--reverse .product-media { order: 0; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; filter: blur(0); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .growth-svg .trend-particle { offset-distance: 100%; }
}
