.site-header { background: var(--white); }
.wordmark { font-size: 20px; }
.resume {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-block: 64px 0;
  padding-inline: var(--gutter);
  font-size: 20px;
  line-height: 1.375;
}
.resume-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.resume-heading h1 { font-size: 40px; line-height: 55px; font-weight: 700; }
.resume-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 7px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 27px;
  cursor: pointer;
}
.download-arrow {
  display: block;
  flex-shrink: 0;
  width: 18.28px;
  height: 18.16px;
}
.download-arrow-hover { display: none; }
.resume-download:hover .download-arrow { display: none; }
.resume-download:hover .download-arrow-hover { display: block; }
.resume-download:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; }
.resume-intro { display: flex; flex-direction: column; gap: 16px; max-width: 1200px; }
.resume-specialty { display: flex; flex-wrap: wrap; gap: 0 16px; }
.resume-summary { color: var(--muted); font-weight: 500; }
.resume-section { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 64px; }
.resume-section h2, .resume-section h3 { font-size: inherit; font-weight: 700; }
.resume-entries { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.resume-job { display: flex; flex-direction: column; gap: 16px; }
.resume-roles, .resume-bullets { font-size: 16px; line-height: 22px; }
.resume-role { display: flex; flex-wrap: wrap; gap: 0 8px; }
.resume-bullets { margin: 0; padding-left: 0; list-style: none; }
.resume-bullets li { position: relative; padding-left: 16px; }
.resume-bullets li::before { content: "•"; position: absolute; left: 0; }
.resume-bullets li + li { margin-top: 8px; }
.resume-education { padding-bottom: 12px; }

@media (max-width: 1100px) and (min-width: 801px) {
  .resume-section { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 800px) {
  .resume { font-size: 20px; line-height: 27px; }
  .resume-heading { flex-direction: column; align-items: flex-start; }
  .resume-specialty { flex-direction: column; }
  .resume-section { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .resume-roles { display: flex; flex-direction: column; gap: 8px; }
  .resume-role { flex-direction: column; }
  .resume-section:not(.resume-work) .resume-entries { gap: 16px; }
}

/* Also supports a clean copy from the browser's Print / Save as PDF command. */
@media print {
  @page { size: A4; margin: 16mm; }
  .site-header, .site-footer, .skip-link, .resume-download { display: none; }
  .resume { margin: 0; padding: 0; gap: 24px; font-size: 11pt; line-height: 1.4; }
  .resume-heading h1 { font-size: 24pt; line-height: 1.3; }
  .resume-heading::before { content: "Peter Manges"; font-size: 11pt; font-weight: 700; }
  .resume-heading { flex-direction: column; align-items: flex-start; gap: 4px; }
  .resume-section { grid-template-columns: 130px minmax(0, 1fr); gap: 24px; }
  .resume-section h2 { font-size: 10pt; }
  .resume-specialty { flex-direction: row; }
  .resume-entries, .resume-section:not(.resume-work) .resume-entries { gap: 16px; }
  .resume-job { gap: 8px; break-inside: avoid; }
  .resume-roles { display: block; }
  .resume-role { flex-direction: row; }
  .resume-roles, .resume-bullets { font-size: 9pt; line-height: 1.4; }
  .resume-section h2, .resume-section h3 { break-after: avoid; }
  .resume-entries > div { break-inside: avoid; }
  .resume-education { padding-bottom: 0; }
}
