/* profile-expert-01  (namespace ex-)  Expert profile: burgundy + graphite on warm white. Sticky identity sidebar, credentials, method, service table. */
.ex { --pm-ink: #1a1416; --pm-bg: #faf8f6; --pm-brand: #6b1d2e; --pm-cta: #6b1d2e; --pm-on-cta: #fff; --pm-muted: #5a5256; --pm-line: #e2dcd9; --pm-soft: #f1ebe8; --pm-surface: #fff;
  --pm-btn-r: 6px; --pm-btn-bd: 0; --pm-btn-sh: none; }
.ex-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 22px 60px; align-items: start; }
.ex-card { background: #fff; border: 1px solid var(--pm-line); border-top: 5px solid var(--pm-brand); border-radius: 6px; padding: 24px 22px; display: grid; gap: 12px; }
.ex-ph { width: 112px; aspect-ratio: 4 / 5; border-radius: 6px; background: var(--pm-ink); color: #e9c9d0; display: grid; place-items: center; font-size: 3.4rem; font-weight: 900; }
.ex-name { font-size: 1.9rem; font-weight: 900; line-height: 1.3; } .ex-title { margin: -6px 0 0; color: var(--pm-brand); font-weight: 800; }
.ex-facts { margin: 4px 0 6px; display: grid; gap: 0; border-top: 1px solid var(--pm-line); } .ex-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--pm-line); font-size: .95rem; } .ex-facts dt { color: var(--pm-muted); font-weight: 700; } .ex-facts dd { margin: 0; font-weight: 800; text-align: end; }
.ex-card .pm-btn--ghost { border: 1px solid var(--pm-ink); color: var(--pm-ink) !important; }
.ex-sec { padding-block: 34px; border-bottom: 1px solid var(--pm-line); } .ex-sec:first-child { padding-top: 6px; } .ex-sec:last-child { border-bottom: 0; }
.ex-h2 { font-size: clamp(1.5rem, 4.6vw, 2.1rem); line-height: 1.38; font-weight: 900; margin-bottom: 14px; max-width: 20em; }
.ex-sec:first-child .ex-h2 { font-size: clamp(1.8rem, 6vw, 2.7rem); line-height: 1.3; }
.ex-lead { margin: 0; font-size: 1.12rem; line-height: 2; max-width: 36em; color: var(--pm-muted); } .ex-note { margin: -6px 0 14px; font-size: .88rem; color: var(--pm-muted); font-weight: 600; }
.ex-cv { list-style: none; margin: 0; padding: 0; } .ex-cv li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 18px; padding: 13px 0; border-bottom: 1px solid var(--pm-line); } .ex-cv span { color: var(--pm-muted); font-weight: 600; }
.ex-areas { display: grid; gap: 12px; } .ex-areas > div { background: #fff; border: 1px solid var(--pm-line); border-inline-start: 4px solid var(--pm-brand); padding: 16px 18px; } .ex-areas h3 { margin: 0; font-size: 1.1rem; font-weight: 900; } .ex-areas p { margin: 2px 0 0; color: var(--pm-muted); }
.ex-method { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: exm; } .ex-method li { counter-increment: exm; display: grid; grid-template-columns: 40px 1fr; gap: 0 14px; } .ex-method li::before { content: counter(exm); grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--pm-brand); color: var(--pm-brand); display: grid; place-items: center; font-weight: 900; } .ex-method h3 { margin: 0; font-size: 1.1rem; font-weight: 900; } .ex-method p { margin: 0; color: var(--pm-muted); }
.ex-cases { display: grid; gap: 14px; } .ex-cases article { background: var(--pm-soft); border-radius: 6px; padding: 18px 20px; } .ex-cases h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 900; } .ex-cases p { margin: 0; line-height: 1.9; }
.ex-final { background: var(--pm-ink); color: #fff; border-radius: 6px; padding: 32px 24px; } .ex-final h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); line-height: 1.4; } .ex-final p { margin: 6px 0 18px; color: #cfc4c7; } .ex-final .pm-btn { background: #fff; color: var(--pm-brand) !important; } .ex-final .pm-btn--ghost { background: transparent; color: #fff !important; border: 1px solid #6e6266; }
.ex-foot { background: #120d0f; color: #9d9094; font-size: .9rem; padding-block: 20px; } .ex-foot p { margin: 0; }
@media (min-width: 768px) { .ex-areas { grid-template-columns: 1fr 1fr; } .ex-cases { grid-template-columns: 1fr 1fr; } .ex-method { grid-template-columns: repeat(4, 1fr); gap: 20px; } .ex-method li { grid-template-columns: 1fr; } .ex-method li::before { grid-row: auto; margin-bottom: 8px; } }
@media (min-width: 992px) { .ex-layout { grid-template-columns: 330px minmax(0, 1fr); gap: 56px; padding-top: 40px; } .ex-side { position: sticky; top: 20px; } .ex-sec { padding-block: 46px; } }

/* services & products (data-driven) */
.ex-grp { display: grid; gap: 12px; margin-top: 8px; } .ex-grp + .ex-grp { margin-top: 28px; } .ex-h3 { margin: 0; font-size: 1.05rem; font-weight: 900; color: var(--pm-brand); padding-bottom: 8px; border-bottom: 2px solid var(--pm-brand); }
.ex-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ex-svc, .ex-prod { background: #fff; border: 1px solid var(--pm-line); border-radius: 6px; padding: 16px 18px; display: grid; gap: 10px; align-items: center; }
.ex-svc { border-inline-start: 4px solid var(--pm-brand); } .ex-prod { background: var(--pm-soft); border-style: dashed; grid-template-columns: 64px 1fr; }
.ex-svc__m { display: flex; align-items: center; gap: 12px; } .ex-svc h4, .ex-prod h4 { margin: 0; font-size: 1.05rem; font-weight: 900; line-height: 1.5; } .ex-svc p, .ex-prod p { margin: 2px 0 0; color: var(--pm-muted); font-size: .94rem; line-height: 1.75; }
.ex-svc__d { color: var(--pm-muted); font-weight: 700; } .ex-svc__p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 1.15rem; } .ex-svc__a { display: flex; align-items: center; gap: 12px; }
.ex-prod .ex-svc__p, .ex-prod .ex-svc__a { grid-column: 1 / -1; }
.ex-det { background: none; border: 0; padding: 4px 2px; font-weight: 800; color: var(--pm-brand); text-decoration: underline; text-underline-offset: 5px; cursor: pointer; font-size: .92rem; } .ex-more { justify-self: start; }
.ex-av, .ex-th { flex: none; width: 56px; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; display: grid; place-items: center; background: var(--pm-ink); color: #fff; font-weight: 900; } .ex-av img, .ex-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ex-th { width: 64px; aspect-ratio: 1; font-size: .76rem; text-align: center; line-height: 1.3; background: #ead7dc; color: var(--pm-ink); } .ex-th[data-tone="b"] { background: #d6e3ee; } .ex-th[data-tone="c"] { background: #e8e1c9; } .ex-th[data-tone="d"] { background: #d7e8d9; } .ex-th[data-tone="e"] { background: #e3d9ec; } .ex-th[data-tone="f"] { background: #f0d9d0; }
.ex-final > div + div { margin-top: 0; }
@media (min-width: 768px) {
  .ex-svc { grid-template-columns: minmax(0, 1fr) 76px 150px auto; gap: 14px; } .ex-prod { grid-template-columns: 64px minmax(0, 1fr) 150px auto; gap: 14px; } .ex-prod .ex-svc__p, .ex-prod .ex-svc__a { grid-column: auto; }
}
