/* BIO PAGE
   Uses .container class from tokens.css for horizontal margins */

.bio-body {
  padding-top: var(--space-2xl);
  padding-bottom: calc(var(--gap) * 4);
}

/* Flex column so .footnotes (generated by kramdown) can be pushed to the end
   via CSS order, regardless of where it lands in the source. */
.bio-text {
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .bio-body {
    display: grid;
    grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
    column-gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
  }

  .bio-photo {
    margin: 0;
    max-width: 280px;
  }
}

.bio-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.bio-text p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-mid);
  margin-bottom: 1.25rem;
  max-width: 62ch;
}

.bio-text p:first-of-type {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 300;
}

/* Footnotes pushed to the end, sized like sidenotes */
.bio-text .footnotes { order: 100; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.bio-text .footnotes hr { display: none; }
.bio-text .footnotes ol { padding-left: 1.25rem; }
.bio-text .footnotes li,
.bio-text .footnotes p { font-size: 0.8rem; font-weight: 300; line-height: 1.65; color: var(--ink-light); max-width: 52ch; margin-bottom: 0; }

.bio-divider { width: 2rem; height: 1px; background: var(--accent); margin: 2.5rem 0; order: 101; }
.bio-nav {
  order: 102;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s;
  margin-top: 0.5rem;
}
.contact-link:hover { color: var(--accent); border-color: var(--accent); }

/* ── Bio page photo ─────────────────────── */
.bio-photo {
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  max-width: min(100%, 320px);
}

.bio-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}


