:root {
  color-scheme: light;
}

html,
body {
  height: 100%;
}

body {
  background: #f6f7fb;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  background: white;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1.75rem;
  box-shadow: 0 1px 2px rgba(10, 18, 32, 0.06), 0 22px 70px rgba(10, 18, 32, 0.08);
}

.resume-h2 {
  color: #0b1220;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resume-h2::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(148, 163, 184, 0.55);
}

.resume-h3 {
  color: #0b1220;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.resume-meta {
  color: rgba(71, 85, 105, 0.95);
  font-size: 0.875rem;
  font-weight: 650;
}

.resume-role {
  margin-top: 0.15rem;
  color: rgba(71, 85, 105, 0.95);
  font-size: 0.95rem;
  font-weight: 700;
}

.resume-list {
  list-style: disc;
  padding-left: 1.1rem;
  color: rgba(30, 41, 59, 0.86);
  line-height: 1.6;
}

.resume-list li {
  margin: 0.35rem 0;
}

.resume-list li::marker {
  color: rgba(71, 85, 105, 0.7);
}

.resume-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: white;
  padding: 1rem 1rem;
  box-shadow: 0 1px 2px rgba(10, 18, 32, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.resume-card:hover {
  transform: translateY(-2px);
  border-color: rgba(148, 163, 184, 0.55);
  box-shadow: 0 1px 2px rgba(10, 18, 32, 0.06), 0 18px 55px rgba(10, 18, 32, 0.09);
}

.resume-card-title {
  color: #0b1220;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.resume-card-text {
  margin-top: 0.4rem;
  color: rgba(30, 41, 59, 0.86);
  font-size: 0.95rem;
  line-height: 1.6;
}

.resume-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.9);
  padding: 0.35rem 0.6rem;
  color: rgba(51, 65, 85, 0.95);
  font-size: 0.85rem;
  font-weight: 750;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.resume-chip:hover {
  transform: translateY(-1px);
  background: rgba(241, 245, 249, 1);
  border-color: rgba(148, 163, 184, 0.55);
}

.resume-link {
  color: rgba(11, 18, 32, 0.95);
  font-weight: 700;
  text-decoration: none;
  transition: opacity 150ms ease, text-decoration-color 150ms ease;
}

.resume-link:hover {
  text-decoration: underline;
}

.resume-link:focus-visible {
  outline: 3px solid rgba(15, 23, 42, 0.25);
  outline-offset: 3px;
  border-radius: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .resume-card,
  .resume-chip,
  .resume-link {
    transition: none !important;
  }

  .resume-card:hover,
  .resume-chip:hover {
    transform: none !important;
  }
}

@media print {
  @page {
    margin: 14mm;
  }

  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    background: white !important;
  }

  main {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  a[href]::after {
    content: "";
  }

  .shadow-sm,
  .shadow-soft {
    box-shadow: none !important;
  }

  article,
  section,
  .resume-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
