/* E7 — the full résumé on the About page (Yanzi 2026-11-08).
   No lines (Yanzi: "这个线不要"); hierarchy by size, weight and space:
   1. job title — 18px, 500, black (what the eye finds first)
   2. organisation · city · dates — one quiet grey line
   3. description — 14px grey, like the case-study text
   Section names stay in view on the left while their section scrolls. */

.ab-cv, .ab-kvs { font: 400 15px/1.35 var(--sans); color: #000; display: grid; row-gap: 40px; }

/* section names: black, sticky in the left column */
.ab-row:has(.ab-cv, .ab-kvs) { padding-top: 96px; }
.ab-row:has(.ab-cv, .ab-kvs) > .ab-k {
  position: sticky; top: 120px; align-self: start;
  font: 500 15px/1.3 var(--sans); color: #000;
}

.ab-e { display: block; padding: 0; border: 0; }
.ab-e > div { display: flex; flex-direction: column; }
.ab-e-t { order: 1; margin: 0; font: 500 18px/1.25 var(--sans); letter-spacing: -.005em; }
.ab-e-o { order: 2; margin: 6px 0 0; font-size: 14px; color: #6b6b6b; }
.ab-e-o a { color: #000; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ab-e-o a:hover { opacity: .55; }
.ab-e-c { color: #6b6b6b; }
.ab-e-c:not(:empty)::before { content: " · "; }
.ab-e-x { order: 3; margin: 12px 0 0; max-width: 38em; font-size: 14px; line-height: 1.55; color: #666; }
html[data-lang="zh"] .ab-e-x { line-height: 1.8; }
/* dates: same grey line as the organisation, after it (moved by grid-free trick: shown via the grid below) */
.ab-e { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: baseline; }
.ab-e > div { grid-column: 1; grid-row: 1; }
.ab-e-d { grid-column: 2; grid-row: 1; margin: 0; font-size: 14px; color: #6b6b6b; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Expertise: small grey label above its list */
.ab-kv { display: block; padding: 0; border: 0; }
.ab-kv p { margin: 0; }
.ab-kv-k { font-size: 13px; color: #6b6b6b; margin-bottom: 6px !important; }
.ab-kv-v { max-width: 38em; font-size: 15px; line-height: 1.5; }
.ab-kvs { row-gap: 24px; }

@media (max-width: 700px) {
  .ab-row:has(.ab-cv, .ab-kvs) { padding-top: 64px; }
  .ab-row:has(.ab-cv, .ab-kvs) > .ab-k { position: static; margin-bottom: 20px; }
  .ab-e { grid-template-columns: 1fr; }
  .ab-e-d { grid-column: 1; grid-row: 2; margin-top: 4px; }
  .ab-cv { row-gap: 32px; }
}

/* Yanzi "线回来": lines back — a black line on top of each section, thin grey lines only BETWEEN entries
   (no line after the last one, so two sections never meet in a double line) */
.ab-cv, .ab-kvs { row-gap: 0; }
.ab-e, .ab-kv { padding: 18px 0 22px; }
.ab-e:first-child, .ab-kv:first-child { border-top: 1px solid #000; }
.ab-e + .ab-e, .ab-kv + .ab-kv { border-top: 1px solid #e0e0e0; }
.ab-kv { padding: 14px 0 16px; }
.ab-row:has(.ab-cv, .ab-kvs) > .ab-k { padding-top: 18px; }   /* section name level with the first title */

/* Yanzi: less space between the sections */
.ab-row:has(.ab-cv, .ab-kvs) { padding-top: 40px; }
.ab-e:last-child, .ab-kv:last-child { padding-bottom: 8px; }
@media (max-width: 700px) { .ab-row:has(.ab-cv, .ab-kvs) { padding-top: 36px; } }

/* the intro joins the same system (Yanzi: "好好调整这个 page"): "About" label on the left like every
   section, a black line on top, and the text as a readable lead paragraph — a step above the 14px
   job descriptions */
.ab-row-first { padding-top: 56px; }
.ab-row-first > .ab-k { position: sticky; top: 120px; align-self: start; padding-top: 18px; font: 500 15px/1.3 var(--sans); color: #000; }
.ab-lead { border-top: 1px solid #000; padding-top: 18px; max-width: none; }
.ab-lead p { max-width: 34em; margin: 0 0 1em; font: 400 17px/1.5 var(--sans); letter-spacing: -.005em; color: #000; }
.ab-lead p:last-child { margin-bottom: 0; }
html[data-lang="zh"] .ab-lead p { font-size: 16px; line-height: 1.85; }
@media (max-width: 700px) {
  .ab-row-first > .ab-k { position: static; margin-bottom: 4px; }
  .ab-lead p { font-size: 16px; }
}

/* Yanzi: no line above the About intro */
.ab-lead { border-top: 0; padding-top: 0; }
.ab-row-first > .ab-k { padding-top: 0; }
