:root {
  color-scheme: light;
  --bg: #f3f1ec;
  --card: #fffcf7;
  --ink: #1c1b19;
  --muted: #6b675f;
  --line: #e4dfd5;
  --accent: #0a66c2;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  font-family: Outfit, system-ui, sans-serif;
  background:
    radial-gradient(circle at top, #fff 0%, transparent 45%),
    var(--bg);
  color: var(--ink);
}

.card {
  width: min(100%, 40rem);
  padding: 2.25rem 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--card);
  box-shadow: 0 18px 40px rgba(40, 32, 20, 0.08);
  text-align: center;
}

.photo {
  width: 14rem;
  height: 14rem;
  object-fit: cover;
  border-radius: 50%;
  background: #ece8df;
  display: block;
  margin: 0 auto 1.4rem;
}

.identity {
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
  white-space: nowrap;
}

.details {
  list-style: none;
  margin: 1.4rem 0 1.6rem;
  display: grid;
  gap: 0.7rem;
  color: var(--muted);
}

.details li {
  display: grid;
  gap: 0.15rem;
}

.label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.details a,
.location {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.details a:hover {
  text-decoration: underline;
}

.linkedin {
  display: inline-flex;
  color: var(--accent);
  transition: transform 0.15s ease;
}

.linkedin svg {
  width: 2rem;
  height: 2rem;
}

.linkedin:hover {
  transform: translateY(-2px);
}

.error {
  color: #8a3b2a;
}

@media (max-width: 520px) {
  .photo {
    width: 11rem;
    height: 11rem;
  }

  .identity {
    font-size: 1.25rem;
    white-space: normal;
  }
}
