.hero {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xl);
  margin-bottom: 0;
  padding: 0;;
}

/* Hero image wrapper for decorative frame */
.hero-image-wrapper {
  position: relative;
  flex-shrink: 0;
  padding: 6px;
  background: linear-gradient(135deg, #fefefe 0%, #f0f0f0 100%);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Hero profile image - rounded square shape */
.hero-image {
  width: 160px;
  height: 160px;
  border-radius: 14px;
  object-fit: cover;
  background: #eee;
  display: block;
}

/* Hero content container */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding-top: 0;
}

/* Hero main title - improved typography */
.hero-title {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  margin: 0;
  line-height: 1.2;
}

/* Hero name */
.hero-name {
  color: var(--color-text);
  font-weight: 600;
  font-size: 2.6rem;
  letter-spacing: -1px;
  display: block;
  line-height: 1.1;
  margin-bottom: 4px;
}

/* Hero role/title */
.hero-role {
  color: var(--color-text-light);
  font-weight: 400;
  font-size: 1.25rem;
  display: block;
  line-height: 1.3;
}

/* Hero subtitle/description */
.hero-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: var(--spacing-sm) 0 var(--spacing-md) 0;
  line-height: 1.7;
  max-width: 550px;
}

/* Contact button in hero */
.hero-contact-button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--color-text-light);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 24px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: all 0.3s ease;
  width: fit-content;
}

.hero-contact-button:hover {
  background: var(--color-hover);
  border-color: var(--color-accent);
  color: var(--color-text);
  transform: translateY(-2px);
}

/* Arrow icon in hero button */
.hero-contact-button .arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.hero-contact-button:hover .arrow-icon {
  transform: translate(3px, -3px);
}

/* Responsive design for tablets */
@media (max-width: 968px) {
  .hero {
    gap: var(--spacing-lg);
  }

  .hero-image-wrapper {
    padding: 5px;
  }

  .hero-image {
    width: 140px;
    height: 140px;
  }

  .hero-name {
    font-size: 2rem;
  }

  .hero-role {
    font-size: 1.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-xl);
    padding: var(--spacing-md) 0;
    align-items: center; /* center the profile */
  }

  .hero-image-wrapper {
    padding: 6px;
  }

  .hero-image {
    width: 140px;
    height: 140px;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-title {
    align-items: center;
  }

  .hero-name {
    font-size: 1.9rem;
  }

  .hero-role {
    font-size: 1.2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    text-align: center;
    max-width: 100%;
  }

  .hero-contact-button {
    margin-top: var(--spacing-xs);
  }
}
