:root {
  --background: #f7f7f5;
  --text: #171717;
  --muted: #5f6368;
  --card: #ffffff;
  --accent: #1f3a5f;
  --accent-light: #e8eef7;
  --border: #e3e3e3;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; }

.hero {
  min-height: 90vh;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(31, 58, 95, 0.18), transparent 35%),
    linear-gradient(135deg, #0e1117 0%, #202734 100%);
  color: white;
}

.nav {
  max-width: 1100px;
  margin: 0 auto 80px;
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  opacity: 0.86;
}

.nav a:hover { opacity: 1; }

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: center;
}

.profile-picture {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  margin: 0 0 12px;
  color: #cdd8ea;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.subtitle {
  max-width: 720px;
  margin: 24px 0;
  color: #e3e7ee;
  font-size: 1.25rem;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  background: white;
  color: #111;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 28px;
}

.section h2 {
  font-size: 2rem;
  margin: 0 0 24px;
  letter-spacing: -0.03em;
}

.section > p {
  max-width: 850px;
  font-size: 1.08rem;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card,
.timeline article,
.education-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.card h3,
.timeline h3,
.education-item h3 {
  margin: 0 0 8px;
}

.card p,
.timeline p,
.education-item p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 16px;
}

.education-list {
  display: grid;
  gap: 14px;
}

.contact {
  text-align: center;
}

.contact p {
  margin-left: auto;
  margin-right: auto;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contact-links a {
  background: var(--accent-light);
  color: var(--accent);
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

footer {
  padding: 32px 20px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

@media (max-width: 760px) {
  .hero { min-height: auto; }

  .nav {
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .profile-picture {
    margin: 0 auto;
    width: 170px;
    height: 170px;
  }

  .hero-buttons { justify-content: center; }

  .grid { grid-template-columns: 1fr; }
}
