@page { size: letter; margin: 0.4in 0.58in 0.4in 0.5in; }

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #2b2b30;
  color: #000;
  font-family: "CMU Serif", "Latin Modern Roman", "Computer Modern", "Times New Roman", serif;
  font-size: 10pt;
  line-height: 1.14;
}

.page {
  position: relative;
  width: 8.5in;
  max-width: 100%;
  min-height: 11in;
  margin: 0 auto;
  padding: 0.5in 0.58in 0.5in 0.5in;
  background: #fff;
}

a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

header { text-align: left; }
h1 { margin: 0; font-size: 22pt; line-height: 1.15; font-weight: 700; }
.contact { margin: 1pt 0 0; }

section { margin-top: 7pt; }
h2 {
  margin: 0 0 3pt;
  padding-bottom: 0;
  border-bottom: 1px solid #000;
  font-size: 11pt;
  font-weight: 400;
  font-variant: small-caps;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.body { padding-left: 0.15in; }

.entry { margin-bottom: 2pt; }
.row { display: flex; justify-content: space-between; gap: 1em; }
.row > span:last-child { text-align: right; flex-shrink: 0; }


ul { margin: 0; padding-left: 0.34in; list-style: none; }
li { margin: 0; position: relative; }
li::before {
  content: "";
  position: absolute;
  left: -0.14in;
  top: 0.5em;
  width: 3pt;
  height: 3pt;
  border-radius: 50%;
  background: #a1a1aa;
}

.note { margin: 0 0 0 -0.15in; }
.intro { margin: 0 0 8pt; }
.labeled { line-height: 1.2; }
.entry p { margin: 0; }
.role { margin-left: 0.15in; }
.role + .role { margin-top: 2pt; }
.role ul { padding-left: 0.2in; }

.timeline .role { position: relative; }
.timeline .role::before {
  content: "";
  position: absolute;
  left: -0.12in;
  top: 3.5pt;
  width: 5pt;
  height: 5pt;
  border-radius: 50%;
  background: #6b6b73;
}
.timeline .role:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(-0.12in + 1.5pt);
  top: 11pt;
  bottom: -1pt;
  width: 2pt;
  background: #c9c9ce;
}

.download-btn {
  position: absolute;
  top: 0.5in;
  right: 0.35in;
  display: flex;
  padding: 6px;
  color: #3f3f46;
  transition: color 0.15s, transform 0.15s;
}
.download-btn:hover { color: #000; transform: translateY(1px); }
.download-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }

@media screen and (min-width: 8.5in) {
  .page { zoom: 1.25; }
}

@media (max-width: 8.5in) {
  body { background: #fff; }
  .page { padding: 16px; min-height: 0; }
  .download-btn { top: 16px; right: 8px; }
  header { padding: 0; }
}

@media print {
  .download-btn { display: none; }
  body { background: #fff; line-height: 1.05; }
  section { margin-top: 2pt; }
  h2 { margin-bottom: 1.5pt; }
  .page { width: auto; min-height: 0; padding: 0; margin: 0; }
  a { text-decoration: underline; }
}
