/* =====================================================================
   Career card — content-architecture options, round 2
   Group A: 5 fresh approaches.  Group B: 5 refinements of the Track idea
   (more compact, anchored to the header, calmer).
   Loaded AFTER signal.css; reuses its tokens + card chrome.
   ===================================================================== */

/* Multi-type control bar */
.opt-bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; flex-direction: column; gap: 8px;
  padding: var(--sp-3) var(--sp-6);
  background: color-mix(in srgb, var(--bg-app) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.opt-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.opt-row .rowlbl {
  font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--fg-3); width: 64px; flex-shrink: 0;
}
.opt-title { font-size: 14px; font-weight: 650; color: var(--fg-1); letter-spacing: -0.01em; }
.opt-grouplbl { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); margin: 0 2px 0 4px; }
.opt-switch { display: inline-flex; background: var(--bg-well); border: 1px solid var(--line); border-radius: 9px; padding: 3px; gap: 2px; }
.opt-switch button {
  appearance: none; border: 0; background: transparent; color: var(--fg-2);
  font-size: 12px; font-weight: 600; font-family: inherit;
  padding: 6px 11px; border-radius: 6px; white-space: nowrap;
}
.opt-switch button:hover { color: var(--fg-1); }
.opt-switch button.on { background: var(--bg-card); color: var(--fg-1); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
:root[data-theme="light"] .opt-switch button.on { box-shadow: 0 1px 3px rgba(120,90,40,.12); }
.opt-switch.track button.on { color: var(--accent-text); }
.opt-desc { flex-basis: 100%; font-size: 12.5px; color: var(--fg-3); }
.opt-bar .grow { flex: 1; }

.opt-page { padding: var(--sp-6) var(--sp-6) var(--sp-8); }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-3); margin: var(--sp-5) 0 var(--sp-3);
}
.section-label:first-child { margin-top: 0; }

/* Shared avatar photo */
.opt-av { object-fit: cover; border-radius: var(--r-pill); display: block; flex-shrink: 0; background: var(--bg-well); }
.opt-av-fb {
  display: grid; place-items: center; border-radius: var(--r-pill); flex-shrink: 0;
  color: #fff; font-weight: 700; letter-spacing: -0.01em;
  background: linear-gradient(135deg,#6E79D6,#8E5BD0);
}
.opt-av-fb.violet { background: linear-gradient(135deg,#A78BFA,#7C3AED); }
.opt-av-fb.teal   { background: linear-gradient(135deg,#5EEAD4,#14B8A6); }
.opt-av-fb.amber  { background: linear-gradient(135deg,#FCD34D,#F59E0B); }
.opt-av-fb.rose   { background: linear-gradient(135deg,#FDA4AF,#F43F5E); }

/* verb pill (shared) */
.cv-verb {
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--dot-career);
  background: color-mix(in srgb, var(--dot-career) 16%, transparent);
  padding: 2px 8px; border-radius: var(--r-pill); white-space: nowrap;
}
.cv-arrow { color: var(--fg-3); flex-shrink: 0; }

.cv { margin-top: var(--sp-3); }

/* =====================================================================
   GROUP A — 5 fresh approaches
   ===================================================================== */

/* A1 — Badge-overlay avatar + tight two-line block */
.ca1 { display: flex; align-items: center; gap: var(--sp-3); }
.ca1 .avwrap { position: relative; flex-shrink: 0; }
.ca1 .avwrap .opt-av, .ca1 .avwrap .opt-av-fb { width: 42px; height: 42px; font-size: 14px; }
.ca1 .badge {
  position: absolute; right: -3px; bottom: -3px;
  width: 18px; height: 18px; border-radius: var(--r-pill);
  background: var(--dot-career); color: #06281c;
  display: grid; place-items: center;
  border: 2px solid var(--bg-card);
}
.card:hover .ca1 .badge { border-color: var(--bg-card-hover); }
.ca1 .badge svg { width: 11px; height: 11px; }
.ca1 .l1 { font-size: 15px; font-weight: 650; color: var(--fg-1); letter-spacing: -0.012em; }
.ca1 .l2 { font-size: 13px; color: var(--fg-2); margin-top: 2px; }
.ca1 .l2 .to { color: var(--fg-1); font-weight: 600; }
.ca1 .l2 .sep { color: var(--fg-3); margin: 0 6px; }

/* A2 — Timeline breadcrumb (dots + gradient connector) */
.ca2 .head { display: flex; align-items: center; gap: var(--sp-3); }
.ca2 .head .opt-av, .ca2 .head .opt-av-fb { width: 38px; height: 38px; font-size: 13px; }
.ca2 .nm { font-size: 15px; font-weight: 650; color: var(--fg-1); letter-spacing: -0.012em; }
.ca2 .tl { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.ca2 .step { display: inline-flex; align-items: center; gap: 7px; }
.ca2 .nd { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.ca2 .step.from .nd { background: var(--fg-3); }
.ca2 .step.to .nd { background: var(--dot-career); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dot-career) 22%, transparent); }
.ca2 .step .txt { font-size: 13.5px; }
.ca2 .step.from .txt { color: var(--fg-2); }
.ca2 .step.to .txt { color: var(--fg-1); font-weight: 600; }
.ca2 .conn { width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--fg-3), var(--dot-career)); flex-shrink: 0; }
.ca2 .when { margin-left: auto; font-size: 12px; color: var(--fg-3); }

/* A3 — Highlighted ribbon band */
.ca3 {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 11px 14px; border-radius: 10px;
  background: color-mix(in srgb, var(--dot-career) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--dot-career) 22%, transparent);
}
.ca3 .opt-av, .ca3 .opt-av-fb { width: 40px; height: 40px; font-size: 14px; }
.ca3 .mid { flex: 1; min-width: 0; }
.ca3 .nm { font-size: 14.5px; font-weight: 650; color: var(--fg-1); letter-spacing: -0.012em; }
.ca3 .role { font-size: 13px; color: var(--fg-2); margin-top: 1px; }
.ca3 .role .to { color: var(--fg-1); font-weight: 600; }
.ca3 .role .from { color: var(--fg-3); }

/* A4 — Spotlight (left accent border, editorial) */
.ca4 { display: flex; align-items: center; gap: var(--sp-3); border-left: 3px solid var(--accent-line); padding-left: 15px; }
.ca4 .opt-av, .ca4 .opt-av-fb { width: 44px; height: 44px; font-size: 15px; }
.ca4 .mid { flex: 1; min-width: 0; }
.ca4 .nm { font-size: 13px; font-weight: 600; color: var(--fg-2); }
.ca4 .role { font-size: 17px; font-weight: 700; color: var(--fg-1); letter-spacing: -0.018em; line-height: 1.25; margin-top: 2px; }
.ca4 .meta { font-size: 12.5px; color: var(--fg-3); margin-top: 3px; }

/* A5 — Title-first (the new role is the focal point) */
.ca5 .who { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 7px; }
.ca5 .who .opt-av, .ca5 .who .opt-av-fb { width: 22px; height: 22px; font-size: 9.5px; }
.ca5 .who .nm { font-size: 12.5px; font-weight: 600; color: var(--fg-2); }
.ca5 .role { font-size: 19px; font-weight: 700; color: var(--fg-1); letter-spacing: -0.02em; line-height: 1.22; }
.ca5 .sub { font-size: 12.5px; color: var(--fg-3); margin-top: 5px; }
.ca5 .sub .from { color: var(--fg-2); }

/* =====================================================================
   GROUP B — 5 Track refinements (compact + anchored + calm)
   All share a hairline that pins them to the header, smaller type,
   muted destination (no loud accent box).
   ===================================================================== */

/* B1 — Inline track, hairline above, single row */
.cb1 { border-top: 1px solid var(--line); padding-top: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cb1 .opt-av, .cb1 .opt-av-fb { width: 30px; height: 30px; font-size: 11px; }
.cb1 .nm { font-size: 13.5px; font-weight: 650; color: var(--fg-1); }
.cb1 .trk { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.cb1 .trk .from { color: var(--fg-2); }
.cb1 .trk .to { color: var(--fg-1); font-weight: 600; }
.cb1 .when { margin-left: auto; font-size: 12px; color: var(--fg-3); }

/* B2 — Compact tinted inset strip */
.cb2 {
  margin-top: 10px; display: flex; align-items: center; gap: var(--sp-3);
  padding: 9px 12px; border-radius: 9px; background: var(--bg-well);
}
.cb2 .opt-av, .cb2 .opt-av-fb { width: 34px; height: 34px; font-size: 12px; }
.cb2 .who { min-width: 0; }
.cb2 .who .nm { font-size: 13.5px; font-weight: 650; color: var(--fg-1); }
.cb2 .who .vb { font-size: 11px; color: var(--dot-career); font-weight: 600; }
.cb2 .trk { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; text-align: right; }
.cb2 .trk .from { color: var(--fg-3); }
.cb2 .trk .to { color: var(--fg-1); font-weight: 600; }

/* B3 — Left-rail anchored, calm */
.cb3 { border-left: 2px solid var(--accent-line); padding: 1px 0 1px 14px; }
.cb3 .head { display: flex; align-items: center; gap: 10px; }
.cb3 .opt-av, .cb3 .opt-av-fb { width: 32px; height: 32px; font-size: 11px; }
.cb3 .nm { font-size: 14px; font-weight: 650; color: var(--fg-1); }
.cb3 .trk { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin-top: 7px; }
.cb3 .trk .from { color: var(--fg-2); }
.cb3 .trk .to { color: var(--fg-1); font-weight: 600; }
.cb3 .when { font-size: 12px; color: var(--fg-3); margin-top: 4px; }

/* B4 — Stacked, no boxes (Option-2 minus the bulk), hairline above */
.cb4 { border-top: 1px solid var(--line); padding-top: 12px; }
.cb4 .head { display: flex; align-items: center; gap: 10px; }
.cb4 .opt-av, .cb4 .opt-av-fb { width: 34px; height: 34px; font-size: 12px; }
.cb4 .nm { font-size: 14px; font-weight: 650; color: var(--fg-1); }
.cb4 .trk { display: flex; align-items: center; gap: 9px; font-size: 14px; margin-top: 8px; }
.cb4 .trk .from { color: var(--fg-2); }
.cb4 .trk .arrow { color: var(--dot-career); }
.cb4 .trk .to { color: var(--fg-1); font-weight: 650; letter-spacing: -0.01em; }
.cb4 .when { font-size: 12px; color: var(--fg-3); margin-top: 4px; }

/* B5 — Minimal connector line, single row, hairline above */
.cb5 { border-top: 1px solid var(--line); padding-top: 12px; display: flex; align-items: center; gap: var(--sp-3); }
.cb5 .opt-av, .cb5 .opt-av-fb { width: 34px; height: 34px; font-size: 12px; }
.cb5 .main { flex: 1; min-width: 0; }
.cb5 .nm-row { display: flex; align-items: center; gap: 8px; }
.cb5 .nm { font-size: 13.5px; font-weight: 650; color: var(--fg-1); }
.cb5 .when { font-size: 11.5px; color: var(--fg-3); }
.cb5 .conn { display: flex; align-items: center; gap: 8px; margin-top: 5px; font-size: 13px; }
.cb5 .conn .from { color: var(--fg-2); }
.cb5 .conn .line { flex: 0 0 22px; height: 1px; background: var(--line-strong); }
.cb5 .conn .to { color: var(--fg-1); font-weight: 600; }

/* CTA avatar sizing in this page (Av renders .opt-av) */
.cta .opt-av, .cta .opt-av-fb { width: 24px; height: 24px; font-size: 10px; }
.others .it .opt-av, .others .it .opt-av-fb { width: 28px; height: 28px; font-size: 10.5px; }

/* =====================================================================
   NEWS variants (main content = headline + optional sub)
   ===================================================================== */
.nv { margin-top: var(--sp-3); }
.nv .headline { font-size: var(--t-anchor); font-weight: 600; line-height: var(--t-anchor-line); letter-spacing: -0.012em; color: var(--fg-1); margin: 0; text-wrap: pretty; }
.nv .sub { font-size: 12.5px; color: var(--fg-2); margin-top: 5px; font-variant-numeric: tabular-nums; }
/* Emphasis — larger headline, no sub */
.nv.emphasis .headline { font-size: 19px; letter-spacing: -0.02em; line-height: 1.3; }
/* Spotlight — left accent rule */
.nv.spotlight { border-left: 3px solid var(--accent-line); padding-left: 15px; }
/* Compact — single clamped line, smaller */
.nv.compact .headline { font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.nv.compact .sub { margin-top: 3px; }

/* =====================================================================
   JOB LISTING variants (main content = role title + team/loc/level)
   ===================================================================== */
.jv { margin-top: var(--sp-3); }
.jv .title { font-size: var(--t-anchor); font-weight: 600; line-height: 1.35; letter-spacing: -0.012em; color: var(--fg-1); margin: 0; }
.jv .meta { font-size: 12.5px; color: var(--fg-2); margin-top: 5px; }
.jv .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.jv .chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 500; color: var(--fg-2);
  background: var(--bg-well); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 3px 10px; white-space: nowrap;
}
.jv .chip .ck { color: var(--fg-3); font-weight: 600; }
/* Spotlight */
.jv.spotlight { border-left: 3px solid var(--dot-job); padding-left: 15px; }
.jv.spotlight .title { color: var(--fg-1); }
/* Inset — tinted band holding title + chips */
.jv.inset {
  padding: 11px 14px; border-radius: 10px;
  background: color-mix(in srgb, var(--dot-job) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--dot-job) 20%, transparent);
}
.jv.inset .chips { margin-top: 8px; }
.jv.inset .chip { background: var(--bg-card); }
