.resume-section { border-top: 1px solid var(--line); padding-top: 36px; margin-bottom: 56px; }
.resume-section:last-child { margin-bottom: 0; }
.resume-section > h2 { margin: 0 0 28px; font-size: 28px; font-weight: 500; line-height: 1.25; letter-spacing: -.04em; }
.resume-role { padding: 24px 0; border-bottom: 1px solid var(--line); }
.resume-role:first-child { padding-top: 0; }
.resume-role:last-child { border-bottom: 0; padding-bottom: 0; }
.resume-role h3, .resume-entry h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: -.025em; }
.resume-role h3 span { font-weight: 500; }
.resume-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.resume-role > p:not(.resume-meta), .resume-entry > p:not(.resume-meta) { margin: 0 0 12px; max-width: 1040px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.resume-role > p:last-child, .resume-entry > p:last-child { margin-bottom: 0; }
.earlier-experience { margin-top: 28px; }
.earlier-experience summary { cursor: pointer; width: fit-content; color: var(--muted); font-size: 14px; padding-block: 8px; }
.earlier-experience summary:hover { color: var(--ink); }
.earlier-experience > div { padding-top: 20px; }
.tools-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.tools-grid article { min-width: 0; padding: 22px; border-radius: 16px; border: 1px solid #e8e8ef; background: rgba(255,255,255,.5); }
.tools-grid h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; line-height: 1.4; }
.tools-grid p, .additional-tools { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.additional-tools { margin-top: 20px; }
.skills-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.skills-list li { padding: 9px 14px; border-radius: 12px; background: #eeeeF3; color: #4e5362; font-size: 14px; }
.resume-entry { padding: 20px 0; border-bottom: 1px solid var(--line); }
.resume-entry:nth-child(2) { padding-top: 0; }
.resume-entry:last-child { padding-bottom: 0; border-bottom: 0; }
.resume-entry a:hover { text-decoration: underline; text-underline-offset: 4px; }
.how-i-work > div { max-width: 800px; }
.how-i-work p { color: var(--muted); line-height: 1.65; margin: 0 0 18px; }
.how-i-work p:last-child { margin-bottom: 0; }
@media(max-width:900px) { .tools-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:560px) {
  .resume-section { padding-top: 28px; margin-bottom: 40px; }
  .resume-section > h2 { font-size: 26px; margin-bottom: 24px; }
  .resume-meta { gap: 4px 12px; }
  .tools-grid { grid-template-columns: 1fr; gap: 12px; }
  .tools-grid article { padding: 20px; }
}


/* 2026-10-22: Tabfolio-style experience thumbnails and larger résumé type */
.resume-section > h2 { font-size: 30px; }
.resume-role h3, .resume-entry h3 { font-size: 20px; }
.resume-meta { font-size: 15px; }
.resume-role > p:not(.resume-meta), .resume-entry > p:not(.resume-meta) { font-size: 17px; line-height: 1.65; }
.tools-grid h3 { font-size: 17px; }
.tools-grid p, .additional-tools { font-size: 14px; }
.skills-list li { font-size: 15px; }
.how-i-work p { font-size: 17px; }

.resume-role--thumb {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.resume-role-copy { min-width: 0; }
.resume-thumb {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e5e5ea;
  border-radius: 15px;
  background: #fff;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
a.resume-thumb:hover {
  transform: translateY(-2px);
  border-color: #d3d6df;
  box-shadow: 0 8px 22px rgba(7,19,28,.08);
}
.resume-thumb--health {
  color: #8f69d8;
  background: linear-gradient(145deg, #f1eaff, #e4f3ea);
}
.resume-thumb--health svg { width: 32px; height: 32px; fill: currentColor; }
.resume-thumb--plytix svg { width: 43px; height: 43px; }
.resume-thumb--oup { position: relative; }
.oup-logo-crop {
  width: 48px;
  height: 48px;
  display: block;
  overflow: hidden;
}
.oup-logo-crop img {
  width: auto;
  max-width: none;
  height: 48px;
}
.resume-role-title-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .18s ease;
}
.resume-role-title-link:hover { color: var(--brand); }

@media (max-width: 560px) {
  .resume-role--thumb { grid-template-columns: 54px minmax(0,1fr); gap: 14px; }
  .resume-thumb { width: 48px; height: 48px; border-radius: 13px; }
  .resume-thumb--health svg { width: 28px; height: 28px; }
  .resume-thumb--plytix svg { width: 36px; height: 36px; }
  .oup-logo-crop, .oup-logo-crop img { height: 40px; }
  .oup-logo-crop { width: 40px; }
}

/* Resume experience copy is nested under .resume-role-copy. */
.resume-role-copy > p:not(.resume-meta) { color:var(--muted);font-size:17px;line-height:1.65;margin:0 0 13px;max-width:1040px; }
.resume-role-copy > p:last-child { margin-bottom:0; }
.resume-thumb img { width:50px;height:50px;object-fit:contain;display:block; }
.resume-role-title-link,.resume-role-title-link:visited { color:#101820;text-decoration:underline;text-underline-offset:4px; }
.resume-role-title-link:hover,.resume-role-title-link:focus-visible { color:#2563eb; }
@media(max-width:560px){.resume-thumb img{width:42px;height:42px}}
