/* ============================================================
   ABOUT PAGE — Figma 55:6845 (About), Contact proposed in the same
   language. Two columns on the 1200px grid: text on the left; on the
   right a "facts" list — bold label column + entries with thin rules,
   like the Music/Film lists.
   ============================================================ */

.about-page { padding-top: var(--nav-height); }
.about-page .section { padding-bottom: 6rem; }
.about-page .section--dark { padding-bottom: 8rem; }

/* Two columns: Figma text 488px, facts start at 610px of 1200 */
.about,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--section-gap);
  align-items: start;
}

.about__bio { max-width: 30.5rem; font-size: var(--fs-text); line-height: var(--lh-body); }
.about__bio p { margin: 0 0 1.2em; }
.about__bio p:last-child { margin-bottom: 0; }

/* ---- Facts list (Studio experience, Education, Tools, Email…) ---- */
.facts { margin: 0; display: flex; flex-direction: column; }

.facts__group {
  display: grid;
  grid-template-columns: 34% minmax(0, 1fr);   /* label 203px of 590px (Figma) */
  padding: var(--row-pad) 0;
  border-bottom: var(--line-thin);
}
.facts__group:first-child { padding-top: 0; }

.facts__label {
  grid-column: 1;
  grid-row: 1 / span 10;
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  line-height: var(--lh-body);
  text-transform: uppercase;
  padding-right: 1rem;
}

.facts__item {
  grid-column: 2;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-size: var(--fs-text);
  line-height: var(--lh-body);
}
.facts__item + .facts__item {
  margin-top: var(--row-pad);
  padding-top: var(--row-pad);
  border-top: var(--line-thin);
}
.facts__title { text-transform: uppercase; }

.facts__tools {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 1.5rem;
}

.facts__item--links { flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

/* Links in the facts list: underline grows from the left on hover, like the nav */
.facts .link-out { font-size: var(--fs-text); }
.facts .link-out span:first-child {
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease-out);
}
.facts .link-out:hover span:first-child { background-size: 100% 1px; }

/* ---- Contact ---- */
.contact__lead {
  margin: 0;
  max-width: 30.5rem;
  font-size: var(--fs-body);      /* 24px, like the hero intro */
  line-height: var(--lh-body);
}
.contact__mail.is-placeholder { color: var(--color-muted); font-style: italic; }

/* Current page in the nav */
.nav__links a[aria-current="page"] { background-size: 100% 1px; }

/* ---- Phone / tablet: one column ---- */
@media (max-width: 767px) {
  .about,
  .contact { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .facts__group { grid-template-columns: 1fr; }
  .facts__label { grid-row: auto; margin-bottom: 0.5rem; }
  .facts__item { grid-column: 1; }
  .about-page .section { padding-bottom: 4rem; }
}
