.about-hero {
  padding: 154px 0 92px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(46px, 8vw, 108px);
}

.about-portrait {
  position: sticky;
  top: 115px;
  min-height: 560px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--pink-soft);
  overflow: hidden;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  max-height: 610px;
  object-fit: contain;
}

.about-art-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 251, 0.88);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.about-copy .section-title {
  margin-bottom: 28px;
}

.about-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.82;
}

.resume-section {
  background: var(--pink-soft);
}

.resume-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(40px, 8vw, 110px);
}

.timeline {
  display: grid;
  gap: 26px;
}

.timeline-item {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.timeline-item h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.timeline-item p,
.resume-note {
  margin: 0;
  color: var(--muted);
}

.resume-note {
  font-size: 0.82rem;
  line-height: 1.7;
}

.resume-note code {
  color: var(--red);
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.skills-list span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.82rem;
}

@media (max-width: 820px) {
  .about-grid,
  .resume-grid {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    position: relative;
    top: auto;
    min-height: 420px;
  }
}

/* --- About density / color pass --- */
.about-hero {
  position: relative;
  padding: 104px 0 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 35%, rgba(196, 52, 82, 0.08), transparent 20rem),
    linear-gradient(135deg, var(--paper-warm), var(--pink-soft));
  border-bottom: 1px solid var(--line);
}

.about-grid {
  gap: clamp(34px, 6vw, 78px);
}

.about-portrait {
  top: 96px;
  min-height: 430px;
  border-radius: 28px;
  background: rgba(255, 253, 251, 0.66);
}

.about-portrait img {
  max-height: 470px;
}

.about-copy .section-title {
  margin-bottom: 20px;
}

.about-copy p {
  margin-block: 12px;
  font-size: 0.98rem;
  line-height: 1.68;
}

.resume-section {
  padding-block: 64px;
  background:
    radial-gradient(circle at 86% 68%, rgba(196, 52, 82, 0.08), transparent 22rem),
    var(--blush);
}

.resume-grid {
  gap: clamp(34px, 6vw, 76px);
}

.timeline {
  gap: 18px;
}

.timeline-item {
  padding-bottom: 18px;
}

.skills-list {
  margin-top: 22px;
}

@media (max-width: 820px) {
  .about-hero {
    padding-top: 104px;
  }

  .about-portrait {
    min-height: 330px;
  }
}


.resume-btn { margin-top: 4px; justify-self: start; }
.timeline-item h3 { line-height: 1.18; letter-spacing: -0.018em; }


/* --- About icon placement + phone responsiveness --- */
.about-portrait {
  background: var(--pink);
}

.about-portrait img {
  width: min(270px, 62%);
  height: auto;
  max-height: none;
  object-fit: contain;
}

@media (max-width: 620px) {
  .about-hero {
    padding-top: 94px;
    padding-bottom: 44px;
  }

  .about-grid {
    gap: 32px;
  }

  .about-portrait {
    min-height: 280px;
    border-radius: 24px;
  }

  .about-portrait img {
    width: min(220px, 58%);
  }

  .about-copy p {
    font-size: .96rem;
    line-height: 1.65;
  }

  .resume-section {
    padding-block: 48px;
  }

  .resume-grid {
    gap: 32px;
  }

  .resume-btn {
    width: 100%;
  }
}

/* The sticky desktop offset must not shift the portrait on stacked layouts. */
@media (max-width: 820px) {
  .about-portrait {
    top: auto;
  }
}
