@font-face {
  font-family: YsabeauPrint;
  src: url('/fonts/ysabeau-print/Ysabeau-450.woff2') format('woff2');
  font-weight: 450;
}
@font-face {
  font-family: YsabeauPrint;
  src: url('/fonts/ysabeau-print/Ysabeau-600.woff2') format('woff2');
  font-weight: 600;
}
@font-face {
  font-family: YsabeauPrint;
  src: url('/fonts/ysabeau-print/Ysabeau-650.woff2') format('woff2');
  font-weight: 650;
}
@font-face {
  font-family: YsabeauPrint;
  src: url('/fonts/ysabeau-print/Ysabeau-450-italic.woff2') format('woff2');
  font-weight: 450;
  font-style: italic;
}
@media print {
  @page cv {
    size: A4;
    /* Chrome merges the later shared page rule into this named page. */
    margin: 15mm 15mm 16mm !important;
    @bottom-left {
      content: 'Liam Chalcroft · Curriculum vitae';
      font: 450 8pt YsabeauPrint, Arial, sans-serif;
      color: #555;
    }
    @bottom-right {
      content: counter(page) ' / ' counter(pages);
      font: 450 8pt YsabeauPrint, Arial, sans-serif;
      color: #555;
    }
  }
  body.cv-page {
    page: cv;
    display: block;
    min-height: 0;
    color: #191919;
    background: white;
    font-family: YsabeauPrint, Arial, sans-serif;
    font-size: 10.5pt;
    line-height: 1.3;
    --toner: #191919;
    --toner-2: #333;
    --toner-3: #444;
    --paper: white;
    --rule: #ccc;
  }
  body.cv-page .top,
  body.cv-page .skip,
  body.cv-page .no-print,
  body.cv-page .intro__note {
    display: none !important;
  }
  body.cv-page .page {
    display: block;
    width: auto;
    padding: 0;
    margin: 0;
  }
  body.cv-page .intro {
    display: block;
    padding: 0 0 3mm;
    border-bottom: .4pt solid #bbb;
  }
  body.cv-page .display {
    font-size: 10pt;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .025em;
    text-transform: uppercase;
  }
  body.cv-page .print-contact {
    display: block;
    margin-top: 1.5mm;
    font-size: 9.5pt;
    line-height: 1.35;
  }
  body.cv-page .print-contact > b {
    font-size: 25pt;
    font-weight: 600;
    line-height: 1.05;
  }
  body.cv-page .intro__text {
    max-width: none;
    margin-top: 2mm;
    font-size: 10.5pt;
    line-height: 1.35;
  }
  body.cv-page .section {
    margin-top: 4mm;
  }
  body.cv-page .section .h2 {
    margin: 0 0 2mm;
    font-size: 14pt;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: 0;
    break-after: avoid;
  }
  body.cv-page .cv {
    display: block;
  }
  body.cv-page .work__item {
    break-inside: avoid;
    margin-top: 2.5mm;
  }
  body.cv-page .work__item:first-child {
    margin-top: 0;
  }
  body.cv-page .with-note {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 23mm;
    column-gap: 4mm;
    width: 100%;
  }
  body.cv-page .with-note > :first-child {
    min-width: 0;
  }
  body.cv-page .with-note > .note {
    grid-column: 2;
    margin-top: 0;
    text-align: right;
    white-space: nowrap;
    font-size: 9.5pt;
    line-height: 1.3;
    font-variant-numeric: lining-nums tabular-nums;
  }
  body.cv-page .cv__role {
    font-size: 11pt;
    line-height: 1.25;
    text-wrap: auto;
  }
  body.cv-page .small {
    font-size: 10.5pt;
    line-height: 1.3;
  }
  body.cv-page .work__meta {
    margin-top: .4mm;
  }
  body.cv-page .cv__points {
    display: block;
    max-width: none;
    margin-top: .8mm;
  }
  body.cv-page .cv__points li {
    padding-left: 3mm;
    margin-top: .3mm;
  }
  body.cv-page .section .cv__points li::before {
    content: '·';
    font-size: 12pt;
    line-height: 1.1;
  }
  body.cv-page section[aria-labelledby='teaching'] {
    break-before: page;
    margin-top: 0;
  }
  body.cv-page .cv--compact .work__item {
    margin-top: 2mm;
  }
  body.cv-page .cv--compact .work__item:first-child {
    margin-top: 0;
  }
  body.cv-page a {
    text-decoration: none;
  }
}
