.resume {
  padding-top: 4rem;
}

.resume .reveal {
  animation: none;
}

.resume-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  font-size: 0.875rem;
}

.resume header + section {
  margin-top: 1.25rem;
}

.resume section {
  margin-top: 2.5rem;
}

.resume h1 {
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.resume h2 {
  color: var(--text);
  font-weight: 650;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--line);
}

.resume h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.75rem;
}

.resume strong {
  font-weight: 600;
  color: var(--text);
}

.resume h2 + h3 {
  margin-top: 0;
}

.resume .rows {
  display: block;
}

.resume .rows li {
  display: block;
  padding-left: 0.9rem;
  text-indent: -0.9rem;
}

.resume .rows li + li {
  margin-top: 0.4rem;
}

.resume .rows li::before {
  content: "·";
  display: inline-block;
  width: 0.9rem;
  text-indent: 0;
  padding-left: 0.15rem;
  color: var(--muted);
}

.resume .rows li > span {
  display: inline;
}

.resume .rows li > .muted {
  color: var(--text);
  font-weight: 600;
}

.resume .rows li > .muted::after {
  content: ": ";
  white-space: pre;
  font-weight: 400;
}

.resume em {
  font-style: normal;
  color: var(--muted);
}

.resume section > p + p,
.resume section > p + .rows,
.resume section > .rows + p {
  margin-top: 0.75rem;
}

.resume h3 + p {
  margin-top: 0.1rem;
}

@page {
  size: A4;
  margin: 10mm 14mm;
}

@media print {
  :root {
    --bg: #ffffff;
    --text: #0b0b0a;
    --muted: #3d3d39;
    --line: #a9a9a3;
  }

  html {
    font-size: 9pt;
    line-height: 1.37;
  }

  .resume {
    max-width: none;
    padding: 0;
  }

  .resume-nav {
    display: none;
  }

  .resume section {
    margin-top: 1rem;
  }

  .resume header + section {
    margin-top: 0.6rem;
  }

  .resume h2 {
    margin-bottom: 0.35rem;
  }

  .resume h3 {
    margin-top: 0.8rem;
  }

  .resume .rows li + li {
    margin-top: 0.15rem;
  }

  .resume section > p + p,
  .resume section > p + .rows,
  .resume section > .rows + p {
    margin-top: 0.45rem;
  }

  .resume h3,
  .resume .rows li {
    break-inside: avoid;
  }
}
