/* An open biography beside a chronological academic timeline. */
.about-section { container: about / inline-size; }
.about-intro h2 > span { display: inline-block; max-width: 100%; }
.about-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: start; gap: clamp(40px, 6cqw, 72px); }
.about-copy { min-width: 0; }
.about-copy > p { max-width: 54ch; color: var(--muted); font-size: 14px; line-height: 1.85; }
.about-copy > p + p { margin-top: 22px; }
.about-copy .about-lead { max-width: 440px; color: var(--text); font: 600 20px/1.5 Manrope, Arial, sans-serif; letter-spacing: -.3px; text-wrap: pretty; }

.about-education { min-width: 0; padding-top: 3px; }
.education-heading { margin-bottom: 28px; }
.education-heading .eyebrow { margin: 0; color: var(--muted); font-size: 11px; letter-spacing: 1.8px; }
.education-timeline { margin: 0; padding: 0; list-style: none; }
.education-step { position: relative; padding-inline-start: 34px; }
.education-step + .education-step { margin-top: 26px; }
.education-step::before { content: ""; position: absolute; inset-inline-start: 0; top: 9px; z-index: 1; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 5px var(--wash); }
/* Connect node centers only; the line stops at the final degree's date. */
.education-step:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 3.5px; top: 13px; bottom: -39px; width: 1px; background: color-mix(in srgb, var(--purple) 22%, var(--line)); }
.education-step:not(:last-child) .education-card { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.education-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.education-card .role-date { color: var(--muted); font-size: 12px; line-height: 1.5; }
.education-card .grade { padding: 4px 10px; border-radius: 999px; background: var(--wash); color: var(--purple); font-size: 11px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.education-card h3 { color: var(--text); font-size: var(--card-title-size); line-height: 1.5; letter-spacing: -.2px; text-wrap: pretty; }
.education-subject { display: block; margin-top: 6px; color: var(--muted); font: 400 14px/1.6 Roboto, Arial, sans-serif; letter-spacing: 0; }
.education-card p { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.7; }

@container about (max-width: 850px) {
  .about-layout { gap: 36px; }
  .about-copy .about-lead { font-size: 20px; }
  .education-step { padding-inline-start: 28px; }
}

@container about (max-width: 700px) {
  .about-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .about-copy > p { max-width: 62ch; }
  .about-copy .about-lead { max-width: 520px; }
  .about-education { padding: 0 0 0 5px; }
  .education-heading { margin-bottom: 24px; }
}

@container about (max-width: 420px) {
  .about-copy .about-lead { font-size: 18px; letter-spacing: -.2px; }
  .about-copy > p { line-height: 1.8; }
  .about-copy > p + p { margin-top: 18px; }
  .education-heading .eyebrow { letter-spacing: 1.5px; }
  .education-step { padding-inline-start: 25px; }
  .education-meta { gap: 8px; }
}
