:root {
  --bg: #ffffff;
  --text: #3d3d3d;
  --muted: #7d8491;
  --line: #d7dbe2;
  --blue: #2563eb;
  --orange: #f59e0b;
  --soft: #f7f8fa;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: none;
}

.page {
  width: 100%;
  min-height: 100vh;
  padding: 32px 18px 64px;
}

.sheet {
  width: min(100%, 650px);
  margin: 0 auto;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 2px solid var(--line);
  margin-bottom: 24px;
}

.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  border-bottom: 2px solid transparent;
  transform: translateY(2px);
}

.topnav a:first-child {
  padding-left: 14px;
}

.topnav a.active {
  color: var(--blue);
  border-bottom-color: var(--orange);
}

.intro {
  padding-bottom: 22px;
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
}

.subname {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.summary {
  max-width: 590px;
  margin: 18px 0 0;
  color: var(--text);
  font-size: 14px;
}

.quicklinks {
  margin: 14px 0 0;
}

.quicklinks a::before,
.quicklinks a::after {
  color: var(--muted);
}

.quicklinks a::before {
  content: "[";
}

.quicklinks a::after {
  content: "]";
}

.portrait {
  display: block;
  width: 154px;
  height: 154px;
  object-fit: cover;
  border-radius: 4px;
  margin-top: 18px;
}

section {
  padding: 18px 0 0;
}

h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

h3 {
  display: inline;
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

p {
  margin: 0;
}

.copy p + p {
  margin-top: 12px;
}

.entries {
  display: grid;
  gap: 12px;
}

.entry {
  display: block;
}

.time {
  display: inline;
  color: var(--muted);
}

.time::after {
  content: " - ";
}

.muted {
  color: var(--muted);
}

ul {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

li {
  position: relative;
  padding-left: 14px;
}

li + li {
  margin-top: 5px;
}

li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.skills {
  color: var(--text);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.links a::before {
  content: "[";
  color: var(--muted);
}

.links a::after {
  content: "]";
  color: var(--muted);
}

@media (max-width: 700px) {
  .page {
    padding: 18px 14px 48px;
  }

  .sheet {
    width: 100%;
  }

  .topnav {
    overflow-x: auto;
  }

  .topnav a {
    flex: 0 0 auto;
    padding: 0 12px;
  }

  .portrait {
    width: 132px;
    height: 132px;
  }

  h2 {
    font-size: 19px;
  }
}
