/* Fives — About page styles. Mobile-first.
   A short trust page: shared masthead, an intro column, two profiles in a
   label + prose ledger, and a sources block with the contact route.
   Every surface is borrowed from /spirit-of-fives (reading column, credit
   block, closing links) and /laws (plate-less masthead). Tokens only.
   Namespace prefix: "ab-". */

html, body { margin: 0; padding: 0; }
body {
  background: var(--fives-bg);
  color: var(--fives-text);
  font-family: var(--fives-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ab-app { min-height: 100vh; }

.ab-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ─── Masthead ("The Full Stop.", plate-less as on /laws) ───
   The slip column is narrower than the essay pages' plate column because
   there is no plate to hold: the H1 keeps its width for the wordmark. */
@media (min-width: 760px)  { .mh--about .mh-grid { grid-template-columns: minmax(0, 1fr) 260px; } }
@media (min-width: 1180px) { .mh--about .mh-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; } .mh--about .mh-sub { max-width: 26em; } }

/* ─── The shared frame: same 1180px / 24-40px gutter as every masthead page ─── */
.ab-frame {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 64px;
  box-sizing: border-box;
}
@media (min-width: 760px) {
  .ab-frame { padding: 72px 40px 88px; }
}

.ab-h2 {
  font-family: var(--fives-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.7px;
  line-height: 1.15;
  color: var(--fives-text);
  margin: 0 0 32px;
  text-wrap: balance;
}

/* ─── Intro ─── */
.ab-intro-section {
  background: var(--fives-bg);
  border-top: 1px solid var(--fives-line);
}
.ab-intro { padding-bottom: 56px; }
.ab-intro > p {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.72;
  color: var(--fives-text);
  margin: 0 0 24px;
  text-wrap: pretty;
}
.ab-intro > p:last-child { margin-bottom: 0; }
.ab-lead {
  font-size: clamp(20px, 2.4vw, 23px) !important;
  line-height: 1.5 !important;
  font-weight: 500;
  letter-spacing: -0.2px;
}

/* ─── The people: a label column and a prose column ─── */
.ab-people-section {
  background: var(--fives-bg);
  border-top: 1px solid var(--fives-line);
}
.ab-person {
  display: grid;
  gap: 20px;
  padding: 40px 0;
  border-top: 1px solid var(--fives-line);
}
.ab-person:last-child { padding-bottom: 0; }
@media (min-width: 900px) {
  .ab-person {
    grid-template-columns: 280px minmax(0, 720px);
    gap: 56px;
    padding: 56px 0;
  }
  /* the label rides alongside the prose while it scrolls, clearing the nav */
  .ab-person-head {
    position: sticky;
    top: calc(var(--fives-nav-h, 66px) + 24px);
    align-self: start;
  }
}
.ab-eyebrow {
  font-family: var(--fives-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fives-primary);
  margin: 0 0 10px;
}
.ab-name {
  font-family: var(--fives-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.9px;
  line-height: 1.05;
  color: var(--fives-text);
  margin: 0 0 8px;
}
.ab-role {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fives-muted);
  margin: 0 0 18px;
}
.ab-rule {
  width: 48px; height: 2px;
  background: var(--fives-accent);
  margin: 0 0 16px;
}
.ab-line {
  font-family: var(--fives-display);
  font-size: 17px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: -0.2px;
  color: var(--fives-muted);
  margin: 0 0 12px;
  text-wrap: pretty;
}
.ab-own-words {
  font-family: var(--fives-mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fives-accent-700);
  margin: 0;
}
.ab-bio p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fives-text);
  margin: 0 0 20px;
  text-wrap: pretty;
}
.ab-bio p:last-child { margin-bottom: 0; }

/* ─── Sources + corrections ─── */
.ab-sources-section {
  background: var(--fives-bg-2);
  border-top: 1px solid var(--fives-line);
}
.ab-dl { margin: 0; padding: 0; max-width: 820px; }
.ab-dl-row {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-top: 1px solid var(--fives-line);
}
.ab-dl-row:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 700px) {
  .ab-dl-row { grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 22px 0; }
}
.ab-dl dt {
  font-family: var(--fives-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fives-primary);
  padding-top: 4px;
}
.ab-dl dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--fives-text);
  text-wrap: pretty;
}

/* prose links: the chalk stroke (court-voice.js) with the TEXT press register,
   accent-700 on cream for contrast */
.ab-bio a.fv-link,
.ab-dl a.fv-link {
  color: var(--fives-accent-700);
  text-decoration: none;
  transition: color var(--fives-t-quick) ease,
              transform var(--fives-t-standard) var(--fives-e-rebound);
}
.ab-bio a.fv-link:hover,
.ab-dl a.fv-link:hover { color: var(--fives-primary-700); }
.ab-bio a.fv-link:active,
.ab-dl a.fv-link:active {
  transform: translateY(1px);
  color: var(--fives-text);
  transition: transform var(--fives-t-instant) var(--fives-e-settle),
              color var(--fives-t-instant) ease;
}

/* ─── Closing links (the /spirit-of-fives pair) ─── */
.ab-foot {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center;
}
.ab-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fives-body);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  color: var(--fives-primary);
  padding: 10px 16px;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid var(--fives-primary);
  border-radius: var(--fives-r-sm);
  transition: background var(--fives-t-quick), color var(--fives-t-quick),
              transform var(--fives-t-standard) var(--fives-e-rebound);
}
.ab-link:hover { background: var(--fives-primary); color: #fff; }
.ab-link--ghost { color: var(--fives-muted); border-color: var(--fives-line); }
.ab-link--ghost:hover { background: var(--fives-bg); color: var(--fives-text); }
.ab-link:active { transform: scale(0.96); transition-duration: var(--fives-t-instant); transition-timing-function: var(--fives-e-settle); }

@media (prefers-reduced-motion: reduce) {
  .ab-bio a.fv-link:active,
  .ab-dl a.fv-link:active,
  .ab-link:active { transform: none; }
}
