/* 04 About — the studio and its bench (about-fan.js), two columns on the page grid. Scoped to #about .af-*. */
#about .af { display: grid; grid-template-columns: var(--cols, 1.3fr 1fr 1.3fr 1fr 90px 40px); gap: 0 var(--colgap, 20px); padding: 0 var(--gutter); align-items: start; }
#about .af-vis { grid-column: 1 / 3; min-width: 0; }
#about .af-stage { position: relative; margin: 0; aspect-ratio: 640 / 470; max-height: 520px; }
#about .af-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#about .af-label { position: absolute; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; opacity: 0; transform: translateY(calc(-50% - 9px)); transition: opacity .4s ease; pointer-events: none; }
#about .af-stage.on .af-label { opacity: .78; }
#about .af-stage.on .af-label + .af-label { transition-delay: 60ms; }
#about .af-legend { max-width: none !important; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 0 0; font: 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
#about .af-legend span { display: inline-flex; align-items: center; gap: 8px; }
#about .af-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); display: inline-block; }
#about .af-legend i.o { background: none; border: 1.5px dotted var(--ink); }
#about .af-bio { grid-column: 3 / 6; display: block; padding: 0; }
#about .af-bio .af-name { font: 400 56px/1 var(--serif); letter-spacing: -.01em; margin: 0 0 22px; }
#about .af-bio .lede { margin: 0 0 18px; max-width: 640px; }
#about .af-bio .ab-p { margin: 0; max-width: 560px; }

/* tablet: the page grid's first two columns get too narrow for the figure, so split the row in half */
@media (max-width: 1100px) {
  #about .af { grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 48px); }
  #about .af-vis { grid-column: 1; }
  #about .af-bio { grid-column: 2; }
  #about .af-bio .af-name { font-size: 48px; }
}
@media (max-width: 760px) {
  #about .af { grid-template-columns: 1fr; }
  #about .af-vis, #about .af-bio { grid-column: 1; }
  /* bleed to the viewport edge so the bench is cropped by it, not by the gutter */
  #about .af-stage { aspect-ratio: auto; max-height: none; height: calc(100vw * 470 / 492); margin: 0 calc(-1 * var(--gutter)); } /* portrait spans the viewport */
  #about .af-bio { padding-top: 36px; }
  #about .af-bio .af-name { font-size: 44px; }
}
