.chapter-heading { grid-column: 1 / -1; }
.chapter-mark { display: none; }
.chapter-example { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.founder-quote { display: grid; justify-items: start; }
.founder-quote blockquote { grid-row: 1; }
.recommendation-dialog { height: max-content; }
.founder-quote .witness-role, .founder-quote .witness-company { display: block; }
.founder-quote .witness-context { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.founder-quote a.founder-letter-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  margin-top: .3rem;
  color: var(--accent);
  text-decoration: none;
}
.founder-letter-link:is(:hover, :focus-visible) { text-decoration: underline; }

@media (min-width: 871px) {
  .founder-chapter:has(.chapter-example) { grid-template-rows: auto auto 1fr; }
  .founder-chapter:has(.chapter-example) .founder-quote { grid-column: 2; grid-row: 2 / span 2; }
  .chapter-example { grid-column: 1; grid-row: 3; }
}

@media (max-width: 870px) {
  .founder-body { width: 100%; padding-block: clamp(1.8rem, 4vw, 3.25rem); }
  .founder-body .founder-chapter {
    --chapter-light: #83d9ff;
    --chapter-ink: #19364b;
    position: relative;
    isolation: isolate;
    max-width: 44rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: clamp(1.45rem, 5vw, 2.5rem) var(--gutter) 1rem;
    border: 0;
    background: radial-gradient(ellipse at 100% 0, var(--chapter-ink), transparent 68%),
      linear-gradient(160deg, #152032, #101623 78%);
  }
  .founder-body .founder-chapter + .founder-chapter { margin-top: clamp(2.2rem, 7vw, 3.5rem); }
  .founder-chapter#leadership { --chapter-light: #c5affb; --chapter-ink: #362c52; }
  .founder-chapter#follow-through { --chapter-light: #95dbd8; --chapter-ink: #183939; }
  .founder-chapter#tools { --chapter-light: #a7bfff; --chapter-ink: #29365b; }
  .founder-chapter#teams { --chapter-light: #9fcfff; --chapter-ink: #243954; }
  .founder-chapter#buyers { --chapter-light: #b3b7ff; --chapter-ink: #302f52; }
  .founder-chapter#career { --chapter-light: #a3dfed; --chapter-ink: #203c49; }
  .founder-chapter::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, var(--chapter-light), transparent 90%);
    transform-origin: left;
  }
  .chapter-heading { display: flex; align-items: center; justify-content: space-between; gap: min(4vw, 1.4rem); }
  .chapter-heading h2 {
    font-size: clamp(1.48rem, 6.1vw, 2rem);
    line-height: 1.09;
    text-wrap: balance;
    max-width: 22ch;
  }
  .chapter-mark {
    display: block;
    flex: 0 0 auto;
    width: clamp(3.1rem, 15vw, 5.1rem);
    color: var(--chapter-light);
    filter: drop-shadow(0 2px 6px var(--chapter-ink));
  }
  .founder-chapter .chapter-story { max-width: 53ch; margin: .95rem 0 1.2rem; font-size: 1rem; line-height: 1.55; }
  .founder-chapter .founder-quote {
    margin: 0;
    padding: 1rem 0 0;
    border: 0;
    border-top: 1px solid color-mix(in srgb, var(--chapter-light) 35%, transparent);
    background: transparent;
  }
  .founder-quote blockquote { grid-row: auto; color: var(--text); max-width: 45ch; font-size: clamp(1.12rem, 4.6vw, 1.48rem); line-height: 1.34; letter-spacing: -.025em; }
  .founder-quote figcaption { margin: 0 0 .8rem; gap: .75rem; }
  .founder-quote figcaption img { flex: none; width: 2.7rem; height: 2.7rem; object-fit: cover; }
  .founder-quote figcaption strong { line-height: 1.35; }
  .founder-quote a.founder-letter-link { margin-top: .2rem; }
  .chapter-example { margin-top: .55rem; padding-block: .65rem; line-height: 1.45; }
}

@media (max-width: 870px) and (prefers-reduced-motion: no-preference) {
  .founder-chapter.entered::before { animation: chapter-rule .6s ease-out both; }
  .founder-chapter.entered .mark-trace { stroke-dasharray: 1; animation: founder-mark-draw .85s ease-out .12s both; }
}
@keyframes founder-mark-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
