/* ─── Team page own styles ─── */
.team-page { background: #f4f6fb; }

/* ── Container ── */
.team-page .container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section headings ── */
.team-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #14161a;
  margin: 0 0 6px;
}
.team-section-sub {
  font-size: 1rem;
  color: #5b6472;
  margin: 0 0 36px;
  max-width: 560px;
}

/* ── Buttons ── */
.team-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #e63946;
  padding: 13px 26px; border-radius: 12px;
  font-weight: 800; font-size: .95rem; text-decoration: none;
  transition: transform .18s, box-shadow .18s;
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
}
.team-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.22); }
.team-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  padding: 13px 26px; border-radius: 12px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  border: 2px solid rgba(255,255,255,.55);
  transition: background .18s, border-color .18s;
}
.team-btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ─── HERO ─── */
.team-hero {
  background: linear-gradient(135deg, #e63946 0%, #8b0000 100%);
  padding: 72px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.team-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.team-hero .container { position: relative; }
.team-hero-kicker {
  display: inline-block;
  background: rgba(255,255,255,.18); color: #fff;
  font-size: .75rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.3);
  margin-bottom: 20px;
}
.team-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; color: #fff;
  margin: 0 0 16px; line-height: 1.1;
}
.team-hero > .container > p {
  font-size: 1.1rem; color: rgba(255,255,255,.85);
  max-width: 560px; margin: 0 auto 32px; line-height: 1.65;
}
.team-hero-actions {
  display: flex; gap: 12px;
  justify-content: center; flex-wrap: wrap;
}

/* ─── STATS BALK ─── */
.stats-wrap {
  background: #fff;
  border-bottom: 1.5px solid #e6eaf0;
  padding: 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 640px) {
  .stats-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-inner .stat-item { min-width: 0; padding: 24px 10px; }
  .stats-inner .stat-number { font-size: clamp(1.5rem, 7vw, 2.4rem); }
  .stat-label { overflow-wrap: anywhere; }
}
.stat-item {
  padding: 32px 20px;
  text-align: center;
  border-right: 1.5px solid #e6eaf0;
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.4rem; font-weight: 900;
  color: #e63946; line-height: 1;
  margin-bottom: 6px; display: block;
}
.stat-label {
  font-size: .82rem; font-weight: 700;
  color: #5b6472; text-transform: uppercase;
  letter-spacing: .06em;
}

/* ─── SAMENWERKING ─── */
.collab-wrap { padding: 32px 0 0; }
.collab-card {
  display: flex; align-items: flex-start; gap: 18px;
  background: #fff;
  border: 1.5px solid #e6eaf0;
  border-left: 4px solid #e63946;
  border-radius: 16px;
  padding: 22px 28px;
  box-shadow: 0 4px 20px rgba(20,22,26,.05);
}
.collab-icon { font-size: 1.8rem; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.collab-text { font-size: .97rem; color: #5b6472; line-height: 1.7; margin: 0; }
.collab-text strong { color: #14161a; }

/* ─── COORDINATOR ─── */
.coordinator-wrap { padding: 72px 0 60px; }
.coordinator-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
@media (max-width: 740px) {
  .coordinator-inner { grid-template-columns: 1fr; gap: 36px; }
  .coordinator-photo-col { order: -1; }
}
.coordinator-photo-col {
  position: relative; display: flex; justify-content: center;
}
.coordinator-photo-frame {
  position: relative; width: min(320px, 100%);
}
.coordinator-photo-frame::before {
  content: '';
  position: absolute; inset: -10px -10px 10px 10px;
  border-radius: 28px;
  background: linear-gradient(135deg, #e63946 0%, #ff6b6b 100%);
  z-index: 0;
}
.coordinator-photo-frame img {
  position: relative; z-index: 1;
  width: 100%; border-radius: 24px; display: block;
  object-fit: cover; aspect-ratio: 4/5;
  box-shadow: 0 20px 60px rgba(214,31,38,.25);
}
.coordinator-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff0f0; color: #e63946;
  font-size: .75rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
  border: 1.5px solid #ffd0d0; margin-bottom: 18px;
}
.coordinator-badge::before { content: '★'; font-size: .9rem; }
.coordinator-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; color: #14161a;
  margin: 0 0 6px; line-height: 1.1;
}
.coordinator-role { font-size: 1.05rem; color: #e63946; font-weight: 700; margin: 0 0 20px; }
.coordinator-bio { font-size: 1rem; color: #5b6472; line-height: 1.7; margin: 0 0 28px; }
.coordinator-link-wrap { display: none; }
.coordinator-link {
  color: #e63946;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.coordinator-link:hover { text-decoration-thickness: 2px; }
.coordinator-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.coordinator-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: #14161a;
  font-size: .82rem; font-weight: 700;
  padding: 7px 14px; border-radius: 100px;
  border: 1.5px solid #e6eaf0;
  box-shadow: 0 2px 8px rgba(20,22,26,.06);
}

/* ─── DIVIDER ─── */
.team-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #e6eaf0, transparent);
  margin: 0 24px;
}

/* ─── ROLLEN ─── */
.roles-wrap { padding: 60px 0 48px; }
.roles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) {
  .roles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1040px) {
  .roles-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.role-card {
  background: #fff; border-radius: 20px;
  padding: 28px 26px 26px;
  border: 1.5px solid #e6eaf0;
  box-shadow: 0 4px 20px rgba(20,22,26,.05);
  transition: transform .2s, box-shadow .2s;
}
.role-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(20,22,26,.1); }
.role-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; line-height: 1; }
.role-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem; font-weight: 800; color: #14161a; margin: 0 0 4px;
}
.role-title {
  font-size: .82rem; font-weight: 700; color: #e63946;
  text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px;
}
.role-text { font-size: .9rem; color: #5b6472; line-height: 1.6; margin: 0; }


/* ─── TIJDLIJN ─── */
.timeline-wrap { padding: 60px 0; }
.timeline {
  position: relative;
  display: flex; flex-direction: column; gap: 0;
}
.timeline::before {
  content: '';
  position: absolute; left: 31px; top: 16px; bottom: 16px;
  width: 2px;
  background: linear-gradient(180deg, #e63946, #ff8888, #e63946);
}
@media (min-width: 680px) {
  .timeline::before { left: 50%; transform: translateX(-50%); }
}
.timeline-item {
  display: flex; gap: 24px;
  align-items: flex-start;
  padding: 0 0 40px 0;
  position: relative;
}
@media (min-width: 680px) {
  .timeline-item { width: 50%; padding-right: 48px; }
  .timeline-item:nth-child(even) {
    align-self: flex-end;
    padding-right: 0; padding-left: 48px;
    flex-direction: row-reverse;
    text-align: right;
  }
  .timeline-item:nth-child(even) .timeline-dot { order: -1; }
}
.timeline-dot {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #e63946, #ff4e4e);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(214,31,38,.3);
  position: relative; z-index: 1;
  border: 3px solid #f4f6fb;
}
@media (min-width: 680px) {
  .timeline-item { padding-left: 0; }
  .timeline-dot {
    position: absolute;
    right: -22px; top: 0;
  }
  .timeline-item:nth-child(even) .timeline-dot {
    right: auto; left: -22px;
  }
}
.timeline-card {
  background: #fff; border-radius: 18px;
  padding: 22px 24px;
  border: 1.5px solid #e6eaf0;
  box-shadow: 0 4px 18px rgba(20,22,26,.06);
  flex: 1;
}
.timeline-step {
  font-size: .72rem; font-weight: 800;
  color: #e63946; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 6px; display: block;
}
.timeline-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem; font-weight: 800;
  color: #14161a; margin: 0 0 8px;
}
.timeline-card p { font-size: .88rem; color: #5b6472; line-height: 1.6; margin: 0 0 10px; }
.timeline-more-link { font-size: .82rem; color: #e63946; text-decoration: none; font-weight: 600; display: inline-block; }
.timeline-more-link:hover { text-decoration: underline; }

/* ─── VALUES ─── */
.values-wrap { padding: 10px 0 60px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.value-card {
  background: linear-gradient(135deg, #e63946 0%, #c01018 100%);
  border-radius: 20px; padding: 28px 20px;
  text-align: center; color: #fff;
  box-shadow: 0 8px 24px rgba(214,31,38,.2);
  transition: transform .2s;
}
.value-card:hover { transform: translateY(-3px); }
.value-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.value-label { font-weight: 800; font-size: .95rem; }

/* ─── COLLEGA'S ZOEKEN ─── */
.join-wrap { padding: 0 0 64px; scroll-margin-top: 90px; }
.join-card {
  padding: 36px;
  border: 1px solid #e6eaf0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(20,22,26,.05);
}
.join-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.join-inner > * { min-width: 0; }
.join-kicker {
  display: block;
  margin: 0 0 12px;
  color: #d4313e;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.join-title {
  margin: 0 0 16px;
  color: #14161a;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
}
.join-title span { color: inherit; }
.join-text {
  margin: 0 0 24px;
  color: #5b6472;
  font-size: .95rem;
  line-height: 1.8;
}
.join-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.join-btn-main,
.join-btn-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}
.join-btn-main { background: #d4313e; color: #fff; }
.join-btn-main:hover { background: #b82532; }
.join-btn-main > span { flex-shrink: 0; }
.join-btn-sub { border-color: #dce2eb; background: #fff; color: #445063; }
.join-btn-sub:hover { border-color: #b8c2d0; background: #f4f6fb; }
.join-card a:focus-visible { outline: 3px solid #d4313e; outline-offset: 4px; }
.join-perks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.join-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid #edf0f5;
  border-radius: 12px;
  background: #f8f9fc;
  color: #445063;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.6;
}
.join-perk-check {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff0f1;
  color: #d4313e;
}
.join-perk-check svg { width: 18px; height: 18px; }
@media (max-width: 850px) {
  .join-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .join-card { padding: 28px; }
}
@media (max-width: 480px) {
  .join-card { padding: 24px 20px; border-radius: 18px; }
  .join-actions { flex-direction: column; align-items: stretch; }
  .join-perks li { align-items: flex-start; padding: 12px; }
  .join-perk-check { margin-top: 1px; }
}
@media (prefers-reduced-motion: reduce) {
  .join-btn-main, .join-btn-sub { transition: none; }
}

/* ─── CERT ─── */
.cert-wrap { padding: 0 0 72px; }
.cert-card {
  background: #fff; border-radius: 24px;
  padding: 40px 44px;
  border: 1.5px solid #e6eaf0;
  box-shadow: 0 4px 24px rgba(20,22,26,.06);
  display: flex; gap: 32px; align-items: flex-start;
}
@media (max-width: 600px) { .cert-card { flex-direction: column; gap: 18px; padding: 28px 22px; } }
.cert-icon-wrap {
  flex-shrink: 0; width: 64px; height: 64px;
  background: linear-gradient(135deg, #e63946, #ff4e4e);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 18px rgba(214,31,38,.25);
}
.cert-body h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem; font-weight: 800;
  color: #14161a; margin: 0 0 10px;
}
.cert-body p { color: #5b6472; font-size: .97rem; line-height: 1.65; margin: 0; }

/* ─── FADE-IN ANIMATIE ─── */
.reveal {
  opacity: 1; transform: none;
  transition: opacity .55s ease, transform .55s ease;
}
.team-motion .reveal:not(.visible) { opacity: 0; transform: translateY(24px); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* The people and their shared work lead the page; founder information stays compact. */
.team-story-wrap{padding:64px 0 55px;scroll-margin-top:85px}
.team-story-grid{display:grid;grid-template-columns:1.08fr 1fr;gap:46px;align-items:center}
.team-story-kicker{display:block;color:#d4313e;font-size:.72rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;margin-bottom:13px}
.team-story-copy .team-section-title{line-height:1.25;margin-bottom:22px}
.team-story-copy>p{font-size:.96rem;color:#5b6472;line-height:1.85;margin:0 0 17px}
.team-story-photo{margin:0;padding:10px;background:#fff;border:1px solid #e6eaf0;border-radius:19px;box-shadow:0 12px 35px #14161a0a;min-width:0}
.team-story-photo>img{display:block;width:100%;height:auto;aspect-ratio:1080/811;object-fit:contain;border-radius:11px}
.team-story-photo figcaption{padding:15px 9px 8px;color:#5b6472;font-size:.8rem;line-height:1.6}
.team-culture-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:37px}
.team-culture-card{padding:25px;background:#fff;border:1px solid #e6eaf0;border-radius:15px;min-width:0}
.team-culture-number{font-size:.72rem;letter-spacing:.1em;color:#d4313e;font-weight:800}
.team-culture-card h3{font-size:1.05rem;line-height:1.4;color:#14161a;margin:13px 0 11px}
.team-culture-card p{font-size:.88rem;color:#5b6472;line-height:1.8;margin:0}
.team-founder-wrap{padding:0 0 48px}
.team-founder-card{display:flex;align-items:center;gap:25px;padding:26px 29px;border:1px solid #e2e6ed;border-radius:15px;background:#fff}
.team-founder-card>img{width:88px;height:88px;flex-shrink:0;object-fit:cover;object-position:center 30%;border-radius:50%}
.team-founder-card .team-story-kicker{margin-bottom:7px}
.team-founder-card h2{font-size:1.3rem;line-height:1.3;color:#14161a;margin:0 0 5px}
.team-founder-card p{font-size:.88rem;line-height:1.7;color:#5b6472;margin:9px 0 0}
.team-founder-card .team-founder-role{font-size:.8rem;margin-top:0;color:#d4313e}
@media(max-width:850px){.team-story-grid{grid-template-columns:1fr;gap:27px}.team-story-photo{width:100%;max-width:620px;justify-self:center}.team-culture-grid{grid-template-columns:1fr;gap:16px}.team-story-wrap{padding-block:45px}.team-culture-card{padding:23px}}
@media(max-width:480px){.team-founder-card{align-items:flex-start;gap:16px;padding:22px;flex-direction:column}.team-founder-card>img{width:66px;height:66px}.team-story-grid{gap:23px}.team-story-copy>p{font-size:.91rem}.team-story-photo figcaption{font-size:.75rem}}
@media(prefers-reduced-motion:reduce){.team-page .reveal{opacity:1;transform:none;transition:none}}
