@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500&family=Inter:wght@400;500;600&display=swap');

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

body {
  font-family: "Google Sans", "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #202124;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 680px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

h1 {
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #202124;
}

/* Cards */
.card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem 1.5rem;
  margin-bottom: 1rem;
}

/* Section headings */
h2 {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a73e8;
  margin-bottom: 1rem;
}

/* Company groups */
.entry-group {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #f1f3f4;
}

.entry-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.group-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.logo {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: contain;
  flex-shrink: 0;
}

.company {
  font-size: 0.9rem;
  font-weight: 500;
  color: #202124;
  line-height: 1.2;
}

.group-dates {
  font-size: 0.75rem;
  color: #5f6368;
}

/* Roles within a group */
.group-roles {
  padding-left: calc(24px + 0.75rem);
}

.group-roles .entry-header {
  margin-bottom: 0.3rem;
}

.group-roles .entry-header:last-child {
  margin-bottom: 0;
}

.role {
  font-weight: 400;
  font-size: 0.85rem;
  color: #5f6368;
}

.dates {
  font-size: 0.75rem;
  color: #5f6368;
}

/* Publications links */
.links {
  list-style: none;
}

.links.bullets {
  list-style: disc;
  padding-left: 1.2rem;
}

.links.bullets li::marker {
  color: #dadce0;
}

.links li {
  margin-bottom: 0.5rem;
}

.links li:last-child {
  margin-bottom: 0;
}

.links a {
  font-size: 0.85rem;
  color: #5f6368;
  text-decoration: none;
  transition: color 0.15s;
}

.links a:hover {
  color: #1a73e8;
}

/* Social / Contact links */
.social-links {
  display: block;
}

.linkedin-link {
  display: inline-block;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.linkedin-link:hover {
  opacity: 1;
}

/* Responsive */
@media (max-width: 480px) {
  main {
    margin: 1.5rem auto;
  }

  h1 {
    font-size: 1.8rem;
  }

  .card {
    padding: 1.2rem;
  }

  .group-roles .entry-header {
    flex-direction: column;
    gap: 0;
  }

  .dates {
    font-size: 0.7rem;
  }
}

