/* ==========================================================================
   ABOUT PAGE
   Intro with a sticky photo, clients, experience list, art gallery
   (illustrations and paintings), and a closing call to action.
   Everything reads from tokens.css.
   ========================================================================== */

.about__title {
  margin-bottom: var(--space-7);
  font-size: var(--step-5);
  font-weight: 600;
  line-height: 1;
}

/* ---------- Intro ---------- */
.about-intro { padding-block: var(--space-8) var(--space-section); }

.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.about__frame {
  position: sticky;                                  /* the photo stays in view while you read */
  top: calc(var(--header-h) + var(--space-6));
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: linear-gradient(160deg, #d3e3d9, #93b5a2);
}
.about__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

.about__text { display: grid; gap: var(--space-5); }
.about__lead { font-size: var(--step-1); line-height: 1.5; }
.about__text h2 { margin-top: var(--space-6); font-size: var(--step-3); font-weight: 500; line-height: 1.1; }
.about__text h2:first-of-type { margin-top: var(--space-4); }

.about-clients {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.2;
}
.about-clients .about-clients__more { color: var(--color-muted); font-style: italic; }

/* ---------- Experience ---------- */
.about-jobs-section { padding-block: 0 var(--space-section); }
.about-section-title { font-size: var(--step-4); font-weight: 500; line-height: 1.1; }

.about-jobs { margin-top: var(--space-7); }
.about-job { padding-block: var(--space-6); border-top: 1px solid var(--color-line); }
.about-job:last-child { border-bottom: 1px solid var(--color-line); }
.about-job__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2) var(--space-5); }
.about-job h3 { font-size: var(--step-3); font-weight: 500; line-height: 1.1; }
.about-job__dates { font-size: var(--step-0); font-variant-numeric: tabular-nums; color: var(--color-muted); }
.about-job p { max-width: 70ch; margin-top: var(--space-3); font-size: var(--step-0); }

/* ---------- Along with design: illustrations and paintings ---------- */
.about-art { padding-block: 0 var(--space-section); }
.about-art__intro { max-width: 60ch; margin-top: var(--space-4); font-size: var(--step-1); line-height: 1.5; }
.about-art__group { margin-top: var(--space-8); }
.about-art__group h3 { font-size: var(--step-2); font-weight: 500; }

.about-gallery { columns: 3 15rem; column-gap: var(--space-4); margin-top: var(--space-5); }
.about-piece {
  break-inside: avoid;
  margin: 0 0 var(--space-4);
  overflow: hidden;
  border-radius: var(--radius-s);
}
.about-piece img { display: block; width: 100%; height: auto; }

/* Placeholders: replace with real images (see about.html) */
.about-ph {
  display: grid;
  place-items: center;
  aspect-ratio: var(--ratio, 1 / 1);
  padding: var(--space-4);
  text-align: center;
  font-size: var(--step--1);
  color: var(--color-muted);
}
.about-ph.r-tall { --ratio: 3 / 4; }
.about-ph.r-wide { --ratio: 4 / 3; }
.about-ph.r-sq { --ratio: 1 / 1; }
.about-ph.t1 { background: linear-gradient(135deg, var(--color-accent-soft), #bcd3c5); }
.about-ph.t2 { background: linear-gradient(135deg, #f6e3dd, #ecc0b4); }
.about-ph.t3 { background: linear-gradient(135deg, #e6ece8, #c9d4cd); }
.about-ph.t4 { background: linear-gradient(135deg, #f3ede2, #e0d3bd); }

/* ---------- Closing call to action ---------- */
.about-cta { padding-block: var(--space-section); border-top: 1px solid var(--color-line); text-align: center; }
.about-cta p { max-width: 28ch; margin-inline: auto; font-family: var(--font-display); font-size: var(--step-3); font-weight: 500; line-height: 1.15; letter-spacing: var(--track-display); }
.about-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); margin-top: var(--space-6); }

@media (max-width: 809px) {
  .about-intro { padding-block: var(--space-7) var(--space-8); }
  .about-intro__grid { grid-template-columns: 1fr; }
  .about__frame { position: static; aspect-ratio: 1 / 1; }
  .about-gallery { columns: 2 9rem; }
}
