.tf-bio {
    --bio-ink: #173a2c;
    --bio-body: #46564d;
    --bio-sage: #eaf1e5;
    --bio-line: #dfe6db;
    --bio-paper: #f9faf6;
    color: var(--bio-ink);
    background: #fff;
    font-family: var(--tf-body, Manrope, sans-serif);
}

.tf-bio-container {
    width: min(1220px, calc(100% - 70px));
    margin-inline: auto;
    padding: 0 0 clamp(2.5rem, 6vw, 5rem);
}

.tf-bio :is(h1, h2, h3) {
    color: var(--bio-ink);
    font-family: var(--tf-display, "Plus Jakarta Sans", sans-serif);
    line-height: 1.12;
    margin: 0;
    text-wrap: balance;
}
.tf-bio h1 { font-size: clamp(2.2rem, 4.6vw, 4.25rem); letter-spacing: -.058em; font-weight: 800; }
.tf-bio h2 { font-size: clamp(1.8rem, 3.1vw, 2.8rem); letter-spacing: -.045em; font-weight: 800; }
.tf-bio h3 { font-size: 1.08rem; letter-spacing: -.015em; font-weight: 800; }
.tf-bio :is(p, li, dd) { line-height: 1.65; }
.tf-bio p { margin: .75rem 0 0; color: var(--bio-body); }
.tf-bio a:focus-visible { outline: 2px solid #325948; outline-offset: 3px; }
.tf-bio .tf-bio-kicker {
    font-size: .75rem;
    letter-spacing: .115em;
    text-transform: uppercase;
    font-weight: 800;
    color: #426151;
    margin: 0 0 .75rem;
}

.tf-bio-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    padding: 1rem 0;
    color: var(--bio-body);
    font-size: .82rem;
}
.tf-bio-breadcrumb a,
.tf-bio-inline { color: inherit; text-underline-offset: .24em; }
.tf-bio-breadcrumb [aria-current] { color: var(--bio-ink); font-weight: 750; }

.tf-bio-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.32fr) minmax(0, .88fr);
    gap: clamp(1.4rem, 4vw, 3.4rem);
    align-items: center;
    padding: clamp(1.35rem, 4vw, 3.75rem);
    background: #f0f3eb;
    border: 1px solid #e6ebdf;
    border-radius: 22px;
}
.tf-bio p.tf-bio-lead { max-width: 53ch; font-size: clamp(1rem, 1.55vw, 1.23rem); margin-top: 1rem; }
.tf-bio-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin-top: 1.4rem; }
.tf-bio .tf-bio-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .65rem;
    min-height: 46px;
    padding: .58rem .9rem;
    border: 1px solid #214b3b;
    border-radius: 8px;
    background: #214b3b;
    color: #fff;
    font-size: .91rem;
    line-height: 1.3;
    text-decoration: none;
    font-weight: 800;
    white-space: normal;
    transition: background .15s ease;
}
.tf-bio .tf-bio-button:hover { background: #173a2c; color: #fff; }
.tf-bio-button svg { width: 18px; height: 18px; flex: 0 0 auto; }
.tf-bio-inline { display: inline-flex; align-items: center; min-height: 44px; font-size: .86rem; font-weight: 750; }
.tf-bio .tf-bio-payment { font-size: .8rem; margin-top: .7rem; }

.tf-bio-portrait {
    position: relative;
    margin: 0;
    min-width: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #e2eadf;
}
.tf-bio-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1.14; object-fit: cover; object-position: 50% 38%; }
.tf-bio-portrait figcaption { display: grid; gap: .15rem; background: #fff; padding: .8rem 1rem; font-size: .84rem; }
.tf-bio-portrait figcaption strong { color: var(--bio-ink); font-weight: 800; font-size: .95rem; }
.tf-bio-portrait figcaption span { color: var(--bio-body); }

.tf-bio dl, .tf-bio dd { margin: 0; }
.tf-bio dl.tf-bio-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: .9rem;
    padding: 1rem 0;
    border: 1px solid var(--bio-line);
    border-radius: 14px;
}
.tf-bio-facts > div { padding: .1rem .85rem; text-align: center; min-width: 0; }
.tf-bio-facts > div + div { border-left: 1px solid var(--bio-line); }
.tf-bio-facts dt { color: var(--bio-ink); font-weight: 800; font-size: clamp(.92rem, 1.7vw, 1.17rem); }
.tf-bio-facts dd { margin-top: .18rem; font-size: .8rem; color: var(--bio-body); }

.tf-bio-section { margin-top: clamp(2.5rem, 5vw, 4.7rem); }
.tf-bio-section[id] { scroll-margin-top: 7rem; }
.tf-bio-fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); align-items: start; gap: clamp(1.25rem, 5vw, 4rem); }
.tf-bio-fit ul { margin: 0; padding: .2rem 0; list-style: none; }
.tf-bio-fit li { position: relative; padding: .65rem 0 .65rem 1.55rem; border-bottom: 1px solid var(--bio-line); color: var(--bio-body); }
.tf-bio-fit li::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: .15rem;
    width: .5rem;
    height: .29rem;
    border: solid #487153;
    border-width: 0 0 2px 2px;
    transform: rotate(-45deg);
}
.tf-bio-section-intro { max-width: 67ch; margin-bottom: 1.15rem; }
.tf-bio-chapters, .tf-bio-steps, .tf-bio-faq { display: grid; gap: .8rem; }
.tf-bio-chapters, .tf-bio-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tf-bio-chapters > div, .tf-bio-faq > div {
    padding: clamp(.95rem, 2vw, 1.4rem);
    border: 1px solid var(--bio-line);
    background: var(--bio-paper);
    border-radius: 13px;
}
.tf-bio-chapters dt { color: var(--bio-ink); font-weight: 800; font-size: 1.02rem; }
.tf-bio-chapters dd { margin-top: .45rem; color: var(--bio-body); font-size: .9rem; }
.tf-bio-journey { padding: clamp(1.2rem, 3vw, 2.15rem); border-radius: 17px; background: #f1f5ed; }
.tf-bio-steps { list-style: none; padding: 0; margin: 0; }
.tf-bio-steps li { padding: 1rem; border: 1px solid #e0e8db; border-radius: 12px; background: #fff; }
.tf-bio-steps li > span {
    display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: .75rem;
    border-radius: 50%; background: var(--bio-sage); color: var(--bio-ink); font-size: .83rem; font-weight: 800;
}
.tf-bio-steps p, .tf-bio-faq p { font-size: .89rem; }
.tf-bio-followup { font-size: .88rem; }
.tf-bio-followup strong { font-weight: 800; }
.tf-bio-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tf-bio-faq > div { background: #fff; }

.tf-bio-close {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-top: clamp(2.5rem, 5vw, 4.7rem);
    padding: clamp(1.25rem, 3.5vw, 2.35rem);
    border-radius: 17px;
    background: #1d4334;
    color: #fff;
}
.tf-bio-close h2, .tf-bio-close p, .tf-bio-close p a { color: #fff; }
.tf-bio-close p { max-width: 61ch; }
.tf-bio-close .tf-bio-button { color: #183b2d; background: #f0f5ec; border-color: #f0f5ec; }
.tf-bio-close .tf-bio-button:hover { color: #183b2d; background: #dcebdd; }
.tf-bio-close a:focus-visible { outline-color: #eef5eb; }

@media (max-width: 880px) {
    .tf-bio-container { width: calc(100% - 40px); }
    .tf-bio-hero { gap: 1.25rem; padding: 1.25rem; }
    .tf-bio-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .tf-bio-container { width: calc(100% - 28px); }
    .tf-bio-hero, .tf-bio-fit, .tf-bio-steps, .tf-bio-faq { grid-template-columns: minmax(0, 1fr); }
    .tf-bio-hero { border-radius: 16px; }
    .tf-bio-portrait img { aspect-ratio: 1.25; }
    .tf-bio dl.tf-bio-facts { padding: .75rem 0; }
    .tf-bio-facts > div { padding: .08rem .32rem; }
    .tf-bio-facts dd { font-size: .72rem; }
    .tf-bio-fit { gap: .7rem; }
}

@media (max-width: 370px) {
    .tf-bio-chapters { grid-template-columns: minmax(0, 1fr); }
}

.tf-bio { --bio-clay: #8b4633; --bio-clay-soft: #f5e5df; --bio-ochre: #785921; --bio-ochre-soft: #f8edcf; }

.tf-bio .tf-bio-icon {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: #365c42;
    background: #e5eee1;
}
.tf-bio-icon svg { width: 20px; height: 20px; }
.tf-bio [data-bio-accent="clay"] .tf-bio-icon { color: var(--bio-clay); background: var(--bio-clay-soft); }
.tf-bio [data-bio-accent="ochre"] .tf-bio-icon { color: var(--bio-ochre); background: var(--bio-ochre-soft); }

.tf-bio-facts dt { display: flex; gap: .6rem; align-items: center; justify-content: center; }
.tf-bio-facts .tf-bio-icon { width: 32px; height: 32px; border-radius: 9px; }
.tf-bio-facts .tf-bio-icon svg { width: 17px; height: 17px; }
.tf-bio-facts dd { margin-top: .3rem; }

.tf-bio-report-feature {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    align-items: center;
    gap: clamp(1.1rem, 4.5vw, 3.45rem);
    margin-bottom: .9rem;
    padding: clamp(1.15rem, 3.5vw, 2.4rem);
    border: 1px solid #eadfce;
    border-radius: 17px;
    background: #fbf4e8;
}
.tf-bio-report-feature .tf-bio-kicker { color: var(--bio-clay); }
.tf-bio-report-feature .tf-bio-section-intro { margin-bottom: 0; }
.tf-bio-report-preview { margin: 0; min-width: 0; }
.tf-bio-report-preview img { display: block; width: 100%; height: auto; border-radius: 11px; }
.tf-bio-report-preview figcaption { margin-top: .45rem; color: #5b5045; font-size: .78rem; }
.tf-bio-chapters > [data-bio-accent="clay"] { background: #fdf8f6; border-color: #eddfd9; }
.tf-bio-chapters > [data-bio-accent="ochre"] { background: #fcfaf2; border-color: #ece4d0; }
.tf-bio-chapters dt { display: flex; gap: .65rem; align-items: center; }

@media (max-width: 640px) {
    .tf-bio-report-feature { grid-template-columns: minmax(0, 1fr); }
    .tf-bio-facts dt { flex-direction: column; gap: .3rem; line-height: 1.3; }
    .tf-bio-chapters dt { gap: .44rem; line-height: 1.35; font-size: .93rem; }
    .tf-bio-chapters .tf-bio-icon { width: 31px; height: 31px; border-radius: 8px; }
    .tf-bio-chapters .tf-bio-icon svg { width: 17px; height: 17px; }
}

.tf-bio .tf-bio-payment {
    max-width: 45ch;
    margin-top: .8rem;
    font-weight: 700;
}

.tf-bio-sample {
    margin-block: 1rem 1.5rem;
    padding: clamp(1.1rem, 3vw, 1.75rem);
    border: 1px solid #d6e2d5;
    border-radius: 15px;
    background: #f2f6ef;
}

.tf-bio-sample-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .35rem .9rem;
    justify-content: space-between;
    margin-bottom: .9rem;
}
.tf-bio-sample-heading h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
.tf-bio-sample-heading > span { font-size: .79rem; color: var(--bio-body); }
.tf-bio-sample dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.tf-bio-sample dl > div { padding: .9rem 1rem; border: 1px solid var(--bio-line); border-radius: 10px; background: #fff; }
.tf-bio-sample dt { display: flex; align-items: center; gap: .55rem; color: var(--bio-ink); font-weight: 800; }
.tf-bio-sample dd { margin-top: .5rem; color: var(--bio-body); font-size: .9rem; }
.tf-bio-sample .tf-bio-icon { width: 31px; height: 31px; border-radius: 8px; }
.tf-bio-sample .tf-bio-icon svg { width: 17px; height: 17px; }
.tf-bio .tf-bio-contents-title { margin: 0 0 .9rem; }

@media (max-width: 700px) {
    .tf-bio-sample dl { grid-template-columns: minmax(0, 1fr); }
}

.tf-bio-hero-copy .tf-bio-lead { font-size: clamp(1rem, 1.4vw, 1.14rem); }
.tf-bio-hero-finding {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    max-width: 57ch;
    margin-top: 1rem;
    padding: .72rem .85rem;
    border: 1px solid #e8dcbd;
    border-radius: 10px;
    background: #fbf5e6;
}
.tf-bio .tf-bio-hero-finding .tf-bio-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: var(--bio-ochre);
    background: var(--bio-ochre-soft);
}
.tf-bio-hero-finding .tf-bio-icon svg { width: 16px; height: 16px; }
.tf-bio-hero-finding p { margin: 0; font-size: .87rem; line-height: 1.48; }
.tf-bio-hero-finding .tf-bio-finding-label { margin-bottom: .22rem; color: var(--bio-ochre); font-weight: 800; }
.tf-bio-hero-finding strong { color: var(--bio-ink); font-weight: 800; }
.tf-bio-hero .tf-bio-hero-actions { margin-top: 1rem; }

@media (min-width: 881px) {
    .tf-bio-hero { padding-block: clamp(1.55rem, 3.15vw, 3rem); }
    .tf-bio-hero h1 { font-size: clamp(2.55rem, 4.25vw, 3.9rem); }
}
