/*
 * TSP components: structure and behaviour only.
 * Colours, spacing, borders, type and shadows come from theme.json and the named block styles
 * (Appearance > Editor > Styles > Blocks, or select a block > Styles panel), so they stay editable.
 */
html{scroll-padding-top:7rem}
a{text-underline-offset:3px}
.wp-site-blocks > *,.wp-site-blocks > * + *{margin-block-start:0}
.wp-block-post-content > *{margin-block-start:0}
/* Eyebrow, heading bar, lead */
.is-style-tsp-eyebrow::before{content:"";display:inline-block;width:28px;height:3px;margin-right:10px;background:var(--wp--preset--color--pink);vertical-align:middle}
.is-style-tsp-bar::after{content:"";display:block;width:56px;height:3px;margin-top:1rem;background:var(--wp--preset--color--pink)}
.is-style-tsp-lead{padding-right:max(0px,calc(100% - 46rem))}
h1 em,h2 em{font-style:normal;background:linear-gradient(transparent 64%,rgba(255,200,0,.6) 64%)}
.is-style-tsp-slide em,.is-style-tsp-band em,.is-style-tsp-cta em{background:none}
/* Split columns and photos */
.is-style-tsp-split .wp-block-image{margin-bottom:0}
.is-style-tsp-split > .wp-block-column > p:first-of-type:not(.is-style-tsp-eyebrow){font-size:1.15rem;line-height:1.6}
.is-style-tsp-framed img{display:block;width:100%;height:auto}
.tsp-face img{object-position:50% 18%}
.wp-element-caption{font-size:.8rem;color:var(--wp--preset--color--muted)}
/* Header */
header.wp-block-template-part{position:sticky;top:calc(-1 * var(--tsp-topbar-h,38px));z-index:50}
.admin-bar header.wp-block-template-part{top:calc(32px - var(--tsp-topbar-h,38px))}
.tsp-topbar{min-height:38px}
.tsp-topbar p{margin:0}.tsp-topbar a{color:#fff;text-decoration:none}.tsp-topbar a:hover{color:var(--wp--preset--color--yellow)}
.tsp-topbar .wp-block-social-links{margin:0 -.4rem 0 0}
.is-style-tsp-header .wp-block-site-title a{color:var(--wp--preset--color--primary);text-decoration:none}
.is-style-tsp-header .wp-block-navigation a{text-decoration:none}
.is-style-tsp-header .wp-block-navigation-item__content:hover{color:var(--wp--preset--color--pink-strong)}
.is-style-tsp-header .current-menu-item>a,.is-style-tsp-header .wp-block-navigation-item.current-menu-item>.wp-block-navigation-item__content{box-shadow:0 2px 0 var(--wp--preset--color--pink)}
.wp-block-button .wp-block-button__link{min-height:44px;display:inline-flex;align-items:center}
/* Social icons: always white on dark areas (beats WordPress brand colours) */
.tsp-topbar .wp-block-social-links.is-style-logos-only .wp-social-link,.tsp-topbar .wp-block-social-links .wp-social-link a,.tsp-footer .wp-block-social-links.is-style-logos-only .wp-social-link,.tsp-footer .wp-block-social-links .wp-social-link a{color:#fff!important;background:none!important}
.tsp-topbar .wp-block-social-links svg,.tsp-footer .wp-block-social-links svg{fill:#fff!important}
.tsp-topbar .wp-block-social-links .wp-social-link:hover svg,.tsp-footer .wp-block-social-links .wp-social-link:hover svg{fill:var(--wp--preset--color--yellow)!important}
/* Hero slides */
.tsp-slide{min-height:clamp(560px,78vh,720px)}
.is-style-tsp-slide{background:var(--wp--preset--color--deep)}
.is-style-tsp-slide .wp-block-cover__background{background:linear-gradient(90deg,rgba(34,10,48,.92) 0%,rgba(34,10,48,.6) 42%,rgba(34,10,48,0) 85%),linear-gradient(0deg,rgba(34,10,48,.5),rgba(34,10,48,0) 35%)!important;opacity:1!important}
.is-style-tsp-slide .wp-block-cover__inner-container{width:100%;max-width:calc(1240px + 2 * var(--wp--preset--spacing--40));margin-inline:auto;padding:4rem var(--wp--preset--spacing--40) 6rem}
.tsp-slide h1,.tsp-slide h2{font-size:clamp(2.25rem,5vw,4.1rem);line-height:1.03;letter-spacing:-.035em;max-width:52rem}
.tsp-slide .is-style-tsp-bar::after{display:none}
.tsp-slide p:not(.is-style-tsp-eyebrow){max-width:38rem;font-size:1.2rem}
.tsp-slide--split{display:flex;flex-direction:column;justify-content:center;padding-block:4rem 6rem}
.tsp-slide--split > *{width:100%}
.tsp-slide--split .tsp-face img{border-radius:8px;max-height:520px;width:100%;object-fit:cover}
/* Photo band */
.is-style-tsp-band{min-height:380px}
.is-style-tsp-band .wp-block-cover__background{background:linear-gradient(100deg,rgba(40,10,56,.92),rgba(11,100,110,.66) 58%,rgba(254,1,154,.38))!important;opacity:1!important}
.is-style-tsp-band .wp-block-cover__inner-container{width:100%;max-width:calc(1240px + 2 * var(--wp--preset--spacing--40));margin-inline:auto;padding:4rem var(--wp--preset--spacing--40)}
.is-style-tsp-band .is-style-tsp-bar::after,.is-style-tsp-cta .is-style-tsp-bar::after{background:#fff}
.is-style-tsp-band h2{padding-right:max(0px,calc(100% - 40rem))}
/* Grids: collapse sensibly */
.tsp-grid{gap:1.5rem}
.tsp-stats{gap:2rem}.tsp-principles{gap:2rem}.tsp-stages{gap:1.5rem}
@media(max-width:1000px){.tsp-grid.is-layout-grid.tsp-principles,.tsp-grid.is-layout-grid.tsp-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.tsp-grid.is-layout-grid.tsp-stages{grid-template-columns:repeat(3,minmax(0,1fr))}.tsp-grid.is-layout-grid.tsp-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.tsp-grid.is-layout-grid{grid-template-columns:minmax(0,1fr)}}
/* Tiles */
.tsp-tiles{gap:0;border-left:1px solid #e2dfe6;border-top:1px solid #e2dfe6}
.tsp-tile{position:relative;border-right:1px solid #e2dfe6;border-bottom:1px solid #e2dfe6;transition:background .15s,box-shadow .15s}
.tsp-tile:hover{background:var(--wp--preset--color--tint)!important;box-shadow:inset 0 -3px 0 var(--wp--preset--color--pink)}
.tsp-tile h3{margin:.5rem 0}.tsp-tile h3 a{text-decoration:none;color:inherit}.tsp-tile h3 a::after{content:"";position:absolute;inset:0}
.tsp-tile p{font-size:.9rem;color:var(--wp--preset--color--muted);margin:.5rem 0 0}
.tsp-tile .wp-block-image{margin:0 0 1.25rem}.tsp-tile .wp-block-image img{width:52px;height:52px;padding:12px;border-radius:14px;background:rgba(92,31,119,.09)}
.tsp-tile .is-style-tsp-num{margin:0;color:var(--wp--preset--color--muted)}
.tsp-tile::after{content:"↗";position:absolute;right:1.25rem;top:1.25rem;color:var(--wp--preset--color--pink-strong);font-size:1.2rem;transition:transform .15s}
.tsp-tile:hover::after{transform:translate(3px,-3px)}
/* Figures */
.tsp-stat{position:relative}.tsp-stat::before{content:"";position:absolute;top:0;left:0;width:56px;height:5px;background:var(--wp--preset--color--yellow)}
.tsp-stats>.tsp-stat:nth-child(2)::before{background:var(--wp--preset--color--teal)}.tsp-stats>.tsp-stat:nth-child(3)::before{background:var(--wp--preset--color--pink)}.tsp-stats>.tsp-stat:nth-child(4)::before{background:var(--wp--preset--color--primary)}
.is-style-tsp-stat-number{margin:0;background:linear-gradient(90deg,var(--wp--preset--color--primary),var(--wp--preset--color--pink-strong));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
@media(forced-colors:active){.is-style-tsp-stat-number{-webkit-text-fill-color:currentColor;background:none}}
.tsp-stat p:not(.is-style-tsp-stat-number){margin-top:.6rem;font-size:.9rem}
.tsp-principles>.is-style-tsp-principle:nth-child(2){border-top-color:var(--wp--preset--color--teal)}.tsp-principles>.is-style-tsp-principle:nth-child(3){border-top-color:var(--wp--preset--color--yellow)}.tsp-principles>.is-style-tsp-principle:nth-child(4){border-top-color:var(--wp--preset--color--primary)}
.is-style-tsp-principle p:not(.is-style-tsp-num),.is-style-tsp-card p:not(.is-style-tsp-num){font-size:.92rem;color:var(--wp--preset--color--muted)}
.tsp-cards>.is-style-tsp-card:nth-child(3n+1){border-top-color:var(--wp--preset--color--pink)}.tsp-cards>.is-style-tsp-card:nth-child(3n){border-top-color:var(--wp--preset--color--yellow)}
.is-style-tsp-card ul{font-size:.9rem;color:var(--wp--preset--color--muted);padding-left:1.1rem}
/* Work cards */
.tsp-workcard{position:relative;overflow:hidden;gap:0!important;transition:border-color .15s}.tsp-workcard:hover{border-color:var(--wp--preset--color--primary)}
.tsp-workcard .wp-block-image{margin:0}.tsp-workcard .wp-block-image img{width:100%;display:block}
.tsp-workcard h3{font-size:1.3rem;margin:.5rem 0 .75rem}.tsp-workcard h3 a{text-decoration:none;color:inherit}.tsp-workcard h3 a::after{content:"";position:absolute;inset:0}
.tsp-workcard p:not(.is-style-tsp-eyebrow){font-size:.92rem;color:var(--wp--preset--color--muted)}
/* Stages */
.tsp-stages{counter-reset:s}.tsp-stage{counter-increment:s;position:relative;padding-top:3rem}
.tsp-stage::before{content:counter(s);position:absolute;top:0;left:0;width:34px;height:34px;border-radius:50%;background:var(--wp--preset--color--teal);color:#fff;display:grid;place-items:center;font-weight:700;font-size:.9rem}
.tsp-stage h3{font-size:1rem}.tsp-stage p{font-size:.88rem;color:var(--wp--preset--color--muted)}
/* Lists */
.is-style-tsp-check,.is-style-tsp-plain,.is-style-tsp-chips,.is-style-tsp-worklist{list-style:none;padding:0;margin:0}
.is-style-tsp-check li{position:relative;padding:.7rem 0 .7rem 1.9rem;border-bottom:1px solid #e2dfe6;color:var(--wp--preset--color--muted)}
.is-style-tsp-check li::before{content:"✓";position:absolute;left:0;color:var(--wp--preset--color--teal);font-weight:700}
.is-style-tsp-plain li{margin:.55rem 0}
.is-style-tsp-chips{display:flex;flex-wrap:wrap;gap:.6rem}
.is-style-tsp-chips a{display:inline-block;padding:.5rem 1rem;border:1px solid #e2dfe6;border-radius:999px;background:var(--wp--preset--color--grey);font-size:.85rem;font-weight:600;text-decoration:none;color:var(--wp--preset--color--ink)}
.is-style-tsp-chips a:hover{background:var(--wp--preset--color--primary);color:#fff}
.is-style-tsp-worklist{margin-top:1.5rem}.is-style-tsp-worklist li{border-bottom:1px solid #e2dfe6}
.is-style-tsp-worklist a{display:flex;justify-content:space-between;gap:1rem;padding:1rem 0;font-family:var(--wp--preset--font-family--heading);font-weight:700;font-size:1.15rem;text-decoration:none;color:var(--wp--preset--color--ink)}
.is-style-tsp-worklist a::after{content:"↗";color:var(--wp--preset--color--pink-strong)}.is-style-tsp-worklist a:hover{color:var(--wp--preset--color--pink-strong)}
.tsp-detail{border-top:1px solid #e2dfe6}.tsp-chips-wrap{padding-block:2rem!important}
.is-style-tsp-cta .wp-block-buttons{margin:0}
/* Strip */
.is-style-tsp-strip p{margin:0;color:#fff}
/* Footer */
.tsp-footer a{color:#d9cce3;text-decoration:none}.tsp-footer a:hover{color:var(--wp--preset--color--pink)}
.tsp-footer h3{color:var(--wp--preset--color--yellow);font-size:.78rem;letter-spacing:.12em;text-transform:uppercase}
.tsp-footer p{color:#d9cce3}
.tsp-footer .wp-block-site-logo{margin:0 0 1rem}.tsp-footer .wp-block-site-logo img,.tsp-footer .wp-block-image img{width:72px;height:72px;border-radius:50%;background:#fff;object-fit:contain}
.tsp-footer-cols{gap:2.5rem!important}
.tsp-footer-base{border-top:1px solid rgba(255,255,255,.16);font-size:.78rem;margin-top:2rem;padding-top:1.25rem}.tsp-footer-base p{margin:0}
@media(max-width:781px){html{scroll-padding-top:5rem}.admin-bar header.wp-block-template-part{top:calc(46px - var(--tsp-topbar-h,38px))}}
:focus-visible{outline:2px solid var(--wp--preset--color--primary);outline-offset:3px}
.is-style-tsp-slide :focus-visible,.is-style-tsp-band :focus-visible,.is-style-tsp-cta :focus-visible,.tsp-footer :focus-visible,.tsp-topbar :focus-visible,.tsp-slide--split :focus-visible{outline-color:#fff}
.tsp-form-placeholder{border:2px dashed var(--wp--preset--color--primary);padding:1.25rem;background:var(--wp--preset--color--tint)}

/* Never let content create sideways scrolling on small screens */
.wp-site-blocks{overflow-x:clip}
.tsp-slide .wp-block-cover__inner-container,.tsp-slide--split{min-width:0}
.tsp-slide h1,.tsp-slide h2{overflow-wrap:anywhere}
@media(max-width:781px){.is-style-tsp-slide .wp-block-cover__inner-container{padding-top:3rem;padding-bottom:5.5rem}.tsp-slide--split{padding-block:3rem 5.5rem}.tsp-slide p:not(.is-style-tsp-eyebrow){font-size:1.05rem}.is-style-tsp-header .wp-block-navigation{order:3}}

/* TSP v2.2 visual fidelity: footer identity, balanced grids and responsive rhythm. */
.tsp-footer .tsp-footer-brand{display:flex;align-items:center;gap:12px;margin:0 0 1.25rem;flex-wrap:nowrap}
.tsp-footer .tsp-footer-brand .wp-block-site-logo,.tsp-footer .tsp-footer-brand .wp-block-image{margin:0!important;flex:0 0 48px;width:48px!important}
.tsp-footer .tsp-footer-brand img,.tsp-footer .wp-block-site-logo img,.tsp-footer .wp-block-image img{display:block!important;width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important;object-fit:contain!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.tsp-footer .tsp-footer-brand .tsp-footer-name,.tsp-footer .tsp-footer-brand .tsp-footer-name a{font-family:var(--wp--preset--font-family--heading,inherit);font-size:1.15rem!important;line-height:1.14!important;font-weight:800!important;letter-spacing:-.025em;color:#fff!important;margin:0!important;text-decoration:none}
.tsp-footer .tsp-footer-cols{align-items:start;gap:clamp(1.5rem,3vw,3rem)!important}
.tsp-footer .tsp-footer-cols>.wp-block-column{min-width:0;overflow-wrap:anywhere}
.tsp-footer .tsp-footer-cols>.wp-block-column:first-child{flex-basis:27%}
.tsp-footer .tsp-footer-cols>.wp-block-column:not(:first-child){flex-basis:23%}
.tsp-footer .tsp-footer-cols p{line-height:1.65}
.tsp-footer .tsp-footer-base{margin-top:2.5rem}
.tsp-main .is-style-tsp-split{gap:clamp(1.5rem,4vw,4.5rem);align-items:center}
.tsp-main .is-style-tsp-split>.wp-block-column{min-width:0}
.tsp-main .is-style-tsp-split .wp-block-image img{width:100%;height:auto;max-width:100%;object-fit:cover}
.tsp-main .is-style-tsp-split h1,.tsp-main .is-style-tsp-split h2{font-size:clamp(2.3rem,4.35vw,3.65rem);line-height:1.1;letter-spacing:-.035em;overflow-wrap:normal;word-break:normal}
.tsp-stages{position:relative}
@media(min-width:1001px){.tsp-grid.tsp-stages:before{content:"";position:absolute;top:16px;left:17px;right:17px;height:2px;background:rgba(46,126,124,.32);pointer-events:none}.tsp-grid.tsp-stages>.tsp-stage{z-index:1}}
@media(max-width:1000px){.tsp-footer .tsp-footer-cols>.wp-block-column{flex-basis:calc(50% - 1.5rem)!important}}
@media(max-width:781px){.tsp-footer .tsp-footer-cols{gap:2rem!important}.tsp-main .is-style-tsp-split h1,.tsp-main .is-style-tsp-split h2{font-size:clamp(2rem,8vw,3rem)}.tsp-footer .tsp-footer-cols>.wp-block-column{flex-basis:100%!important}.tsp-grid.tsp-stages:before{display:none}}
@media(max-width:480px){.tsp-footer .tsp-footer-brand{gap:10px}.tsp-footer .tsp-footer-brand .tsp-footer-name{font-size:1.05rem!important}.tsp-main .is-style-tsp-section{padding-inline:clamp(16px,5vw,24px)}.tsp-main .is-style-tsp-split{gap:1.4rem}}


/* TSP v2.3: header alignment and founder carousel slide fidelity */
.tsp-topbar{padding-block:.38rem}
.tsp-topbar .tsp-topbar-inner{gap:.8rem 1.25rem}
.tsp-topbar .tsp-topbar-meta,.tsp-topbar .tsp-topbar-links p{font-size:.82rem;line-height:1.35}
.tsp-topbar .tsp-topbar-links{gap:.9rem;min-width:0}
.tsp-topbar .tsp-topbar-links .wp-block-social-links{margin:0}
.is-style-tsp-header{border-bottom:1px solid #ece7f0;background:#fff}
.is-style-tsp-header>.tsp-header-shell{padding-block:1rem;gap:1.75rem;flex-wrap:nowrap}
.tsp-header-brand{flex:0 0 auto;gap:1rem;min-width:0}
.tsp-header-brand .wp-block-site-logo{margin:0}
.tsp-header-brand .wp-block-site-logo img{display:block;width:56px;height:56px;max-width:none}
.tsp-header-brand .wp-block-site-title{margin:0;font-size:1.12rem;line-height:1.04;max-width:190px}
.tsp-header-nav{flex:1 1 auto;justify-content:center;min-width:0}
.tsp-header-nav .wp-block-navigation{width:100%;justify-content:center}
.tsp-header-nav .wp-block-navigation__container{gap:2rem;flex-wrap:wrap;justify-content:center}
.tsp-header-nav .wp-block-navigation-item__content{font-weight:600}
.tsp-header-cta{flex:0 0 auto;margin-left:auto}
.tsp-header-cta .wp-block-button__link{padding-inline:1.5rem;white-space:nowrap}
.tsp-slide--founder .wp-block-cover__background{background:linear-gradient(90deg,rgba(42,10,58,.96) 0%,rgba(42,10,58,.88) 30%,rgba(88,38,109,.54) 48%,rgba(88,38,109,.12) 66%,rgba(88,38,109,0) 84%),linear-gradient(0deg,rgba(22,8,28,.32),rgba(22,8,28,0) 36%)!important;opacity:1!important}
.tsp-slide--founder .wp-block-cover__image-background{object-position:71% center}
.tsp-slide--founder .wp-block-cover__inner-container{padding-top:4.2rem;padding-bottom:5.8rem}
.tsp-slide--founder h2{max-width:11ch;font-size:clamp(2.5rem,5.15vw,4.55rem)}
.tsp-slide--founder p:not(.is-style-tsp-eyebrow){max-width:34rem;font-size:1.14rem;line-height:1.58}
.tsp-slide--founder .wp-block-buttons{margin-top:1.6rem;gap:1.1rem}
.tsp-slide--founder .wp-block-button:first-child .wp-block-button__link{padding-inline:1.5rem}
@media(max-width:1100px){.tsp-header-nav .wp-block-navigation__container{gap:1.35rem}.tsp-header-brand .wp-block-site-title{font-size:1.04rem;max-width:170px}}



/* v2.5 responsive correction: one-row mobile identity / navigation and compact typography. */
@media (max-width: 960px){
 .tsp-topbar .tsp-topbar-meta{display:none}
 .tsp-topbar .tsp-topbar-inner{justify-content:center}
 .tsp-topbar .tsp-topbar-links{justify-content:center;gap:.65rem}
 .is-style-tsp-header>.tsp-header-shell{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand nav";gap:.5rem!important;padding-block:.7rem!important;align-items:center!important;min-height:76px}
 .tsp-header-brand{grid-area:brand;gap:.6rem!important;min-width:0}
 .tsp-header-brand .wp-block-site-logo img{width:42px!important;height:42px!important;max-width:42px!important}
 .tsp-header-brand .wp-block-site-title{font-size:clamp(.93rem,2.2vw,1.15rem)!important;line-height:1.12!important;max-width:210px!important;min-width:0}
 .tsp-header-nav{grid-area:nav;min-width:44px;max-width:60px;justify-self:end!important;flex-basis:auto!important;width:auto!important;margin:0!important;order:initial!important}
 .tsp-header-nav .wp-block-navigation{width:auto!important;justify-content:flex-end!important}
 .tsp-header-nav .wp-block-navigation__responsive-container-open{display:flex!important;align-items:center;justify-content:center;width:44px;height:44px}
 .tsp-header-nav .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
 .tsp-header-cta{display:none!important}
 .wp-block-navigation__responsive-container.is-menu-open{z-index:100001!important}
 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{padding-top:3rem}
}
@media (max-width: 600px){
 .tsp-topbar{padding-block:.3rem!important;min-height:0!important}
 .tsp-topbar .tsp-topbar-links p{font-size:clamp(.67rem,2.7vw,.8rem)!important;overflow-wrap:anywhere;text-align:center}
 .is-style-tsp-header>.tsp-header-shell{min-height:66px!important;padding-block:.55rem!important}
 .tsp-header-brand .wp-block-site-logo img{width:37px!important;height:37px!important;max-width:37px!important}
 .tsp-header-brand .wp-block-site-title{font-size:clamp(.84rem,3.6vw,1.06rem)!important}
 .tsp-slide h1,.tsp-slide h2{font-size:clamp(2rem,8.4vw,2.8rem)!important;line-height:1.09!important;letter-spacing:-.035em!important;overflow-wrap:normal!important;word-break:normal!important}
 .tsp-slide .wp-block-cover__inner-container{padding:2.8rem 20px 5.8rem!important}
 .tsp-slide p:not(.is-style-tsp-eyebrow){font-size:clamp(.97rem,3.5vw,1.1rem)!important;line-height:1.5!important}
 .tsp-slide .is-style-tsp-eyebrow{font-size:.7rem!important;letter-spacing:.09em;line-height:1.5}
 .tsp-carousel .tsp-car-ctl{padding-inline:20px;padding-bottom:1.1rem;justify-content:center;gap:.35rem}
 .tsp-car-dot{width:22px}.tsp-car-dot[aria-current="true"]{width:32px}
 .tsp-car-btn{width:40px;height:40px;flex:0 0 40px}
 .tsp-car-dots{gap:.25rem;margin:0 .15rem}
 .tsp-carousel .tsp-slide{min-height:min(730px,90svh)!important}
 .tsp-grid.tsp-stats{grid-template-columns:minmax(0,1fr)!important;gap:1.5rem!important}
 .tsp-stat{min-width:0!important;max-width:100%!important}
 .tsp-stat .is-style-tsp-stat-number{font-size:clamp(2.7rem,12vw,4rem)!important;line-height:1.15!important}
 .tsp-stat p:not(.is-style-tsp-stat-number){font-size:.94rem!important;max-width:36rem;line-height:1.55!important}
 .tsp-main .is-style-tsp-section{padding-inline:20px!important}
 .tsp-main .is-style-tsp-split h1,.tsp-main .is-style-tsp-split h2{font-size:clamp(1.9rem,7.8vw,2.65rem)!important}
 .tsp-main .is-style-tsp-lead{padding-right:0!important}
}

/* Responsive safeguards shared by all template patterns. */
.tsp-main .wp-block-columns > .wp-block-column{min-width:0}
.tsp-main .wp-block-image img{max-width:100%;height:auto}
.tsp-main .tsp-grid > *{min-width:0}
.tsp-footer .tsp-footer-brand{max-width:100%}
.tsp-footer .tsp-footer-brand .tsp-footer-name{min-width:0;overflow-wrap:normal}
@media(max-width:781px){
 .tsp-main .wp-block-columns.is-style-tsp-split{flex-wrap:wrap!important}
 .tsp-main .wp-block-columns.is-style-tsp-split>.wp-block-column{flex-basis:100%!important}
 .tsp-main .tsp-grid.is-layout-grid{grid-template-columns:minmax(0,1fr)!important}
 .tsp-main .is-style-tsp-section{padding-block:clamp(2.4rem,7vw,4rem)}
 .tsp-main .is-style-tsp-lead{padding-right:0!important}
}
@media(max-width:600px){
 .tsp-main .tsp-footer-cols{gap:1.7rem}
}
/* Founder cover: guard against theme-wide heading colour overrides. */
.tsp-carousel .tsp-slide--founder h2{color:#fff!important}
.tsp-carousel .tsp-slide--founder h2 .has-yellow-color{color:var(--wp--preset--color--yellow,#ffcc00)!important}

/* Carousel highlight contrast: inline WordPress mark colours must remain legible. */
.tsp-carousel .tsp-slide h1 mark.has-yellow-color,
.tsp-carousel .tsp-slide h2 mark.has-yellow-color,
.tsp-carousel .tsp-slide h1 .has-inline-color.has-yellow-color,
.tsp-carousel .tsp-slide h2 .has-inline-color.has-yellow-color {
  color: var(--wp--preset--color--yellow, #ffcc00) !important;
  -webkit-text-fill-color: currentColor;
}

/* Block editor parity: the front-end's shared section gutter is also visible
   when editing core TSP page sections in Gutenberg. Scoped to editor canvas. */
.editor-styles-wrapper .tsp-main,
.editor-styles-wrapper .wp-block-post-content { --tsp-gutter:24px; }
@media(max-width:781px) {
  .editor-styles-wrapper .tsp-main,
  .editor-styles-wrapper .wp-block-post-content { --tsp-gutter:20px; }
}
.editor-styles-wrapper .tsp-main .is-style-tsp-section,
.editor-styles-wrapper .wp-block-post-content .is-style-tsp-section {
  padding-inline:var(--tsp-gutter)!important;
}

/* RC6 QA: full-width platinum lockup, preserve the original standalone icon rules. */
.tsp-footer .tsp-footer-brand:has(img[src*="footer-logo-platinum"]) {display:block!important;}
.tsp-footer .tsp-footer-brand .wp-block-image:has(img[src*="footer-logo-platinum"]),
.tsp-footer .tsp-footer-brand .wp-block-image:has(img[src*="footer-logo-platinum"]) img,
.tsp-footer img[src*="footer-logo-platinum"] {
  display:block!important; width:min(100%,230px)!important; height:auto!important;
  max-width:230px!important; max-height:none!important; flex:initial!important;
  object-fit:contain!important; background:transparent!important; box-shadow:none!important;
}
@media(max-width:781px){.tsp-footer img[src*="footer-logo-platinum"]{width:min(100%,220px)!important;}}
/* RC6 QA: strengthen mobile cover contrast behind text, retaining right-anchored photography. */
@media(max-width:600px){
  .tsp-carousel > .tsp-slide.wp-block-cover:not(.tsp-slide--founder) > .wp-block-cover__background {
    background:linear-gradient(90deg,rgba(32,9,44,.96) 0%,rgba(32,9,44,.9) 50%,rgba(32,9,44,.68) 100%)!important;
    opacity:1!important;
  }
  .tsp-carousel .is-style-tsp-eyebrow, .tsp-carousel .tsp-eyebrow {font-size:max(12px,.75rem)!important;}
}

/* WordPress accessible-name text: hidden visually, not from assistive technology. */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;margin:-1px;padding:0;position:absolute;overflow:hidden;white-space:nowrap;word-wrap:normal}
.screen-reader-text:focus{clip:auto;clip-path:none;height:auto;width:auto;margin:0;padding:.75rem;position:absolute;top:5px;left:5px;z-index:100000;background:#fff;color:#431657;outline:2px solid currentColor;white-space:normal}
