.tf-fit {
    width: min(92%, 1580px);
    margin-inline: auto;
    padding-block: clamp(2.2rem, 4vw, 4.6rem);
    color: #102820;
}

.tf-fit, .tf-fit * { box-sizing: border-box; }
.tf-fit-intro { text-align: center; margin-bottom: clamp(1.45rem, 2.6vw, 2.75rem); }
.tf-fit-intro p { margin: .8rem 0 0; color: #202a24; font: 500 var(--tf-type-lead)/1.55 var(--tf-body); }
.tf-fit-intro .tf-fit-kicker {
    display: inline-flex;
    align-items: center;
    gap: clamp(.55rem, 1.4vw, 1.4rem);
    margin: 0 0 .85rem;
    color: #102820;
    font: 800 var(--tf-type-label)/1.35 var(--tf-body);
    letter-spacing: .17em;
    text-transform: uppercase;
}
.tf-fit-kicker::before, .tf-fit-kicker::after { content: ''; width: clamp(20px, 3.3vw, 58px); height: 1px; background: #688f32; }
.tf-fit h2, .tf-fit h3 { margin: 0; color: inherit; font-family: var(--tf-display); font-weight: 400; letter-spacing: -.032em; }
.tf-fit h2 { font-size: var(--tf-type-heading-2); line-height: 1.08; }
.tf-fit h2 span { text-decoration: underline; text-decoration-color: #6c9635; text-decoration-thickness: .055em; text-underline-offset: .13em; text-decoration-skip-ink: none; }

.tf-fit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.65vw, 1.7rem); }
.tf-fit-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #f1eeea;
    border-radius: clamp(20px, 2.3vw, 40px);
    background: #fcfaf7;
    box-shadow: 0 8px 20px #22231a18, 0 2px 6px #22231a0c;
}

.tf-fit-art {
    position: relative;
    width: 100%;
    aspect-ratio: 544 / 391;
    overflow: hidden;
    background: #faf7f3;
}

.tf-fit-art img {
    position: absolute;
    inset-block-start: -71.100%;
    inset-inline-start: var(--tf-fit-art-left);
    display: block;
    width: 340.441%;
    max-width: none;
    height: 267.008%;
}

.tf-fit-family { --tf-fit-art-left: -14.154%; }
.tf-fit-kids { --tf-fit-art-left: -119.118%; }
.tf-fit-athletes { --tf-fit-art-left: -223.897%; }

.tf-fit-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(.85rem, 1.1vw, 1.5rem) clamp(1.15rem, 3.6vw, 4.4rem) clamp(1.25rem, 2.2vw, 2.5rem);
}
.tf-fit h3 { font-size: var(--tf-type-heading-3); line-height: 1.12; }
.tf-fit-copy p { margin: .65rem 0 1.1rem; font: 500 var(--tf-type-body)/1.65 var(--tf-body); color: #1d2a24; }
.tf-fit-button {
    width: 100%;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 44px;
    padding: .55rem .75rem;
    border-radius: 999px;
    background: #10412e;
    color: #fff;
    font: 700 var(--tf-type-button)/1.3 var(--tf-body);
    text-align: center;
    text-decoration: none;
}
.tf-fit-button svg { flex: 0 0 auto; width: 1.12rem; height: 1.12rem; }
.tf-fit-button:focus-visible { outline: 2px solid #174c37; outline-offset: 4px; }
.tf-fit-button:is(a:hover,a:focus-visible) { background: #0b3122; color: #fff; }

@media (prefers-reduced-motion: no-preference) {
    .tf-fit-card { transition: transform .24s ease, box-shadow .24s ease; }
    .tf-fit-art { transition: transform .3s ease; transform-origin: 50% 70%; }
    .tf-fit-button svg { transition: transform .23s ease; }
    .tf-fit-card:focus-within { box-shadow: 0 14px 28px #133d2527; }
    @media (hover: hover) and (pointer: fine) {
        .tf-fit-card:hover { transform: translateY(-5px); box-shadow: 0 18px 32px #183c2c2a, 0 5px 12px #183c2c16; }
        .tf-fit-card:hover .tf-fit-art { transform: scale(1.022); }
        .tf-fit-card:hover .tf-fit-button svg { transform: translateX(4px); }
    }
}

@media (min-width: 901px) and (max-height: 1000px) {
    .tf-fit {
        width: min(92%, 1250px, max(850px, calc((100svh - var(--tf-header-measured, 145px) - 250px) * 4.24)));
        padding-block: clamp(17px, 3.4svh, 35px);
    }
    .tf-fit-intro { margin-bottom: clamp(15px, 2.65svh, 29px); }
    .tf-fit-intro .tf-fit-kicker { margin-bottom: .55rem; }
    .tf-fit h2 { font-size: var(--tf-type-heading-2); }
    .tf-fit-intro p { margin-top: .56rem; font-size: var(--tf-type-lead); }
    .tf-fit-copy { padding: .75rem clamp(1.2rem, 2.25vw, 2.25rem) 1.15rem; }
    .tf-fit h3 { font-size: var(--tf-type-heading-3); }
    .tf-fit-copy p { margin: .58rem 0 .86rem; font-size: var(--tf-type-body); }
}
@media (max-width: 900px) {
    .tf-fit h2 { font-size: var(--tf-type-heading-2); }
    .tf-fit-grid { max-width: 550px; margin-inline: auto; grid-template-columns: 1fr; }
}

@media (min-width: 901px) and (max-height: 1000px) {
    .tf-trust { width: min(92%, 1530px); padding-block: clamp(19px, 3.5svh, 37px); }
    .tf-trust-top { gap: clamp(16px, 2vw, 32px); }
    .tf-trust-kicker { margin-bottom: clamp(11px, 2svh, 20px); }
    .tf-trust h2 { font-size: var(--tf-type-heading-2); }
    .tf-trust-intro { margin-top: .65rem; font-size: var(--tf-type-lead); }
    .tf-trust-stats { margin-top: clamp(19px, 4.2svh, 43px); }
    .tf-trust-number { font-size: var(--tf-type-stat); }
    .tf-trust-portrait { justify-self: end; width: min(100%, calc(clamp(228px, 41svh, 350px) * .71)); }
    .tf-trust-name { padding-block: clamp(10px, 2svh, 24px); gap: .55rem 1rem; }
    .tf-trust-name h3 { font-size: var(--tf-type-heading-3); }
    .tf-trust-name p { padding-inline-start: 1rem; }
    .tf-trust-credentials { padding-top: clamp(15px, 2.3svh, 26px); }
    .tf-trust-credentials li { padding-top: .14rem; padding-bottom: .4rem; }
    .tf-trust-logo { min-height: clamp(42px, 7.2svh, 64px); }
    .tf-trust-logo img { max-height: clamp(36px, 6.3svh, 60px); }
    .tf-trust-credentials p { font-size: var(--tf-type-body); }
}

@media (min-width: 901px) and (max-height: 820px) {
    .tf-fit {
        width: min(92%, 1060px, max(760px, calc((100svh - var(--tf-header-measured, 145px) - 328px) * 3.9)));
        padding-block: 15px;
    }
    .tf-fit-intro { margin-bottom: 14px; }
    .tf-fit-intro .tf-fit-kicker { margin-bottom: .35rem; font-size: var(--tf-type-label); }
    .tf-fit h2 { font-size: var(--tf-type-heading-2); }
    .tf-fit-intro p { margin-top: .4rem; font-size: var(--tf-type-lead); }
    .tf-fit-copy { padding: .7rem clamp(.8rem, 1.5vw, 1.4rem) .9rem; }
    .tf-fit h3 { font-size: var(--tf-type-heading-3); }
    .tf-fit-copy p { margin: .45rem 0 .68rem; font-size: var(--tf-type-body); }
    .tf-trust { padding-block: 18px; }
}
