body.experts-page {
  background: var(--bg-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.experts-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  background: rgba(250, 249, 246, 0.96);
  backdrop-filter: blur(10px);
}

.experts-nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.experts-nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.experts-nav-links a:not(.btn) {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 10px;
}

.experts-nav-links a:not(.btn):hover {
  color: var(--text);
}

.experts-main {
  flex: 1;
  padding: 48px 0 80px;
}

.experts-directory-head {
  margin-bottom: 32px;
}

.experts-directory-head h1 {
  font-family: var(--serif);
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.experts-directory-head p {
  color: var(--text-muted);
  max-width: 38em;
  line-height: 1.65;
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.expert-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.expert-card:hover {
  border-color: #b8b2a6;
  box-shadow: var(--shadow);
}

.expert-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.expert-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.expert-card h2 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.expert-card-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.expert-card-headline {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 8px;
  flex: 1;
}

.expert-card-domains {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

.expert-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: #2d5a2d;
}

.verified-badge svg {
  width: 13px;
  height: 13px;
}

/* Profile page */
.expert-profile {
  max-width: 720px;
}

.expert-profile-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 28px;
}

.expert-profile-back:hover {
  color: var(--text);
}

.expert-profile-header {
  margin-bottom: 32px;
}

.expert-profile-identity {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}

.expert-profile-identity .expert-avatar {
  width: 56px;
  height: 56px;
  font-size: 1.375rem;
}

.expert-profile-identity h1 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 6px;
}

.expert-profile-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.expert-profile-meta .verified-badge {
  font-size: 0.8125rem;
}

.expert-profile-headline {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 20px;
}

.expert-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.expert-stat {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.expert-stat span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 4px;
}

.expert-stat strong {
  font-size: 1.125rem;
  font-weight: 600;
}

.expert-bio {
  margin-bottom: 40px;
}

.expert-bio p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.expert-bio p:last-child {
  margin-bottom: 0;
}

.expert-listings-section h2 {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.expert-listings-grid {
  display: grid;
  gap: 12px;
}

.expert-listing-card {
  display: block;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}

.expert-listing-card:hover {
  border-color: #b8b2a6;
}

.expert-listing-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.expert-listing-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}

.expert-listing-card > p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.expert-listing-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-light);
}

.expert-listing-foot .price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.expert-listing-foot .price small {
  font-weight: 400;
  color: var(--text-muted);
}

.experts-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: var(--bg);
}

.experts-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  font-size: 0.8125rem;
}

.experts-footer-inner a {
  color: var(--text-muted);
  text-decoration: none;
}

.experts-footer-inner a:hover {
  color: var(--text);
}

.experts-footer-copy {
  margin-left: auto;
  color: var(--text-light);
}

.expert-not-found {
  text-align: center;
  padding: 80px 28px;
  color: var(--text-muted);
}

.expert-not-found h1 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text);
}

/* ── Credential styling — profiles & directory match the marketplace dossier ── */
.exp-signet {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22);
}
.expert-profile-identity .exp-signet {
  width: 60px;
  height: 60px;
  font-size: 1.4rem;
}
.expert-profile-domains {
  font-size: 0.8125rem;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

/* Spec strip — the same cohesive credential block as the marketplace dossier. */
.exp-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(140% 130% at 0% 0%, var(--accent-soft), transparent 58%),
    #fff;
  overflow: hidden;
}
.exp-specs > div {
  padding: 18px 8px;
  text-align: center;
  border-left: 1px solid var(--border);
}
.exp-specs > div:first-child { border-left: none; }
.exp-specs dd {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.exp-specs dd small {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--text-light);
  margin-left: 1px;
}
.exp-specs dt {
  margin-top: 5px;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

/* Directory card — signet + rating chip + verified name. */
.expert-card { position: relative; }
.expert-card .exp-signet { width: 42px; height: 42px; font-size: 0.95rem; }
.expert-card h2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.exp-card-verified { display: inline-flex; color: #2d7d54; }
.exp-card-verified svg { width: 14px; height: 14px; }
.exp-card-rating {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.exp-card-rating i { font-style: normal; color: var(--accent); font-size: 0.9em; line-height: 1; }
.exp-card-domain {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Expertise card on a profile — credential look, links into the marketplace. */
.exp-listing-card {
  position: relative;
  display: block;
  padding: 20px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background:
    radial-gradient(130% 120% at 100% 0%, var(--accent-soft), transparent 55%),
    #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.15s;
}
.exp-listing-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.exp-listing-rating {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
}
.exp-listing-rating i { font-style: normal; color: var(--accent); font-size: 0.9em; line-height: 1; }
.exp-listing-domain {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.exp-listing-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text);
}
.exp-listing-card > p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}
.exp-listing-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-light);
}
.exp-listing-connect { color: var(--accent); font-weight: 600; }

/* Decision-style radar — same fingerprint as the marketplace dossier. */
.exp-style {
  margin-bottom: 40px;
  padding: 22px 24px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(130% 120% at 100% 0%, var(--accent-soft), transparent 55%),
    #fff;
}
.exp-style h2 {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  margin-bottom: 6px;
}
.radar-caption {
  max-width: 54ch;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.style-radar {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 10px auto 0;
}
.radar-axis {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.02em;
  fill: var(--text-light);
}

@media (max-width: 640px) {
  .expert-profile-stats {
    grid-template-columns: 1fr;
  }

  .experts-nav-inner {
    padding: 0 16px;
  }

  .experts-main {
    padding: 32px 0 56px;
  }

  .expert-profile-identity {
    flex-direction: column;
    align-items: flex-start;
  }
}
