/* GENERAL */
body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #fafafa;
  color: #222222;
  line-height: 1.6;
}
a {
  color: #222222;
}

/* PAGE LAYOUT */
.container {
  display: flex;
  gap: 56px;
  max-width: 960px;
  margin: 64px auto;
  padding: 0 24px;
}

/* LEFT PROFILE */
.profile {
  width: 260px;
  flex-shrink: 0;
}
.avatar {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
}
h1 {
  font-size: 26px;
  font-weight: 600;
  margin: 20px 0 2px;
}
.role {
  margin: 0;
  color: #777777;
}
.bio {
  margin: 20px 0;
  color: #444444;
}
.details {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
  font-size: 14px;
}
.details dt {
  color: #999999;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.details dd {
  margin: 0 0 14px;
}

/* RIGHT CONTENT */
.content {
  flex: 1;
}
section {
  margin-bottom: 40px;
}
h2 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999999;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e5e5;
}
h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}
p {
  margin: 0;
}
ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
li {
  margin-bottom: 8px;
}
.year {
  color: #999999;
  font-weight: normal;
  font-size: 14px;
  margin-left: 6px;
}

/* EXPERIENCE TIMELINE */
.track {
  font-size: 14px;
  margin: 20px 0 8px;
}
.track:first-of-type {
  margin-top: 0;
}
.timeline li {
  display: flex;
  gap: 16px;
  font-size: 15px;
}
.timeline .date {
  width: 150px;
  flex-shrink: 0;
  color: #999999;
  font-size: 14px;
}

/* PROJECTS */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.project-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid #e5e5e5;
}
.project-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-body p {
  font-size: 14px;
  color: #555555;
  margin-bottom: 16px;
}
.btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 8px 14px;
  font-size: 13px;
  text-decoration: none;
  color: #ffffff;
  background: #222222;
  border-radius: 4px;
}
.btn:hover {
  background: #444444;
}

/* MOBILE */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 40px;
    margin: 32px auto;
  }
  .profile {
    width: 100%;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .timeline li {
    flex-direction: column;
    gap: 0;
  }
}

/* FOLLOW BUTTON */
#followBtn {
  margin-top: 16px;
  padding: 8px 20px;
  font-size: 14px;
  color: #ffffff;
  background: #222222;
  border: 1px solid #222222;
  border-radius: 4px;
  cursor: pointer;
}
#followBtn:hover {
  background: #444444;
}
#followBtn.following {
  color: #222222;
  background: #ffffff;
}
