@page {
  size: letter;
  margin: 0.7in;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #171c1c;
  color: #d4c6b9;
}

body {
  font-family: "Times New Roman", Times, serif;
  font-size: 11pt;
  line-height: 1.18;
}

.toolbar {
  max-width: 8.5in;
  margin: 20px auto 0;
  padding: 0 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 13px;
}

.toolbar a, .toolbar button {
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #171c1c;
  background: #d4c6b9;
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  text-decoration: none;
  cursor: pointer;
}

.toolbar a:hover, .toolbar button:hover { background: #efe6dc; }

.toolbar span { display: flex; gap: 8px; }

.page {
  width: 8.5in;
  min-height: 11in;
  margin: 12px auto 32px;
  background: #fff;
  padding: 0.7in;
}

h1 {
  font-size: 16pt;
  font-weight: 700;
  text-align: center;
  margin: 0 0 3px;
  letter-spacing: 0.4px;
}

.contact {
  text-align: center;
  font-size: 10.5pt;
  margin: 0;
}

.contact a { color: #000; text-decoration: none; }

.section {
  font-size: 11pt;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid #000;
  margin: 8px 0 3px;
  padding-bottom: 1px;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.row strong { font-weight: 700; }

.sub {
  margin: 0 0 2px;
}

ul {
  margin: 1px 0 4px 1.15em;
  padding: 0;
}

li { margin: 0 0 1px; }

.skills p { margin: 0 0 1px; }

@media print {
  html, body { background: #fff; }
  .toolbar { display: none; }
  .page {
    width: auto;
    min-height: auto;
    margin: 0;
    padding: 0;
  }
}
