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

body {
  font-family: "DM Sans", sans-serif;
  background-color: #f5f5f3;
  color: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px;
}

/* ── Card ── */
.profile-card {
  background: #ffffff;
  border: 1px solid #e8e8e5;
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Left panel ── */
.avatar-panel {
  background: #f5f5f3;
  border-bottom: 1px solid #e8e8e5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  gap: 10px;
}

.profile-image-container {
  margin: 0;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddddd8;
  display: block;
}

.avatar-panel h2 {
  font-family: "DM Serif Display", serif;
  font-size: 18px;
  font-weight: 400;
  color: #1a1a1a;
  text-align: center;
  line-height: 1.3;
}

.role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #767672;
}

/* ── Epoch badge ── */
.time-container {
  font-family: monospace;
  font-size: 11px;
  color: #767672;
  background: #ffffff;
  border: 1px solid #e8e8e5;
  border-radius: 100px;
  padding: 4px 14px;
  margin-top: 4px;
}

/* ── Right panel ── */
.profile-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.profile-content > p {
  font-size: 14px;
  color: #5c5c57;
  line-height: 1.7;
}

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid #e8e8e5;
  margin: 0;
}

/* ── Hobbies / Dislikes ── */
.lists-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.lists-grid h3 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a9a93;
  margin-bottom: 10px;
}

.lists-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.lists-grid ul li {
  font-size: 13px;
  color: #5c5c57;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lists-grid ul li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c8c8c2;
  flex-shrink: 0;
}

/* ── Social links ── */
.social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-links a {
  font-size: 12px;
  font-weight: 500;
  color: #5c5c57;
  text-decoration: none;
  padding: 6px 16px;
  border: 1px solid #ddddd8;
  border-radius: 100px;
  letter-spacing: 0.02em;
  transition: background 0.15s ease, color 0.15s ease;
}

.social-links a:hover {
  background: #f5f5f3;
  color: #1a1a1a;
}

.social-links a:focus {
  outline: 2px solid #1a1a1a;
  outline-offset: 2px;
}

/* ── Desktop: side by side ── */
@media (min-width: 540px) {
  .profile-card {
    flex-direction: row;
    align-items: stretch;
  }

  .avatar-panel {
    flex: 0 0 200px;
    border-bottom: none;
    border-right: 1px solid #e8e8e5;
    padding: 2.5rem 1.5rem;
  }
}