@page { size: A4; margin: 0; }

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f2f4f7;
  color: #172033;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9.4pt;
  line-height: 1.32;
}

.page {
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  background: #fff;
  padding: 13mm 14mm 11mm 14mm;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #17365d;
  padding-bottom: 7px;
  margin-bottom: 9px;
}

.name {
  font-size: 22pt;
  font-weight: 700;
  letter-spacing: .3px;
  color: #17365d;
}

.role {
  font-size: 10.5pt;
  font-weight: 700;
  margin-top: 2px;
  color: #465a73;
}

.contact {
  text-align: right;
  font-size: 8.4pt;
  line-height: 1.5;
  color: #435066;
}

.summary {
  font-size: 9.6pt;
  margin-bottom: 9px;
  color: #27354a;
}

.section { margin-top: 8px; }

.section h2 {
  font-size: 10.5pt;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: #17365d;
  border-bottom: 1px solid #b7c3d1;
  padding-bottom: 2px;
  margin: 0 0 6px;
}

.skills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
}

.skill b { color: #243d5b; }

.job { margin-bottom: 7px; }

.jobhead {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}

.company { color: #172033; }

.date { color: #66758a; font-weight: 600; }
.earlycareer {
  list-style: none;
  margin: 0;
  padding: 0;
}

.earlycareer li {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
  font-size: 9.2pt;
  color: #27354a;
}

.earlycareer li b {
  color: #172033;
  font-weight: 700;
}
.title {
  font-style: italic;
  color: #52647b;
  margin: 1px 0 3px;
}

.job ul { margin: 2px 0 0 15px; padding: 0; }
.job li { margin: 2px 0; }

.edu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 18px;
}

.eduitem b { display: block; }

.small { font-size: 8.5pt; color: #4c5b70; }

.projects ul { margin: 2px 0 0 15px; padding: 0; }
.projects li { margin: 2px 0; }

.pill { font-weight: 700; color: #17365d; }

/* Print: strip screen chrome so the page fills the sheet edge-to-edge */
@media print {
  body { background: #fff; }
  .page { box-shadow: none; margin: 0; }
}
