/* Phone layout safety net for the React-built pages. Only applies on narrow screens. */
@media (max-width:720px){
#root [style*="grid-template-columns"]:not(button){grid-template-columns:minmax(0,1fr)!important;gap:24px!important}
#root [style*="grid-template-columns"]>*{min-width:0}
#root section[style*="48px"],#root footer [style*="48px"]{padding-left:20px!important;padding-right:20px!important}
#root button[style*="grid-template-columns"]{display:flex!important;flex-wrap:wrap;align-items:baseline;gap:4px 12px!important;position:relative;padding:18px 52px 18px 20px!important}
#root button[style*="grid-template-columns"]>div:nth-child(3){flex:1 1 100%;font-size:18px!important}
#root button[style*="grid-template-columns"]>div:nth-child(4){position:absolute;right:18px;top:14px}
#root [style*="296px"]{padding:4px 20px 24px!important}
#root [style*="white-space: nowrap"]{white-space:normal!important}
#root a[href^="mailto"],#root a[href^="http"],#root a[href^="tel"]{overflow-wrap:anywhere}
#root img{max-width:100%}
#root h1,#root h2{overflow-wrap:break-word}
#pillars h2{font-size:clamp(30px,9vw,44px)!important}
#root footer a{display:inline-block;padding:8px 0}
/* first screen */
#root nav + section{padding-top:36px!important;padding-bottom:44px!important;min-height:700px!important;min-height:calc(100svh - 75px)!important}
#root nav + section h1{margin-bottom:18px!important}
#root nav + section p{font-size:17px!important;line-height:1.55!important}
#root .ts-hero-grid{margin-top:32px!important;gap:16px!important}
#root .ts-hero-grid p{margin-top:0!important}
#root .ts-hero-grid p + div{margin-top:16px!important;gap:10px!important}
#root .ts-hero-grid a{padding:11px 18px!important;font-size:12px!important}
#root div.ts-pillar-strip[style]{margin-top:18px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important}
#root div.ts-pillar-strip[style]>div{padding:12px 6px!important;text-align:center;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important}
#root div.ts-pillar-strip[style]>div>div{position:static!important;margin:0!important;white-space:normal!important;text-align:center!important;line-height:1.25!important}
#root div.ts-pillar-strip[style]>div>div:first-child{font-size:18px!important}
#root div.ts-pillar-strip[style]>div>div:last-child{font-size:9.5px!important;letter-spacing:.14em!important}
#root .ts-pillar-strip + div{margin-top:44px!important}
#root nav + section.ts-hero-pad{padding-bottom:8px!important}
#root .ts-pillar-strip + div > div:first-child{margin-bottom:12px!important}
#root .ts-cred-row{justify-content:space-between!important;gap:8px!important}
/* eyebrow position */
#root nav + section{align-items:flex-start!important;justify-content:flex-start!important}
/* hero type scale (homepage keeps its larger headline) */
#root nav + section h1:not(.ts-hero-h1){font-size:34px!important;line-height:1.02!important;margin:32px 0 18px!important;letter-spacing:-0.015em!important}
#root nav + section h1:not(.ts-hero-h1) + div[style*="height: 3px"], #root nav + section h1:not(.ts-hero-h1) + div[style*="height:3px"]{display:none!important}
#root nav + section p{font-size:16px!important;line-height:1.55!important}
/* accreditations pinned to the bottom of the first screen */
#root nav + section.ts-hero-pad{display:flex!important;flex-direction:column!important}
#root nav + section.ts-hero-pad>div:nth-child(2){flex:1 1 auto;display:flex!important;flex-direction:column!important;width:100%}
#root nav + section.ts-hero-pad .ts-hero-grid{display:flex!important;flex-direction:column!important;flex:1 1 auto}
#root nav + section.ts-hero-pad .ts-hero-grid>div:last-child{flex:1 1 auto;display:flex!important;flex-direction:column!important}
#root nav + section.ts-hero-pad .ts-hero-grid>div:last-child>div:last-child{margin-top:auto!important;padding-top:12px}
#root nav + section.ts-hero-pad .ts-pillar-strip + div{margin-top:0!important;padding-top:10px}
}

@media (max-width:720px){
/* tap targets */
#root a, #root button{min-height:0}
#root section:not(.ts-hero-pad) a[href]:not([class*="btn"]):not(:has(img)), #root section:not(.ts-hero-pad) button:not([class*="btn"]){display:inline-flex!important;align-items:center;min-height:44px;padding-top:10px!important;padding-bottom:10px!important}
.lp-contact a{display:inline-flex;align-items:center;min-height:44px}
#root .ts-contact a, #root footer a{min-height:44px;display:inline-flex!important;align-items:center}
/* minimum text size */
#root div.ts-pillar-strip[style]>div>div:last-child{font-size:12px!important;letter-spacing:.1em!important}
}
@media (max-width:720px){
footer a, footer p, footer span:not(.ts-logo-sub), footer li{font-size:12px!important}
footer a{display:inline-flex!important;align-items:center;min-height:44px}
#root section div[style*="font-size: 11px"], #root section div[style*="font-size: 10.5px"], #root section div[style*="font-size: 10px"], .ts-field-label{font-size:12px!important}
}
@media (max-width:720px){
/* photo-led heroes (investors, covenant, humanitarian): title top, paragraph bottom, open middle */
#root nav + section:has(> div:nth-child(6)){flex-direction:column!important}
#root nav + section:has(> div:nth-child(6)) > div:last-child{flex:1 1 auto;display:flex!important;flex-direction:column!important;width:100%;z-index:2}
#root nav + section:has(> div:nth-child(6)) > div:last-child > p{margin-top:auto!important}
#root nav + section:has(> div:nth-child(6)) > div:nth-child(4){background:linear-gradient(180deg,rgba(24,29,49,.9) 0%,rgba(24,29,49,.62) 26%,rgba(24,29,49,.18) 44%,rgba(24,29,49,.2) 56%,rgba(24,29,49,.84) 76%,rgba(24,29,49,.96) 100%)!important}
}
@media (max-width:720px){
/* type scale below the hero */
#root section:not(.ts-hero-pad) h2, #root nav + section ~ * h2, #root .reveal h2{font-size:28px!important;line-height:1.08!important}
#root nav + section ~ * h3, #root .reveal h3, #root section:not(.ts-hero-pad) h3{font-size:20px!important;line-height:1.2!important}
#root .reveal p, #root nav + section ~ * p{font-size:16px!important;line-height:1.6!important}
#root .reveal h2 + p, #root .reveal h2 + div + p{font-size:17px!important}
#root .reveal p[style*="font-size: 13px"], #root .reveal p[style*="font-size: 12px"], #root .reveal p[style*="font-size: 14px"]{font-size:14px!important}
#root footer p{font-size:12px!important}
}
@media (max-width:720px){
/* team cards slide sideways */
#root .ts-team-grid{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px!important;background:none!important;border:0!important;margin:0 -22px!important;padding:0 22px 14px!important;scroll-padding:0 22px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
#root .ts-team-grid::-webkit-scrollbar{display:none}
#root .ts-team-grid>div{flex:0 0 84%!important;scroll-snap-align:start;border:1px solid rgba(253,190,16,.2)}
#root .ts-team-grid + .ts-swipe-hint, #root .ts-swipe-hint{display:block}
}
@media (max-width:720px){
/* who we work with: swipe cards */
#root .ts-aud-list{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;border:0!important;margin:0 -22px!important;padding:0 22px 14px!important;scroll-padding:0 22px;scrollbar-width:none}
#root .ts-aud-list::-webkit-scrollbar{display:none}
#root .ts-aud-item{flex:0 0 86%;scroll-snap-align:start;border:1px solid #E0E0E0!important;background:#FDF8E5;display:flex;flex-direction:column}
#root .ts-aud-head{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px!important;padding:22px 20px 14px!important;background:#FDF8E5!important;pointer-events:none;min-height:0!important}
#root .ts-aud-head{flex-wrap:nowrap!important;height:auto!important;width:100%!important}
#root .ts-aud-head>div{width:100%!important;white-space:normal!important}
#root .ts-aud-head>div:last-child{display:none!important}
#root .ts-aud-body{max-height:none!important}
#root .ts-aud-inner{padding:0 20px 22px!important;display:flex!important;flex-direction:column;gap:18px!important}
#root .ts-aud-inner a{min-height:44px}
}
/* phone: compact compliance text */
@media (max-width:720px){
#root footer .ts-foot-bot, #root footer .ts-foot-bot p, #root footer .ts-foot-bot span{font-size:10.5px!important;line-height:1.35!important}
#root footer .ts-foot-bot{padding-top:8px!important;gap:6px!important}
}
/* swipe rails: match section padding so the page never scrolls sideways */
@media (max-width:720px){
#root .ts-aud-list,#root .ts-team-grid{margin-left:-20px!important;margin-right:-20px!important;padding-left:20px!important;padding-right:20px!important;scroll-padding:0 20px}
}