@font-face {
  font-family: Instrument;
  src: url("/assets/fonts/InstrumentSans.ttf");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url("/assets/fonts/IBMPlexMono-Regular.ttf");
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #e8f7ee;
  color: #171c19;
  font-family: Instrument, Arial, sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
.resume-controls {
  max-width: 210mm;
  margin: 24px auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.resume-controls p {
  width: 100%;
  margin: 0;
  font-size: 14px;
}
button {
  font: inherit;
  background: #1649b8;
  color: white;
  border: 0;
  border-radius: 6px;
  padding: 12px 18px;
  min-height: 44px;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid #1649b8;
  outline-offset: 4px;
}
.resume {
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto 32px;
  padding: 13mm 15mm;
  background: white;
  font-size: 9.5pt;
  line-height: 1.35;
}
h1 {
  font-size: 29pt;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 5px 0 8px;
}
h2 {
  font-size: 10pt;
  color: #1649b8;
  margin: 13px 0 7px;
  padding-top: 8px;
  border-top: 1px solid #c7d1ca;
}
h3,
p {
  margin: 0;
}
h3 {
  font-size: 10pt;
}
.eyebrow,
.entry-head span,
footer {
  font-family: Plex, monospace;
  font-size: 8pt;
}
.intro {
  max-width: 165mm;
}
.contact {
  margin-top: 9px;
  font-size: 8.5pt;
}
article {
  margin-bottom: 8px;
  break-inside: avoid;
}
.entry-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.roles {
  font-weight: 600;
  margin: 2px 0;
}
.education {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 20px;
}
.education li {
  break-inside: avoid;
}
.education span {
  display: block;
  font-size: 8.5pt;
}
footer {
  margin-top: 12px;
  color: #4a554e;
}
@media screen and (max-width: 800px) {
  .resume {
    width: 100%;
    min-height: 0;
    padding: 24px;
    font-size: 14px;
  }
  .education {
    grid-template-columns: 1fr;
  }
  .entry-head {
    flex-wrap: wrap;
    gap: 2px 12px;
  }
}
@page {
  size: A4;
  margin: 0;
}
@media print {
  body {
    background: white;
  }
  .resume-controls {
    display: none;
  }
  .resume {
    margin: 0;
    min-height: 0;
  }
}
