.tf-home-section {
    --tf-home-ink: #102b21;
    --tf-home-forest: #124630;
    color: var(--tf-home-ink);
    padding-block: clamp(2rem, 3.35vw, 4.2rem);
}
.tf-home-section, .tf-home-section * { box-sizing: border-box; }
.tf-home-width { width: min(94%, 1500px); margin-inline: auto; }
.tf-home-section h2, .tf-home-section h3 {
    margin: 0;
    color: inherit;
    font-family: var(--tf-display);
    font-weight: 400;
    letter-spacing: -.035em;
}
.tf-home-section h2 { font-size: var(--tf-type-heading-2); line-height: 1.07; }
.tf-home-section h3 { line-height: 1.08; }
.tf-home-heading { text-align: center; max-width: 1200px; margin: 0 auto clamp(1.4rem, 3vw, 2.8rem); }
.tf-home-kicker {
    margin: 0 0 .9rem;
    color: var(--tf-home-forest);
    font: 800 var(--tf-type-label)/1.35 var(--tf-body);
    letter-spacing: .135em;
    text-transform: uppercase;
}
.tf-home-kicker-lined { display: flex; align-items: center; justify-content: center; gap: clamp(.5rem, 1vw, 1.1rem); letter-spacing: .035em; }
.tf-home-kicker-lined::before, .tf-home-kicker-lined::after { content: ''; width: clamp(15px, 4vw, 52px); height: 2px; flex: 0 0 auto; background: #7c9d42; border-radius: 8px; }
.tf-home-intro { color: #29342f; margin: .85rem 0 0; font: 500 var(--tf-type-lead)/1.55 var(--tf-body); }
.tf-home-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .72em;
    min-height: 44px;
    max-width: 100%;
    padding: .55rem clamp(.9rem, 2.15vw, 2rem);
    border: 1.5px solid var(--tf-home-forest);
    border-radius: 999px;
    background: var(--tf-home-forest);
    color: white;
    font: 750 var(--tf-type-button)/1.3 var(--tf-body);
    text-decoration: none;
    text-align: center;
}
.tf-home-cta svg { width: 1.18em; height: 1.18em; flex: none; }
.tf-home-cta-outline { color: var(--tf-home-ink); background: transparent; border-radius: 14px; }
.tf-home-cta:is(a:hover,a:focus-visible) { background: #0a3424; color: white; }
.tf-home-section :is(a,.tf-home-cta):focus-visible { outline: 2px solid #315b33; outline-offset: 4px; }
.tf-home-centred-action { margin-top: clamp(1.2rem, 2.45vw, 2.6rem); text-align: center; }
.tf-home-art { position: relative; display: block; aspect-ratio: var(--art-ratio); overflow: hidden; }
.tf-home-art img { position: absolute; inset-block-start: var(--art-y); inset-inline-start: var(--art-x); width: var(--art-w); height: var(--art-h); max-width: none; display: block; }

.tf-challenges { background: #fff; }
.tf-challenges h2 span { text-decoration: underline; text-decoration-thickness: .06em; text-decoration-color: #85a448; text-underline-offset: .15em; }
.tf-challenges .tf-home-heading { margin-bottom: clamp(1.2rem, 2vw, 2.15rem); }
.tf-challenges-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.5rem, 1.05vw, 1.1rem); list-style: none; padding: 0; margin: 0; }
.tf-challenges-grid li { min-width: 0; }
.tf-challenge-tile { position: relative; display: block; color: inherit; text-decoration: none; border-radius: 20%; }
.tf-challenge-tile .tf-home-art { width: 100%; }
.tf-challenges-copy { background: #f4f5ea; padding: 1rem; border-radius: 1rem; }
.tf-challenges-copy p { margin: .3rem 0; }

.tf-approach { background: #fff; }
.tf-approach-grid { display: grid; grid-template-columns: minmax(0, 1.84fr) minmax(0, 1fr); gap: clamp(1.15rem, 2.8vw, 2.8rem); align-items: start; }
.tf-approach .tf-home-kicker { letter-spacing: .035em; margin-bottom: .72rem; }
.tf-approach-tagline {
    width: fit-content;
    margin: .6rem 0 0;
    padding: .3rem .72em;
    border-radius: 999px;
    background: #e0e8b7;
    font: italic 400 var(--tf-type-heading-3)/1.3 var(--tf-display);
}
.tf-approach .tf-home-intro { max-width: 72ch; margin-top: .7rem; }
.tf-approach-pillars { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(.65rem, 1.1vw, 1rem); list-style: none; padding: 0; margin: clamp(1.25rem, 2vw, 2rem) 0; }
.tf-approach-pillars li {
    display: grid;
    grid-template-columns: clamp(42px, 5.65vw, 87px) minmax(0,1fr);
    align-items: center;
    gap: clamp(.63rem, 1.25vw, 1.1rem);
    padding: clamp(.65rem, 1.1vw, 1.1rem);
    border-radius: clamp(14px, 1.6vw, 24px);
    background: #f4f6eb;
}
.tf-approach-pillars li:nth-child(2), .tf-approach-pillars li:nth-child(3) { background: #fbf5ed; }
.tf-pillar-icon { width: 100%; border-radius: 50%; }
.tf-approach-pillars li > div { border-inline-start: 1px solid #c7d393; padding-inline-start: clamp(.55rem, 1.25vw, 1.23rem); }
.tf-approach-pillars li:nth-child(2) > div, .tf-approach-pillars li:nth-child(3) > div { border-color: #e5c28b; }
.tf-approach-pillars h3 { font-size: var(--tf-type-heading-3); letter-spacing: -.018em; }
.tf-approach-pillars p { margin: .3rem 0 0; color: #29342f; font: 500 var(--tf-type-small)/1.5 var(--tf-body); }
.tf-founder-feature { overflow: hidden; border-radius: clamp(17px, 2.55vw, 34px); background: #faf6f0; }
.tf-founder-picture { overflow: hidden; aspect-ratio: 1.61; background: #f2ece2; }
.tf-founder-picture img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; }
.tf-founder-content { padding: clamp(1rem, 2.65vw, 2.55rem); }
.tf-founder-content .tf-home-kicker { color: #526523; }
.tf-founder-content h3 { font-size: var(--tf-type-heading-3); }
.tf-founder-content h3::after { display: block; content: ''; width: 3.1rem; height: 4px; border-radius: 8px; margin-block: .8rem; background: #c3cf7e; }
.tf-founder-intro { color: #29342f; margin: 0 0 clamp(.95rem, 2.3vw, 2.2rem); font: 500 var(--tf-type-lead)/1.55 var(--tf-body); }

.tf-programmes { background: #faf6f1; }
.tf-programmes h2 em { color: #1b5739; }
.tf-programmes-grid { display: grid; grid-template-columns: minmax(0,1.48fr) repeat(2,minmax(0,1fr)); gap: clamp(.85rem, 1.35vw, 1.35rem); }
.tf-programme-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eee8de;
    border-radius: clamp(17px, 1.85vw, 29px);
    background: #fbf4ea;
    box-shadow: 0 7px 14px #45362113;
}
.tf-programme-family { grid-row: span 2; background: #f5f3df; min-height: clamp(480px,49vw,750px); }
.tf-programme-family-art {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    clip-path: polygon(65% 0,100% 0,100% 100%,0 100%,0 27%,54% 27%);
}
.tf-programme-copy { position: relative; z-index: 1; padding: clamp(1rem, 2.1vw, 2rem); }
.tf-programme-family .tf-programme-copy { padding: clamp(1.25rem, 3vw, 2.8rem); }
.tf-programme-badge { display: inline-block; margin: 0 0 clamp(.75rem, 1.4vw, 1.5rem); padding: .48em .85em; border-radius: 999px; background: #e1e99e; font: 800 var(--tf-type-label)/1.35 var(--tf-body); letter-spacing: .16em; text-transform: uppercase; }
.tf-programme-family h3 { font-size: var(--tf-type-heading-3); }
.tf-programme-description { color: #25342d; margin: .65rem 0 1rem; font: 500 var(--tf-type-body)/1.65 var(--tf-body); }
.tf-programme-family .tf-programme-description { max-width: 29ch; margin-block: 1.1rem 1.35rem; }
.tf-programme-small { min-height: clamp(215px, 21vw, 335px); }
.tf-programme-athletes { background:#f0f3e9; }
.tf-programme-small h3 { font-size: var(--tf-type-heading-3); }
.tf-programme-small .tf-programme-description { max-width: 19ch; width: 58%; margin-bottom: 1.2rem; }
.tf-programme-small .tf-home-cta { padding-inline: clamp(.65rem,1.37vw,1.2rem); font-size: var(--tf-type-small); }
.tf-programme-small .tf-programme-copy { display: flex; flex-direction: column; align-items: flex-start; min-height: 100%; }
.tf-programme-small .tf-home-cta { margin-top: auto; }
.tf-programme-small-art { position: absolute; inset: auto 0 13% auto; width: 43%; }
.tf-programme-kids .tf-programme-small-art { clip-path: polygon(0 0,100% 0,100% 100%,0 100%,0 81%,7% 81%,7% 29%,0 29%); }
.tf-programme-adults { grid-column: span 2; padding: clamp(1rem, 2.15vw, 2.15rem); background: #f9f3ed; }
.tf-programme-adults h3 { font-size: var(--tf-type-heading-3); }
.tf-programme-specialities { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; padding: 0; margin: .75rem 0 1.2rem; }
.tf-programme-specialities li { min-width: 0; }
.tf-programme-specialities li:not(:nth-child(3n)) { border-inline-end: 1px solid #e6dfd3; }
.tf-programme-specialities li:nth-child(-n+3) { border-bottom: 1px solid #e6dfd3; }
.tf-programme-speciality { display: flex; align-items: center; min-height: 47px; gap: .55rem; padding: .44rem; color: inherit; text-decoration: none; font: 650 var(--tf-type-body)/1.65 var(--tf-body); }
.tf-speciality-icon { flex: 0 0 clamp(29px,3.6vw,55px); border-radius: 50%; }
.tf-programme-speciality:is(a:hover,a:focus-visible) { text-decoration: underline; text-underline-offset: .25em; }

@media (prefers-reduced-motion: no-preference) {
    .tf-home-enter { animation: tfHomeEnter .46s cubic-bezier(.2,.72,.25,1); }
    .tf-home-cta svg, .tf-challenge-tile, .tf-approach-pillars li, .tf-programme-card, .tf-founder-picture img, .tf-programme-small-art, .tf-programme-family-art { transition: transform .24s ease, box-shadow .24s ease; }
    @media (hover: hover) and (pointer: fine) {
        .tf-challenge-tile:hover, .tf-approach-pillars li:hover, .tf-programme-card:hover { transform: translateY(-4px); }
        .tf-programme-card:hover { box-shadow: 0 13px 24px #45362127; }
        .tf-founder-feature:hover img, .tf-programme-card:hover .tf-programme-small-art, .tf-programme-card:hover .tf-programme-family-art { transform: scale(1.026); }
        .tf-home-cta:hover svg { transform: translateX(4px); }
    }
}
@keyframes tfHomeEnter { from { opacity: .72; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1030px) {
    .tf-programmes-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .tf-programme-family { min-height: clamp(420px,60vw,580px); grid-column: span 2; grid-row: auto; }
    .tf-programme-family-art { width: min(69%,580px); inset-inline-start: auto; }
}
@media (max-width: 760px) {
    .tf-home-width { width: min(92%,640px); }
    .tf-home-desktop-br { display: none; }
    .tf-challenges-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .tf-approach-grid { grid-template-columns: 1fr; }
    .tf-approach-pillars h3 { font-size: var(--tf-type-heading-3); }
    .tf-programme-family { min-height: clamp(380px, 64vw, 480px); }
    .tf-programme-family-art { width: 75%; }
    .tf-programme-small .tf-programme-description { width: 67%; }
}
@media (max-width: 520px) {
    .tf-home-section h2 { font-size: var(--tf-type-heading-2); }
    .tf-challenges-grid { grid-template-columns: 1fr; }
    .tf-approach-pillars { grid-template-columns: 1fr; }
    .tf-programmes-grid { grid-template-columns: 1fr; }
    .tf-programme-family, .tf-programme-adults { grid-column: auto; }
    .tf-programme-family { min-height: clamp(410px,117vw,525px); }
    .tf-programme-family-art { width: 100%; }
    .tf-programme-family .tf-programme-description { max-width: 22ch; }
    .tf-programme-small .tf-programme-description { max-width: 22ch; width: 58%; }
    .tf-programme-specialities { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .tf-programme-specialities li:nth-child(n) { border: 0; }
    .tf-programme-specialities li:nth-child(odd) { border-inline-end: 1px solid #e6dfd3; }
    .tf-programme-specialities li:nth-child(-n+4) { border-bottom: 1px solid #e6dfd3; }
}

.tf-programme-family.tf-programme-family-illustrated {
    display: flex;
    flex-direction: column;
}
.tf-programme-family-illustration {
    display: block;
    width: 100%;
    height: auto;
    margin-top: auto;
}
