/* The complete approved PDF, with independent page links and a mobile fallback. */
.resume-page .button { font-size: .875rem; line-height: 1.4; }
.resume-page .page-date { font: 0.875rem/1.6 var(--font); }
.resume-page .minor-note { font-size: 0.875rem; }
.resume-document { padding-block: 36px 48px; border-bottom: 1px solid var(--line); }
.resume-document-heading, .resume-highlights-heading { margin-bottom: 22px; }
.resume-document-heading h2, .resume-highlights-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.035em;
  margin: 0 0 12px;
}
.resume-document-heading p, .resume-highlights-heading p {
  max-width: 720px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}
.resume-page-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.resume-page-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--edge);
  border-radius: 7px;
  font-size: .875rem;
  line-height: 1.5;
}
.resume-page-nav a:hover { background: var(--surface-hover); }
.resume-document-pages { display: grid; gap: 32px; max-width: 960px; margin-inline: auto; }
.resume-document-page { margin: 0; min-width: 0; }
.resume-document-page figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px 24px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
}
.resume-document-page figcaption span:first-child { color: var(--paper); font-weight: 600; }
.resume-page-image { display: block; background: #fff; box-shadow: 0 8px 32px rgba(0, 0, 0, .18); }
.resume-page-image img { display: block; width: 100%; height: auto; }
.resume-document-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.resume-highlights { padding-top: 40px; }
.resume-highlights-heading { margin-bottom: 32px; }
.resume-page .resume-sidebar h2 { font-size: .875rem; }
#expanded-credit-index .resume-entry-top { align-items: flex-start; }
#expanded-credit-index .resume-entry-top h3 { min-width: 0; overflow-wrap: anywhere; }
#expanded-credit-index .resume-entry-year {
  flex: 0 0 11rem;
  max-width: 40%;
  white-space: normal;
  font-size: .875rem;
  line-height: 1.5;
  text-align: right;
}
#expanded-credit-index .resume-group { scroll-margin-top: 96px; }
@media (max-width: 760px) {
  #expanded-credit-index .resume-sidebar > div:last-child { flex-basis: 100%; }
  #expanded-credit-index .resume-sidebar .resume-jump {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 20px;
  }
  #expanded-credit-index .resume-jump a { display: inline-block; padding-block: 6px; }
}
@media (max-width: 520px) {
  .resume-document { padding-block: 28px 36px; }
  .resume-document-pages { gap: 24px; }
  .resume-document-page figcaption { display: block; }
  .resume-document-page figcaption span { display: block; }
  .resume-page .page-actions { gap: 12px; }
  .resume-page .page-actions .button { width: 100%; justify-content: center; }
  .resume-document-actions .button { width: 100%; justify-content: center; }
  #expanded-credit-index .resume-entry-top { flex-direction: column; gap: 4px; }
  #expanded-credit-index .resume-entry-year { flex: auto; max-width: 100%; padding-top: 0; text-align: left; }
}
@media print {
  .resume-document { border: 0; padding: 0; }
  .resume-document .wrap { width: 100%; }
  .resume-document-heading, .resume-page-nav, .resume-document-actions, .resume-page .page-hero,
  .resume-highlights, .site-footer, .resume-document-page figcaption { display: none; }
  .resume-document-pages { display: block; max-width: none; }
  .resume-document-page { break-after: page; }
  .resume-document-page:last-child { break-after: auto; }
  .resume-page-image { box-shadow: none; }
}
