.hero-profile {
  position: relative;
  background: #0b1220;
  color: #fff;
  overflow: hidden;
}

.hero-profile .hero-media {
  position: relative;
  height: 280px;
}

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

.hero-profile .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.78),
    rgba(15, 23, 42, 0.5),
    rgba(15, 23, 42, 0.1)
  );
  pointer-events: none;
}

.hero-profile .hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-profile .hero-content-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.hero-profile .hero-text {
  max-width: 520px;
  text-align: left;
  pointer-events: auto;
  padding-left: 18px;
  animation: hero-fade-up 0.8s ease-in-out 0.05s both;
}

.hero-profile .hero-heading {
  font-size: 2.3rem;
  line-height: 1.05;
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-profile .hero-tagline {
  font-size: 1.05rem;
  color: #e6eaf4;
  margin: 0;
  letter-spacing: 0.01em;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  animation: hero-fade-up 0.9s ease-in-out 0.2s both;
}

.section-profile .section-inner {
  max-width: 1120px;
}

.profile-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.profile-sidebar {
  border: 1px solid #ebedf2;
  border-radius: 4px;
  overflow: hidden;
  background: #f9fafb;
  text-align: center;
  align-self: start; /* avoid stretching full column height */
}

.profile-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.profile-basic {
  padding: 18px 14px 20px;
}

.profile-name {
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: #111827;
  font-weight: 700;
}

.profile-title {
  font-size: 13px;
  color: #888;
  font-style: italic;
}

.profile-main h1 {
  font-size: 24px;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.profile-main h1 span {
  font-weight: 400;
  font-size: 16px;
  color: #666;
  margin-left: 6px;
}

.profile-main section {
  margin-top: 22px;
}

.profile-main section:first-of-type {
  margin-top: 0;
}

.profile-main h2 {
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.profile-main p {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #2f2f2f;
}

.profile-main ul {
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.6;
}

.profile-main li {
  margin-bottom: 6px;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-profile .hero-media {
    height: 240px;
  }

  .hero-profile .hero-heading {
    font-size: 2rem;
  }

  .profile-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-sidebar {
    max-width: 320px;
    margin: 0 auto 20px;
  }
}

@media (max-width: 600px) {
  .hero-profile .hero-media {
    height: 200px;
  }

  .hero-profile .hero-content-inner {
    padding: 0 16px;
  }

  .hero-profile .hero-heading {
    font-size: 1.6rem;
  }

  .hero-profile .hero-tagline {
    font-size: 0.95rem;
  }
}
