:root {
  color-scheme: light;
  --text: #111111;
  --muted: #555555;
  --light: #8a8a8a;
  --link: #2f4f6f;
  --rule: #d7d7d7;
  --paper: #ffffff;
  --canvas: #e9e9e9;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: var(--canvas);
  font-family: Georgia, "Times New Roman", Times, serif;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  overflow-wrap: anywhere;
}

body {
  font-size: 9.65pt;
  line-height: 1.22;
}

.page {
  box-sizing: border-box;
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  padding: 10.5mm 12mm 11mm;
  background: var(--paper);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.header {
  text-align: center;
  margin-bottom: 5pt;
  padding-bottom: 4pt;
  border-bottom: 1px solid var(--rule);
}

h1 {
  margin: 0;
  font-size: 21pt;
  font-weight: 700;
  letter-spacing: 0.35px;
}

.title {
  margin: 2pt 0 4pt;
  font-size: 10.8pt;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact {
  margin: 0;
  color: var(--muted);
  font-size: 8pt;
  overflow-wrap: anywhere;
}

.contact.secondary {
  margin-top: 2pt;
}

.sep {
  display: inline-block;
  padding: 0 6px;
  color: var(--light);
}

section + section {
  margin-top: 5pt;
}

h2 {
  margin: 0 0 4pt;
  padding-bottom: 2pt;
  border-bottom: 1px solid var(--rule);
  font-size: 9.6pt;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.summary {
  margin: 0;
  font-size: 9pt;
  line-height: 1.17;
}

a,
a:visited,
a:hover,
a:active {
  color: var(--link);
  text-decoration: none;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5pt 10pt;
}

.skill-group {
  min-width: 0;
}

.skill-group h3 {
  margin: 0 0 1pt;
  font-size: 8.6pt;
  font-weight: 700;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

.skill-group p {
  margin: 0;
  font-size: 8.35pt;
  line-height: 1.18;
}

.entry {
  margin-top: 4pt;
  break-inside: avoid;
  page-break-inside: avoid;
  padding-top: 3pt;
  border-top: 1px solid var(--rule);
}

.entry-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2pt;
}

.entry h3 {
  margin: 0;
  font-size: 9.4pt;
  font-weight: 700;
  flex: 1 1 48%;
  min-width: 0;
}

.meta {
  margin: 0;
  color: var(--muted);
  font-size: 7.5pt;
  text-align: right;
  flex: 1 1 48%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.meta:empty {
  display: none;
}

.entry-summary {
  margin: 0 0 2pt;
  font-size: 8.45pt;
  line-height: 1.16;
}

ul {
  margin: 0;
  padding-left: 12pt;
}

li {
  margin: 0 0 1pt;
  line-height: 1.14;
}

.education {
  margin-top: 4pt;
}
