/* ─── Over de coach ──────────────────────────────────────── */

.coach-page { background: var(--color-base); min-height: 100vh; }

/* ── Hero ───────────────────────────────────────────────── */
.coach-hero-a {
  padding-top: var(--s8);
  padding-bottom: var(--s2);
}

.coach-hero-a__inner {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.coach-hero-a__h1 { font-size: clamp(36px, 8vw, 56px); }

.coach-hero-a__sub {
  margin-top: var(--s2);
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 520px;
  line-height: 1.55;
}

.coach-hero-a__portrait-wrap {
  flex-shrink: 0;
  width: clamp(180px, 45vw, 260px);
  margin: 0;
}

.coach-hero-a__portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  display: block;
}

.coach-hero-a__portrait-caption {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--color-text-secondary);
  text-align: center;
}

/* ── Credentials timeline ────────────────────────────────── */
.coach-credentials__h2 {
  font-size: clamp(20px, 3vw, 32px);
  margin-bottom: var(--s5);
}

.coach-credentials__list { list-style: none; }

.coach-credential__name {
  display: flex;
  align-items: center;
  gap: 6px;
}

.coach-credential__logo {
  display: inline-block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.coach-credential {
  border-left: 2px solid var(--color-surface-2);
  padding-left: var(--s3);
  padding-bottom: var(--s5);
}

.coach-credential:last-child { padding-bottom: 0; }

.coach-credential--current { border-left-color: var(--color-accent); }

.coach-credential__year {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--s1);
}

.coach-credential__name {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  line-height: 1.05;
}

.coach-credential__roles {
  list-style: none;
  margin-top: var(--s1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.coach-credential__role {
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* ── Stat bar ────────────────────────────────────────────── */
.coach-stat-bar {
  background: var(--color-surface);
  padding: var(--s5) var(--s3);
  display: flex;
  justify-content: center;
  gap: var(--s8);
}

.coach-stat { text-align: center; }

.coach-stat__num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  line-height: 1;
}

.coach-stat__label {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

/* ── Matches photo + text ────────────────────────────────── */
.coach-match-a__photo {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  margin-bottom: var(--s5);
}

.coach-match-a__h2 { font-size: clamp(24px, 5vw, 42px); }

.coach-match-a__body {
  margin-top: var(--s2);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 580px;
}

/* ── Personal / personalization section ──────────────────── */
.coach-personal__h2 { font-size: clamp(24px, 5vw, 40px); }

.coach-personal__body {
  margin-top: var(--s2);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 580px;
}


/* ════════════════════════════════════════════════════════════
   DESKTOP
   ════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {

  /* Hero: text left, portrait right */
  .coach-hero-a__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--s6);
  }

  .coach-hero-a__text { max-width: 520px; }

  .coach-hero-a__portrait-wrap { margin-top: 10px; }

  /* Credentials: horizontal 3-col grid */
  .coach-credentials__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s5);
  }

  .coach-credential {
    border-left: none;
    border-top: 2px solid var(--color-surface-2);
    padding-left: 0;
    padding-top: var(--s3);
    padding-bottom: 0;
  }

  .coach-credential--current { border-top-color: var(--color-accent); }

  /* Match A: wider photo ratio */
  .coach-match-a__photo { aspect-ratio: 16 / 6; }
}
