/* ==========================================================================
   About Me Section
   Layout:
     - Left side: Circular clipped mask portrait of Sakib Hasan
     - Right side: Title and narrative bio text
   ========================================================================== */

.about-me-section {
  background-color: transparent;
  margin-bottom: var(--spacing-4xl);
  padding: 40px 0 20px 0;
  box-sizing: border-box;
  position: relative;
  width: 100%;
}

.about-me__container {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.4fr);
  gap: 56px;
  align-items: center;
  box-sizing: border-box;
}

/* Left Column: Circle Clipped Mask Portrait */
.about-me__image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-me__circle-mask {
  width: 324px;
  height: 324px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background-color: #202020;
  background-image: radial-gradient(circle at 50% 32%, #2f2f35 0%, #1a1a1c 100%);
  border: 5px solid #ffffff;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.22),
    0 10px 25px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-me__circle-mask:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 32px 70px rgba(0, 0, 0, 0.28),
    0 14px 30px rgba(0, 0, 0, 0.16),
    0 4px 10px rgba(0, 0, 0, 0.08);
}

.about-me__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transform: scale(1.02);
  transition: transform 0.4s ease;
  border-radius: 50%;
}

.about-me__circle-mask:hover .about-me__portrait {
  transform: scale(1.06);
}

/* Right Column: Title & Text */
.about-me__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-me-section .about-me__title,
body.light-mode .about-me-section .about-me__title,
body.light-mode .about-me-section h2.about-me__title {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: #18181b;
  margin: 0 0 24px 0;
  letter-spacing: -0.025em;
}

.about-me-section .about-me__text,
body.light-mode .about-me-section .about-me__text {
  font-family: var(--font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 17px;
  line-height: 1.75;
  color: #3f3f46;
  margin: 0;
  letter-spacing: -0.005em;
  font-weight: 400;
  text-align: justify;
  text-justify: inter-word;
}

/* Responsive */
@media (max-width: 960px) {
  .about-me__container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-me-section .about-me__title,
  body.light-mode .about-me-section .about-me__title,
  body.light-mode .about-me-section h2.about-me__title {
    font-size: 38px;
    margin-bottom: 20px;
    text-align: left;
  }

  .about-me-section .about-me__text,
  body.light-mode .about-me-section .about-me__text {
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
  }

  .about-me__circle-mask {
    width: 270px;
    height: 270px;
  }
}

@media (max-width: 640px) {
  .about-me-section {
    padding: 24px 0 10px 0;
  }

  .about-me-section .about-me__title,
  body.light-mode .about-me-section .about-me__title,
  body.light-mode .about-me-section h2.about-me__title {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .about-me-section .about-me__text,
  body.light-mode .about-me-section .about-me__text {
    font-size: 15px;
    line-height: 1.65;
  }

  .about-me__circle-mask {
    width: 216px;
    height: 216px;
    border-width: 4px;
    box-shadow: 
      0 16px 40px rgba(0, 0, 0, 0.2),
      0 6px 18px rgba(0, 0, 0, 0.1);
  }
}
