/* /resume: readable on screen in the site's style, and a clean 1–2 page
   printout (also what scripts/build-resume-pdf.mjs captures). */

.cv { max-width: 860px; padding-top: 120px; padding-bottom: 5rem; }

.print-only { display: none; }

.cv-actions { display: flex; gap: 0.7rem; justify-content: flex-end; margin-bottom: 1.4rem; }

.cv-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

.cv-headline { font-weight: 600; color: var(--rust-deep); margin: 0.4rem 0 0.5rem; }
.cv-contact { display: flex; flex-wrap: wrap; gap: 0.45rem; font-size: 0.86rem; color: var(--muted); margin: 0 0 1rem; }
.cv-contact a { border-bottom: 1px solid var(--hairline); }
.cv-contact a:hover { color: var(--rust); }
.cv-summary { color: var(--ink); max-width: 72ch; margin: 0 0 0.5rem; }

.cv h2 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 0.4rem;
  margin: 2.2rem 0 1rem;
}

.cv-role { margin: 0 0 1.4rem; break-inside: avoid; }
.cv-role h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; margin: 0; }
.cv-org { color: var(--rust-deep); }
.cv-when { font-family: var(--font-mono); font-size: 0.74rem; color: var(--faint); margin: 0.15rem 0 0.4rem; }
.cv-sum { margin: 0 0 0.3rem; color: var(--ink); font-size: 0.95rem; }
.cv-role ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.92rem; }
.cv-role li { margin: 0.2rem 0; }
.cv-role li::marker { color: var(--rust); }

.cv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.4rem; }
.cv-list { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; color: var(--muted); }
.cv-list li { margin: 0 0 0.55rem; }
.cv-list strong { color: var(--ink); }
.cv-list a strong { border-bottom: 1px solid var(--hairline); }
.cv-skill, .cv-edu { font-size: 0.9rem; color: var(--muted); margin: 0 0 0.6rem; }
.cv-skill strong, .cv-edu strong { color: var(--ink); }
.cv-muted { color: var(--faint); }

@media (max-width: 720px) {
  .cv { padding-top: 96px; }
  .cv-two { grid-template-columns: 1fr; }
  .cv-actions { justify-content: flex-start; }
}

@media print {
  @page { size: Letter; margin: 0.5in 0.55in; }
  html { font-size: 11.5px; background: #fff !important; }
  body { font-size: 1rem; line-height: 1.42; color: #000; background: #fff !important; }
  .site-nav, .mobile-menu, .site-footer, .progress, .cv-actions, .explore, .screen-only { display: none !important; }
  .print-only { display: inline !important; }
  .cv { padding: 0; max-width: none; }
  .cv-head h1 { font-size: 22pt; }
  .cv-headline { margin: 2pt 0 3pt; }
  .cv-contact { margin-bottom: 6pt; }
  .cv h2 { margin: 10pt 0 5pt; padding-bottom: 2pt; }
  .cv-role { margin-bottom: 7pt; }
  .cv-role h3 { font-size: 11.5pt; }
  .cv-when { margin: 1pt 0 2pt; }
  .cv-role li { margin: 1pt 0; }
  .cv-list li { margin-bottom: 3pt; }
  a { color: inherit !important; border: 0 !important; text-decoration: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
