/* Keep the career story and section navigation easy to scan. */
@media screen {
  html body .resume-page .resume-skills { margin-block-start: 48px; }
}
@media screen and (max-width: 640px) {
  html body .resume-page .resume-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; padding: 12px; }
  html body .resume-page .resume-sections a { display: inline-flex; align-items: center; min-height: 44px; justify-self: start; }
  html body .resume-page .resume-skills { margin-block-start: 36px; }
}
@media screen {
  html body .resume-page .resume-practice { margin-block-start: 48px; }
  html body .resume-page .resume-evidence-grid { gap: 20px; }
  html body .resume-page .resume-evidence-grid .evidence-preview img { object-fit: contain; }
}
@media screen and (max-width: 640px) { html body .resume-page .resume-practice { margin-block-start: 36px; } }

/* Keep the resume's sections distinct without interrupting the reading flow. */
@media screen {
  html body .resume-page .resume-hero { gap: clamp(32px, 5vw, 72px); }
  html body .resume-page .resume-sections { margin-block: 40px 56px; }
  html body .resume-page .route-experience article { padding-block: 28px; }
  html body .resume-page .resume-background { margin-block-start: 56px; }
}
@media screen and (max-width: 640px) {
  html body .resume-page .resume-sections { margin-block: 28px 36px; }
  html body .resume-page .route-experience article { padding-block: 22px; }
  html body .resume-page .resume-background { margin-block-start: 40px; }
}

.resume-page .resume-contact a { display: inline-flex; align-items: center; gap: 10px; }
.resume-page .resume-contact-icon, .resume-page .resume-contact-brand { width: 18px; height: 18px; flex: none; }
.resume-page .resume-contact-brand { filter: invert(1); }
@media print { .resume-page .resume-contact-icon, .resume-page .resume-contact-brand { display: none; } }

@media screen {
  html body .resume-page .resume-background { gap: 48px 72px; padding-top: 32px; }
  html body .resume-page .resume-background h2 { margin: 0 0 20px; }
  html body .resume-page .resume-background p { margin: 0; line-height: 1.55; }
  html body .resume-page .resume-background .resume-school { color: var(--resume-ink, #f4f6f7); font-weight: 600; }
  html body .resume-page .resume-background .resume-degree { margin-top: 8px; color: var(--resume-secondary, #aeb7b2); }
  .resume-language-list { list-style: none; padding: 0; margin: 0; max-width: 340px; }
  .resume-language-list li { display: flex; justify-content: space-between; gap: 20px; padding: 0 0 10px; line-height: 1.55; }
  .resume-language-list li span:last-child { color: var(--resume-secondary, #aeb7b2); text-align: right; }
}
@media screen and (max-width: 640px) {
  html body .resume-page .resume-background { gap: 32px; padding-top: 28px; }
}
@media print { .resume-language-list { list-style: none; padding: 0; } .resume-language-list li span + span::before { content: ' — '; } }
