:root {
  --color-primary: #0066cc;
  --color-text: #333;
  --color-text-light: #595959;
  --color-border: #ddd;
  --color-bg-skip-link: #000;
  --color-text-inverted: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  max-width: 650px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  position: fixed;
  left: 0;
  top: 0;
  background: var(--color-bg-skip-link);
  color: var(--color-text-inverted);
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 100;
}

header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.header-text {
  flex: 1;
}

.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.25rem;
  margin: 2rem 0 1rem;
}

h3 {
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem;
}

nav {
  margin-top: 1rem;
}

nav a {
  margin-right: 1rem;
}

nav a[aria-current] {
  text-decoration: underline;
}

.contact {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

p, ul {
  margin-bottom: 1rem;
}

ul {
  margin-left: 1.5rem;
}

li {
  margin-bottom: 0.25rem;
}

.highlight {
  font-weight: 600;
}

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

a:hover {
  text-decoration: underline;
}

a:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
  border: 0;
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-pic {
    width: 120px;
    height: 120px;
    order: -1;
  }
}
