/* TIFS brand palette: bright blue primary with a warm gold accent. */
:root{--tf-label-orange:#c2410c;--tf-navy:#0b63b6;--tf-blue:#0b63b6;--tf-gold:#ffae00;--tf-gold-soft:#fff2d2;--tf-blue-dark:#084d8e}
html body :is(.tf-footer,.tf-cta-card,.tf-consultancy-band,.tf-innovation-band,.ta-navy,.tf-contact-band .tf-contact-inner,.cta-band,.cta-block){background:var(--tf-blue)!important}
html body :is(.tf-footer,.tf-cta-card,.tf-consultancy-band,.tf-innovation-band,.ta-navy,.tf-contact-band .tf-contact-inner,.cta-band,.cta-block){border-color:#ffffff55!important}
html body :is(.tf-eyebrow,.ew,.eyebrow,.sh-sub,.ta-index){color:var(--tf-label-orange)!important}
html body :is(.ta-hero .tf-eyebrow,.tf-consultancy-hero .tf-eyebrow,.tf-innovation-hero .tf-eyebrow,.tf-hero .tf-eyebrow){color:var(--tf-label-orange)!important}
html body :is(.tf-link,.tf-page-back-link,.tf-desktop>a:hover,.tf-dropdown summary:hover,.tf-drop-panel a:hover){color:var(--tf-blue)!important}
html body :is(.tf-button,.btn-teal,.btn-pr,.cta-btn,.tf-cta-button,.tf-enquiry-submit){background:var(--tf-blue)!important;border-color:var(--tf-blue)!important;color:#fff!important}
html body :is(.tf-button,.btn-teal,.btn-pr,.cta-btn,.tf-cta-button,.tf-enquiry-submit):hover{background:var(--tf-blue-dark)!important;border-color:var(--tf-blue-dark)!important;color:#fff!important}
html body .tf-header .tf-desktop>a.tf-button:is(:hover,:focus,:focus-visible,:active){color:#fff!important}
html body :is(.tf-button--outline,.btn-ghost,.btn-ol,.cta-btn-o){border-color:var(--tf-gold)!important}
html body :is(.tf-button--outline,.btn-ghost,.btn-ol,.cta-btn-o):hover{background:var(--tf-gold-soft)!important;border-color:var(--tf-gold)!important}
html body :is(.tf-button--gold,.btn-gold,.tf-secondary-cta){background:var(--tf-gold)!important;border-color:var(--tf-gold)!important;color:#12283e!important}
html body :is(.tf-button--gold,.btn-gold,.tf-secondary-cta):hover{background:#e79b00!important;border-color:#e79b00!important}
html body :is(.tf-service>svg,.tf-who-values span,.tf-audience-list svg,.ta-values svg,.tf-innovation-icon){color:var(--tf-blue)!important}
html body :is(.tf-section--soft .tf-audience,.ta-purpose-grid article){border-color:var(--tf-blue)!important}
html body :is(.tf-enquiry-field input:focus,.tf-enquiry-field select:focus,.tf-enquiry-field textarea:focus){border-color:var(--tf-blue)!important;outline-color:#0b63b655!important}
html body :is(.tf-hero-grid:after,.ts-pages .tf-standard-banner:before){background:linear-gradient(90deg,#0b63b6f5 0%,#0b63b6d9 36%,#0b63b680 64%,#0b63b622 100%)!important}
html body :is(.tf-consultancy-hero,.ta-hero,.ts-pages .tf-home-banner.hero,.ts-pages .tf-home-banner.tf-directory-banner){background-color:var(--tf-blue)!important}
html body :is(.tf-actions,.tp-hero-actions,.tf-hero-actions,.page-hero-acts)>:is(.tf-button,.btn-teal,.btn-pr):first-child{background:var(--tf-blue)!important;border-color:var(--tf-blue)!important;color:#fff!important}
html body :is(.tf-actions,.tp-hero-actions,.tf-hero-actions,.page-hero-acts)>:is(.tf-button--outline,.btn-ghost,.btn-ol,.cta-btn-o):nth-child(2){background:#b87900!important;border-color:#b87900!important;color:#fff!important}
html body :is(.tf-actions,.tp-hero-actions,.tf-hero-actions,.page-hero-acts)>:is(.tf-button--outline,.btn-ghost,.btn-ol,.cta-btn-o):nth-child(2):hover{background:#965f00!important;border-color:#965f00!important;color:#fff!important}
html body :is(.tf-hero h1 em,.tf-slide-title em,.ta-hero h1 em,.tp-hero h1 em,.tf-consultancy-hero h1 em){color:var(--tf-gold)!important;font-style:normal}

/* Gold CTA buttons on shared blue panels. */
html body :is(.tf-footer,.tf-cta-card,.tf-consultancy-band,.tf-innovation-band,.ta-navy,.tf-contact-band .tf-contact-inner,.cta-band,.cta-block,.tp-cta>.tf-wrap,.page-hero,.pg-hero,.ta-hero,.tf-consultancy-hero,.tf-innovation-hero) :is(.tf-button,.tf-button--outline,.btn-teal,.btn-ghost,.btn-pr,.btn-ol,.cta-btn,.cta-btn-o,.cta-btn-w,.tf-cta-button,.tf-enquiry-submit){background:#b87900!important;border-color:#b87900!important;color:#fff!important}
html body :is(.tf-footer,.tf-cta-card,.tf-consultancy-band,.tf-innovation-band,.ta-navy,.tf-contact-band .tf-contact-inner,.cta-band,.cta-block,.tp-cta>.tf-wrap,.page-hero,.pg-hero,.ta-hero,.tf-consultancy-hero,.tf-innovation-hero) :is(.tf-button,.tf-button--outline,.btn-teal,.btn-ghost,.btn-pr,.btn-ol,.cta-btn,.cta-btn-o,.cta-btn-w,.tf-cta-button,.tf-enquiry-submit):hover{background:#965f00!important;border-color:#965f00!important;color:#fff!important}

/* Match the homepage banner treatment across the site's hero variants. */
html body :is(.tf-standard-banner,.tf-home-banner,.tf-directory-banner,.page-hero,.pg-hero,.hero,.ta-hero,.tp-hero,.tf-consultancy-hero,.tf-innovation-hero,.tf-hero) :is(.tf-eyebrow,.hero-pill,.page-hero-pill,.ew,.eyebrow){color:var(--tf-label-orange)!important}
html body :is(.tf-standard-banner,.tf-home-banner,.tf-directory-banner,.page-hero,.pg-hero,.hero,.ta-hero,.tp-hero,.tf-consultancy-hero,.tf-innovation-hero,.tf-hero) h1 :is(em,.hi,.accent,.highlight,span){color:var(--tf-gold)!important;font-style:normal}
html body .tf-consultancy-hero .tf-eyebrow{color:var(--tf-label-orange)!important}
html body .ta-hero .ta-hero-title>.tf-eyebrow{font-size:12px!important;line-height:1.5!important}
@media(max-width:600px){html body .ta-hero .ta-hero-title>.tf-eyebrow{font-size:11px!important}}

/* Replace the older pale-blue text accents with the current brand gold. */
html body :is(.tf-eyebrow,.tf-cta-label,.hero-pill,.page-hero-pill,.ta-hero .tf-eyebrow,.tf-hero .tf-eyebrow,.tf-contact-band .tf-eyebrow,.tf-recognition .tf-eyebrow,.tp-cta .tf-eyebrow,.tf-consultancy-hero .tf-eyebrow,.tf-consultancy-band .tf-eyebrow,.tf-innovation-band .tf-eyebrow,.ta-section[aria-labelledby=connect] .tf-eyebrow,.ts-pages .ts-home-banner .page-hero-pill,.ta-navy summary){color:var(--tf-label-orange)!important}
html body .ta-hero .ta-hero-title>.tf-eyebrow{color:var(--tf-label-orange)!important}
html body .ta-hero h1 em,html body .tf-consultancy-hero h1 em{color:var(--tf-gold)!important}
html body .tf-who-copy>.tf-eyebrow{color:var(--tf-label-orange)!important}

/* Keep eyebrow labels readable on the site's blue and navy surfaces. */
:root{--tf-eyebrow-on-blue:#ffe28c}
html body :is(.tf-footer,.tf-cta-card,.tf-consultancy-band,.tf-innovation-band,.ta-navy,.tf-contact-band .tf-contact-inner,.cta-band,.cta-block,.tp-cta>.tf-wrap,.tf-recognition,.tf-contact-hero,.tf-standard-banner,.tf-home-banner,.tf-directory-banner,.page-hero,.pg-hero,.hero,.ta-hero,.tp-hero,.tf-consultancy-hero,.tf-innovation-hero,.tf-hero,.pm-hero,.academy-hero) :is(.tf-eyebrow,.tf-cta-label,.ew,.eyebrow,.hero-pill,.page-hero-pill,.sh-sub,.ta-index){color:var(--tf-eyebrow-on-blue)!important}
