/* Focus the reading order while preserving the current site's visual family. */
#work .career-index { background: transparent; gap: 0; }
#work .career-index a { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 17px 14px; min-height: 82px; border-right: 1px solid var(--folio-rule); }
#work .career-index a:first-child { padding-left: 0; }
#work .career-index a:last-child { border-right: 0; }
#work .career-index a span { font-weight: 550; font-size: .9375rem; }
#work .career-index a small { font-size: .8125rem; color: var(--folio-muted); line-height: 1.45; }
#work .career-index a:hover { background: #f5f2ee; }
#work .brim-feature { margin-top: 28px; }
#work .brim-top h3 { font-size: clamp(1.8rem, 2.7vw, 2.6rem); }
#work .brim-feature::before { background: #c8a086; }
#work .brim-layout { padding-top: 30px; }
#work .earlier-work-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-top: 48px; padding: 0 0 20px; border-bottom: 1px solid var(--folio-rule); }
#work .earlier-work-heading h3 { font-family: Newsreader, Georgia, serif; font-size: clamp(1.8rem, 2.8vw, 2.7rem); font-weight: 400; letter-spacing: -.03em; }
#work .earlier-work-heading p { color: var(--folio-muted); font-size: .9375rem; line-height: 1.6; }
#work .career-entry, #work #exagens { padding-top: 36px; padding-bottom: 36px; }
#work .entry-headline { margin-bottom: 17px; }
#work #lemonade .growth-score { font-size: clamp(4.5rem, 6vw, 6rem); }
#work #exagens .pilot-score > span:first-child { font-size: clamp(4.5rem, 6vw, 6rem); }
#work #exagens .pilot-score > span:last-child { font-size: clamp(1.8rem, 2.4vw, 2.4rem); }
#work #railz .entry-headline strong { font-size: clamp(1.8rem, 2.9vw, 2.7rem); }
#work .entry-story > p:not(.entry-headline) { font-size: 1rem; line-height: 1.7; }
#work .entry-facts { margin-top: 16px; padding-top: 14px; }
#work .entry-headline > span { line-height: 1.6; }
#work .career-sequence + .section-next { border-top: 0; margin-top: 10px; }
.community-preview { margin-top: 22px; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--folio-rule); }
.community-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) {
  #work .career-index a { padding: 14px 12px; min-height: 86px; }
  #work .career-index a:nth-child(2n) { border-right: 0; }
  #work .career-index a:nth-child(3) { padding-left: 0; }
  #work .career-index a:nth-child(n+3) { border-top: 1px solid var(--folio-rule); }
  #work .career-index a span { font-size: .875rem; }
  #work .career-index a small { font-size: .75rem; }
  #work .market-summary { margin-top: 26px; margin-bottom: 22px; }
  #work .career-index { margin-top: 20px; }
  #work .earlier-work-heading { display: block; margin-top: 36px; }
  #work .earlier-work-heading p { margin-top: 10px; }
  #work .career-entry, #work #exagens { padding: 28px 0; gap: 22px; }
  #work .entry-story > p:not(.entry-headline) { font-size: .9375rem; }
}

/* V1: a restrained palette, open project descriptions, and direct contact. */
:root { --paper: #fff; --ink: #24272b; --plum: #874d34; --folio-paper: #fff; --folio-accent: #874d34; background: #fff; }
#work .career-index a { border-right: 0; }
#work .career-index a:hover { background: #f1f4f5; }
#work .earlier-work-heading p { max-width: 60ch; }
#work .brim-top .tenure, #work .brim-buyers { color: #d6dadd; }
#work .bridge-end > span { color: #d6dadd; }
#community { background: #fff; container: community / inline-size; }
#community .connected-work { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: 9%; row-gap: 36px; align-items: start; margin-top: 46px; }
#community .connected-work .community-project, #community .connected-work .funds-project { padding: 0; background: transparent; border: 0; display: flow-root; }
#community .connected-work .funds-project { margin-top: 0; }
#community .project-heading { margin-bottom: 24px; }
#community .community-scale { display: block; margin: 0 0 14px; min-height: 0; color: var(--folio-ink); font-size: 1rem; line-height: 1.7; }
#community .community-scale strong { display: inline; font-family: var(--sans); font-size: 1.125rem; line-height: inherit; font-weight: 600; color: inherit; margin: 0; }
#community .project-kicker { min-height: 0; margin-bottom: 16px; }
#community .cadence-mentoring { margin-top: 50px; }
#contact .contact-links { display: flex; align-items: baseline; flex-wrap: wrap; gap: 20px 34px; }
#contact .contact-links a { background: transparent; border: 0; border-bottom: 1px solid #899499; min-width: 0; min-height: 48px; padding: 12px 0; color: #fff; }
#contact .contact-links a:first-child { background: transparent; border-color: #e1bda4; color: #fff; font-size: clamp(1.25rem, 2vw, 1.75rem); }
#contact .contact-links a:hover, #contact .contact-links a:first-child:hover { background: transparent; color: #e1bda4; border-color: #e1bda4; }
@media (max-width: 1000px) {
 #community .connected-work { grid-template-columns: minmax(0, 1fr); gap: 44px; }
 #community .connected-work .funds-project { margin-top: 0; max-width: 65ch; }
}
@media (max-width: 760px) {
 #community .connected-work { margin-top: 32px; }
 #community .cadence-mentoring { margin-top: 34px; }
 #contact .contact-links { gap: 14px 26px; }
 #work .earlier-work-heading p { max-width: none; }
}
@container community (max-width: 56rem) {
 #community .connected-work { grid-template-columns: minmax(0, 1fr); gap: 44px; }
 #community .connected-work .funds-project { margin-top: 0; max-width: 65ch; }
}

/* Remove visual furniture that repeats the text. */
.site-header:after { display: none; }
.chapter:not(.hero) .eyebrow:before { display: none; }
#work .career-intro h2, #contact h2 { margin-top: 0; }
#community .project-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
#community .project-motif { width: 110px; height: 80px; flex: 0 0 auto; color: #687477; }
@media (max-width: 760px) { #community .project-motif { width: 86px; height: 66px; } }
#community .project-heading h3 { margin: 0; }
#community .cadence-mentoring { display: block; }
#community .mentoring-since { border: 0; padding: 0; margin: 8px 0 14px; font-size: .9375rem; line-height: 1.6; color: var(--folio-muted); }
#community .connected-work .text-link > span, .chapter:not(.hero) .section-next > span { transition: none; }
#community .connected-work .text-link:hover > span, .chapter:not(.hero) .section-next:hover > span { transform: none; }
#contact-card { background: #fff; color: #24272b; border-color: #d7d9d9; }
#contact-card .save-contact:hover { background: #f1f4f5; }

/* Small finishing details; preserve the distinct illustrations. */
#work .tenure { font-variant-numeric: tabular-nums; line-height: 1.6; }
#work .career-index a small { max-width: 22ch; }
.career-index-label{margin:26px 0 0;font:600 .75rem/1.4 var(--sans);letter-spacing:.04em;text-transform:uppercase;color:#586266}
#work .career-index{margin-top:8px}
#community .project-heading { gap: clamp(12px, 2vw, 24px); }
#community .project-heading h3 { min-width: 0; text-wrap: balance; }
#community .connected-work p:not(.community-scale):not(.project-kicker) { max-width: 55ch; }
#community .connected-work .text-link:hover,
#community .selected-writing a:hover { text-decoration: underline; text-underline-offset: 5px; }
/* Earlier role headings sit above the interactive stories. */
#work .career-story-title{font-size:clamp(1.6rem,2.7vw,2.35rem);line-height:1.15;letter-spacing:-.04em;font-weight:500;margin:0 0 24px;max-width:24ch;text-wrap:balance}
@media (max-width: 400px) {
 #community .project-motif { width: 70px; height: 58px; }
 #community .project-heading h3 { font-size: 1.35rem; }
}
