/* HTML CV at /cv/. Same Greenhouse tokens and fonts as the home page (site.css), laid out as one sheet of paper.
   Prints cleanly, but the PDF in this folder is the version meant for sending. */
:root {
  color-scheme: light;
  --ground: #E6F2EA; --paper: #F6F8F1; --ink: #0E3B2C; --link: #1A6B43;
  --graphite: #59625D; --sun: #F4C430; --grid: #D3E6DA; --leaf: #1F7A4D;
  --f-display: "Instrument Serif", "Serif Fallback", Georgia, serif;
  --f-body: "IBM Plex Sans", "Sans Fallback", Arial, system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", "Mono Fallback", ui-monospace, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.55 var(--f-body);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
}
a { color: var(--link); }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
b { font-weight: 500; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--paper); border: 1.5px solid var(--ink); padding: 8px 12px; z-index: 10; }
.skip:focus { top: 8px; }
.mono { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }

.wrap { max-width: 880px; margin: 0 auto; padding: 20px max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
.top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding-bottom: 14px; }
.mark { display: inline-grid; place-content: center; width: 44px; height: 44px; border-radius: 8px; background: var(--ink); color: var(--paper); font: 400 24px/1 var(--f-display); text-decoration: none; }
.mark:hover { background: var(--leaf); }
.top-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.top-links a { min-height: 44px; display: inline-flex; align-items: center; }
.btn { background: var(--leaf); color: #fff; text-decoration: none; padding: 0 16px; border-radius: 6px; font-weight: 500; }
.btn:hover { background: var(--ink); }

.sheet { background: var(--paper); border: 1.5px solid var(--ink); border-top-width: 2px; padding: clamp(18px, 5vw, 48px); }
.sheet header { border-bottom: 2px solid var(--leaf); padding-bottom: 12px; }
h1 { margin: 0; font: 400 clamp(40px, 8vw, 64px)/.95 var(--f-display); letter-spacing: -.01em; }
.tag { margin: 6px 0 8px; font-size: 19px; }
.contact { margin: 0; color: var(--graphite); text-transform: none; letter-spacing: 0; font-size: 13px; display: flex; flex-wrap: wrap; gap: 2px 10px; }
.contact span[aria-hidden] { color: var(--grid); }
h2 { margin: 30px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--grid); font: 400 30px/1 var(--f-display); }
h2::before { content: ""; display: inline-block; width: 12px; height: 12px; background: var(--sun); margin-right: 10px; vertical-align: 2px; }
.co { margin: 22px 0 0; font: 500 18px/1.3 var(--f-body); }
.co span { font-weight: 400; color: var(--graphite); font-size: 14px; }
h2 + .co { margin-top: 12px; }
.role { margin-top: 14px; }
/* 027Capital's company line sits inside its role block, so give its role row the same gap the others get. */
.co + .role-head { margin-top: 14px; }
.role-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 20px; }
.role-head h4 { margin: 0; font: 500 16px/1.4 var(--f-body); }
.role-head .d { color: var(--graphite); white-space: nowrap; }
.sheet p { margin: 0; }
.sheet ul { margin: 6px 0 0; padding-left: 20px; }
.sheet li { margin-bottom: 4px; }
.sk p { margin-bottom: 6px; }
.colo { font-size: 14px; color: var(--graphite); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; padding: 14px 0 40px; }

@media print {
  body { background: #fff; font-size: 9.6pt; line-height: 1.4; }
  .top, .colo, .skip { display: none; }
  .wrap { max-width: none; padding: 0; }
  .sheet { border: 0; padding: 0; background: none; }
  h1 { font-size: 30pt; } h2 { font-size: 15pt; margin: 12pt 0 4pt; } .tag { font-size: 11pt; }
  .co { font-size: 10.6pt; margin-top: 8pt; } .role { margin-top: 5pt; break-inside: avoid; } .role-head h4 { font-size: 9.6pt; }
  .co, h2 { break-after: avoid; }
  a { color: var(--ink); text-decoration: none; }
}
