/* Print stylesheet — the downloadable résumé PDF is generated from /resume/
   with this sheet (scripts/resume-pdf.sh), so web and PDF cannot drift. */

@page { size: Letter; margin: 0.6in 0.65in; }

@media print {
  :root { --ink: #111; --ink-2: #333; --ink-3: #666; --line: #bdbdb8; --accent: #e13224; }

  html { font-size: 10.25pt; }
  body { background: #fff; color: var(--ink); line-height: 1.38; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a { color: inherit; text-decoration: none; }

  .site-header, .site-footer, .lightbox, .skip, .print-hide { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .print-only { display: block !important; }

  .wrap { width: 100%; }
  .resume { display: block; padding: 0; }

  /* Masthead */
  .print-masthead { padding-bottom: 10pt; border-bottom: 1.5pt solid var(--ink); margin-bottom: 12pt; }
  .print-name { font-size: 24pt; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
  .print-role { margin-top: 4pt; font-size: 10.5pt; font-weight: 500; color: var(--ink-2); }
  .print-contact { margin-top: 3pt; font-size: 9pt; color: var(--ink-3); }

  .resume-head { display: block; }
  .resume-summary { font-size: 10pt; line-height: 1.42; color: var(--ink-2); max-width: none; margin-bottom: 14pt; }

  /* Two columns: experience | sidebar */
  .resume-grid { display: grid; grid-template-columns: 1fr 2.1in; column-gap: 0.4in; row-gap: 0; }
  .resume h2 { font-size: 8.5pt; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 6pt; padding-bottom: 4pt; border-bottom: 1px solid var(--line); }

  .role { display: block; padding: 7pt 0 8pt; border-top: 0; break-inside: avoid; page-break-inside: avoid; }
  .role + .role { border-top: 1px solid var(--line); }
  .role-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8pt; flex-wrap: nowrap; }
  .role-title { font-size: 10.75pt; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
  .role-org { font-weight: 400; color: var(--ink-2); }
  .role-dates { font-size: 9pt; color: var(--ink-3); white-space: nowrap; }
  .role-place { font-size: 9pt; color: var(--ink-3); margin-top: 1pt; }
  .role p { font-size: 9.75pt; color: var(--ink-2); margin-top: 3pt; }
  .role-bullets { margin-top: 4pt; display: grid; gap: 2.5pt; }
  .role-bullets li { position: relative; padding-left: 10pt; font-size: 9.75pt; color: var(--ink-2); }
  .role-bullets li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5pt; height: 1px; background: var(--accent); }

  .side-block + .side-block { margin-top: 11pt; }
  .side-list { display: grid; gap: 2.5pt; font-size: 9.25pt; color: var(--ink-2); }
  .side-list li { break-inside: avoid; }

  /* Résumé education: school over degree and year */
  .edu-list { gap: 6pt; }
  .edu span { display: block; }
  .edu-school strong { color: var(--ink); font-weight: 600; }
}

/* Keep print-only elements out of the screen rendering. */
.print-only { display: none; }
