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

:root {
  --background: #f2f2f2;
  --card: #ffffff;
  --text: #292929;
  --muted: #888888;
  --button: #eeeeee;
  --button-hover: #e2e2e2;
  --border: #e5e5e5;
  --glow: rgba(135, 135, 135, 0.22);
}

body {
  min-height: 100vh;
  padding: 24px;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(255, 255, 255, 0.95) 0,
    rgba(242, 242, 242, 0.9) 38%,
    #ededed 100%
  );
  color: var(--text);
  font-family: "DM Sans", sans-serif;
}

.profile-card {
  width: 100%;
  max-width: 390px;
  padding: 42px 32px 26px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(190, 190, 190, 0.12),
    0 12px 35px rgba(0, 0, 0, 0.055),
    0 0 38px var(--glow);
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.profile-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(190, 190, 190, 0.2),
    0 16px 42px rgba(0, 0, 0, 0.07),
    0 0 55px rgba(130, 130, 130, 0.28);
}

.profile-photo {
  width: 112px;
  height: 112px;
  margin: 0 auto 22px;
  overflow: hidden;
  border: 4px solid #f0f0f0;
  border-radius: 50%;
  background: #dedede;
  box-shadow:
    0 0 0 1px #dedede,
    0 0 20px rgba(130, 130, 130, 0.28);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.photo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #555;
  font-family: "Playfair Display", serif;
  font-size: 43px;
}

.eyebrow {
  color: #999;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
}

h1 {
  margin-top: 8px;
  color: #252525;
  font-family: "Playfair Display", serif;
  font-size: 38px;
  font-weight: 600;
  text-shadow: 0 0 18px rgba(100, 100, 100, 0.14);
}

.bio {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.social-links {
  display: grid;
  gap: 11px;
  margin-top: 30px;
}

.social-links a {
  min-height: 48px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e9e9e9;
  border-radius: 10px;
  background: var(--button);
  color: #333;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.025);
  transition:
    background 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.social-links a:hover {
  background: #f7f7f7;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px #e5e5e5,
    0 0 18px rgba(125, 125, 125, 0.22);
}

.arrow {
  color: #888;
  font-size: 17px;
  transition:
    transform 0.22s ease,
    text-shadow 0.22s ease;
}

.social-links a:hover .arrow {
  transform: translate(2px, -2px);
  text-shadow: 0 0 9px rgba(80, 80, 80, 0.35);
}

footer {
  margin-top: 30px;
  color: #aaa;
  font-size: 10px;
  letter-spacing: 1px;
}

@media (max-width: 420px) {
  .profile-card {
    padding: 36px 23px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
