/* Layout and style for resume.html. Content lives in resume.html. */
@page { size: letter; margin: 0; }
/* Static Inter, one file per weight. Google's variable font makes Chrome embed
   the bolder weights as Type 3, and text extractors then drop their spaces. */
@font-face { font-family: "Inter"; font-weight: 300; font-display: block; src: url("fonts/Inter-300.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: block; src: url("fonts/Inter-400.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: block; src: url("fonts/Inter-500.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: block; src: url("fonts/Inter-600.ttf") format("truetype"); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
body { font-family: "Inter", "Helvetica Neue", Arial, sans-serif; color: #111; font-size: 9.6pt; line-height: 1.5; background: #fff; }

.page { width: 8.5in; height: 11in; padding: 0.62in 0.72in 0.5in; position: relative; overflow: hidden; page-break-after: always; }
.page:last-child { page-break-after: auto; }

.topbar { display: flex; justify-content: space-between; align-items: center; font-size: 9pt; }
.mark { display: flex; align-items: center; gap: 8px; letter-spacing: 0.14em; font-size: 8.5pt; font-weight: 600; }
.mark .glyph { width: 22px; height: 22px; border-radius: 5px; background: #111; color: #fff; display: grid; place-items: center; font-size: 8.5pt; letter-spacing: 0; }
.mark .light { font-weight: 300; }
.wordmark { height: 22px; display: block; }
.topbar .site { font-weight: 400; color: #444; }

h1 { font-size: 24pt; font-weight: 500; margin-top: 0.42in; }
h1 .role { font-weight: 300; color: #555; }
.summary { font-size: 13pt; font-weight: 400; line-height: 1.45; margin-top: 12px; max-width: 6.6in; letter-spacing: -0.005em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip { background: #ececec; border-radius: 999px; padding: 3px 11px; font-size: 7.8pt; white-space: nowrap; }
/* A comma in the chip's own color ends each chip, so extracted text keeps tag boundaries. */
.chip .sep { color: #ececec; margin-right: -0.25em; }

.section { font-size: 9.2pt; margin-top: 22px; margin-bottom: 12px; }

.timeline { position: relative; }
.job { display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; position: relative; padding-bottom: 14px; }
.job::before { content: ""; position: absolute; left: 14.5px; top: 30px; bottom: 0; width: 1px; background: #dcdcdc; }
.job:last-child::before { display: none; }
.logo { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 8.5pt; color: #fff; }
.job h2 { font-size: 10.6pt; font-weight: 500; line-height: 1.3; }
.meta { color: #666; font-size: 9pt; margin-top: 1px; }
.job ul { margin-top: 6px; padding-left: 13px; }
.job li { margin-bottom: 4px; padding-left: 2px; }
.job li::marker { color: #888; font-size: 8pt; }
b { font-weight: 600; }

.compact .job { padding-bottom: 9px; }
.compact .job ul { margin-top: 4px; }

.runhead { display: flex; justify-content: space-between; font-size: 9pt; }
.runhead .who { font-weight: 500; }
.runhead .who span, .runhead .contact { font-weight: 400; color: #555; }

/* Positioned like .job, so Chrome writes it to the PDF text after the jobs. */
.bottom { margin-top: 8px; position: relative; }
.bottom h3 { font-size: 9.2pt; font-weight: 400; margin-bottom: 6px; }
.edu b { display: block; font-weight: 500; }
.skills p { margin-bottom: 4px; }
.skills p b { font-weight: 500; }
.skills p span { color: #555; }

.pageno { position: absolute; right: 0.72in; bottom: 0.3in; font-size: 8.5pt; color: #666; }
