/* ============================================================
   ABOUT PAGE STYLES
   ============================================================ */
@import url('main.css');
@import url('style.css');   

.about {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2.5rem;
  box-sizing: border-box;
}

/* two-column grid: portrait on the left, content on the right */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0rem;
  align-items: stretch;
  max-width: 1400px;
  margin: -80px auto 0;
  width: 100%;
}

/* ---------- LEFT: portrait ---------- */
.about-portrait {
  margin: 0 auto;
  width: 50%;
  max-height: 70vh;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #1a1a1a; /* shows through if image fails to load */
}

.about-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ---------- RIGHT: bio + contact stack ---------- */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  /* a little inner padding so text aligns nicely with the image */
  padding: 1rem 0;
}

/* the intro paragraph */
.about-bio {

  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  color: #0a0a0a;
  margin: 0;
  max-width: 32rem;
}

/* the contact links list */
.about-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-contact li {
  margin: 0;
}

.about-contact a {
  display: inline-block;

  font-size: 1rem;
  font-weight: 400;
  color: #0a0a0a;
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

.about-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .about {
    padding: 4rem 1.5rem;
    min-height: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-portrait {
    width: 100%;
    max-width: 500px;
    max-height: none;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    align-self: auto;
  }

  .about-portrait img {
    height: auto;
    min-height: unset;
  }

  .about-content {
    gap: 3rem;
    padding: 0;
  }

  .about-bio,
  .about-contact a {
    font-size: 0.9rem;
  }
}