.tf-programmes-page > section { scroll-margin-top: 0; }
.tf-programmes-page {
    --tf-ap-paper: #faf6f1;
    --tf-ap-panel: #eff3e4;
    --tf-ap-ink: #12382c;
    --tf-ap-radius: clamp(13px, 1.55vw, 23px);
    color: var(--tf-ap-ink);
}
.tf-ap-section { font: 550 var(--tf-type-body)/1.65 var(--tf-body); }
.tf-ap-section h3 { font-size: var(--tf-type-heading-3); }
.tf-ap-section .tf-home-intro { margin-top: .58rem; }
.tf-ap-section .tf-home-cta { border-radius: 999px; }
.tf-ap-section .tf-home-cta.tf-ap-outline { background: transparent; color: var(--tf-ap-ink); }
.tf-ap-section a:focus-visible { outline: 2px solid #315b33; outline-offset: 4px; }
.tf-ap-section .tf-ap-pending { cursor: default; }
.tf-ap-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 11px; margin-top: 15px; }
.tf-ap-actions-centre { justify-content: center; }
.tf-ap-icon {
    color: #174b36;
    background: #e7edbb;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 12px;
}
.tf-ap-icon svg { width: 21px; height: 21px; }

.tf-ap-hero { background: var(--tf-ap-paper); padding-block: clamp(18px, 3.5svh, 42px); }
.tf-ap-hero-grid {
    display: grid;
    grid-template-columns: minmax(0,.85fr) minmax(0,1.17fr) minmax(0,1.28fr);
    align-items: center;
    gap: clamp(14px, 2.2vw, 32px);
}
.tf-ap-hero-copy h1 {
    margin: 0;
    color: var(--tf-ap-ink);
    font: 400 var(--tf-type-heading-1)/1.12 var(--tf-display);
    letter-spacing: -.045em;
}
.tf-ap-subtitle { color: #345744; margin: .4rem 0 0; font: italic 500 var(--tf-type-lead)/1.55 var(--tf-body); white-space: nowrap; }
.tf-ap-hero-copy .tf-home-intro { max-width: 39ch; }
.tf-ap-portrait { margin: 0; background: #e9e3d9; position: relative; min-height: 280px; height: min(55svh, 510px); overflow: hidden; border-radius: var(--tf-ap-radius); }
.tf-ap-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 52% 26%; }
.tf-ap-portrait figcaption { position: absolute; inset: auto 11px 11px; width: max-content; max-width: calc(100% - 22px); padding: 8px 11px; background: #fffffff3; border-radius: 10px; font-size: var(--tf-type-small); }
.tf-ap-portrait figcaption span { display: block; }
.tf-ap-shortcuts { display: grid; gap: 8px; min-width: 0; }
.tf-ap-shortcut-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.tf-ap-shortcuts a { color: var(--tf-ap-ink); text-decoration: none; }
.tf-ap-shortcut { display: grid; grid-template-rows: auto auto 1fr; justify-items: center; align-items: start; overflow: hidden; border-radius: var(--tf-ap-radius); background: #f1edde; box-shadow: 0 3px 12px #1a382116; text-align: center; }
.tf-ap-shortcut:nth-child(2), .tf-ap-shortcut:nth-child(3) { background: #edf0e3; }
.tf-ap-shortcut-art { width: 165%; }
.tf-ap-shortcut .tf-ap-icon { width: 31px; height: 31px; border-radius: 50%; z-index: 1; margin-top: -15px; }
.tf-ap-shortcut .tf-ap-icon svg { width: 16px; height: 16px; }
.tf-ap-shortcut strong { font-size: var(--tf-type-compact); padding: 4px 6px 8px; line-height: 1.28; overflow-wrap: break-word; }
.tf-ap-shortcut-wide { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 9px; border-radius: 12px; background: #f0f1e6; }
.tf-ap-shortcut-wide:last-child { background: #efefe2; }
.tf-ap-shortcut-wide .tf-ap-icon { width: 33px; height: 33px; }
.tf-ap-shortcut-wide .tf-ap-icon svg, .tf-ap-shortcut-wide > svg { width: 17px; height: 17px; }
.tf-ap-shortcut-wide strong, .tf-ap-shortcut-wide small { display: block; line-height: 1.25; }
.tf-ap-shortcut-wide strong { font-size: var(--tf-type-compact); }
.tf-ap-shortcut-wide small { margin-top: 3px; font-size: var(--tf-type-small); line-height: 1.4; }

.tf-ap-audience { background: #fff; }
.tf-ap-audience-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(10px, 1.5vw, 20px); }
.tf-ap-audience-card { background: #f0f3e3; border-radius: var(--tf-ap-radius); overflow: hidden; min-width: 0; }
.tf-ap-audience-art { width: 100%; }
.tf-ap-audience-copy { position: relative; padding: 16px clamp(13px, 1.65vw, 22px) 14px; }
.tf-ap-audience-copy .tf-ap-icon { position: absolute; top: -20px; border-radius: 50%; }
.tf-ap-audience-copy h3 { margin-top: 9px; }
.tf-ap-audience-copy p, .tf-ap-programme-copy p { margin: .38rem 0 0; }
.tf-ap-text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--tf-ap-ink); font-size: var(--tf-type-button); font-weight: 800; text-decoration: none; min-height: 44px; margin-top: 3px; }
.tf-ap-text-link svg { width: 18px; }

.tf-ap-individual { background: var(--tf-ap-paper); }
.tf-ap-programme-grid { display: grid; grid-template-columns: repeat(24,minmax(0,1fr)); gap: clamp(12px, 1.25vw, 17px); }
.tf-ap-programme-card {
    grid-column: span 6;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-start;
    min-width: 0;
    min-height: clamp(134px, 21svh, 185px);
    padding: 10px 12px;
    border-radius: var(--tf-ap-radius);
    background: #eff1e5;
    box-shadow: 0 3px 8px #203f2313;
}
.tf-ap-programme-card:nth-child(n+5) { grid-column: span 8; }
.tf-ap-programme-card.tf-ap-gut, .tf-ap-programme-card.tf-ap-weight_gain { background: #f9efdf; }
.tf-ap-programme-card.tf-ap-hormonal { background: #f8ebeb; }
.tf-ap-programme-card.tf-ap-metabolic { background: #e9f3f3; }
.tf-ap-programme-card.tf-ap-sports { background: #f1ecf3; }
.tf-ap-programme-copy { position: relative; width: 69%; padding-bottom: 7px; }
.tf-ap-programme-copy h3 { margin-top: 5px; font: 650 var(--tf-type-heading-3)/1.3 var(--tf-display); letter-spacing: -.02em; }
.tf-ap-programme-copy p { font-size: var(--tf-type-body); line-height: 1.43; }
.tf-ap-programme-copy .tf-ap-icon { width: 32px; height: 32px; border-radius: 50%; }
.tf-ap-programme-copy .tf-ap-icon svg { width: 18px; height: 18px; }
.tf-ap-programme-art { position: absolute; top: 0; right: 0; z-index: -1; width: 36%; mask-image: linear-gradient(105deg,transparent,#000 29%); }
.tf-ap-programme-arrow { display: grid; place-items: center; position: absolute; bottom: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; background: var(--tf-forest); color: white; }
.tf-ap-programme-arrow.tf-ap-pending { width: 30px; height: 30px; opacity: .64; }
.tf-ap-programme-arrow svg { width: 17px; height: 17px; }

.tf-ap-corporate { background: #fbf7f3; }
.tf-ap-corporate-grid { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.4fr); gap: clamp(18px, 3.25vw, 48px); align-items: center; }
.tf-ap-corporate-image { overflow: hidden; border-radius: var(--tf-ap-radius); background: #ede7dc; display: grid; align-items: center; max-height: clamp(320px, 65svh, 570px); }
.tf-ap-corporate-art { width: 100%; }
.tf-ap-corporate-copy .tf-home-intro { max-width: 55ch; }
.tf-ap-workplace { padding: 0; margin: 15px 0; list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.tf-ap-workplace li { display: grid; justify-items: center; align-content: start; gap: 5px; text-align: center; font-size: var(--tf-type-body); line-height: 1.36; }

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
    .tf-ap-section :is(.tf-ap-shortcut,.tf-ap-shortcut-wide,.tf-ap-audience-card,.tf-ap-programme-card) { transition: translate .2s ease, box-shadow .2s ease; }
    .tf-ap-section :is(.tf-ap-shortcut,.tf-ap-shortcut-wide,.tf-ap-audience-card,.tf-ap-programme-card):hover { translate: 0 -3px; box-shadow: 0 9px 17px #16352225; }
    .tf-ap-section a svg { transition: translate .18s ease; }
    .tf-ap-section a:hover > svg { translate: 2px 0; }
}
@media (min-width: 1000px) and (max-height: 800px) {
    .tf-ap-corporate-image { max-height: 465px; }
    .tf-ap-individual .tf-home-heading { margin-bottom: 13px; }
}
@media (max-width: 960px) {
    .tf-ap-hero-grid { grid-template-columns: minmax(0,.75fr) minmax(0,1fr); }
    .tf-ap-shortcuts { grid-column: 1/-1; }
    .tf-ap-shortcut-art { width: 100%; }
    .tf-ap-programme-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .tf-ap-programme-card:nth-child(n) { grid-column: auto; }
}
@media (max-width: 640px) {
    .tf-ap-hero-grid { grid-template-columns: minmax(0,1fr); }
    .tf-ap-hero-copy { grid-row: 1; }
    .tf-ap-portrait { width: 100%; min-height: 0; height: clamp(228px, 69vw, 355px); }
    .tf-ap-shortcut-art { width: 145%; }
    .tf-ap-audience-grid, .tf-ap-programme-grid, .tf-ap-corporate-grid { grid-template-columns: minmax(0,1fr); }
    .tf-ap-corporate-copy { grid-row: 1; }
    .tf-ap-corporate-image { width: 100%; max-height: clamp(240px,75vw,350px); }
    .tf-ap-workplace { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .tf-ap-hero-copy h1 { font-size: var(--tf-type-heading-1); }
    .tf-ap-programme-copy h3 { font-size: var(--tf-type-heading-3); }
    .tf-ap-programme-copy p { font-size: var(--tf-type-body); }
    .tf-ap-programme-art { width: min(32%,92px); }
}

.tf-ap-hero-copy .tf-home-cta { padding-inline: 11px; font-size: var(--tf-type-button); gap: 6px; }
.tf-ap-programme-art { width: min(32%, 119px); }

.tf-ap-individual .tf-ap-actions { margin-top: 20px; }
.tf-ap-corporate-copy > .tf-home-kicker { margin-block-end: 12px; }
.tf-ap-corporate-copy > .tf-home-intro { margin-block-start: 17px; }
.tf-ap-corporate-copy > .tf-ap-workplace { margin-block: 20px; }

.tf-programmes-page .tf-approach-main .tf-approach-tagline { margin-block-start: 13px; }
.tf-programmes-page .tf-approach-main .tf-home-intro { margin-block-start: 13px; }
.tf-programmes-page .tf-approach-main .tf-approach-pillars { margin-block: 18px 20px; }

.tf-programmes-page .tf-next-leaf { display: none; }

@media (min-width: 1001px) and (max-width: 1150px) {
    .tf-programmes-page .tf-questions-grid {
        width: 96%;
        grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
    }
    .tf-programmes-page .tf-questions--programme .tf-questions-list li {
        grid-template-columns: 32px minmax(0, 1fr) auto;
        gap: 8px;
        padding-block: 9px;
    }
    .tf-programmes-page .tf-questions--programme .tf-questions-list .tf-lower-textlink {
        padding-inline: 8px;
    }
}

.tf-ap-section .tf-home-intro,
.tf-ap-audience-copy p { line-height: 1.52; }
.tf-programmes-page .tf-questions--programme .tf-questions-list li p {
    font-size: var(--tf-type-body);
    line-height: 1.45;
}
