/* ============================================================
   join IRL - werving & selectie
   Eén thema-systeem via CSS-variabelen, licht + donker.
   Vormregels: knoppen pill, kaarten 16px, velden 10px.
   Eén accentkleur: diep groen.
   ============================================================ */

@font-face {
  font-family: 'Geist';
  src: url('https://fonts.gstatic.com/s/geist/v5/gyByhwUxId8gMEwcGFWNOITd.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('https://fonts.gstatic.com/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmhHkjko.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
  font-style: normal;
}
/* Luxury (Sensatype): alleen demo-licentie; commerciele licentie regelen voor livegang */
@font-face {
  font-family: 'Luxury';
  src: url('../fonts/luxury.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
/* Clance: displayfont voor kerncijfers. Bevat geen euroteken; de
   fallback Geist Mono vangt dat glyph op. */
@font-face {
  font-family: 'Clance';
  src: url('../fonts/clance.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

:root {
  --bg: #f4f4f1;
  --surface: #ffffff;
  --surface-2: #ebebe6;
  --ink: #171a18;
  --ink-soft: #4d544f;
  --ink-faint: #6e756f;
  --line: rgba(23, 26, 24, 0.13);
  --accent: #1c5a3e;
  --accent-strong: #174b34;
  --accent-soft: rgba(28, 90, 62, 0.09);
  --on-accent: #f2f6f1;
  --band: #12291d;
  --band-ink: #edf2ec;
  --band-ink-soft: #b9c6bb;
  --band-line: rgba(237, 242, 236, 0.16);
  --ok: #1c5a3e;
  --warn: #8a6a1f;
  --shadow: 0 18px 50px rgba(23, 26, 24, 0.08);
  --r-card: 16px;
  --r-field: 10px;
  --r-pill: 999px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121513;
    --surface: #1a1e1b;
    --surface-2: #222723;
    --ink: #e8ebe7;
    --ink-soft: #aeb7b0;
    --ink-faint: #8b948d;
    --line: rgba(232, 235, 231, 0.14);
    --accent: #5cb586;
    --accent-strong: #6fc496;
    --accent-soft: rgba(92, 181, 134, 0.12);
    --on-accent: #0c1710;
    --band: #0e1f16;
    --band-ink: #e6ece5;
    --band-ink-soft: #a6b2a8;
    --band-line: rgba(230, 236, 229, 0.14);
    --ok: #5cb586;
    --warn: #d0a83f;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--on-accent); }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- typografie ---------- */

h1, h2, h3, h4 {
  font-family: 'Luxury', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.12;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.08;
}

.h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 400;
}

.h3 {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 34em;
}

.muted { color: var(--ink-soft); }
.small { font-size: 0.9rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}

.accent-word { color: var(--accent); }

/* ---------- knoppen ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover { background: var(--accent-strong); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-band {
  background: var(--band-ink);
  color: var(--band);
}
.btn-band:hover { background: #ffffff; }
@media (prefers-color-scheme: dark) {
  .btn-band:hover { background: #f2f6f1; }
}

.btn-sm { padding: 10px 20px; font-size: 0.92rem; }

.link-arrow {
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid transparent;
}
.link-arrow:hover { border-bottom-color: var(--accent); }

/* ---------- navigatie ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.logo-mark {
  height: 34px;
  width: auto;
  display: block;
}
/* lichte variant alleen op donkere ondergrond (donker thema en de groene band) */
.logo-mark-light { display: none; }
.footer .logo-mark { display: none; }
.footer .logo-mark-light { display: block; }
@media (prefers-color-scheme: dark) {
  .logo-mark { display: none; }
  .logo-mark-light { display: block; }
}
.logo-sub {
  font-family: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer .logo-sub { color: var(--band-ink-soft); }
.footer .logo { margin-bottom: 4px; }
.footer .logo-mark-light { height: 40px; }
@media (max-width: 560px) {
  .logo-mark { height: 28px; }
  .logo-sub { font-size: 0.6rem; letter-spacing: 0.12em; }
}
@media (max-width: 400px) {
  .nav .logo-sub { display: none; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-login {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.nav-login:hover { color: var(--accent); }

.lang-toggle {
  font-family: 'Geist Mono', 'SFMono-Regular', Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.lang-toggle:hover { border-color: var(--ink); color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: var(--r-field);
  color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav.open .nav-links,
  .nav.open .nav-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .nav.open .nav-inner {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 18px;
    padding-bottom: 26px;
  }
  .nav.open .nav-toggle { position: absolute; top: 14px; right: 24px; }
  .nav-inner { position: relative; }
}

/* ---------- secties ---------- */

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head .lead { margin-top: 16px; }

.hairline { border: none; border-top: 1px solid var(--line); }

/* ---------- hero ---------- */

.hero { padding: 72px 0 96px; }

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: center;
}

.hero-copy .lead { margin: 24px 0 36px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-photo {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface-2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { aspect-ratio: 16 / 10; }
}

/* ---------- statstrip ---------- */

.statstrip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statstrip > div {
  padding: 40px 32px;
}
.statstrip > div + div { border-left: 1px solid var(--line); }
.stat-num {
  font-family: 'Clance', 'Geist Mono', 'SFMono-Regular', Menlo, monospace;
 
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--ink-soft); margin-top: 6px; }

@media (max-width: 720px) {
  .statstrip { grid-template-columns: 1fr; }
  .statstrip > div + div { border-left: none; border-top: 1px solid var(--line); }
}

/* ---------- pijlers (sticky split) ---------- */

.pillars {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.pillars-intro { position: sticky; top: 120px; }
.pillars-intro .lead { margin-top: 16px; }

.pillar { padding: 36px 0; }
.pillar + .pillar { border-top: 1px solid var(--line); }
.pillar p { color: var(--ink-soft); margin-top: 8px; max-width: 46em; }

@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; gap: 24px; }
  .pillars-intro { position: static; }
  .pillar { padding: 28px 0; }
}

/* ---------- werkwijze stappen ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
.step {
  background: var(--surface);
  padding: 36px 28px 42px;
}
.step-num {
  font-family: 'Geist Mono', 'SFMono-Regular', Menlo, monospace;
 
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.step h3 { margin: 18px 0 10px; font-size: 1.12rem; }
.step p { color: var(--ink-soft); font-size: 0.96rem; }

@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- vacature kaarten ---------- */

.vacancy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .vacancy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .vacancy-grid { grid-template-columns: 1fr; } }

.vacancy-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.vacancy-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.vacancy-field {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}
.vacancy-card h3 { font-size: 1.2rem; }
.vacancy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.vacancy-salary {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.vacancy-card details { margin-top: 2px; }
.vacancy-card summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--accent);
  list-style: none;
  font-size: 0.95rem;
}
.vacancy-card summary::-webkit-details-marker { display: none; }
.vacancy-card summary::after { content: ' +'; }
.vacancy-card details[open] summary::after { content: ' \2212'; }
.vacancy-card details p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 10px; }
.vacancy-card .btn { margin-top: auto; justify-content: center; }

/* filterpills */
.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-pill {
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-pill:hover { border-color: var(--ink); color: var(--ink); }
.filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

/* ---------- band (groene CTA-sectie) ---------- */

.band {
  background: var(--band);
  color: var(--band-ink);
  border-radius: var(--r-card);
  padding: 72px 64px;
}
.band .h2 { color: var(--band-ink); }
.band p { color: var(--band-ink-soft); }
.band-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.band-num {
  font-family: 'Clance', 'Geist Mono', 'SFMono-Regular', Menlo, monospace;
 
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 860px) {
  .band { padding: 48px 32px; }
  .band-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- split panelen kandidaat/opdrachtgever ---------- */

.split-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 800px) { .split-panels { grid-template-columns: 1fr; } }

.panel {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  color: #f2f4f1;
}
.panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 18, 13, 0.88) 0%, rgba(10, 18, 13, 0.25) 55%, rgba(10, 18, 13, 0.05) 100%);
}
.panel-copy {
  position: relative;
  z-index: 1;
  padding: 40px;
}
.panel-copy h3 { font-size: 1.6rem; color: #ffffff; }
.panel-copy p { color: rgba(242, 244, 241, 0.85); margin: 10px 0 22px; max-width: 30em; }

/* ---------- team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 24px;
}
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; } }

.team-card { display: flex; flex-direction: column; gap: 0; }
.team-photo {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface-2);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.4s ease;
}
.team-card:hover .team-photo img { filter: grayscale(0); }
.team-photo-init {
  display: grid;
  place-items: center;
  background: var(--band);
}
.team-photo-init span {
  font-family: 'Geist Mono', 'SFMono-Regular', Menlo, monospace;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--band-ink);
}
.team-card h3 { margin-top: 18px; font-size: 1.25rem; }
.team-role { color: var(--ink-soft); margin-top: 2px; }
.team-bio { color: var(--ink-soft); margin-top: 12px; font-size: 0.97rem; max-width: 38em; }
.team-link { margin-top: 12px; font-weight: 700; color: var(--accent); font-size: 0.95rem; }
.team-link:hover { text-decoration: underline; }

/* ---------- cijfers / vergelijking ---------- */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 800px) { .compare { grid-template-columns: 1fr; } }

.compare-col {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 40px 36px;
  background: var(--surface);
}
.compare-col.irl {
  background: var(--band);
  color: var(--band-ink);
  border-color: transparent;
}
.compare-col.irl .muted { color: var(--band-ink-soft); }
.compare-col h3 { font-size: 1.1rem; }
.compare-fee {
  font-family: 'Clance', 'Geist Mono', 'SFMono-Regular', Menlo, monospace;
 
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -0.03em;
  margin: 16px 0 4px;
  font-variant-numeric: tabular-nums;
}
.compare-list { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.compare-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 0.98rem;
}
.compare-list .tick { color: var(--ok); font-weight: 900; }
.compare-col.irl .compare-list .tick { color: var(--accent); }
@media (prefers-color-scheme: light) {
  .compare-col.irl .compare-list .tick { color: #5cb586; }
}
.compare-list .cross { color: var(--ink-faint); font-weight: 700; }

/* rekenmodule */
.calc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 48px;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) {
  .calc { padding: 32px 24px; }
  .calc-grid { grid-template-columns: 1fr; gap: 32px; }
}
.calc label { font-weight: 700; display: block; margin-bottom: 10px; }
.calc-salary {
  font-family: 'Clance', 'Geist Mono', 'SFMono-Regular', Menlo, monospace;
 
  font-size: 2rem;
  font-weight: 400;
  font-synthesis: none;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}
.calc-results { display: grid; gap: 16px; }
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.calc-row:last-child { border-bottom: none; padding-bottom: 0; }
.calc-row .calc-val {
  font-family: 'Clance', 'Geist Mono', 'SFMono-Regular', Menlo, monospace;
  font-weight: 400;
  font-synthesis: none;
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
}
.calc-row.saving .calc-val { color: var(--accent); font-size: 1.7rem; }
.calc-note { font-size: 0.85rem; color: var(--ink-faint); margin-top: 18px; }

/* grote statgrid cijferpagina */
.bigstats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .bigstats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bigstats { grid-template-columns: 1fr; } }
.bigstats-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .bigstats-3 { grid-template-columns: 1fr; } }
.bigstat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 32px 28px;
}
.bigstat .stat-num { color: var(--accent); }

/* ---------- formulieren ---------- */

.form-grid { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  padding: 13px 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field .hint { font-size: 0.85rem; color: var(--ink-faint); margin-top: 6px; }
.field .error {
  display: none;
  font-size: 0.85rem;
  color: #a03232;
  margin-top: 6px;
}
@media (prefers-color-scheme: dark) {
  .field .error { color: #e58b8b; }
}
.field.invalid input, .field.invalid textarea { border-color: #a03232; }
.field.invalid .error { display: block; }

.form-success {
  display: none;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--ink);
  border-radius: var(--r-card);
  padding: 24px 28px;
  font-weight: 500;
}
.form-success strong { color: var(--accent); }

/* ---------- portaal ---------- */

.portal-shell {
  min-height: calc(100dvh - 73px);
  display: grid;
  place-items: center;
  padding: 64px 24px;
}
.portal-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 44px 40px;
  box-shadow: var(--shadow);
}
.portal-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.portal-card > p { color: var(--ink-soft); margin-bottom: 28px; }
.portal-card .form-grid { gap: 16px; }
.portal-alt {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.portal-alt a { color: var(--accent); font-weight: 700; }

.demo-note {
  background: var(--accent-soft);
  border-radius: var(--r-field);
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-bottom: 24px;
  color: var(--ink);
}

.dash { padding: 48px 0 96px; }
.dash-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.dash-head h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.dash-head p { color: var(--ink-soft); margin-top: 6px; }

.dash-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }

.dash-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px;
}
.dash-card h2 { font-size: 1.15rem; margin-bottom: 18px; }
.dash-card + .dash-card { margin-top: 20px; }

.dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}
.dash-row + .dash-row { border-top: 1px solid var(--line); }
.dash-row .who { font-weight: 700; }
.dash-row .sub { color: var(--ink-soft); font-size: 0.9rem; margin-top: 2px; }

.status {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.status-open { background: var(--accent-soft); color: var(--accent); }
.status-active { background: var(--accent); color: var(--on-accent); }
.status-wait { background: var(--surface-2); color: var(--ink-soft); }

/* ---------- faq ---------- */

.faq { max-width: 760px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-weight: 900; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--ink-soft); margin-top: 12px; max-width: 60ch; }

/* ---------- foto's breed ---------- */

.photo-wide {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--surface-2);
}
.photo-wide img { width: 100%; height: 100%; object-fit: cover; }

.photo-duo {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
}
@media (max-width: 720px) { .photo-duo { grid-template-columns: 1fr; } }
.photo-duo .ph {
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface-2);
}
.photo-duo .ph:first-child { aspect-ratio: 16 / 10; }
.photo-duo .ph:last-child { aspect-ratio: 4 / 5; }
@media (max-width: 720px) { .photo-duo .ph:last-child { aspect-ratio: 16 / 10; } }
.photo-duo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- footer ---------- */

.footer {
  background: var(--band);
  color: var(--band-ink);
  margin-top: 96px;
}

/* verticale ritmiek: ruim boven de kolommen, rustige afsluiting onder */
.footer-inner {
  padding-top: 80px;
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px 48px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }

.footer .logo { color: #ffffff; }
.footer-tag {
  color: var(--band-ink-soft);
  margin-top: 16px;
  max-width: 30ch;
  line-height: 1.6;
}
.footer h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--band-ink-soft);
  margin-bottom: 20px;
}
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer ul a { color: var(--band-ink); font-size: 0.97rem; line-height: 1.5; }
.footer ul a:hover { color: #ffffff; text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid var(--band-line);
  margin-top: 64px;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 12px 32px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--band-ink-soft);
}

@media (max-width: 860px) {
  .footer-inner { padding-top: 64px; padding-bottom: 36px; }
  .footer-bottom { margin-top: 48px; padding-top: 28px; }
}
@media (max-width: 560px) {
  .footer-inner { padding-top: 56px; padding-bottom: 32px; }
  .footer-bottom { margin-top: 40px; padding-top: 24px; gap: 8px; }
}

/* ---------- reveal animaties ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.in { opacity: 1; transform: none; }
  .reveal-d1 { transition-delay: 0.08s; }
  .reveal-d2 { transition-delay: 0.16s; }
  .reveal-d3 { transition-delay: 0.24s; }
}

/* ---------- utilities ---------- */

.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.center { text-align: center; }
.flex-between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ============================================================
   Gradient button - vanilla-port van React/shadcn component
   (gradient-button.tsx). Experimenteel: demo op brand/index.html,
   bewust nog niet in het publieke design-systeem (een accentregel).
   Zonder @property-support valt de hover terug op een harde wissel.
   ============================================================ */

@property --pos-x { syntax: '<percentage>'; initial-value: 11.14%; inherits: false; }
@property --pos-y { syntax: '<percentage>'; initial-value: 140%; inherits: false; }
@property --spread-x { syntax: '<percentage>'; initial-value: 150%; inherits: false; }
@property --spread-y { syntax: '<percentage>'; initial-value: 180.06%; inherits: false; }
@property --color-1 { syntax: '<color>'; initial-value: #000; inherits: false; }
@property --color-2 { syntax: '<color>'; initial-value: #08012c; inherits: false; }
@property --color-3 { syntax: '<color>'; initial-value: #4e1e40; inherits: false; }
@property --color-4 { syntax: '<color>'; initial-value: #70464e; inherits: false; }
@property --color-5 { syntax: '<color>'; initial-value: #88394c; inherits: false; }
@property --border-angle { syntax: '<angle>'; initial-value: 20deg; inherits: true; }
@property --border-color-1 { syntax: '<color>'; initial-value: hsla(340, 75%, 60%, 0.2); inherits: true; }
@property --border-color-2 { syntax: '<color>'; initial-value: hsla(340, 75%, 40%, 0.75); inherits: true; }
@property --stop-1 { syntax: '<percentage>'; initial-value: 37.35%; inherits: false; }
@property --stop-2 { syntax: '<percentage>'; initial-value: 61.36%; inherits: false; }
@property --stop-3 { syntax: '<percentage>'; initial-value: 78.42%; inherits: false; }
@property --stop-4 { syntax: '<percentage>'; initial-value: 89.52%; inherits: false; }
@property --stop-5 { syntax: '<percentage>'; initial-value: 100%; inherits: false; }

.gradient-button {
  position: relative;
  appearance: none;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  min-width: 132px;
  padding: 16px 36px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 19px;
  font-weight: 700;
  color: #ffffff;
  background: radial-gradient(
    var(--spread-x) var(--spread-y) at var(--pos-x) var(--pos-y),
    var(--color-1) var(--stop-1),
    var(--color-2) var(--stop-2),
    var(--color-3) var(--stop-3),
    var(--color-4) var(--stop-4),
    var(--color-5) var(--stop-5)
  );
  transition:
    --pos-x 0.5s, --pos-y 0.5s, --spread-x 0.5s, --spread-y 0.5s,
    --color-1 0.5s, --color-2 0.5s, --color-3 0.5s, --color-4 0.5s, --color-5 0.5s,
    --border-angle 0.5s, --border-color-1 0.5s, --border-color-2 0.5s,
    --stop-1 0.5s, --stop-2 0.5s, --stop-3 0.5s, --stop-4 0.5s, --stop-5 0.5s;
}
.gradient-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.gradient-button:disabled { pointer-events: none; opacity: 0.5; }

.gradient-button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    var(--border-angle),
    var(--border-color-1),
    var(--border-color-2)
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.gradient-button:hover {
  --pos-x: 0%;
  --pos-y: 91.51%;
  --spread-x: 120.24%;
  --spread-y: 103.18%;
  --color-1: #c96287;
  --color-2: #c66c64;
  --color-3: #cc7d23;
  --color-4: #37140a;
  --color-5: #000;
  --border-angle: 190deg;
  --border-color-1: hsla(340, 78%, 90%, 0.1);
  --border-color-2: hsla(340, 75%, 90%, 0.6);
  --stop-1: 0%;
  --stop-2: 8.8%;
  --stop-3: 21.44%;
  --stop-4: 71.34%;
  --stop-5: 85.76%;
}

.gradient-button-variant {
  --color-1: #000022;
  --color-2: #1f3f6d;
  --color-3: #469396;
  --color-4: #f1ffa5;
  --border-angle: 200deg;
  --border-color-1: hsla(320, 75%, 90%, 0.6);
  --border-color-2: hsla(320, 50%, 90%, 0.15);
}
.gradient-button-variant:hover {
  --pos-x: 0%;
  --pos-y: 95.51%;
  --spread-x: 110.24%;
  --spread-y: 110.2%;
  --color-1: #000020;
  --color-2: #f1ffa5;
  --color-3: #469396;
  --color-4: #1f3f6d;
  --color-5: #000;
  --stop-1: 0%;
  --stop-2: 10%;
  --stop-3: 35.44%;
  --stop-4: 71.34%;
  --stop-5: 90.76%;
  --border-angle: 210deg;
  --border-color-1: hsla(320, 75%, 90%, 0.2);
  --border-color-2: hsla(320, 50%, 90%, 0.75);
}

/* pilvorm voor gebruik binnen het site-design-systeem */
.gradient-button-pill { border-radius: var(--r-pill); }

/* merk-conforme variant in de IRL-groene familie */
.gradient-button-irl {
  --color-1: #0a130d;
  --color-2: #0e1f16;
  --color-3: #174b34;
  --color-4: #1c5a3e;
  --color-5: #5cb586;
  --border-angle: 200deg;
  --border-color-1: hsla(150, 45%, 75%, 0.25);
  --border-color-2: hsla(150, 45%, 55%, 0.7);
}
.gradient-button-irl:hover {
  --pos-x: 0%;
  --pos-y: 91.51%;
  --spread-x: 120.24%;
  --spread-y: 103.18%;
  --color-1: #5cb586;
  --color-2: #2e7d57;
  --color-3: #1c5a3e;
  --color-4: #0e1f16;
  --color-5: #000000;
  --border-angle: 190deg;
  --border-color-1: hsla(150, 50%, 90%, 0.1);
  --border-color-2: hsla(150, 50%, 85%, 0.6);
  --stop-1: 0%;
  --stop-2: 8.8%;
  --stop-3: 21.44%;
  --stop-4: 71.34%;
  --stop-5: 85.76%;
}


/* ============================================================
   Groene knoppen sitewide: gradient-effect op .btn-primary
   (zelfde mechaniek als .gradient-button-irl, pilvorm behouden)
   ============================================================ */

.btn-primary {
  position: relative;
  color: #f2f6f1;
  --pos-x: 11.14%;
  --pos-y: 140%;
  --spread-x: 150%;
  --spread-y: 180.06%;
  --color-1: #0a130d;
  --color-2: #0e1f16;
  --color-3: #174b34;
  --color-4: #1c5a3e;
  --color-5: #5cb586;
  --border-angle: 200deg;
  --border-color-1: hsla(150, 45%, 75%, 0.25);
  --border-color-2: hsla(150, 45%, 55%, 0.7);
  --stop-1: 37.35%;
  --stop-2: 61.36%;
  --stop-3: 78.42%;
  --stop-4: 89.52%;
  --stop-5: 100%;
  background: radial-gradient(
    var(--spread-x) var(--spread-y) at var(--pos-x) var(--pos-y),
    var(--color-1) var(--stop-1),
    var(--color-2) var(--stop-2),
    var(--color-3) var(--stop-3),
    var(--color-4) var(--stop-4),
    var(--color-5) var(--stop-5)
  );
  transition:
    transform 0.15s ease,
    --pos-x 0.5s, --pos-y 0.5s, --spread-x 0.5s, --spread-y 0.5s,
    --color-1 0.5s, --color-2 0.5s, --color-3 0.5s, --color-4 0.5s, --color-5 0.5s,
    --border-angle 0.5s, --border-color-1 0.5s, --border-color-2 0.5s,
    --stop-1 0.5s, --stop-2 0.5s, --stop-3 0.5s, --stop-4 0.5s, --stop-5 0.5s;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    var(--border-angle),
    var(--border-color-1),
    var(--border-color-2)
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
}
.btn-primary:hover {
  background: radial-gradient(
    var(--spread-x) var(--spread-y) at var(--pos-x) var(--pos-y),
    var(--color-1) var(--stop-1),
    var(--color-2) var(--stop-2),
    var(--color-3) var(--stop-3),
    var(--color-4) var(--stop-4),
    var(--color-5) var(--stop-5)
  );
  --pos-x: 0%;
  --pos-y: 91.51%;
  --spread-x: 120.24%;
  --spread-y: 103.18%;
  --color-1: #5cb586;
  --color-2: #2e7d57;
  --color-3: #1c5a3e;
  --color-4: #0e1f16;
  --color-5: #000000;
  --border-angle: 190deg;
  --border-color-1: hsla(150, 50%, 90%, 0.1);
  --border-color-2: hsla(150, 50%, 85%, 0.6);
  --stop-1: 0%;
  --stop-2: 8.8%;
  --stop-3: 21.44%;
  --stop-4: 71.34%;
  --stop-5: 85.76%;
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary { transition: transform 0.15s ease; }
}

/* ============================================================
   Background paths - vanilla-port van het React-component
   (background-paths.tsx). Vaste laag achter de hele pagina.
   Bewust goedkoop gehouden: de paden zelf staan stil (geen repaint
   per frame); alleen de laag zweeft heel langzaam via transform,
   wat de GPU afhandelt. Op kleine schermen en onder
   prefers-reduced-motion staat alles stil.
   ============================================================ */

.bg-paths {
  position: fixed;
  inset: -10%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  color: var(--accent);
  opacity: 0.3;
}
.bg-paths svg { width: 100%; height: 100%; display: block; }
.bg-paths path { fill: none; stroke: currentColor; }

@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
  .bg-paths {
    will-change: transform;
    animation: bgDrift 90s ease-in-out infinite alternate;
  }
}
@keyframes bgDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-2%, 1.5%, 0) scale(1.06); }
}

/* alle content staat boven de padlaag */
.nav, main, .footer, .portal-shell, .dash { position: relative; z-index: 1; }

/* ---------- founder ---------- */

.founder {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 64px;
  align-items: center;
}

/* lichtvlak achter de foto: wit in het midden, naar buiten toe merkgroen */
.founder-portrait {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 50% 38%,
      #ffffff 0%,
      #fbfcfa 26%,
      #e6ece7 52%,
      rgba(28, 90, 62, 0.20) 76%,
      rgba(28, 90, 62, 0.40) 100%);
  box-shadow: var(--shadow);
}
.founder-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--line);
  pointer-events: none;
}
.founder-portrait img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 4% 6% 0;
  object-fit: contain;
  object-position: bottom center;
}

.founder-body { display: grid; gap: 20px; }
.founder-body p { color: var(--ink-soft); max-width: 54ch; }
.founder-name { margin-bottom: 4px; }
.founder-role {
  font-family: 'Geist Mono', 'SFMono-Regular', Menlo, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.founder-award {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-card);
  background: var(--accent-soft);
  border: 1px solid rgba(28, 90, 62, 0.16);
}
.founder-award svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.founder-award p { color: var(--ink); margin: 0; max-width: none; }
.founder-award strong { font-weight: 600; }
.founder-award span { display: block; margin-top: 4px; font-size: 0.86rem; color: var(--ink-faint); }

.founder-fields { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.founder-fields li::marker { content: none; }
.founder-fields li {
  padding: 7px 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--ink-soft);
  background: var(--surface);
}

@media (prefers-color-scheme: dark) {
  .founder-portrait {
    background:
      radial-gradient(circle at 50% 38%,
        #ffffff 0%,
        #f4f7f3 28%,
        #d2dcd4 56%,
        rgba(28, 90, 62, 0.48) 80%,
        rgba(18, 41, 29, 0.78) 100%);
  }
  .founder-award { border-color: rgba(92, 181, 134, 0.28); }
}

@media (max-width: 900px) {
  .founder { grid-template-columns: 1fr; gap: 40px; }
  /* width 100% is nodig: losse auto-marges maken een grid-item anders shrink-to-fit */
  .founder-portrait { width: 100%; max-width: 420px; margin-inline: auto; }
}
