/* THE RESUME AS A PRINTED SHEET. It lies on the page's paper, a little crooked, like a page put down on a desk.
   It does not take the portfolio's section styles: it is set the way a printed resume is set.
   Archivo for the name and the roles, Inter to read, one blue for the labels, the dates and the thread under the name.
   The same markup is printed to the PDF (tools: the resume build script reads it from this page), so what is read here is what is downloaded.
   Things marked .pdf-only (the phone number, the link back to this portfolio) are printed in the PDF and left off the page. */
.cv {
  margin-top: 176px;
  scroll-margin-top: 96px;
}
.cv-bar {
  max-width: 880px;
  margin: 0 auto 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.cv-bar .lbl {
  font-weight: 500;
}
.cv-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #d6d2c8;
  font:
    500 11.5px/1 'Geist Mono',
    ui-monospace,
    Menlo,
    Consolas,
    monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.cv-dl svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: translate 0.2s ease;
}
.cv-dl:hover,
.cv-dl:focus-visible {
  border-color: var(--ink);
  background: #fffdf8;
}
.cv-dl:hover svg {
  translate: 0 1.5px;
}

/* the sheet */
.cv-sheet {
  --ink-s: #16171c;
  --grey-s: #5d5f66;
  --body-s: #45474e;
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 64px 72px 64px;
  background: #fffefb;
  color: var(--ink-s);
  rotate: -1.2deg;
  box-shadow:
    0 0 1px rgba(20, 20, 30, 0.14),
    0 3px 3px rgba(20, 20, 30, 0.2),
    0 8px 18px rgba(20, 20, 30, 0.08); /* firm and close, like a sheet lying on the desk */
  font:
    400 13px/1.55 Inter,
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
} /* it tilts with `rotate`, never `transform`: a knock from the ball moves it with `translate`, and the two must not fight */
.cv-sheet a {
  color: inherit;
  text-decoration: none;
}
.cv-sheet a:hover {
  color: var(--blue);
}
.cv-sheet .pdf-only {
  display: none;
}
.cvs-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.cvs-name {
  font:
    800 50px/0.92 Archivo,
    'Arial Narrow',
    Arial,
    sans-serif;
  font-stretch: 112%;
  letter-spacing: -0.035em;
  color: var(--ink-s);
}
.cvs-role {
  margin-top: 12px;
  font:
    600 15px/1 Archivo,
    Arial,
    sans-serif;
  color: var(--blue);
}
.cvs-reach {
  list-style: none;
  text-align: right;
  font:
    400 12.5px/1.75 Inter,
    system-ui,
    sans-serif;
  color: var(--grey-s);
}
.cvs-reach .em {
  font-weight: 500;
  color: var(--ink-s);
}
.cvs-thread {
  display: block;
  width: 100%;
  height: 26px;
  margin: 20px 0 2px;
}
.cvs-thread path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.cvs-intro {
  margin: 16px 0 0 168px;
  max-width: 540px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--body-s);
}
.cvs-sec {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 0 18px;
  margin-top: 34px;
}
.cvs-sec > h4 {
  padding-top: 4px;
  font:
    700 11.5px/1.3 Archivo,
    Arial,
    sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.cvs-job + .cvs-job {
  margin-top: 24px;
}
.cvs-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}
.cvs-row h5 {
  font:
    700 16.5px/1.3 Archivo,
    Arial,
    sans-serif;
  letter-spacing: -0.005em;
  color: var(--ink-s);
}
.cvs-yr {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--blue);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.cvs-co {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--grey-s);
}
.cvs-logo {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  flex: none;
}
.cvs-prev {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--grey-s);
} /* an earlier title at the same company, quieter than the current one */
.cvs-prev .cvs-yr {
  color: var(--grey-s);
  font-weight: 400;
}
.cvs-job ul {
  margin-top: 10px;
  list-style: none;
  display: grid;
  gap: 5px;
}
.cvs-job li {
  position: relative;
  padding-left: 16px;
  color: var(--body-s);
}
.cvs-job li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9.5px;
  width: 7px;
  height: 1.5px;
  background: var(--blue);
}
.cvs-job p.cvs-what {
  margin-top: 4px;
  color: var(--body-s);
}
.cvs-skills {
  display: grid;
  gap: 5px;
  color: var(--body-s);
}
.cvs-skills b {
  font-weight: 600;
  color: var(--ink-s);
}

/* phones: the sheet lies flat and its columns stack, so it can be read without zooming */
@media (max-width: 760px) {
  .cv {
    margin-top: 120px;
  }
  .cv-bar {
    margin-bottom: 18px;
  }
  .cv-sheet {
    rotate: none;
    padding: 30px 20px 34px;
    font-size: 13.5px;
  }
  .cvs-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .cvs-name {
    font-size: 38px;
  }
  .cvs-reach {
    text-align: left;
  }
  .cvs-intro {
    margin-left: 0;
  }
  .cvs-sec {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
  }
  .cvs-row {
    flex-direction: column;
    gap: 2px;
  }
}
