/* Profile pages share the Treegens hub's palette and locally hosted Outfit fonts. */
.profile-page { --profile-paper: #eef2c5; --profile-ink: #29190f; }
.profile-page .pf-header { gap: 24px; }
.profile-page .pf-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 24px; font-size: 14px; }
.profile-page .pf-nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.profile-page .pf-nav a:hover, .profile-page .pf-nav a[aria-current="page"] { border-color: var(--forest); }
.profile-page .pf-nav .pf-nav-external { padding: 10px 15px; border: 1px solid #82933d; border-radius: 999px; }
.profile-page .pf-nav .pf-nav-external:hover { background: var(--light); }
.pf-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin: 25px 0 0; color: #55602d; font-size: 13px; }
.pf-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.pf-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr); align-items: center; gap: 65px; padding: 52px 0 54px; }
.pf-hero h1 { margin: 0 0 22px; color: var(--earth); font-size: clamp(54px, 7vw, 88px); font-weight: 600; letter-spacing: -4px; line-height: 1.02; }
.pf-hero h1 span { color: var(--forest); }
.pf-hero .pf-role { margin: -4px 0 23px; color: var(--forest); font-size: 21px; line-height: 1.4; }
.pf-lede { max-width: 610px; margin: 0; color: #454c26; font-size: 20px; line-height: 1.65; }
.pf-lede + .pf-lede { margin-top: 16px; }
.pf-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 29px; }
.pf-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 22px; border: 1px solid var(--earth); border-radius: 999px; background: var(--earth); color: var(--profile-paper); font-size: 15px; font-weight: 600; }
.pf-button:hover { background: var(--brown); }
.pf-button:focus-visible { outline-color: var(--earth); }
.pf-text-link { font-size: 15px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.pf-text-link:hover { color: var(--forest); }
.pf-card { padding: 30px; border: 1px solid #aebb64; border-radius: 24px; background: var(--profile-paper); }
.pf-identity-logo { display: block; width: min(100%, 260px); height: auto; margin: 4px 0 28px; }
.pf-identity { margin: 0; }
.pf-identity div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid #c4ce8a; }
.pf-identity dt { font-size: 12px; line-height: 1.6; color: #5b6536; }
.pf-identity dd { margin: 0; font-size: 15px; line-height: 1.5; }
.pf-identity a { text-decoration: underline; text-underline-offset: 4px; }
.pf-section { padding: 34px 0 36px; border-top: 1px solid var(--line); }
.pf-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.pf-section h2 { margin: 0; color: var(--earth); font-size: 32px; line-height: 1.2; font-weight: 600; letter-spacing: -.9px; }
.pf-section-head > p { max-width: 360px; margin: 0; color: #53602e; font-size: 14px; line-height: 1.6; }
.pf-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pf-process { display: flex; flex-direction: column; padding: 25px; border: 1px solid #aebb64; border-radius: 22px; background: #e5ecaa; }
.pf-process:nth-child(2) { background: var(--forest); border-color: var(--forest); color: #f0f1d7; }
.pf-step { width: 37px; height: 37px; display: grid; place-items: center; margin-bottom: 26px; border: 1px solid #85933d; border-radius: 50%; font-size: 12px; }
.pf-process:nth-child(2) .pf-step { border-color: #9dab6d; }
.pf-process h3 { margin: 0 0 12px; font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -.4px; }
.pf-process p { margin: 0; color: #4d582d; font-size: 16px; line-height: 1.6; }
.pf-process:nth-child(2) p { color: #e1e7c4; }
.pf-section-note { margin: 20px 0 0; color: #52602d; font-size: 14px; line-height: 1.6; }
.pf-section-note a, .pf-body a, .pf-foundation a, .pf-milestone a { text-decoration: underline; text-underline-offset: 4px; }
.pf-founder-strip { display: grid; grid-template-columns: 126px minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 28px; margin: 0 0 35px; border: 1px solid #aebb64; border-radius: 24px; background: #c3d273; }
.pf-founder-strip img { width: 126px; height: 145px; display: block; border-radius: 16px; object-fit: cover; object-position: center 28%; }
.pf-founder-strip .eyebrow { margin-bottom: 8px; }
.pf-founder-strip h2 { margin: 0 0 8px; font-size: 27px; font-weight: 600; letter-spacing: -.6px; }
.pf-founder-strip p:not(.eyebrow) { max-width: 580px; margin: 0; color: #48522a; font-size: 16px; line-height: 1.6; }
.pf-founder-strip .pf-button { white-space: nowrap; }
.pf-two-columns { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 52px; }
.pf-body p { max-width: 720px; margin: 18px 0 0; color: #48532c; font-size: 17px; line-height: 1.75; }
.pf-foundation { padding: 27px 29px; border-left: 3px solid var(--forest); background: #dce88b; border-radius: 0 20px 20px 0; }
.pf-foundation h3 { margin: 0 0 12px; font-size: 22px; font-weight: 600; letter-spacing: -.4px; }
.pf-foundation p { margin: 0 0 17px; color: #48532c; font-size: 16px; line-height: 1.65; }
.pf-link-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 21px; }
.pf-link-list a { display: inline-flex; align-items: center; gap: 20px; padding: 12px 16px; border: 1px solid #8f9e44; border-radius: 999px; font-size: 14px; }
.pf-link-list a:hover { background: var(--profile-paper); }
.pf-sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 35px; }
.pf-source { display: grid; grid-template-columns: 1fr 24px; gap: 5px 15px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pf-source small { color: #5a6536; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.pf-source strong { grid-column: 1; font-size: 17px; font-weight: 600; line-height: 1.4; }
.pf-source > span { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 24px; }
.pf-source:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.pf-source p { grid-column: 1; margin: 2px 0 0; font-size: 13px; line-height: 1.6; color: #586233; }
.pf-portrait { position: relative; margin: 0; padding: 13px; border: 1px solid #a1b44f; border-radius: 27px; background: #e3eca5; }
.pf-portrait img { display: block; width: 100%; height: 430px; border-radius: 18px; object-fit: cover; object-position: center 26%; background: var(--forest); }
.pf-portrait figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 16px 6px 5px; color: #4b572d; font-size: 12px; }
.pf-portrait figcaption span:first-child { color: var(--earth); font-weight: 600; }
.pf-person-hero { grid-template-columns: minmax(0, 1.3fr) minmax(300px, .8fr); }
.pf-person-hero h1 { font-size: clamp(58px, 7vw, 87px); }
.pf-milestones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pf-milestone { padding: 31px; border: 1px solid #aebb64; border-radius: 24px; background: var(--profile-paper); }
.pf-milestone.pf-dark { background: var(--forest); border-color: var(--forest); color: #eef2d2; }
.pf-milestone .eyebrow { margin: 0 0 20px; color: #5a6435; font-size: 11px; letter-spacing: 1.4px; }
.pf-milestone.pf-dark .eyebrow { color: #d6e49d; }
.pf-count { display: block; margin-bottom: 4px; font-size: clamp(47px, 5.5vw, 66px); font-weight: 600; line-height: 1; letter-spacing: -2.5px; font-variant-numeric: tabular-nums; }
.pf-count-label { display: block; margin: 9px 0 24px; font-size: 17px; }
.pf-milestone h3 { margin: 0 0 14px; font-size: 21px; font-weight: 600; letter-spacing: -.4px; line-height: 1.4; }
.pf-milestone p { margin: 0 0 18px; color: #4a552e; font-size: 15px; line-height: 1.75; }
.pf-milestone.pf-dark p { color: #e0e7c2; }
.pf-milestone .pf-status { margin: 18px 0; padding: 14px 0 0; border-top: 1px solid #92a469; color: #e7edce; font-size: 13px; line-height: 1.6; }
.pf-milestone > a { display: inline-block; font-size: 14px; line-height: 1.5; }
.pf-milestone.pf-dark a:focus-visible { outline-color: var(--lime); }
.pf-profile-footer { flex-wrap: wrap; margin-top: 10px; }
.pf-profile-footer .pf-footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; }
.pf-profile-footer .pf-reviewed { flex-basis: 100%; margin-top: 4px; font-size: 11px; color: #606c39; }
@media (max-width: 980px) {
  .pf-hero { gap: 35px; }
  .pf-hero h1 { font-size: 66px; letter-spacing: -3px; }
  .pf-lede { font-size: 18px; }
  .pf-founder-strip { grid-template-columns: 110px 1fr; gap: 23px; }
  .pf-founder-strip img { width: 110px; height: 130px; grid-row: 1 / 3; }
  .pf-founder-strip .pf-button { justify-self: start; grid-column: 2; }
  .pf-two-columns { gap: 30px; }
  .pf-portrait img { height: 410px; }
}
@media (max-width: 800px) {
  .profile-page .pf-header { align-items: flex-start; }
  .profile-page .pf-nav { gap: 2px 16px; max-width: 280px; font-size: 13px; }
  .pf-hero, .pf-person-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 35px 0; }
  .pf-hero h1, .pf-person-hero h1 { font-size: 64px; }
  .pf-hero .pf-role { font-size: 19px; }
  .pf-portrait { max-width: 460px; }
  .pf-portrait img { height: 420px; }
  .pf-card { max-width: 100%; }
  .pf-identity-logo { width: 210px; }
  .pf-process-grid { grid-template-columns: 1fr; gap: 12px; }
  .pf-process { display: grid; grid-template-columns: 38px 1fr; gap: 0 18px; padding: 23px; }
  .pf-step { grid-row: 1 / 3; margin: 0; }
  .pf-process h3 { font-size: 21px; }
  .pf-process p { grid-column: 2; }
  .pf-section-head { flex-direction: column; gap: 12px; }
  .pf-section-head > p { max-width: 570px; }
  .pf-two-columns { grid-template-columns: 1fr; }
  .pf-milestones { grid-template-columns: 1fr; }
  .pf-count { font-size: 62px; }
}
@media (max-width: 520px) {
  .profile-page .pf-header { flex-wrap: wrap; gap: 16px; padding: 20px 0 16px; }
  .profile-page .pf-header .brand img { width: 160px; }
  .profile-page .pf-nav { justify-content: flex-start; max-width: none; width: 100%; gap: 3px 20px; }
  .profile-page .pf-nav .pf-nav-external { margin-left: auto; padding: 8px 12px; }
  .pf-breadcrumb { margin-top: 20px; font-size: 12px; }
  .pf-hero h1, .pf-person-hero h1 { font-size: 55px; letter-spacing: -2.6px; margin-bottom: 18px; }
  .pf-hero .pf-role { font-size: 18px; }
  .pf-lede { font-size: 17px; line-height: 1.7; }
  .pf-hero-actions { gap: 18px; margin-top: 24px; }
  .pf-button { padding: 13px 19px; font-size: 14px; }
  .pf-card { padding: 24px; border-radius: 21px; }
  .pf-identity div { grid-template-columns: 78px 1fr; gap: 12px; }
  .pf-section { padding: 29px 0; }
  .pf-section h2 { font-size: 28px; letter-spacing: -.6px; }
  .pf-process { padding: 21px; gap: 0 15px; }
  .pf-process p { font-size: 15px; }
  .pf-founder-strip { grid-template-columns: 80px 1fr; padding: 21px; gap: 18px; border-radius: 21px; }
  .pf-founder-strip img { width: 80px; height: 104px; grid-row: 1; align-self: start; }
  .pf-founder-strip h2 { font-size: 24px; }
  .pf-founder-strip p:not(.eyebrow) { font-size: 15px; }
  .pf-founder-strip .pf-button { grid-column: 1 / -1; }
  .pf-foundation { padding: 24px; }
  .pf-body p { font-size: 16px; }
  .pf-link-list { gap: 8px; }
  .pf-link-list a { padding: 11px 14px; font-size: 13px; gap: 13px; }
  .pf-sources { grid-template-columns: 1fr; }
  .pf-source { padding: 20px 0; }
  .pf-portrait { padding: 10px; border-radius: 24px; }
  .pf-portrait img { height: 360px; border-radius: 16px; }
  .pf-milestone { padding: 26px; border-radius: 21px; }
  .pf-count { font-size: 58px; }
  .pf-profile-footer .pf-reviewed { order: 4; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-page { scroll-behavior: auto; }
}
