* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fafafa;
  color: #1a1a1a;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 2rem;
  padding: 3rem 5vw;
}

.hero-text {
  flex: 1 1 300px;
  margin-left: 2rem;
}

.name {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin: 0;
  font-weight: 700;
}

.title {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  margin-top: 0.75rem;
  color: #444;
  white-space: nowrap;
}

.cursor {
  display: inline-block;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

.hero-image {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 320px;
  margin: 0 auto;
}

.profile-img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.social-icons {
  display: flex;
  gap: 1.25rem;
}

.social-icons a {
  color: #1a1a1a;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
  color: #0a66c2;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    flex-wrap: wrap;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .hero-text {
    margin-left: 0;
  }

  .hero-image {
    margin-bottom: 1rem;
  }
}
