/* Built Image — shared theme for the inner pages (matches the homepage).
   Loaded after each page's own styles. */
:root{--bi-burgundy:#561C27;--bi-rose:#e7b9c1;--bi-ease:cubic-bezier(.22,1,.36,1);--bi-ease-io:cubic-bezier(.77,0,.18,1)}

/* ---------- Hero: corner logo outline that draws, then fills like a loader ---------- */
.bi-hero-mark{position:absolute;z-index:2;left:clamp(-9rem,-7vw,-3rem);bottom:clamp(-10rem,-13vh,-4rem);width:clamp(240px,26vw,400px);aspect-ratio:141/150;pointer-events:none}
.bi-hero-mark svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.bi-hero-mark .o path{fill:none;stroke:rgba(255,255,255,.34);stroke-width:.42;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1}
.bi-hero-mark.bi-go .o path{animation:biDraw 3.4s .4s cubic-bezier(.45,0,.2,1) forwards}
.bi-hero-mark .f{clip-path:inset(100% 0 0 0)}
.bi-hero-mark.bi-go .f{animation:biFillUp 10s 3.2s var(--bi-ease-io) infinite}
.bi-hero-mark .f path{fill:url(#biHeroFill)}
.bi-hero-mark.on-light .o path{stroke:rgba(86,28,39,.32)}
@keyframes biDraw{to{stroke-dashoffset:0}}
@keyframes biFillUp{0%{clip-path:inset(100% 0 0 0);opacity:1}38%{clip-path:inset(0 0 0 0);opacity:1}78%{clip-path:inset(0 0 0 0);opacity:1}100%{clip-path:inset(0 0 0 0);opacity:0}}
@media(max-width:700px){.bi-hero-mark{width:170px;left:-3.5rem;bottom:-3rem}}

/* hero key word on dark photos: white italic with a slim burgundy underline (homepage style) */
section.hero .hero-title em{color:#fff!important;-webkit-text-fill-color:#fff;background:none!important;font-style:italic;position:relative;display:inline-block;isolation:isolate;text-shadow:none}
section.hero .hero-title em::after{content:'';position:absolute;left:0;right:0;bottom:.1em;height:.12em;z-index:-1;background:linear-gradient(90deg,#561C27,#7d2b3b);border-radius:1px;transform:scaleX(0);transform-origin:left center;animation:biUnder 1.2s 1.1s var(--bi-ease) forwards}
@keyframes biUnder{to{transform:scaleX(1)}}

/* ---------- "Let's build your vision" sections: brand gradient + glass logo film ---------- */
.bi-cta2{position:relative;overflow:hidden;isolation:isolate;color:#fff!important;border:0!important;
  background:#120609 url('../images/bi-grad-brand.webp') 0 0/100% 100% no-repeat!important;padding:clamp(6.5rem,15vh,10rem) clamp(1.5rem,5vw,6rem)!important}
.bi-cta2::before,.bi-cta2::after{display:none!important}
.bi-cta2 [class*="eyebrow"]{color:rgba(255,255,255,.58)!important;letter-spacing:.38em}
.bi-cta2 .cta-title{color:#fff!important;font-size:clamp(2.4rem,5vw,4.2rem)!important}
.bi-cta2 .cta-title em{color:var(--bi-rose)!important;-webkit-text-fill-color:var(--bi-rose);background:none!important}
.bi-cta2 .cta-sub{color:rgba(255,255,255,.72)!important}
.bi-cta2 .cta-row a,.bi-cta2 .cta-buttons a{border-radius:999px!important;padding:1rem 2rem!important;color:#fff!important;background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.24)!important;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .35s,border-color .35s,transform .35s var(--bi-ease),color .35s!important;box-shadow:none!important}
.bi-cta2 .cta-row a:first-child,.bi-cta2 .cta-buttons a:first-child{background:#fff!important;color:var(--bi-burgundy)!important;border-color:#fff!important}
.bi-cta2 .cta-row a:hover,.bi-cta2 .cta-buttons a:hover{background:#fff!important;color:var(--bi-burgundy)!important;border-color:#fff!important;transform:translateY(-2px)}
.bi-cta2 .cta-contact-items{border-top-color:rgba(255,255,255,.12)!important}
.bi-cta2 .cta-contact-item{color:rgba(255,255,255,.7)!important}
.bi-cta2 .cta-contact-item:hover{color:#fff!important}
.bi-cta2>*:not(.bi-cta-video){position:relative;z-index:1}
.bi-cta-video{position:absolute;z-index:0;right:clamp(1rem,5vw,6rem);top:50%;translate:0 -50%;height:min(70%,350px);width:auto;aspect-ratio:1;pointer-events:none;
  -webkit-mask-image:radial-gradient(closest-side,#000 70%,transparent 100%);mask-image:radial-gradient(closest-side,#000 70%,transparent 100%);opacity:0;transition:opacity 1.4s var(--bi-ease)}
.bi-cta-video.on{opacity:1}
.bi-cta2 .bi-cta-video{right:clamp(.5rem,2.5vw,3.5rem);height:min(58%,300px)}
@media(max-width:1380px){.bi-cta-video{position:relative;display:block;right:auto;top:auto;translate:none;height:auto;width:min(300px,72vw);margin:-3rem auto .5rem}}

/* ---------- Footer: dark brand gradient ---------- */
.footer{background:#12060a url('../images/bi-grad-brand.webp') 0 0/100% 100% no-repeat!important;color:rgba(255,255,255,.6);border-top:0}
.footer .footer-cta-band{background:#fff}
.footer-brand-logo{filter:brightness(0) invert(1)}
.footer-brand p{color:rgba(255,255,255,.6)!important}
.footer-col h4,.footer-social h4{color:#fff!important}
.footer-col a{color:rgba(255,255,255,.72)!important}
.footer-col a:hover{color:#fff!important}
.footer-col span{color:rgba(255,255,255,.5)}
.footer-social-icons a{border-color:rgba(255,255,255,.22)!important;color:rgba(255,255,255,.8)!important}
.footer-social-icons a:hover{background:#fff!important;border-color:#fff!important;color:var(--bi-burgundy)!important}
.footer-divider{background:linear-gradient(90deg,transparent,rgba(255,255,255,.14) 30%,rgba(255,255,255,.14) 70%,transparent)!important}
.footer-bottom p,.footer-bottom a{color:rgba(255,255,255,.5)!important}
.footer-bottom a:hover{color:#fff!important}

/* footer call to action band (same on every page) */
.footer-cta-band{position:relative;z-index:2;padding:clamp(5rem,10vh,8rem) clamp(1.5rem,5vw,6rem);text-align:center;background:#fff;overflow:hidden;border-bottom:1px solid rgba(10,10,10,.06)}
.footer-cta-tagline{font-size:clamp(2.4rem,5.5vw,4.5rem);font-weight:300;color:#0A0A0A;line-height:1.12;letter-spacing:-.02em;margin-bottom:1.5rem;position:relative;z-index:1}
.footer-cta-tagline em{font-style:italic;color:var(--bi-burgundy)}
.footer-cta-sub{font-size:.78rem;font-weight:400;color:rgba(10,10,10,.55);letter-spacing:.06em;margin-bottom:2.5rem;position:relative;z-index:1;line-height:1.8}
/* footer call to action: "Start a Conversation" */
.footer-cta-tagline em{position:relative;display:inline-block}
.footer-cta-btn.bi-talk{position:relative;overflow:hidden;display:inline-flex;align-items:center;gap:.9rem;padding:.55rem .6rem .55rem 1.8rem;border-radius:999px;border:0;background:var(--bi-burgundy);color:#fff;
  font-size:.68rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;box-shadow:0 14px 34px rgba(86,28,39,.28);transition:transform .4s var(--bi-ease),box-shadow .4s;position:relative;z-index:1}
.footer-cta-btn.bi-talk::before{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.28) 50%,transparent 70%);transform:translateX(-120%);animation:biBtnSheen 4s 1s ease-in-out infinite}
.footer-cta-btn.bi-talk:hover{background:var(--bi-burgundy);color:#fff;transform:translateY(-3px);box-shadow:0 20px 44px rgba(86,28,39,.36)}
.footer-cta-btn.bi-talk{display:inline-flex!important;width:auto!important;height:auto!important;max-width:none!important}
.footer-cta-btn.bi-talk>span:first-child{display:inline!important;font-size:.68rem!important}
.footer-cta-btn.bi-talk>span:first-child svg{display:none!important}
.footer-cta-btn.bi-talk .bi-talk-ic{flex:0 0 40px;width:40px!important;height:40px!important;border-radius:50%;background:#fff;color:var(--bi-burgundy);display:flex;align-items:center;justify-content:center;transition:transform .45s var(--bi-ease)}
.footer-cta-btn.bi-talk .bi-talk-ic svg{width:16px!important;height:16px!important;transform:none!important}
.footer-cta-btn.bi-talk:hover .bi-talk-ic{transform:rotate(-45deg)}
.bi-talk-alt{display:flex;justify-content:center;gap:1.6rem;margin-top:1.4rem;position:relative;z-index:1}
.bi-talk-alt a{font-size:.62rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:rgba(10,10,10,.55);display:inline-flex;align-items:center;gap:.45rem;transition:color .3s}
.bi-talk-alt a:hover{color:var(--bi-burgundy)}
.bi-talk-alt svg{width:14px!important;height:14px!important}
.bi-talk-alt a{display:inline-flex!important}
@keyframes biBtnSheen{0%,60%{transform:translateX(-120%)}100%{transform:translateX(120%)}}
/* tagline words rise in, gentle shimmer on the key word */
.footer-cta-tagline .bi-tw{display:inline-block;opacity:0;transform:translateY(.45em);filter:blur(6px);transition:opacity .8s var(--bi-ease),transform 1s var(--bi-ease),filter .9s var(--bi-ease);transition-delay:calc(var(--i,0) * .09s)}
.footer-cta-band.bi-on .footer-cta-tagline .bi-tw{opacity:1;transform:none;filter:none}
.footer-cta-tagline em .bi-tw{color:transparent;background:linear-gradient(110deg,var(--bi-burgundy) 0%,var(--bi-burgundy) 42%,#c98a96 50%,var(--bi-burgundy) 58%,var(--bi-burgundy) 100%);background-size:260% 100%;-webkit-background-clip:text;background-clip:text;animation:biShimmer 5.5s 1.6s ease-in-out infinite;padding-right:.06em}
.footer-cta-tagline em::after{content:'';position:absolute;left:0;right:0;bottom:.02em;height:.08em;background:var(--bi-burgundy);opacity:.25;transform:scaleX(0);transform-origin:left;transition:transform 1.2s .3s var(--bi-ease)}
.footer-cta-band.bi-on .footer-cta-tagline em::after{transform:scaleX(1)}
@keyframes biShimmer{0%{background-position:100% 0}55%,100%{background-position:0 0}}

/* ---------- Client logo marquee (white logos on the brand band) ---------- */
.bi-logos{background:#12060a url('../images/bi-grad-partners.webp') 0 0/100% 100% no-repeat;padding:clamp(3rem,7vh,5rem) 0;overflow:hidden}
.bi-logos .partners-viewport{position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.bi-logos .partners-track{display:flex;width:max-content;align-items:center;gap:clamp(2.5rem,5vw,4.5rem);animation:biLogoScroll 70s linear infinite;padding:1rem 0}
.bi-logos a.bi-logo{display:flex;align-items:center;justify-content:center;gap:.6rem;flex-shrink:0;height:64px;opacity:.78;transition:opacity .4s,transform .5s var(--bi-ease)}
.bi-logos a.bi-logo:hover{opacity:1;transform:translateY(-3px)}
.bi-logos .bi-logo-mark{display:block;height:var(--h,40px);width:var(--w,120px);background:#fff;-webkit-mask:var(--src) center/contain no-repeat;mask:var(--src) center/contain no-repeat}
.bi-logos .bi-logo-text{font-size:1.25rem;font-weight:600;color:#fff;white-space:nowrap}
@keyframes biLogoScroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
[dir="rtl"] .bi-logos .partners-viewport{direction:ltr}

/* ---------- Images and cards: same hover language as the homepage ---------- */
@media (hover:hover){
  .bi-mono img{filter:grayscale(1) contrast(1.04);transition:transform 1.2s var(--bi-ease),filter .9s var(--bi-ease)}
  .bi-mono:hover img{filter:grayscale(0) contrast(1);transform:scale(1.06)}
}
.bi-rise{opacity:0;transform:translateY(46px);transition:opacity .9s var(--bi-ease) var(--d,0s),transform 1.1s var(--bi-ease) var(--d,0s)}
.bi-rise.in{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  .bi-hero-mark *,.footer-cta-btn.bi-talk::before,.footer-cta-tagline em .bi-tw,.bi-logos .partners-track{animation:none!important}
  .bi-rise{opacity:1;transform:none}
}

/* ---------- Partners wall: real client logos ---------- */
.wall-logo{display:flex;align-items:center;justify-content:center;gap:.55rem;min-height:64px;margin:.2rem 0 .7rem}
.wall-logo .bi-logo-mark{display:block;height:var(--h,40px);width:var(--w,120px);background:#22282B;-webkit-mask:var(--src) center/contain no-repeat;mask:var(--src) center/contain no-repeat;transition:background .4s,transform .5s var(--bi-ease)}
.wall-logo-text{font-size:1.3rem;font-weight:600;color:#22282B;transition:color .4s}
.wall-card:hover .wall-logo .bi-logo-mark{background:var(--bi-burgundy);transform:scale(1.04)}
.wall-card:hover .wall-logo-text{color:var(--bi-burgundy)}

/* ---------- Titles centred on every page ---------- */
/* About Us (legacy) hero */
.hero .hero-content{text-align:center;margin-inline:auto;display:flex;flex-direction:column;align-items:center}
.hero .hero-content .hero-eyebrow{justify-content:center}
.hero .hero-content .hero-subtitle,.hero .hero-content .hero-sub{margin-inline:auto}
.hero .hero-meta{justify-content:center}
section.hero:has(.hero-content){justify-content:center}
/* Our Solutions hero: title centred, figures in a row underneath */
.hero .hero-inner{display:flex!important;flex-direction:column;align-items:center;text-align:center;gap:clamp(2rem,4vw,3rem)!important}
.hero .hero-inner .hero-eyebrow{justify-content:center}
.hero .hero-inner .hero-desc{margin-inline:auto;max-width:560px}
.hero .hero-right{flex-direction:row!important;flex-wrap:wrap;justify-content:center;gap:clamp(1.5rem,4vw,4rem)!important}
.hero .hero-right .hero-stat{flex-direction:column;align-items:center;gap:.4rem}
/* Partners section headers */
.featured-header,.showcase-header{flex-direction:column;align-items:center!important;text-align:center;justify-content:center!important}
.showcase-header-left{flex:none!important}
.featured-eyebrow,.showcase-eyebrow{justify-content:center}

/* ---------- Dark tab bars: white instead of burgundy ---------- */
.pf-filter-btn.active{background:#fff!important;color:#0A0A0A!important}
.pf-profile-btn{background:rgba(255,255,255,.1)!important;color:#fff!important;border:1px solid rgba(255,255,255,.28)!important}
.pf-profile-btn:hover{background:#fff!important;color:#0A0A0A!important}
.showcase .showcase-eyebrow{color:rgba(255,255,255,.55)!important}
