*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #cccccc;
  background-color: #1e1e1e;
  min-height: 100vh;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.header {
  border-bottom: 1px solid #2d2d30;
  padding: 1rem 0;
  background-color: #252526;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  height: 2.5rem;
  width: auto;
}

.company-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  font-weight: 500;
  color: #a2a2a2;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: #ffffff;
}

.hero {
  padding: 4rem 0 6rem;
  text-align: center;
}

.splash-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto 3rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.5), 0 4px 6px -4px rgb(0 0 0 / 0.3);
  border: 1px solid #2d2d30;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #858585;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.profile-bullets {
  max-width: 700px;
  margin: 0 auto;
  margin-bottom: 3rem;
  text-align: left;
}

.profile-bullets ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: #252526;
  border: 1px solid #2d2d30;
}

.profile-bullets li::before {
  content: "✓";
  color: #4ec9b0;
  font-weight: bold;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.about-intro {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: left;
}

.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #2d2d30;
}

.cv-section {
  max-width: 800px;
  margin: 0 auto;
}

.cv-section h2 {
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #2d2d30;
}

.cv-item {
  margin-bottom: 2.5rem;
}

.cv-item h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.cv-meta {
  color: #858585;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  font-style: italic;
}

.cv-item ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.cv-item li {
  margin-bottom: 0.5rem;
  color: #cccccc;
}

/* Contact logos in contact list */
.contact-logo {
  height: 1.5em;
  width: 1.5em;
  vertical-align: middle;
  margin-right: 0.5em;
  display: inline-block;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    gap: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 2rem 0 3rem;
  }

  .section {
    padding: 2rem 0;
  }
}
