:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --accent: #4f46e5;
  --muted: #6b7280;
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg, var(--bg), #ffffff 60%);
  color: #111827;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow-x: hidden;
}

.card {
  width: 880px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  padding: 28px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.photo {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  border: 4px solid rgba(79, 70, 229, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef2ff, #ffffff);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.02em
}

.role {
  color: var(--muted);
  margin-top: 6px;
  font-weight: 600
}

.about {
  margin-top: 14px;
  line-height: 1.6;
  color: #343a40;
}

.meta {
  margin-top: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  background: #f3f4f6;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: #374151;
  font-weight: 600
}

.right {
  padding: 6px 2px;
}

.contact {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.contact a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600
}

.skills {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.skill {
  background: linear-gradient(90deg, #eef2ff, #f8fafc);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600
}

.footer-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px
}

@media (max-width: 845px) {
  .card {
    transform: scale(0.75)
  }
  #email {
    display: none;
  }
}
@media (max-width: 625px) {
  .card {
    flex-direction: column;
  }
}
@media (max-width: 420px) {
  .card {
    transform: scale(0.65)
  }
}
