/* u5: illustration, texture and visual system tokens. Loaded last. Overrides only, no layout rewrites. */
:root{
  --u5-line:rgba(27,42,74,.12);
  --u5-tick:#F5C342;
  --u5-r-card:24px;--u5-r-chip:14px;--u5-r-btn:12px;
  --u5-ring:inset 0 0 0 1px rgba(27,42,74,.13);
  --u5-e1:0 1px 2px rgba(27,42,74,.05),0 16px 32px -24px rgba(27,42,74,.28);
  --u5-e2:0 30px 60px -36px rgba(27,42,74,.38);
  --u5-s:clamp(40px,4vw,56px);--u5-m:clamp(44px,5vw,72px);--u5-l:clamp(56px,6.67vw,96px);
}

/* 10. One divider system: navy 12% hairline with a 24px tick at the gutter (gold on white and paper, navy on yellow) */
.hero .hero-stats,.st-hero .hero-stats,.dark .hero-stats{--u5-tick:#1B2A4A}
.hero-stats,.wrap.t3-ask,.ft-base{border-top:1px solid var(--u5-line)!important;background-image:linear-gradient(var(--u5-tick),var(--u5-tick));background-size:24px 3px;background-position:0 0;background-repeat:no-repeat;background-origin:border-box}
section.clients{border-bottom:1px solid var(--u5-line)!important;background-image:linear-gradient(var(--u5-tick),var(--u5-tick));background-size:24px 3px;background-position:calc(max(0px,(100% - 1320px) / 2) + var(--gut)) 100%;background-repeat:no-repeat;background-origin:border-box}
.ft .g-ft-top{border-bottom-color:var(--u5-line)}
.t3-bar{border-bottom-color:var(--u5-line)}

/* 11. Paper grain: tiny inline SVG noise on the paper bands, about 2% */
.band.paper{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .106 0 0 0 0 .165 0 0 0 0 .29 1.4 0 0 0 -.45'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");background-size:180px 180px}

/* 12. Radius tokens: cards 24, chips 14, buttons 12 */
.case,.m3,.rcard,.vcard,.wp,.loc,article.hl,div.hl,a.feat,.aqa,.side-card,.takeaways,.tbl,figure.figure,.s4-exit,.statband,div.stage,div.rank,div.mega,div.apps,.chap-panel,.t3-win,.t3-chat,.bk-main,.bk-side,.g-cal,.g-ledger,.g-tailor,form.g-desk,.duo-c,.founder,.pillars,div.calc,div.dash,.bandchart,.cta-panel,.qa4-ac,.gated,.poster{border-radius:var(--u5-r-card)}
.cl,.hv-chip,.g-next,button.slot,button.day{border-radius:var(--u5-r-chip)}
.btn,.t3-btn{border-radius:var(--u5-r-btn)}

/* 13. Two elevation levels, both navy tinted. Level 1 for cards in the flow, level 2 for floating panels and media. */
.case,.m3,.rcard,.wp,.loc,article.hl,.founder,.duo-c,.aqa,.tbl,figure.figure,div.rank,.chap-panel,.bk-main,.g-tailor{box-shadow:var(--u5-ring),var(--u5-e1)}
div.apps,.pillars,.s4-exit{box-shadow:0 0 0 1px rgba(27,42,74,.13),var(--u5-e1)}
.s4-exit.s4-exit-l{box-shadow:none}
.vcard,.bandchart,.cta-panel,div.dash,div.mega,.hv-chip{box-shadow:var(--u5-e2)}
div.poster,.qa4-ac,div.stage,.t3-chat,.t3-win,.hv-f{box-shadow:0 0 0 1px rgba(27,42,74,.1),var(--u5-e2)}
.vframe{box-shadow:0 0 0 6px #F5C342,var(--u5-e2)}
div.calc{box-shadow:0 1px 0 rgba(27,42,74,.13),var(--u5-e2)}
.g-cal,.g-ledger{box-shadow:var(--u5-ring),var(--u5-e2)}

/* 14. Section rhythm: three steps. S for tight bands and the client strip, M for every band, L for the closing call to action */
.band{padding-top:var(--u5-m);padding-bottom:var(--u5-m)}
.band.tight{padding-top:var(--u5-s);padding-bottom:var(--u5-s)}
section.clients{padding-top:var(--u5-s);padding-bottom:var(--u5-s)}
.cta-big{padding-top:var(--u5-l)!important;padding-bottom:var(--u5-l)!important}

/* 5. Client strip: one weight, two sizes */
.u5-cl .cl.u5-lg,.u5-cl .cl.u5-sm{font:600 20px/1 var(--sans);letter-spacing:-.01em;text-transform:none;font-style:normal;position:relative}
.u5-cl .cl.u5-sm{font-size:17px}
/* 4. Region tag on hover */
.u5-reg{position:absolute;left:26px;top:9px;font:500 10px/1 var(--mono);letter-spacing:.04em;color:rgba(27,42,74,.72);text-decoration:none;opacity:0;transform:translateY(3px);transition:opacity .25s ease,transform .25s ease;pointer-events:none}
.cl:hover .u5-reg{opacity:1;transform:none;pointer-events:auto}
.u5-reg:hover{text-decoration:underline}
/* 3. JS eases each row to a stop under the cursor, so the CSS pause steps aside */
.u5-spd.clients:hover .cl-t{animation-play-state:running}

/* 6. Vendor rail: one 0 to 60% scale under the head, and the same quarter ticks inside every band */
.u5-scale{padding:0 var(--gut-r) 0 var(--gut);margin:-14px 0 26px}
.u5-scale-in{position:relative;max-width:100%}
.u5-sk{display:block;white-space:nowrap;font:500 12px/1.3 var(--mono);color:rgba(27,42,74,.78);margin-bottom:10px}
.u5-ruler{position:relative;height:22px;border-top:1px solid rgba(27,42,74,.45)}
.u5-ruler i{position:absolute;top:0;transform:translateX(-50%);padding-top:9px;font:500 11px/1 var(--mono);font-style:normal;color:#1B2A4A;white-space:nowrap}
.u5-ruler i::before{content:"";position:absolute;left:50%;top:-1px;width:1px;height:6px;background:#1B2A4A}
.u5-ruler i:first-child{transform:none}.u5-ruler i:first-child::before{left:0}
.u5-ruler i:last-child{transform:translateX(-100%)}.u5-ruler i:last-child::before{left:auto;right:0}
#rail .vcard .bv-track{background-image:linear-gradient(90deg,transparent calc(33.333% - .5px),rgba(27,42,74,.22) calc(33.333% - .5px) calc(33.333% + .5px),transparent calc(33.333% + .5px) calc(66.667% - .5px),rgba(27,42,74,.22) calc(66.667% - .5px) calc(66.667% + .5px),transparent calc(66.667% + .5px))}

/* 7. The last card's shadow was clipped by the rail container: give the shadow room, take it back with negative margin */
.rail-wrap{padding-top:14px;padding-bottom:48px;margin-top:-14px;margin-bottom:-48px}
@media(max-width:760px){#railSec .rail-wrap{padding-bottom:40px;margin-bottom:-28px}}

/* 15. The rule under the rail becomes a vendor by vendor progress scale (desktop, where the rail is pinned) */
.u5-prog{display:none}
@media(min-width:761px){
  body[data-page="home"] #railSec.u5-has-prog::after{display:none}
  .u5-prog{display:block;position:absolute;left:var(--gut);right:var(--gut-r);bottom:clamp(36px,5vh,56px);max-width:1320px;margin-inline:auto;pointer-events:none}
  .u5-pt{position:relative;height:1px;background:rgba(27,42,74,.24)}
  .u5-pt>i{position:absolute;top:-3px;width:1px;height:7px;margin-left:-.5px;background:rgba(27,42,74,.3);transition:background .3s}
  .u5-pt>i.on{background:#1B2A4A}
  .u5-pf{position:absolute;left:0;top:-1px;width:100%;height:3px;border-radius:3px;background:#1B2A4A;transform:scaleX(0);transform-origin:0 50%}
  .u5-ph{position:absolute;top:0;left:0;width:0;height:0}
  .u5-ph::before{content:"";position:absolute;left:-5px;top:-5px;width:10px;height:10px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 2px #1B2A4A}
  .u5-ph em{position:absolute;bottom:12px;left:0;transform:translateX(-12px);font:600 12px/1 var(--mono);font-style:normal;color:#1B2A4A;white-space:nowrap}
  .u5-ph.u5-r em{transform:translateX(calc(-100% + 12px))}
}

/* 8. Day or night state dot beside every live office clock, same colors as the globe pins */
.clock[data-u5sun]::before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:8px;vertical-align:-1px;background:#F5C342;box-shadow:inset 0 0 0 1.5px #1B2A4A,0 0 0 2.5px rgba(255,255,255,.85)}
.clock[data-u5sun="night"]::before{background:radial-gradient(circle,#1B2A4A 0 2px,#fff 2.5px)}

/* 9. Contact: office rows turn the globe */
#offices .office.u5-turn{cursor:default;outline-offset:6px;border-radius:12px}
#offices .office.u5-turn h4{text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:2px;text-underline-offset:5px;transition:text-decoration-color .25s}
#offices .office.u5-on h4{text-decoration-color:#1B2A4A}

/* 18. About: three time zone ribbon */
.u5-rib{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 24px;margin:clamp(24px,2.6vw,36px) 0 0;padding:14px 0;border-top:1px solid var(--u5-line);border-bottom:1px solid var(--u5-line)}
.u5-rk{font:500 12px/1 var(--mono);color:rgba(27,42,74,.7)}
.u5-rc{display:inline-flex;align-items:center;gap:8px;font:500 14px/1 var(--mono);color:#1B2A4A}
.u5-rc b{font:600 14px/1 var(--sans)}
.u5-rc i{width:10px;height:10px;border-radius:50%;background:#F5C342;box-shadow:inset 0 0 0 1.5px #1B2A4A,0 0 0 2.5px rgba(255,255,255,.85)}
.u5-rc[data-u5sun="night"] i{background:radial-gradient(circle,#1B2A4A 0 2px,#fff 2.5px)}
@media(max-width:600px){.u5-rib{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.u5-rc{justify-content:flex-start}}

/* 17. Cases: the saving gap between first quote and signed price, gold hatch with a tick at each end */
.case .ba-row .bar.u5-hasgap{position:relative}
.case .ba-row .bar.u5-hasgap i{border-radius:10px 0 0 10px}
.u5-gap{position:absolute;top:0;bottom:0;border-radius:0 10px 10px 0;background:repeating-linear-gradient(-45deg,#F5C342 0 2px,rgba(245,195,66,.28) 2px 5px);transform:scaleX(0);transform-origin:0 50%;transition:transform .9s cubic-bezier(.2,.8,.2,1)}
.u5-gap::before,.u5-gap::after{content:"";position:absolute;top:-3px;bottom:-3px;width:1.5px;background:#1B2A4A}
.u5-gap::before{left:0}.u5-gap::after{right:0}
.u5-gap.u5-in{transform:none}
@media(prefers-reduced-motion:reduce){.u5-gap{transition:none}}

/* 19. Contact hero: static line globe watermark, 6% navy */
body[data-page="contact"] main>section:first-child{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%231B2A4A' stroke-opacity='.06' stroke-width='.8'%3E%3Ccircle cx='100' cy='100' r='96'/%3E%3Cg transform='rotate(-18 100 100)'%3E%3Cellipse cx='100' cy='100' rx='72' ry='96'/%3E%3Cellipse cx='100' cy='100' rx='40' ry='96'/%3E%3Cpath d='M100 4v192'/%3E%3Cellipse cx='100' cy='60' rx='87' ry='9'/%3E%3Cellipse cx='100' cy='100' rx='96' ry='11'/%3E%3Cellipse cx='100' cy='140' rx='87' ry='9'/%3E%3Cellipse cx='100' cy='28' rx='63' ry='6'/%3E%3Cellipse cx='100' cy='172' rx='63' ry='6'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;background-size:min(640px,86vw) auto;background-position:right calc(var(--gut-r) * -1 - 60px) center}
@media(max-width:760px){body[data-page="contact"] main>section:first-child{background-position:right -30vw top 70px}}
@media print{.u5-prog,.u5-scale,.u5-gap{display:none}}
