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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  background: #111;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
body > header {
  padding: 80px 0 40px;
  border-bottom: 1px solid #2a2a2a;
}

body > header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f0f0f0;
}

body > header .tagline {
  color: #888;
  margin-top: 4px;
}

/* Nav */
nav {
  padding: 16px 0;
  border-bottom: 1px solid #2a2a2a;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

nav a {
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
}

nav a:hover,
nav a:focus-visible {
  color: #e0e0e0;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid #888;
  outline-offset: 2px;
}

/* Main */
main {
  padding-bottom: 80px;
}

section {
  padding-top: 56px;
}

h2 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
  margin-bottom: 20px;
}

section > p {
  margin-bottom: 12px;
}

/* Services */
.services-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.services-grid h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #f0f0f0;
  margin-bottom: 6px;
}

.services-grid p {
  font-size: 0.95rem;
  color: #999;
}

/* Experience */
article {
  margin-bottom: 32px;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.experience-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f0f0f0;
}

.experience-header time {
  font-size: 0.85rem;
  color: #666;
}

.role {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 8px;
}

article > p:last-child {
  color: #bbb;
}

/* Profile */
.profile-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0;
}

.profile-list dt {
  padding: 8px 0;
  border-bottom: 1px solid #222;
  color: #888;
  font-weight: 600;
}

.profile-list dd {
  padding: 8px 0;
  border-bottom: 1px solid #222;
}

/* Contact */
address {
  font-style: normal;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

address a {
  color: #e0e0e0;
  text-decoration: none;
  border-bottom: 1px solid #444;
}

address a:hover,
address a:focus-visible {
  border-bottom-color: #e0e0e0;
}

/* Footer */
body > footer {
  padding: 32px 0;
  border-top: 1px solid #2a2a2a;
}

body > footer p {
  font-size: 0.85rem;
  color: #555;
}

/* Mobile */
@media (max-width: 600px) {
  body > header {
    padding: 48px 0 32px;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 12px 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .experience-header {
    flex-direction: column;
  }

  .profile-list {
    grid-template-columns: 1fr;
  }

  .profile-list dt {
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 8px;
  }

  .profile-list dd {
    padding-top: 2px;
  }
}
