:root {
  --bg: #f4f4f4;
  --card: #ffffff;
  --ink: #111111;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --btn: #1a1a1a;
  --btn-hover: #000000;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  --radius: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

.page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 16px 48px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 24px 28px;
  text-align: center;
}

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  background: #ececec;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #ddd;
  display: block;
  margin: 0 auto 18px;
}

.name {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.tagline {
  margin-top: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #3a3a3a;
}

.intro {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.about {
  margin-top: 22px;
  text-align: left;
  color: var(--muted);
  font-size: 0.92rem;
}

.about p + p {
  margin-top: 12px;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
}

.btn {
  display: block;
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease,
    color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--btn);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.btn-primary:hover {
  background: var(--btn-hover);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid #cfcfcf;
}

.btn-secondary:hover {
  border-color: #111;
  background: #fafafa;
}

.socials {
  margin-top: 28px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8a8a;
  margin: 16px 0 6px;
}

.social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  background: #f7f7f7;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.18s ease, transform 0.18s ease;
}

.social:hover {
  background: #ececec;
  transform: translateY(-1px);
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.portrait {
  margin: 24px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  background: #ececec;
}

.email {
  display: inline-block;
  margin-top: 20px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.email:hover {
  color: var(--ink);
  border-bottom-color: #111;
}

.footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: #8a8a8a;
}

@media (max-width: 420px) {
  .page {
    padding: 16px 12px 32px;
  }

  .card {
    padding: 28px 18px 24px;
    border-radius: 22px;
  }

  .name {
    font-size: 1.4rem;
  }
}
