/* ---------------------------------------------------------------------
   resume.html — on-screen styles (clean, document-like, deliberately
   plainer than the homepage's marketing aesthetic — a resume should
   scan instantly, not animate) plus @media print rules for PDF export.
   Light theme only by design intent.
   ------------------------------------------------------------------- */

.resume-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2) var(--container-gutter);
  border-bottom: 1px solid var(--border);
}

.resume-header__back {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
}

.resume-header__back:hover {
  color: var(--accent);
}

.resume {
  max-width: 46rem;
  margin-inline: auto;
  padding: var(--space-5) var(--container-gutter) var(--space-6);
}

.resume__head {
  margin-bottom: var(--space-4);
}

.resume__name {
  font-size: var(--text-xl);
}

.resume__title {
  margin-top: var(--space-0);
  font-size: var(--text-md);
  color: var(--accent);
  font-weight: var(--weight-medium);
}

.resume__meta {
  margin-top: var(--space-1);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.resume__meta a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
}

.resume__meta a:hover {
  color: var(--accent);
}

.resume__section {
  margin-top: var(--space-5);
}

.resume__section h2 {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-faint);
  padding-bottom: var(--space-1);
  border-bottom: 1px solid var(--border);
}

.resume__summary {
  margin-top: var(--space-2);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

.resume__competencies {
  margin-top: var(--space-2);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1) var(--space-3);
  font-size: var(--text-sm);
}

@media (min-width: 36rem) {
  .resume__competencies {
    grid-template-columns: 1fr 1fr;
  }
}

.resume__competencies dt {
  font-weight: var(--weight-semibold);
}

.resume__competencies dd {
  margin: 0 0 var(--space-2);
  color: var(--text-muted);
}

.resume__role {
  margin-top: var(--space-3);
  break-inside: avoid;
}

.resume__role-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-1);
}

.resume__role-head h3 {
  font-size: var(--text-md);
}

.resume__role-dates {
  font-size: var(--text-sm);
  color: var(--text-faint);
  white-space: nowrap;
}

.resume__role-org {
  margin-top: var(--space-0);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.resume__role ul {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

.resume__role li {
  position: relative;
  padding-left: var(--space-2);
  margin-top: var(--space-1);
}

.resume__role li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--border-strong);
}

.resume__role strong {
  color: var(--text);
}

.resume__list-inline {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

.resume__print-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

@media print {
  .resume-header,
  .site-footer {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .resume {
    max-width: none;
    padding: 0;
  }

  a {
    color: inherit !important;
    text-decoration: none !important;
  }

  .resume__section {
    break-inside: avoid;
  }

  @page {
    margin: 1.6cm;
  }
}
