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

:root {
  --bg: #f9f7f4;
  --surface: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #6b6b6b;
  --accent: #2563eb;
  --accent-light: #eff6ff;
  --border: #e8e4de;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  --radius: 20px;
}

html, body {
  height: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* Subtle background texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, #dbeafe 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, #eee8e0 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
}

/* Hero Card */
.hero {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 3rem 3.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  border: 1px solid var(--border);
  animation: fadeUp 0.6s ease both;
}

/* Photo */
.photo-wrap {
  flex-shrink: 0;
  position: relative;
}

.photo,
.initials {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
}

.photo {
  display: block;
  border: 3px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.initials {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  border: 3px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

/* Intro text */
.intro {
  flex: 1;
}

.greeting {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.name {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
  letter-spacing: 0.03em;
}

/* Links */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-primary);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.link-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.link-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 560px) {
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    gap: 1.5rem;
  }

  .name {
    font-size: 2rem;
  }

  .links {
    justify-content: center;
  }
}
