/* The live CV. Same type, colours and menu as the rest of the site, and nothing that moves:
   every role, date and line is on the page at once, so it can be read fast and printed. */
.cv { background: var(--paper); color: var(--ink); line-height: 1.55; }
.cv .wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.cv a { color: inherit; }
.cv a.pill { color: var(--paper); }
.cv-head { display: grid; grid-template-columns: 1fr 220px; gap: 40px; align-items: end; padding: 118px 0 34px; border-bottom: 1.5px solid var(--ink); }
.cv-head figure { grid-column: 2; grid-row: 1; margin: 0; }
.cv-head figure img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 20%; }
.cv-head h1 { margin: 12px 0 18px; font-size: clamp(64px, 11vw, 132px); line-height: .82; font-weight: 900; font-stretch: 75%; letter-spacing: -.03em; text-transform: uppercase; }
.cv-head .lead { font-size: 20px; line-height: 1.35; font-weight: 600; }
.cv-head .meta { margin-top: 16px; font-size: 15px; color: var(--graphite); }
.cv-head .meta p + p { margin-top: 3px; }
.cv-head .meta b { color: var(--clay); font-weight: 750; }
.cv .switches { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 28px 0 20px; }
.cv .switch { display: flex; }
.cv .switch button { padding: 11px 18px; border: 1.5px solid var(--ink); background: none; color: var(--ink); font: 700 13px/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.cv .switch button + button { border-left: 0; }
.cv .switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
html:not(.js) .cv .switches { display: none; }
.cv [hidden] { display: none !important; }
.cv .summary { padding: 4px 0 28px; font-size: 18px; line-height: 1.5; max-width: 38em; }
.cv-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cv-strip div { padding: 20px 0 18px; }
.cv-strip div + div { padding-left: 26px; border-left: 1px solid var(--rule); }
.cv-strip strong { display: block; font-size: 52px; line-height: 1; font-weight: 900; font-stretch: 78%; letter-spacing: -.03em; color: var(--clay); }
.cv-strip span { display: block; margin-top: 8px; font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); }
.cv h2 { margin: 50px 0 16px; display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); }
.cv h2::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--clay-fill); }
.cv .ach { list-style: none; padding: 0; }
.cv .ach li { padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
.cv .ach li:first-child { border-top: 1px solid var(--rule); }
.cv .role { display: grid; grid-template-columns: 76px 1fr; gap: 0 20px; padding: 28px 0 0; position: relative; }
.cv .role::before { content: ""; position: absolute; left: 88px; top: 0; bottom: -30px; width: 2px; background: var(--clay); }
.cv .role .yr { position: relative; padding: 4px 18px 0 0; text-align: right; font-size: 14px; font-weight: 750; color: var(--clay); }
.cv .role .yr::after { content: ""; position: absolute; right: -15px; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--clay-fill); box-shadow: 0 0 0 4px var(--paper); }
.cv .role .body { padding-left: 24px; }
.cv .role h3 { font-size: 26px; line-height: 1.08; font-weight: 800; font-stretch: 86%; letter-spacing: -.02em; text-transform: uppercase; }
.cv .role .org { margin-top: 6px; color: var(--graphite); font-size: 15px; }
.cv .role .dates { font-size: 14px; font-weight: 650; }
.cv .role ul { padding-left: 18px; margin-top: 12px; font-size: 17px; }
.cv .role li { margin-top: 7px; }
.cv .ladder { list-style: none; padding: 0 !important; margin-top: 12px; font-size: 15px !important; }
.cv .ladder li { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.cv .ladder li span:last-child { text-align: right; flex: none; color: var(--graphite); }
.cv .clients { margin-top: 14px; font-size: 15px; color: var(--graphite); }
.cv .clients b { color: var(--ink); font-weight: 700; }
.cv .plain { font-size: 16.5px; }
.cv .plain p { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.cv .plain p:first-of-type { border-top: 1px solid var(--rule); }
.cv .plain b { font-weight: 700; }
/* links inside the CV are plain to see: a short label at the end of the line it belongs to */
.cv .more { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); text-decoration: none; white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; }
.cv .more::after { content: " \2192"; }
.cv .more:hover, .cv .more:focus-visible { color: var(--ink); }
.cv .role h3 + .more { display: block; width: fit-content; margin: 10px 0 0; }
.cv .links { display: flex; flex-wrap: wrap; gap: 10px; margin: 56px 0 0; padding: 26px 0 64px; border-top: 1.5px solid var(--ink); }
.cv .bar .cv { white-space: nowrap; }
@media (max-width: 640px) {
  .cv .wrap { padding: 0 16px; }
  .cv-head { grid-template-columns: 1fr; gap: 20px; padding-top: 96px; } .cv-head figure { grid-column: 1; max-width: 200px; }
  .cv-strip { grid-template-columns: 1fr; } .cv-strip div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .cv .role { grid-template-columns: 50px 1fr; gap: 0 14px; } .cv .role::before { left: 62px; } .cv .role .yr { padding-right: 12px; font-size: 13px; } .cv .role .yr::after { right: -11px; } .cv .role .body { padding-left: 16px; }
  .cv .ladder li { flex-direction: column; gap: 0; } .cv .ladder li span:last-child { text-align: left; }
  .cv .switches { flex-direction: column; gap: 12px; }
  .cv .role .body { min-width: 0; } .cv .role h3 + .more { white-space: normal; }
  .cv .switch button { flex: 1; padding: 11px 8px; }
  .cv .bar .cv { display: inline-block; margin-right: 104px; padding: 8px 12px; font-size: 11px; }
}
@media print {
  .bar, .menu, .menu-btn, .ring, .skip, .cv .switches, .cv .links, .cv .more, body::after { display: none !important; }
  .cv [data-set][hidden], .cv [data-lang][hidden] { display: none !important; }
  .cv { background: #fff; } .cv .wrap { max-width: none; padding: 0; } .cv-head { padding-top: 0; }
  .cv .role, .cv .ach li { break-inside: avoid; }
}

/* on paper: the same CV, set smaller and tighter so it runs to two or three pages */
@page { size: A4; margin: 13mm 15mm; }
@media print {
  .cv { font-size: 11.5px; line-height: 1.4; }
  .cv .wrap { max-width: none; padding: 0; }
  .cv-head { grid-template-columns: 1fr 112px; gap: 22px; padding: 0 0 12px; }
  .cv-head h1 { font-size: 44px; margin: 5px 0 9px; }
  .cv-head .lead { font-size: 13px; } .cv-head .meta { font-size: 10.5px; margin-top: 7px; }
  .cv .eyebrow { font-size: 9px; margin-bottom: 0; }
  .cv .summary { font-size: 12px; line-height: 1.42; padding: 10px 0 11px; max-width: none; }
  .cv-strip div { padding: 9px 0 8px; } .cv-strip div + div { padding-left: 16px; }
  .cv-strip strong { font-size: 24px; } .cv-strip span { font-size: 8.5px; margin-top: 3px; }
  .cv h2 { margin: 15px 0 7px; font-size: 9.5px; break-after: avoid; }
  .cv .ach li { padding: 5px 0; font-size: 11.5px; }
  .cv .role { grid-template-columns: 46px 1fr; gap: 0 14px; padding-top: 10px; break-inside: auto; }
  .cv .role::before { left: 55px; bottom: -12px; width: 1.5px; }
  .cv .role .yr { font-size: 10px; padding: 2px 12px 0 0; } .cv .role .yr::after { right: -12px; top: 5px; width: 8px; height: 8px; box-shadow: 0 0 0 3px #fff; }
  .cv .role .body { padding-left: 16px; }
  .cv .role h3 { font-size: 15px; break-after: avoid; } .cv .role .org { font-size: 10.5px; margin-top: 3px; } .cv .role .dates { font-size: 10.5px; }
  .cv .role ul { font-size: 11.5px; margin-top: 6px; padding-left: 14px; } .cv .role li { margin-top: 3px; break-inside: avoid; }
  .cv .ladder { font-size: 10.5px !important; margin-top: 6px; } .cv .ladder li { padding: 2px 0; }
  .cv .clients { font-size: 10.5px; margin-top: 7px; }
  .cv .plain { font-size: 11.5px; } .cv .plain p { padding: 4px 0; break-inside: avoid; }
}

/* the privacy and security page: the same plain page, without a portrait */
.policy .cv-head { grid-template-columns: 1fr; }
.policy .cv-head .lead { max-width: 30em; }
.policy .plain p { max-width: 46em; }
.policy .plain ul { margin: 0; padding: 0 0 0 20px; max-width: 46em; font-size: 16.5px; }
.policy .plain li { padding: 5px 0; }
.policy code { font: 600 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--wash); padding: 1px 5px; }
