
/* ===== 24 Oct update ===== */
:root{--eb-ink:#25313d;--eb-gold:#8b651d;--eb-gold-2:#b69555;--eb-sand:#e5d2a5;--eb-cream:#fffaf0;--eb-line:#e2d6bd}

/* ---------- Primary navbar ---------- */
#hdr .xh-burger,#hdr #nav.xh-nav{display:none!important}
#hdr .eb-header-row{gap:18px}
.eb-mainnav{display:flex;align-items:center;gap:4px;margin-inline:auto}
.eb-mn-item{position:relative}
.eb-mn-link{display:inline-flex;align-items:center;gap:7px;padding:10px 14px;border:0;background:none;font:600 15px/1.2 inherit;font-family:inherit;color:var(--eb-ink);text-decoration:none;cursor:pointer;border-radius:4px;white-space:nowrap;transition:color .2s,background .2s}
.eb-mn-link:hover,.eb-mn-item:focus-within>.eb-mn-link,.eb-mn-item.open>.eb-mn-link{color:var(--eb-gold);background:#f8f1e2}
.eb-mn-car{width:7px;height:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s}
.eb-mn-item.open .eb-mn-car{transform:translateY(1px) rotate(-135deg)}
.eb-mn-cta{background:var(--eb-sand);color:#302a1f;margin-inline-start:8px;padding:11px 18px}
.eb-mn-cta:hover{background:#d9c08a;color:#302a1f}
.eb-mn-drop{position:absolute;top:calc(100% + 10px);inset-inline-start:0;min-width:250px;background:#fff;border:1px solid var(--eb-line);border-top:3px solid var(--eb-gold-2);box-shadow:0 18px 40px rgba(37,49,61,.14);padding:8px;display:grid;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .2s,transform .2s,visibility 0s .2s;z-index:50}
.eb-mn-drop:before{content:'';position:absolute;left:0;right:0;top:-14px;height:14px}
.eb-mn-item.open .eb-mn-drop,.eb-mn-item:hover .eb-mn-drop{opacity:1;visibility:visible;transform:none;transition:opacity .2s,transform .2s}
.eb-mn-drop a{display:block;padding:11px 14px;color:var(--eb-ink);text-decoration:none;font-size:15px;border-radius:3px}
.eb-mn-drop a:hover,.eb-mn-drop a:focus-visible{background:#f8f1e2;color:var(--eb-gold)}
.eb-nav-toggle{display:none;width:44px;height:44px;border:1px solid var(--eb-line);background:#fff;border-radius:4px;padding:0;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.eb-nav-toggle span{display:block;width:20px;height:2px;background:var(--eb-ink);border-radius:2px}
@media(max-width:1240px){.eb-mn-link{padding:10px 10px;font-size:14px}.eb-mn-cta{padding:10px 14px}}
@media(max-width:1100px){.eb-mainnav{display:none}.eb-nav-toggle{display:inline-flex}}

/* mobile drawer */
.eb-drawer{position:fixed;inset:0;z-index:2000;background:rgba(20,26,33,.45);display:flex;justify-content:flex-end}
.eb-drawer[hidden]{display:none}
.eb-drawer-panel{width:min(360px,88vw);height:100%;overflow-y:auto;background:#fff;padding:18px 20px 30px;box-sizing:border-box;animation:ebDrIn .28s ease both;font-family:inherit}
@keyframes ebDrIn{from{transform:translateX(100%)}to{transform:none}}
html[dir=rtl] .eb-drawer{justify-content:flex-start}
html[dir=rtl] .eb-drawer-panel{animation-name:ebDrInR}
@keyframes ebDrInR{from{transform:translateX(-100%)}to{transform:none}}
.eb-drawer-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px;margin-bottom:6px;border-bottom:1px solid var(--eb-line)}
.eb-drawer-head b{font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:var(--eb-gold)}
.eb-drawer-x{width:40px;height:40px;border:0;background:#f8f1e2;font-size:26px;line-height:1;cursor:pointer;color:var(--eb-ink);border-radius:4px}
.eb-drawer .eb-dr-link,.eb-drawer summary{display:flex;align-items:center;justify-content:space-between;padding:15px 4px;font-weight:600;font-size:16px;color:var(--eb-ink);text-decoration:none;border-bottom:1px solid #f0e8d8;cursor:pointer;list-style:none}
.eb-drawer summary::-webkit-details-marker{display:none}
.eb-drawer summary:after{content:'+';font-size:22px;font-weight:400;color:var(--eb-gold)}
.eb-drawer details[open] summary:after{content:'−'}
.eb-drawer details a{display:block;padding:11px 14px;color:#5f4518;text-decoration:none;font-size:15px;border-inline-start:2px solid var(--eb-sand);margin:4px 0}
.eb-drawer details[open]{padding-bottom:10px}
.eb-dr-cta{display:block;margin-top:22px;text-align:center;background:var(--eb-sand);color:#302a1f;text-decoration:none;font-weight:700;padding:15px;border-radius:4px}
html.eb-drawer-lock,html.eb-drawer-lock body{overflow:hidden}

/* ---------- Hero: lighter fade + slider animation ---------- */
@media(min-width:761px){
 html body #top.eb-business-hero{position:relative!important}
 html body #top.eb-business-hero>.slides{position:absolute!important;inset:0!important;grid-column:1/-1!important;grid-row:1!important;min-height:0!important;height:100%!important;width:100%!important}
 html body #top.eb-business-hero>.slides:after,html[dir=rtl] body #top.eb-business-hero>.slides:after{background:linear-gradient(90deg,rgba(255,250,240,.62) 0%,rgba(255,250,240,.5) 28%,rgba(255,250,240,.28) 44%,rgba(255,250,240,.06) 58%,rgba(255,250,240,0) 66%)!important}
 html[dir=rtl] body #top.eb-business-hero>.slides:after{background:linear-gradient(270deg,rgba(255,250,240,.62) 0%,rgba(255,250,240,.5) 28%,rgba(255,250,240,.28) 44%,rgba(255,250,240,.06) 58%,rgba(255,250,240,0) 66%)!important}
 html body #top.eb-business-hero>.eb-hero-content{background:transparent!important;z-index:4!important}
}
@media(max-width:760px){
 html body #top.eb-business-hero>.slides{position:relative!important}
 html body #top.eb-business-hero>.slides:after,html[dir=rtl] body #top.eb-business-hero>.slides:after{background:linear-gradient(0deg,rgba(255,250,240,.55) 0%,rgba(255,250,240,.2) 10%,rgba(255,250,240,0) 26%)!important}
}
/* keep hero text legible on the lighter fade */
html body #top.eb-business-hero #ebHeroTitle,html body #top.eb-business-hero #ebHeroDescription,html body #top.eb-business-hero .eb-hero-kicker{text-shadow:0 0 18px rgba(255,250,240,.9),0 0 4px rgba(255,250,240,.8)!important}
html body #top.eb-business-hero>.slides>.slide{position:absolute!important;inset:0!important;overflow:hidden;visibility:visible!important;opacity:0!important;transition:opacity 1.2s ease!important;z-index:1}
html body #top.eb-business-hero>.slides>.slide.on{opacity:1!important;z-index:2}
html body #top.eb-business-hero>.slides>.slide img{transform:scale(1.14)!important;transition:transform 9s linear!important;will-change:transform}
html body #top.eb-business-hero>.slides>.slide.on img{transform:scale(1.02)!important}
#top .eb-hero-content.eb-txt-in>*{animation:ebTxtIn .9s cubic-bezier(.2,.7,.2,1) both}
#top .eb-hero-content.eb-txt-in>*:nth-child(2){animation-delay:.08s}
#top .eb-hero-content.eb-txt-in>*:nth-child(3){animation-delay:.16s}
#top .eb-hero-content.eb-txt-in>*:nth-child(4){animation-delay:.24s}
@keyframes ebTxtIn{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
/* slide indicators */
html body #top.eb-business-hero>.eb-hero-controls{display:flex!important;position:absolute!important;left:clamp(26px,4vw,76px)!important;right:auto!important;bottom:36px!important;top:auto!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;gap:14px!important;z-index:6!important;align-items:center}
html[dir=rtl] body #top.eb-business-hero>.eb-hero-controls{left:auto!important;right:clamp(26px,4vw,76px)!important}
#top .eb-hero-controls .dots{display:flex;gap:8px}
#top .eb-hero-controls .dots button{width:34px;height:4px;padding:0;border:0;border-radius:2px;background:rgba(37,49,61,.22);font-size:0;color:transparent;cursor:pointer;position:relative;overflow:hidden}
#top .eb-hero-controls .dots button:before{content:'';position:absolute;inset:-10px 0}
#top .eb-hero-controls .dots button.on{background:rgba(37,49,61,.22)}
#top .eb-hero-controls .dots button.on:after{content:'';position:absolute;inset:0;background:var(--eb-gold);transform-origin:left;animation:ebBar 4s linear both}
#top.is-paused .eb-hero-controls .dots button.on:after{animation:none}
@keyframes ebBar{from{transform:scaleX(0)}to{transform:scaleX(1)}}
#top .eb-hero-controls #ebHeroPause{width:30px;height:30px;border-radius:50%;border:1px solid rgba(37,49,61,.3);background:rgba(255,255,255,.7);color:var(--eb-ink);font-size:11px;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:760px){html body #top.eb-business-hero>.eb-hero-controls{top:268px!important;bottom:auto!important;left:24px!important}#top .eb-hero-controls #ebHeroPause{background:rgba(255,255,255,.85)}}
html.eb-reduce-motion #top .slide,html.eb-reduce-motion #top .slide img{transition:none!important}
@media(prefers-reduced-motion:reduce){html body #top.eb-business-hero>.slides>.slide,html body #top.eb-business-hero>.slides>.slide img{transition:none!important}}

/* ---------- CEO multiscreen ---------- */
html body .eb-ceo .eb-ceo-layout{grid-template-columns:minmax(300px,470px) minmax(0,1fr)!important;gap:clamp(30px,5vw,70px)!important}
.eb-ceo-media{display:grid;grid-template-columns:1.12fr 1fr;grid-template-rows:1fr 1fr;gap:12px;position:relative}
html body .eb-ceo .eb-ceo-media .eb-ceo-portrait{grid-row:1/3;max-width:none!important;width:100%!important;margin:0!important;align-self:stretch}
html body .eb-ceo .eb-ceo-media .eb-ceo-portrait img{height:100%;object-fit:cover!important;object-position:center top}
.eb-ceo-screens{display:contents}
.eb-screen{position:relative;overflow:hidden;background:#e9e0cd;border-bottom:4px solid #b38b3d;box-shadow:0 14px 30px rgba(37,49,61,.12);min-height:0}
.eb-screen img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.08);transition:opacity 1.2s ease,transform 6s linear}
.eb-screen img.on{opacity:1;transform:scale(1)}
.eb-screen-tag{position:absolute;left:10px;bottom:10px;z-index:2;background:rgba(255,250,240,.92);color:#5f4518;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;padding:5px 9px}
html[dir=rtl] .eb-screen-tag{left:auto;right:10px}
.eb-ceo-media:before{content:'';position:absolute;inset:-14px auto auto -14px;width:90px;height:90px;border-top:3px solid #b38b3d;border-left:3px solid #b38b3d;pointer-events:none}
html[dir=rtl] .eb-ceo-media:before{left:auto;right:-14px;border-left:0;border-right:3px solid #b38b3d}
@media(max-width:760px){html body .eb-ceo .eb-ceo-layout{grid-template-columns:1fr!important}.eb-ceo-media{max-width:440px;width:100%;margin-inline:auto}.eb-ceo-media:before{inset:-10px auto auto -6px;width:60px;height:60px}}

/* ---------- Project experience ---------- */
.eb-pexp{padding:clamp(50px,7vw,90px) 0;background:#faf9f6;border-top:1px solid #ece4d3}
.eb-pexp--refs{padding:0 0 50px;background:none;border:0}
.eb-pexp-head{max-width:760px;margin-bottom:34px}
.eb-pexp-head .xh2{margin:14px 0 14px}
.eb-pexp-head p{color:#5f4518;line-height:1.75;margin:0}
.eb-pexp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:18px}
.eb-pexp-card{position:relative;background:#fff;border:1px solid var(--eb-line);border-top:3px solid var(--eb-gold-2);padding:26px 24px 24px;display:flex;flex-direction:column;gap:14px;transition:box-shadow .25s,transform .25s}
.eb-pexp-card:hover{box-shadow:0 16px 34px rgba(37,49,61,.1);transform:translateY(-3px)}
.eb-pexp-n{font-size:13px;font-weight:700;letter-spacing:.14em;color:var(--eb-gold-2)}
.eb-pexp-card h3{margin:0;font-size:19px;line-height:1.35;color:var(--eb-ink);font-weight:600}
.eb-pexp-card dl{margin:0;display:grid;gap:8px;padding:14px 0;border-block:1px solid #f0e8d8}
.eb-pexp-card dl>div{display:grid;grid-template-columns:105px 1fr;gap:10px;font-size:14px}
.eb-pexp-card dt{color:#8a7a5c;font-weight:600}
.eb-pexp-card dd{margin:0;color:var(--eb-ink);display:flex;gap:6px;align-items:flex-start}
.eb-pexp-card dd svg{width:15px;height:15px;flex:none;margin-top:3px;color:var(--eb-gold)}
html[dir=rtl] .eb-pexp-card dd[dir=ltr]{justify-content:flex-end}
.eb-pexp-scope{margin:0;font-size:15px;line-height:1.65;color:#4b4335}
.eb-pexp-scope b{display:block;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--eb-gold);margin-bottom:5px}
.eb-pexp-chips{display:flex;flex-wrap:wrap;gap:6px}
.eb-pexp-chips span{font-size:12px;font-weight:600;background:#f5ead3;color:#5f4518;padding:4px 10px;border-radius:20px}
.eb-pexp-note{margin:26px 0 0;color:#5f4518;font-size:15px;line-height:1.7;max-width:760px}
@media(max-width:560px){.eb-pexp-card{padding:22px 18px}.eb-pexp-card dl>div{grid-template-columns:92px 1fr}}

/* ---------- Business line text: keep decorative shapes off the copy ---------- */
.blp .xts .xc{position:relative;z-index:1}
@media(max-width:1100px){html body .blp .xts .xsh,html body .xts .xsh{display:none!important}}

/* ---------- Footer: vertical quick links ---------- */
@media(min-width:1001px){html body footer.xf .xf-in{grid-template-columns:200px repeat(3,minmax(0,1fr)) minmax(0,1.25fr)!important}html body footer.xf .xf-logo,html body footer.xf .xf-right{grid-column:auto!important}html body footer.xf .xf-contact{margin-top:0}}
@media(min-width:561px) and (max-width:1000px){html body footer.xf .xf-in{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body footer.xf .xf-logo,html body footer.xf .xf-right{grid-column:1/-1!important}}
@media(max-width:560px){html body footer.xf .xf-in{grid-template-columns:1fr 1fr!important}html body footer.xf .xf-logo,html body footer.xf .xf-right{grid-column:1/-1!important}}

html body footer.xf .xf-right>h5{margin:0 0 6px;font-size:16px;font-weight:700;color:#25313d}
@media(min-width:1001px){html body footer.xf .xf-contact{border-top:0!important;padding-top:10px!important}}
html body footer.xf .xf-contact a{overflow-wrap:break-word;word-break:break-word}

#top .eb-hero-controls #ebHeroPause{display:inline-flex!important}
@media(max-width:760px){#top .eb-hero-controls .dots button{background:rgba(255,255,255,.65)!important;box-shadow:0 1px 3px rgba(0,0,0,.25)}}

/* Header restored: logo left, EXPLORE menu + tools right */
html body #hdr .eb-mainnav,html body #hdr .eb-nav-toggle{display:none!important}
html body #hdr .xh-burger{display:flex!important}
/* Explore menu panel restored (all categories + submenus) */
html body #hdr #nav.xh-nav{display:grid!important}
@media(max-width:760px){html body #hdr #nav.xh-nav{display:grid!important}}
html body #hdr .xh-burger[aria-expanded=true] i{font-size:0!important}
html body #hdr .xh-burger[aria-expanded=true] i:after{font-size:40px}
html body #hdr .eb-header-row{display:flex;align-items:center;justify-content:space-between}
@media(min-width:761px){html body #hdr .eb-header-actions{gap:28px}}
/* CEO: single portrait only */
html body .eb-ceo .eb-ceo-layout{grid-template-columns:minmax(220px,320px) minmax(0,1fr)!important}
html body .eb-ceo .eb-ceo-media{display:block}
html body .eb-ceo .eb-ceo-media .eb-ceo-portrait img{height:auto}
@media(max-width:760px){html body .eb-ceo .eb-ceo-layout{grid-template-columns:1fr!important}.eb-ceo-media{max-width:300px}}

/* Transparent CEO portrait blends with the section instead of a photo box. */
html body #ceo-message .eb-ceo-portrait{background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
html body #ceo-message .eb-ceo-media:before{display:none!important}
html body #ceo-message .eb-ceo-portrait img{background:transparent!important;object-fit:contain!important;height:auto!important;mask-image:linear-gradient(to bottom,#000 0%,#000 87%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 87%,transparent 100%)}

/* Smooth portrait blend without a hard lower band or gold divider. */
html body #ceo-message .eb-ceo-portrait img{display:block!important;mask-image:linear-gradient(to bottom,#000 0%,#000 68%,rgba(0,0,0,.96) 75%,rgba(0,0,0,.7) 84%,rgba(0,0,0,.25) 93%,transparent 100%)!important;-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 68%,rgba(0,0,0,.96) 75%,rgba(0,0,0,.7) 84%,rgba(0,0,0,.25) 93%,transparent 100%)!important}
html body #ceo-message .eb-ceo-media,html body #ceo-message .eb-ceo-portrait{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
html body #ceo-message .eb-ceo-media:before,html body #ceo-message .eb-ceo-media:after,html body #ceo-message .eb-ceo-portrait:before,html body #ceo-message .eb-ceo-portrait:after{display:none!important}
html body #ceo-message .eb-ceo-signoff{border:0!important;padding-inline-start:0!important}

/* Keep the transparent portrait crisp without the hazy lower fade. */
html body #ceo-message .eb-ceo-portrait img{mask-image:none!important;-webkit-mask-image:none!important;filter:none!important;opacity:1!important}

/* Download placeholders are honest about missing documents. */
html body a.eb-profile-pending{opacity:.65;cursor:not-allowed}html body #ebProfileAvailability{color:#5f4518;font-size:13px;line-height:1.5;max-width:30ch}

/* Only the decoded active picture is painted; avoid ghosted cross-fades. */
html body #top.eb-business-hero>.slides>.slide{visibility:hidden!important;opacity:0!important;transition:none!important}
html body #top.eb-business-hero>.slides>.slide.on{visibility:visible!important;opacity:1!important}
