@import url("https://cdn.jsdelivr.net/npm/computer-modern@0.1.2/index.css");

:root {
  --paper: #ffffff;
  --ink: #000000;
  --muted: #333333;
  --link: #0000ee;
  --border: #d6d6d6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #e9e9e9;
  color: var(--ink);
  font-family: "Computer Modern Serif", "CMU Serif", "Latin Modern Roman",
    "Times New Roman", serif;
}

main.sheet {
  max-width: 8.5in;
  margin: 24px auto 48px;
  padding: 0.4in 0.4in 0.6in;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.hero {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button,
.button.ghost {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--link);
  text-decoration: underline;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: normal;
}

.button:hover,
.button.ghost:hover {
  color: #551a8b;
}

.resume-content {
  font-size: 0.95rem;
  line-height: 1.35;
}

.resume-content h1 {
  text-transform: uppercase;
  text-align: center;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  margin: 0 0 4px;
}

.resume-content h1 + p {
  text-align: center;
  margin-top: 0;
}

.resume-content h2,
.resume-content h3 {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin: 14px 0 4px;
}

.resume-content p {
  margin: 0 0 8px;
}

.resume-content hr {
  border: 0;
  border-top: 1px solid var(--ink);
  margin: 4px 0 10px;
}

.resume-content ul {
  margin: 4px 0 10px 18px;
  padding: 0;
}

.resume-content li {
  margin: 0 0 4px;
  color: var(--muted);
}

.resume-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 4px 0 10px;
}

.resume-content td {
  padding: 2px 6px 2px 0;
  vertical-align: top;
}

.resume-content td:first-child {
  width: 28%;
  font-weight: bold;
}

.resume-content a {
  color: var(--link);
}

.footer {
  display: none;
}

@media (max-width: 900px) {
  main.sheet {
    max-width: 95vw;
    margin: 16px auto 32px;
    padding: 24px 20px 30px;
  }

  .resume-content h1 {
    font-size: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
