
.work {max-width:900px;margin:auto;padding:28px 40px 80px;}
.work-header {display:flex;align-items:center;justify-content:space-between;margin-bottom:64px;gap:24px;}
.work-header h1 {font-size:1.35rem;font-weight:600;letter-spacing:-.025em;line-height:1.3;margin:0;}
.work-header a {font-size:.95rem;min-height:44px;display:inline-flex;align-items:center;text-decoration:none;color:var(--body);}
.work-header a:hover {text-decoration:underline;text-underline-offset:4px;}
.work-header a:focus-visible {outline:2px solid #657785;outline-offset:4px;}
.timeline {list-style:none;padding:0;margin:0;}
.role {display:grid;grid-template-columns:140px minmax(0,1fr);gap:34px;position:relative;}
.dates {font-size:.875rem;color:#777c84;line-height:1.7;font-variant-numeric:tabular-nums;padding-top:3px;}
.role-content {position:relative;border-left:1px solid #d8d9d7;padding:0 0 48px 32px;}
.role-content:before {content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:#929da1;left:-4px;top:11px;box-shadow:0 0 0 5px var(--page);}
.role:last-child .role-content {border-color:transparent;padding-bottom:0;}
.role h2 {font-size:1.35rem;font-weight:500;letter-spacing:-.025em;line-height:1.3;margin:0 0 3px;}
.role-title {font-size:1rem;line-height:1.5;color:#626974;margin:0 0 16px;}
.achievements {list-style:none;margin:0;padding:0;color:var(--body);font-size:1rem;line-height:1.55;}
.achievements li+li {margin-top:10px;}
.education {margin-top:64px;padding-top:28px;border-top:1px solid #dedfdb;}
.education>h2 {font-size:.875rem;font-weight:500;color:#777c84;margin:0 0 20px;}
.education-row {display:grid;grid-template-columns:140px minmax(0,1fr);gap:66px;}
.education h3 {font-size:1.1rem;font-weight:500;margin:0 0 4px;}
.education p {font-size:1rem;color:var(--body);line-height:1.5;margin:0;}
@media(max-width:600px) {
 .work {padding:20px 24px 60px;}
 .work-header {margin-bottom:36px;}
 .role {display:block;padding-left:20px;border-left:1px solid #d8d9d7;padding-bottom:38px;}
 .role-content {border:0;padding:4px 0 0;position:static;}
 .role-content:before {left:-4px;top:10px;}
 .role:last-child {border-color:transparent;padding-bottom:0;}
 .role:last-child .role-content {padding-top:4px;}
 .education {margin-top:44px;}
 .education-row {display:block;}
 .education-row .dates {display:block;margin-bottom:8px;}
}

.work-header h1,.work-header a {font-size:.95rem;line-height:1.3;min-height:44px;display:inline-flex;align-items:center;letter-spacing:0;}
.work-header h1 {font-weight:650;}

.work .work-header h1 {margin:0;}
/* A clear page title, with navigation sharing its text baseline. */
.work-header {display:grid;grid-template-columns:1fr auto 1fr;align-items:baseline;}
.work-header a {display:block;box-sizing:border-box;min-height:44px;padding-block:12px;line-height:20px;font-size:.9rem;}
.work-header a:last-child {justify-self:end;}
.work .work-header h1 {display:block;min-height:0;font-size:clamp(25px,2.7vw,32px);line-height:1.2;font-weight:600;letter-spacing:-.025em;margin:0;}

.company-description {margin:6px 0 12px;color:#737981;font-size:.9375rem;line-height:1.5;}

/* Company and role read as one identity line, with a quieter role. */
.role h2 {margin-bottom:12px;}
.role h2 .role-title {display:inline;font-size:1rem;line-height:inherit;font-weight:400;color:#626974;letter-spacing:0;margin:0;}
.company-description {margin:0 0 20px;}
.role h2 .role-title {font-size:inherit;}

.role h2 .role-title {font-weight:300;}
