/* A concise case introduction, with full stories on dedicated case pages. */
body.home main .tf-fde-cases.section{position:relative;padding:72px 0;background:#0d1b28;color:var(--tf-text);border-top:1px solid #ffffff1c;border-bottom:1px solid #ffffff1c}
body.home main .tf-fde-container{box-sizing:border-box;width:min(1512px,calc(100% - 160px));margin:auto;padding-right:64px}
.tf-fde-cases [hidden]{display:none!important}
.tf-fde-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:64px}
.tf-fde-eyebrow{display:flex;align-items:center;gap:16px;color:var(--tf-accent);font-size:.875rem;font-weight:700;letter-spacing:.13em}
.tf-fde-eyebrow:before{content:"";width:36px;height:1px;background:currentColor}
.tf-fde-nav{display:flex;align-items:center;gap:8px}
.tf-fde-current{margin-right:8px;color:var(--tf-accent);font-size:.875rem;font-weight:700;white-space:nowrap}
.tf-fde-arrow{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid var(--tf-border-dark);border-radius:12px;background:transparent;color:var(--tf-text);font-size:1.125rem;line-height:1;cursor:pointer;transition:background .18s ease,color .18s ease,transform .18s ease}
.tf-fde-arrow:hover:not(:disabled){background:var(--tf-accent-hover);color:var(--tf-bg)}
.tf-fde-arrow:active:not(:disabled){background:var(--tf-accent-active);color:var(--tf-bg);transform:scale(.96)}
.tf-fde-arrow:disabled{opacity:.55;cursor:not-allowed}
.tf-fde-all{min-height:44px;margin-left:8px;padding:8px 16px;border:1px solid var(--tf-border-dark);border-radius:12px;background:transparent;color:var(--tf-text);font-size:.9375rem;font-weight:650;white-space:nowrap;cursor:pointer;transition:background .18s ease,color .18s ease,transform .18s ease}
.tf-fde-all:hover,.tf-fde-all[aria-expanded="true"]{background:var(--tf-accent-hover);color:var(--tf-bg)}
.tf-fde-all:active{background:var(--tf-accent-active);color:var(--tf-bg);transform:translateY(1px)}
.tf-fde-arrow:focus-visible,.tf-fde-all:focus-visible,.tf-fde-directory button:focus-visible{outline:3px solid var(--tf-accent);outline-offset:3px}
.tf-fde-main{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1fr);align-items:stretch;gap:clamp(48px,7vw,112px)}
.tf-fde-intro,.tf-fde-story{min-width:0}
.tf-fde-intro{display:flex;flex-direction:column}
.tf-fde-marker{color:var(--tf-accent);font-size:.875rem;font-weight:700;letter-spacing:.04em}
body.home main .tf-fde-cases h2{margin:20px 0 24px;color:var(--tf-text);font-size:clamp(34px,3.25vw,52px);font-weight:750;line-height:1.28;letter-spacing:-.045em}
body.home main .tf-fde-cases h2 em{color:var(--tf-accent);font-style:normal}
.tf-fde-summary{max-width:48ch;color:var(--tf-text-muted);font-size:1rem;line-height:1.75}
.tf-fde-detail-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:28px;padding:10px 22px;border:1px solid #a9ced5;border-radius:6px;background:#a9ced5;color:#10232e;font-size:.9375rem;font-weight:600;line-height:1.4;text-decoration:none;transition:background .18s ease,color .18s ease,border-color .18s ease}
.tf-fde-detail-link:hover{background:#bfdee3;border-color:#bfdee3;color:#10232e}
.tf-fde-detail-link:focus-visible,.tf-case-page a:focus-visible{outline:3px solid var(--tf-accent);outline-offset:4px}
.tf-fde-story{border-top:1px solid var(--tf-border-dark)}
.tf-fde-intro-action{display:flex;flex:1;align-items:center;justify-content:center;min-height:100px;margin-top:24px}
.tf-fde-intro-action .tf-fde-detail-link{margin-top:0}
@media(max-width:800px){.tf-fde-intro-action{flex:none;min-height:44px}}
.tf-fde-story-row{display:grid;grid-template-columns:40px minmax(0,1fr);gap:20px;padding:21px 0 22px;border-bottom:1px solid var(--tf-border-dark)}
.tf-fde-story-row>span{padding-top:3px;color:var(--tf-accent);font-size:.875rem;line-height:1.5}
.tf-fde-story h3{margin:0 0 7px;color:var(--tf-text);font-size:1.25rem;font-weight:700;line-height:1.4}
.tf-fde-story p{margin:0;color:var(--tf-text-muted);font-size:1rem;line-height:1.65}
.tf-fde-foot{margin:48px 0 0;color:var(--tf-text-muted);font-size:.875rem;line-height:1.5}
.tf-fde-page.is-entering{animation:tf-fde-enter .3s ease both}
@keyframes tf-fde-enter{from{opacity:.3;transform:translateX(var(--fde-entry,20px))}to{opacity:1;transform:translateX(0)}}

body.home main .tf-fde-directory{position:fixed;top:clamp(145px,22vh,205px);right:max(5.6vw,32px);left:auto;bottom:auto;width:min(535px,calc(100vw - 64px));max-width:none;max-height:min(540px,calc(100svh - 200px));margin:0;padding:22px;border:1px solid var(--tf-border-dark);border-radius:16px;background:var(--tf-surface);color:var(--tf-text);box-shadow:0 28px 85px #01060bd9}
.tf-fde-directory[open]{animation:tf-fde-dialog-in .18s ease-out both}
.tf-fde-directory[open].is-closing{animation:tf-fde-dialog-out .18s ease-in both;pointer-events:none}
@keyframes tf-fde-dialog-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes tf-fde-dialog-out{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(12px)}}
.tf-fde-directory::backdrop{background:#020a12b8;backdrop-filter:blur(2px)}
.tf-fde-directory-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
body.home main .tf-fde-directory h2{margin:0;color:var(--tf-text);font-size:1.3125rem;line-height:1.3}
.tf-fde-directory-head p{margin:4px 0 0;color:var(--tf-text-muted);font-size:.875rem;line-height:1.5}
.tf-fde-directory-head button{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--tf-text);font-size:1.5rem;line-height:1;cursor:pointer;transition:background .18s ease,transform .18s ease}
.tf-fde-directory-head button:hover{background:var(--tf-surface-raised)}
.tf-fde-directory-head button:active{background:var(--tf-border-dark);transform:scale(.95)}
.tf-fde-directory-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.tf-fde-directory-list button{display:flex;align-items:center;gap:11px;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--tf-border-dark);border-radius:12px;background:var(--tf-bg);color:var(--tf-text);text-align:left;cursor:pointer;transition:background .18s ease,transform .18s ease}
.tf-fde-directory-list button:hover{border-color:var(--tf-accent-hover);background:var(--tf-surface-raised)}
.tf-fde-directory-list button:active{background:var(--tf-border-dark);transform:translateY(1px)}
.tf-fde-directory-list button[aria-current="true"]{border-color:var(--tf-accent);background:#9edfe922}
.tf-fde-directory-list b{flex:none;color:var(--tf-accent);font-size:.875rem}
.tf-fde-directory-list span{min-width:0;overflow-wrap:anywhere;font-size:.875rem;line-height:1.5}

@media(max-width:1100px){body.home main .tf-fde-cases.section{padding:64px 0}body.home main .tf-fde-container{width:calc(100% - 80px);padding-right:88px}.tf-fde-main{gap:48px}}
@media(max-width:800px){body.home main .tf-fde-container{width:calc(100% - 40px);padding-right:0}.tf-fde-main{grid-template-columns:1fr;gap:36px}.tf-fde-head{margin-bottom:48px}.tf-fde-foot{margin-top:32px}}
@media(max-width:700px){body.home main .tf-fde-cases.section{padding:64px 0}.tf-fde-head{display:block;margin-bottom:40px}.tf-fde-nav{margin-top:24px}body.home main .tf-fde-cases h2{font-size:clamp(30px,8vw,38px)}.tf-fde-story-row{gap:12px;padding:19px 0}.tf-fde-story h3{font-size:1.125rem}body.home main .tf-fde-directory{top:auto;right:0;bottom:0;left:0;width:100%;max-height:75svh;padding:24px 20px 28px;border-radius:16px 16px 0 0}.tf-fde-directory-list{grid-template-columns:1fr}}
@media(max-width:390px){.tf-fde-nav{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;gap:8px}.tf-fde-current{margin:0}.tf-fde-all{grid-column:1/-1;justify-self:start;margin:0}.tf-fde-story-row{grid-template-columns:32px minmax(0,1fr)}body.home main .tf-fde-directory{padding:20px}}
@media(max-width:240px){.tf-fde-eyebrow{gap:8px;overflow-wrap:anywhere}.tf-fde-eyebrow:before{flex:0 0 16px;width:16px}.tf-fde-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.tf-fde-current{grid-column:1/-1}.tf-fde-all{white-space:normal}.tf-fde-story-row{grid-template-columns:1fr;gap:4px}}
@media(prefers-reduced-motion:reduce){.tf-fde-page.is-entering,.tf-fde-directory[open],.tf-fde-directory[open].is-closing{animation:none}.tf-fde-arrow,.tf-fde-all,.tf-fde-directory button{transition:none}}

/* Each case chapter uses the viewport below the shared header; long content can grow. */
body.single-tf_case{--tf-case-header:85px}
html:has(body.single-tf_case){scroll-snap-type:none;scroll-padding-top:85px}
.document-page.tf-case-page{width:min(1120px,calc(100% - 96px));max-width:1120px;padding-top:var(--tf-case-header);padding-bottom:0;min-height:0}
.tf-case-screen{box-sizing:border-box;min-height:calc(100svh - var(--tf-case-header));padding:20px 0;scroll-margin-top:0}
.tf-case-background-screen{display:flex;flex-direction:column;gap:24px}
.tf-case-cover-grid{flex:1;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:56px;align-items:center;padding-bottom:28px}
.tf-case-cover-intro{min-width:0}
.tf-case-cover-intro h1{text-wrap:balance}
.tf-case-chapter-label{display:block;margin-bottom:14px;color:var(--tf-accent);font-size:.8125rem;font-weight:700;letter-spacing:.12em}
.tf-case-cover-grid .tf-case-lead{max-width:38ch}
.tf-case-cover-grid .tf-case-background{max-width:none}
.tf-case-cover-grid .tf-case-background section{padding:32px;border-top:2px solid var(--tf-accent);background:linear-gradient(145deg,var(--tf-surface),#0e2030)}
.tf-case-cover-grid .tf-case-background h2{margin-bottom:20px;font-size:1.375rem}
.tf-case-cover-grid .tf-case-background p{line-height:1.85}
.tf-case-context{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-bottom:12px;border-bottom:1px solid var(--tf-border-dark)}
.tf-case-context a,.tf-case-related a,.tf-case-work-top a{min-height:44px;display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.tf-case-page .tf-case-context a{box-sizing:border-box;padding:10px 16px;border:1px solid #a9ced530;border-radius:8px;background:#a9ced509;color:#b5cbd5;font-size:.875rem;font-weight:500;line-height:22px;white-space:nowrap;transition:background .18s ease,border-color .18s ease,color .18s ease}
.tf-case-page .tf-case-context a:hover{border-color:#a9ced56b;background:#a9ced514;color:#e0f0f3}
.tf-case-page .tf-case-context a:active{background:#a9ced522}
.tf-case-page .tf-case-context a:focus-visible{outline:2px solid #a9ced5;outline-offset:4px}
.tf-case-context span{color:var(--tf-accent);font-size:.875rem;letter-spacing:.08em}
.tf-case-public-meta{margin:20px 0 8px;color:var(--tf-text-muted);font-size:.875rem}
.tf-case-public-meta span{margin:0 12px;color:var(--tf-accent)}
.document-page.tf-case-page h1{margin:12px 0 20px;font-size:clamp(32px,3.5vw,46px);line-height:1.3;letter-spacing:-.035em}
.tf-case-lead{max-width:100ch;margin:0 0 28px;color:var(--tf-text-muted);font-size:1rem;line-height:1.65}
.tf-case-background{max-width:880px}
.tf-case-background section{margin:0;padding:24px;border:1px solid var(--tf-border-dark);border-radius:18px;background:var(--tf-surface)}
.tf-case-background h2{margin:0 0 16px;color:var(--tf-text);font-size:1.125rem;line-height:1.5;letter-spacing:0}
.tf-case-background p{margin:0;color:var(--tf-text-muted);font-size:1rem;line-height:1.65}
.tf-case-page-next{margin-top:24px}
.tf-case-page-next a{display:inline-flex;align-items:center;min-height:48px;font-size:1rem;color:var(--tf-accent);text-decoration:none}
.tf-case-work-link{gap:20px;padding:12px 22px;border:1px solid var(--tf-accent);border-radius:12px}
.tf-case-work-link:hover{background:#9edfe919}
.tf-case-work-screen{display:flex;flex-direction:column;border-top:1px solid var(--tf-border-dark)}
.tf-case-work-screen .tf-case-implementation{flex:1;display:flex;align-items:center;padding-bottom:24px}
.tf-case-work-screen .tf-case-modules{width:100%}
.tf-case-work-top .tf-case-chapter-label{margin-bottom:8px}
.tf-case-work-top{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:12px}
.tf-case-work-heading{margin:0;color:var(--tf-text);font-size:32px;line-height:1.3;letter-spacing:-.025em}
.tf-case-work-top a{flex:none;font-size:1rem;color:var(--tf-accent)}
.tf-case-work-intro{margin:0 0 16px;color:var(--tf-text-muted);font-size:1rem;line-height:1.6}
.tf-case-implementation,.tf-case-modules{min-width:0}
.tf-case-implementation img{max-width:100%;height:auto}
.tf-case-module-tabs{display:none}
.tf-case-modules.is-enhanced{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;align-items:center}
.tf-case-modules.is-enhanced .tf-case-module-tabs{display:flex;flex-direction:column;gap:14px}
.tf-case-module-tab{min-width:0;min-height:72px;padding:18px;border:1px solid var(--tf-border-dark);border-radius:14px;background:transparent;color:var(--tf-text-muted);font-size:1rem;font-weight:700;line-height:1.6;text-align:left;cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease}
.tf-case-module-tab:hover,.tf-case-module-tab[aria-selected="true"]{background:#9edfe919;border-color:var(--tf-accent);color:var(--tf-accent)}
.tf-case-module-number{display:block;margin-bottom:8px;color:var(--tf-accent);font-size:.75rem;font-weight:400;letter-spacing:.08em;opacity:.8}
.tf-case-module-tab:focus-visible,.tf-case-module-panel:focus-visible{outline:3px solid var(--tf-accent);outline-offset:4px}
.tf-case-module-panels{min-width:0;border:1px solid var(--tf-border-dark);border-radius:20px;background:var(--tf-surface);overflow:visible}
.tf-case-module-panel{box-sizing:border-box;padding:24px}
.tf-case-module-panel+.tf-case-module-panel{border-top:1px solid var(--tf-border-dark)}
.tf-case-modules.is-enhanced .tf-case-module-panel{border-top:0}
.tf-case-modules.is-enhanced .tf-case-module-title{display:none}
.tf-case-modules [hidden]{display:none!important}
.tf-case-page .tf-case-module-title{margin:0 0 20px;font-size:1.25rem;color:var(--tf-text);line-height:1.5}
.tf-case-page .tf-case-module-panel h3{margin:16px 0 8px;color:var(--tf-text);font-size:1rem;font-weight:700;line-height:1.6;letter-spacing:0}
.tf-case-page .tf-case-module-panel p,.tf-case-page .tf-case-module-panel li{margin:0;color:var(--tf-text-muted);font-size:1rem;line-height:1.6}
.tf-case-module-panel ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;margin:8px 0 0;padding-left:22px}
.tf-case-module-panel ul{margin:8px 0 0;padding-left:22px}
.tf-case-module-panel ul li+li{margin-top:8px}
.tf-case-module-panel p.tf-case-module-status{margin:16px 0 0;padding-top:12px;border-top:1px solid var(--tf-border-dark);color:var(--tf-accent);font-size:1rem;line-height:1.6}
.tf-case-module-panel.is-entering{animation:tf-case-module-enter .18s ease both}
@keyframes tf-case-module-enter{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.tf-case-related{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:24px 0;padding-top:16px;border-top:1px solid var(--tf-border-dark);font-size:1rem}
body.single-tf_case footer{padding:28px 0 24px}
body.single-tf_case footer .footer-top,body.single-tf_case footer .footer-bottom{width:min(1120px,calc(100% - 96px));margin-left:auto;margin-right:auto}
body.single-tf_case .footer-top{gap:24px}
body.single-tf_case .footer-top .brand img{width:130px}
body.single-tf_case .footer-bottom{margin-top:20px;padding-top:20px}
body.single-tf_case .nav-wrap{position:fixed;top:0;left:0;right:0;z-index:100;background:#07111dc7;backdrop-filter:blur(18px);transition:background .2s,box-shadow .2s}
body.single-tf_case .nav-wrap.is-scrolled{background:#0b1725f2;border-bottom-color:#9edfe938;box-shadow:0 12px 32px #02081157}
@media(min-width:981px) and (max-width:1400px){.document-page.tf-case-page{width:calc(100% - 224px)}body.single-tf_case footer .footer-top,body.single-tf_case footer .footer-bottom{width:calc(100% - 224px)}}
@media(max-width:1100px) and (min-width:801px){.tf-case-modules.is-enhanced{grid-template-columns:210px minmax(0,1fr);gap:24px}.tf-case-module-tab{padding:16px}.tf-case-module-panel{padding:22px}}
@media(max-width:980px){body.single-tf_case footer{padding-bottom:calc(88px + env(safe-area-inset-bottom))}}
@media(max-width:800px){body.single-tf_case{--tf-case-header:69px}html:has(body.single-tf_case){scroll-padding-top:69px}.document-page.tf-case-page{width:calc(100% - 40px)}.tf-case-screen{padding:16px 0}.tf-case-context{align-items:flex-start;flex-direction:column;gap:0;padding-bottom:8px}.tf-case-context span{font-size:.75rem}.tf-case-public-meta{margin-top:14px}.document-page.tf-case-page h1{font-size:30px;margin:12px 0 16px}.tf-case-lead{margin-bottom:20px;line-height:1.5}.tf-case-background section{padding:18px}.tf-case-background p{line-height:1.5}.tf-case-page-next{margin-top:20px}.tf-case-work-heading{font-size:28px}.tf-case-work-top{gap:12px}.tf-case-work-top a{font-size:.875rem}.tf-case-work-intro{margin-bottom:12px;line-height:1.5}.tf-case-modules.is-enhanced{grid-template-columns:1fr;gap:12px}.tf-case-modules.is-enhanced .tf-case-module-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.tf-case-module-tab{min-height:56px;padding:6px 8px;font-size:.875rem;line-height:1.5}.tf-case-module-panel{padding:18px}.tf-case-page .tf-case-module-panel p,.tf-case-page .tf-case-module-panel li,.tf-case-page .tf-case-module-panel h3{line-height:1.5}.tf-case-page .tf-case-module-panel h3{margin:12px 0 6px}.tf-case-module-panel ol{gap:6px 20px;margin-top:6px;padding-left:20px}.tf-case-module-panel p.tf-case-module-status{margin-top:12px;padding-top:10px;line-height:1.5}.tf-case-related{align-items:flex-start;flex-direction:column}.tf-fde-detail-link{margin-top:24px}body.single-tf_case footer .footer-top,body.single-tf_case footer .footer-bottom{width:calc(100% - 40px)}}
@media(prefers-reduced-motion:reduce){.tf-fde-detail-link,.tf-case-module-tab,.tf-case-page .tf-case-context a,body.single-tf_case .nav-wrap{transition:none}.tf-case-module-panel.is-entering{animation:none}}
@media(min-width:801px) and (max-width:1100px){.tf-case-cover-grid{gap:32px}.tf-case-cover-grid .tf-case-background section{padding:24px}.tf-case-cover-grid .tf-case-background h2{font-size:1.25rem}}
@media(max-width:800px){.tf-case-background-screen{gap:18px}.tf-case-cover-grid{grid-template-columns:1fr;gap:20px;align-content:center;padding-bottom:12px}.tf-case-chapter-label{font-size:.75rem;margin-bottom:8px}.tf-case-cover-grid .tf-case-lead{max-width:none}.tf-case-cover-grid .tf-case-background section{padding:20px}.tf-case-cover-grid .tf-case-background h2{font-size:1.125rem;margin-bottom:12px}.tf-case-cover-grid .tf-case-background p{line-height:1.5}.tf-case-work-screen .tf-case-implementation{align-items:flex-start;padding-bottom:0}.tf-case-work-top .tf-case-chapter-label{margin-bottom:4px}}
@media(max-width:800px){.tf-case-module-number{display:none}}

/* CTA follows the background in reading order while remaining in the desktop title column. */
.tf-case-cover-grid{grid-template-areas:"intro background";grid-template-rows:auto;align-content:center;row-gap:0}
.tf-case-cover-intro{grid-area:intro}
.tf-case-cover-grid>.tf-case-background{grid-area:background}
.tf-case-scroll-hint{display:flex;justify-content:center;flex:none}
.tf-case-scroll-hint .tf-case-scroll-cue{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--tf-accent)}
.tf-case-scroll-hint .tf-case-scroll-cue:hover{background:#9edfe919}
.tf-case-scroll-cue svg{color:#b5d5dc;opacity:.65}
@media(max-width:800px){.tf-case-cover-grid{grid-template-areas:"intro" "background";grid-template-rows:auto auto;row-gap:20px}.tf-case-cover-grid .tf-case-lead{margin-bottom:0}}

/* Expanded case narrative: one focused chapter per viewport. */
.tf-case-story-screen{display:flex;flex-direction:column;gap:20px;border-top:1px solid var(--tf-border-dark)}
.tf-case-story-heading{flex:none}
.tf-case-page .tf-case-story-heading h2{margin:0;color:var(--tf-text);font-size:clamp(28px,3vw,38px);line-height:1.3;letter-spacing:-.025em}
.tf-case-story-body{flex:1;display:flex;align-items:center;min-width:0;padding:12px 0}
.tf-case-story-content{width:100%;min-width:0}
.tf-case-page .tf-case-story-content p{color:var(--tf-text-muted);font-size:1rem;line-height:1.65}
.tf-case-page .tf-case-story-lead{max-width:68ch;margin:0 0 28px}
.tf-case-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.tf-case-story-card{padding:28px;border:1px solid var(--tf-border-dark);border-radius:18px;background:linear-gradient(145deg,var(--tf-surface),#0e2030)}
.tf-case-story-index{display:block;margin-bottom:28px;color:#a9ced5;font-size:.875rem;letter-spacing:.08em}
.tf-case-page .tf-case-story-card h3{margin:0 0 16px;color:var(--tf-text);font-size:1.25rem;line-height:1.4}
.tf-case-page .tf-case-story-card p{margin:0}
.tf-case-outcomes{border-top:1px solid var(--tf-border-dark)}
.tf-case-outcome-row{display:grid;grid-template-columns:160px minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start;padding:26px 0;border-bottom:1px solid var(--tf-border-dark)}
.tf-case-page .tf-case-outcome-row h3{margin:0;color:var(--tf-text);font-size:1.125rem;line-height:1.5}
.tf-case-page .tf-case-outcome-row p{margin:0}
.tf-case-outcome-row p span{display:block;margin-bottom:8px;color:#a9ced5;font-size:.8125rem;letter-spacing:.08em}
.tf-case-page .tf-case-story-note{margin:24px 0 0;color:#a9ced5}
@media(max-width:1100px) and (min-width:801px){.tf-case-story-grid{gap:16px}.tf-case-story-card{padding:22px}.tf-case-outcome-row{grid-template-columns:130px minmax(0,1fr) minmax(0,1fr);gap:24px}}
@media(max-width:800px){.tf-case-story-screen{gap:14px}.tf-case-story-body{padding:0}.tf-case-page .tf-case-story-content p{line-height:1.5}.tf-case-page .tf-case-story-lead{margin-bottom:18px}.tf-case-story-grid{grid-template-columns:1fr;gap:12px}.tf-case-story-card{padding:18px}.tf-case-story-index{margin-bottom:10px;font-size:.75rem}.tf-case-page .tf-case-story-card h3{font-size:1.125rem;margin-bottom:8px}.tf-case-outcome-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;padding:14px 0}.tf-case-outcome-row h3{grid-column:1/-1}.tf-case-page .tf-case-story-note{margin-top:16px}.tf-case-story-screen .tf-case-module-tabs:has(>button:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Editorial case layout: a quiet title area and a continuous, readable story. */
.tf-case-reading{padding:32px 0 72px}
.tf-case-reading-title{padding-bottom:46px;margin-bottom:54px;border-bottom:1px solid var(--tf-border-dark)}
.tf-case-reading-title .tf-case-context{border-bottom:0;padding-bottom:0}
.tf-case-reading-title .tf-case-public-meta{margin:22px 0 44px}
.tf-case-reading-title .tf-case-chapter-label{margin-bottom:16px}
.tf-case-page .tf-case-reading-title h1{max-width:900px;margin:0 0 24px;font-size:clamp(34px,3.8vw,52px);line-height:1.3}
.tf-case-page .tf-case-reading-summary{max-width:760px;margin:0;color:var(--tf-text-muted);font-size:1.125rem;line-height:1.8}
.tf-case-reading-layout{display:grid;grid-template-columns:minmax(0,1fr) 52px;gap:72px;max-width:1000px;margin:auto}
.tf-case-reading-article{min-width:0}
.tf-case-page .tf-case-reading-article h2{margin:64px 0 24px;color:var(--tf-text);font-size:clamp(25px,2.5vw,32px);line-height:1.4;letter-spacing:-.015em;scroll-margin-top:24px}
.tf-case-page .tf-case-reading-article h2:first-child{margin-top:0}
.tf-case-page .tf-case-reading-article p{margin:0 0 24px;color:#b9cad5;font-size:1.125rem;line-height:1.95}
.tf-case-page .tf-case-reading-article strong{color:#e1edf2;font-weight:600}
.tf-case-reading-progress{position:fixed;width:1px;z-index:80;background:#a9ced52b;pointer-events:none}
.tf-case-reading-progress[hidden]{display:none!important}
.tf-case-reading-fill{position:absolute;top:0;left:0;width:1px;height:calc(var(--reading-progress,0)*100%);background:#a9ced582}
.tf-case-reading-marker{position:absolute;top:calc(var(--reading-progress,0)*100%);left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:52px;height:52px;box-sizing:border-box;border:1px solid #a9ced540;border-radius:50%;background:#0b1925;color:#a9c2cd;font-size:13px;font-variant-numeric:tabular-nums;line-height:1}
@media(max-width:1100px) and (min-width:801px){.tf-case-reading-layout{gap:48px}}
@media(max-width:800px){.tf-case-reading{padding:20px 0 48px}.tf-case-reading-title{padding-bottom:30px;margin-bottom:36px}.tf-case-reading-title .tf-case-public-meta{margin:18px 0 30px}.tf-case-page .tf-case-reading-title h1{font-size:32px;margin-bottom:18px}.tf-case-page .tf-case-reading-summary{font-size:1rem;line-height:1.7}.tf-case-reading-layout{grid-template-columns:minmax(0,1fr) 36px;gap:20px}.tf-case-page .tf-case-reading-article h2{margin:44px 0 20px;font-size:24px}.tf-case-page .tf-case-reading-article p{font-size:1rem;line-height:1.9;margin-bottom:22px}.tf-case-reading-marker{width:36px;height:36px;font-size:11px}}
/* Reading pages reserve the right edge for progress and contact controls. */
@media(min-width:801px) and (max-width:1200px){.tf-case-reading{padding-right:96px}}
@media(max-width:800px){body.single-tf_case:has([data-case-article]) .tf-quick-actions{flex-direction:column}}
