/* Emran Brand Pages v2 — editorial case studies, service enhancements, motion */
.ehbp-root{--ehbp-v2-depth:0 22px 60px rgba(14,38,77,.095);--ehbp-v2-blue:#1b5bf2;--ehbp-v2-sea:#05b7b4}
.ehbp-v2{font-family:inherit!important}
.ehbp-v2 *, .ehbp-root .ehbp-v2-service-solutions * {box-sizing:border-box}
.ehbp-v2 a{text-decoration:none}
.ehbp-v2 .ehbp-container{max-width:1250px}
.ehbp-v2-dirhero,.ehbp-v2-casehero{position:relative;overflow:hidden}
.ehbp-v2-dirhero{display:grid;grid-template-columns:minmax(0,1fr) 340px;align-items:center;gap:40px;min-height:480px;padding:65px 60px;border-radius:32px;background:radial-gradient(circle at 91% 20%,rgba(2,191,194,.17),transparent 38%),linear-gradient(125deg,#0a214a,#163b7c);color:#eaf7ff;margin-top:30px}
.ehbp-v2-dirhero h1{font-size:clamp(2.5rem,4.6vw,4.5rem);line-height:1.1;color:#fff!important;margin:19px 0 22px;max-width:810px;letter-spacing:-.055em}
.ehbp-v2-dirhero .ehbp-kicker{color:#67d8e3!important}
.ehbp-v2-dirhero p{color:#cadee9!important;max-width:660px;font-size:1rem;line-height:1.88}
.ehbp-v2-hero-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:29px}
.ehbp-v2-hero-actions>span{font-size:.75rem;font-weight:650;color:#9bc7e7}
.ehbp-v2-dirhero .ehbp-btn{background:#fff!important;color:#123c7b!important}
.ehbp-v2-result-pattern{height:300px;display:flex;flex-direction:column;justify-content:center;gap:18px;position:relative;padding:24px 12px}
.ehbp-v2-result-pattern span{border:1px solid rgba(157,212,255,.35);background:rgba(176,222,255,.08);padding:14px 23px;border-radius:12px;color:#d9efff;font-weight:900;letter-spacing:.12em;font-size:.84rem;position:relative;z-index:1;box-shadow:0 12px 25px rgba(0,6,27,.12)}
.ehbp-v2-result-pattern span:nth-child(2){transform:translateX(34px);color:#8ef3e6}.ehbp-v2-result-pattern span:nth-child(3){transform:translateX(63px)}
.ehbp-v2-result-pattern i{position:absolute;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,rgba(20,196,225,.22),transparent 70%);right:-60px;bottom:-60px}
.ehbp-v2-sectiontitle{max-width:785px;margin-bottom:29px}.ehbp-v2-sectiontitle h2{margin:12px 0 10px}.ehbp-v2-sectiontitle p{max-width:650px}
.ehbp-v2-casegrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.ehbp-v2-case-card{display:flex;flex-direction:column;position:relative;min-height:365px;padding:31px 34px;border-radius:22px;background:var(--ehbp-paper);border:1px solid var(--ehbp-line);box-shadow:0 14px 40px rgba(19,43,80,.035);overflow:hidden;isolation:isolate;transition:transform .32s cubic-bezier(.2,.85,.2,1),box-shadow .32s,border-color .32s}
.ehbp-v2-case-card:before{content:'';position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,var(--ehbp-accent),var(--ehbp-accent2));transform:scaleX(.22);transform-origin:left;transition:transform .36s ease}
.ehbp-v2-case-card:hover{transform:translateY(-8px);box-shadow:var(--ehbp-v2-depth);border-color:rgba(38,101,236,.38)}
.ehbp-v2-case-card:hover:before{transform:scaleX(1)}
.ehbp-v2-card-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:25px}
.ehbp-v2-index{font-size:.69rem;letter-spacing:.14em;font-weight:900;color:var(--ehbp-accent)}
.ehbp-v2-category{font-size:.7rem;font-weight:700;padding:7px 11px;background:var(--ehbp-soft);border-radius:99px;color:var(--ehbp-accent)}
.ehbp-v2-case-card h3{font-size:clamp(1.32rem,2vw,1.84rem)!important;letter-spacing:-.02em;margin:0 0 13px;color:var(--ehbp-ink)}
.ehbp-v2-case-card p{font-size:.89rem;line-height:1.78;margin:0 0 19px}
.ehbp-v2-microstats{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid var(--ehbp-line);padding-top:20px;margin-top:auto}
.ehbp-v2-microstats>div{flex:1;min-width:130px}.ehbp-v2-microstats strong{display:block;font-size:1.28rem;line-height:1.4;color:var(--ehbp-ink)}.ehbp-v2-microstats span{display:block;color:var(--ehbp-muted);font-size:.72rem}
.ehbp-v2-link{margin-top:26px;display:flex;align-items:center;justify-content:space-between;color:var(--ehbp-accent)!important;font-size:.87rem;font-weight:800}.ehbp-v2-link span{font-size:1.35rem;transition:transform .2s}.ehbp-v2-case-card:hover .ehbp-v2-link span{transform:translate(4px,-4px)}
.ehbp-v2-casehero{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:45px;align-items:center;padding:36px 0 25px}
.ehbp-v2-casehero h1{margin:19px 0 17px;font-size:clamp(2.5rem,4.3vw,4.4rem);line-height:1.1;letter-spacing:-.055em}
.ehbp-v2-casehero .ehbp-v2-tagline{color:var(--ehbp-ink);font-size:1.1rem;font-weight:700;line-height:1.58;margin-bottom:15px}
.ehbp-v2-detailpills{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}.ehbp-v2-detailpills span{padding:9px 13px;background:var(--ehbp-soft);border:1px solid var(--ehbp-line);border-radius:999px;color:var(--ehbp-ink);font-size:.73rem;font-weight:800}
.ehbp-v2-case-visual{height:375px;min-height:0;position:relative;background:radial-gradient(circle at 35% 15%,#2552a9 0,transparent 47%),linear-gradient(130deg,#081c42,#103b78 68%,#007c89);border-radius:27px;box-shadow:0 24px 55px rgba(10,33,78,.22);padding:31px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}
.ehbp-v2-case-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ehbp-v2-vislabel{position:relative;font-size:.69rem;font-weight:900;letter-spacing:.17em;color:#8ce9eb}.ehbp-v2-case-visual strong{position:relative;max-width:90%;color:white;font-size:clamp(1.4rem,2.6vw,2.7rem);line-height:1.23;letter-spacing:-.035em}.ehbp-v2-case-visual small{position:relative;color:#aad8e9;font-weight:600;font-size:.75rem}
.ehbp-v2-bars{position:absolute;right:12%;bottom:25%;display:flex;align-items:flex-end;gap:9px;height:155px;width:45%;opacity:.83}
.ehbp-v2-bars i{flex:1;display:block;border-radius:6px 6px 0 0;background:linear-gradient(180deg,#0bd7bd,#1887e3)}
.ehbp-v2-bars i:nth-child(1){height:16%}.ehbp-v2-bars i:nth-child(2){height:42%}.ehbp-v2-bars i:nth-child(3){height:35%}.ehbp-v2-bars i:nth-child(4){height:58%}.ehbp-v2-bars i:nth-child(5){height:72%}.ehbp-v2-bars i:nth-child(6){height:95%}
.ehbp-v2-metricgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:38px 0 74px}
.ehbp-v2-metric{padding:25px 22px;border:1px solid var(--ehbp-line);border-radius:17px;background:var(--ehbp-paper);min-height:155px;position:relative;overflow:hidden}
.ehbp-v2-metric:after{content:'';width:35px;height:3px;position:absolute;bottom:0;left:20px;background:linear-gradient(90deg,var(--ehbp-accent),var(--ehbp-accent2))}
.ehbp-v2-metric strong{display:block;color:var(--ehbp-ink);font-size:clamp(1.2rem,2vw,2.1rem);line-height:1.28;font-weight:900;letter-spacing:-.04em}.ehbp-v2-metric span{display:block;color:var(--ehbp-ink);font-weight:700;font-size:.81rem;margin-top:11px}.ehbp-v2-metric small{display:block;color:var(--ehbp-muted);font-size:.68rem;margin-top:8px;line-height:1.35}
.ehbp-v2-narrative{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:55px;align-items:start}.ehbp-v2-storyblock{padding-bottom:40px;margin-bottom:33px;border-bottom:1px solid var(--ehbp-line)}
.ehbp-v2-storyblock h2{margin:17px 0 22px;font-size:clamp(1.8rem,2.9vw,2.6rem)}.ehbp-v2-storyblock p{font-size:.96rem;line-height:1.93;max-width:795px}
.ehbp-v2-checklist{padding:31px;background:var(--ehbp-soft);border:1px solid var(--ehbp-line);border-radius:19px;margin-bottom:33px}.ehbp-v2-checklist h3{margin:0 0 20px}.ehbp-v2-checkgrid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.ehbp-v2-checkgrid>div{display:flex;gap:11px;align-items:flex-start;color:var(--ehbp-ink);font-size:.87rem;line-height:1.68}.ehbp-v2-checkgrid span{color:#04ad94;font-weight:900}
.ehbp-v2-steps{margin:30px 0 48px}.ehbp-v2-steps h3{margin:15px 0}.ehbp-v2-steps>div{display:flex;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid var(--ehbp-line);color:var(--ehbp-ink);font-size:.91rem}.ehbp-v2-steps b{color:var(--ehbp-accent);font-size:1.05rem}
.ehbp-v2-sidebar .ehbp-v2-aside-card{position:sticky;top:110px;padding:27px;background:var(--ehbp-paper);border:1px solid var(--ehbp-line);border-radius:22px;box-shadow:var(--ehbp-shadow)}.ehbp-v2-aside-card h3{font-size:1.5rem;margin:13px 0 24px}.ehbp-v2-aside-card>div{border-bottom:1px solid var(--ehbp-line);padding:13px 0}.ehbp-v2-aside-card strong{display:block;color:var(--ehbp-muted);font-size:.68rem;letter-spacing:.06em;text-transform:uppercase}.ehbp-v2-aside-card span{display:block;color:var(--ehbp-ink);font-size:.85rem;font-weight:710}.ehbp-v2-aside-card hr{border:0;height:1px;background:var(--ehbp-line);margin:20px 0}.ehbp-v2-aside-card p{font-size:.78rem;line-height:1.72}.ehbp-v2-aside-card .ehbp-btn{margin-top:18px;width:100%;justify-content:center;padding:13px 8px;font-size:.78rem}
.ehbp-v2-chiprow{display:flex;gap:9px;flex-wrap:wrap}.ehbp-v2-chiprow a{display:inline-flex;align-items:center;padding:12px 16px;background:var(--ehbp-paper);border:1px solid var(--ehbp-line);border-radius:999px;color:var(--ehbp-accent)!important;font-weight:760;font-size:.83rem;transition:transform .2s,border-color .2s}.ehbp-v2-chiprow a:hover{transform:translateY(-3px);border-color:var(--ehbp-accent)}
.ehbp-v2-center{text-align:center;margin-top:30px}
/* new service details */
.ehbp-root .ehbp-v2-service-solutions{margin-top:50px}.ehbp-v2-service-solutions h2{margin:15px 0 24px}.ehbp-v2-compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ehbp-v2-compare-grid>div{padding:26px;border-radius:19px;border:1px solid var(--ehbp-line);background:var(--ehbp-paper)}
.ehbp-v2-compare-grid .ehbp-v2-challenges{background:color-mix(in srgb,var(--ehbp-paper) 86%,#ffe7eb)}
.ehbp-v2-compare-grid .ehbp-v2-solutions{background:color-mix(in srgb,var(--ehbp-paper) 85%,#d7fff1)}
.ehbp-v2-compare-grid h3{font-size:1.12rem;margin:0 0 19px}.ehbp-v2-compare-grid p{font-size:.85rem;line-height:1.65;display:flex;gap:10px;color:var(--ehbp-ink);padding:10px 0;border-top:1px solid var(--ehbp-line)}.ehbp-v2-compare-grid p span{color:var(--ehbp-accent);font-weight:900;flex:none}
.ehbp-v2-outcome-block{padding:30px;margin-top:50px;background:linear-gradient(110deg,#0d2d61,#1654a6);color:white;border-radius:20px}.ehbp-v2-outcome-block h2{color:white!important;margin:12px 0 20px}.ehbp-v2-outcome-block .ehbp-kicker{color:#7ef4d9}.ehbp-v2-outcomes{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ehbp-v2-outcomes p{color:white!important;font-size:.85rem;line-height:1.65}.ehbp-v2-outcome-block small{color:#b8d7ef;display:block;margin-top:25px;font-size:.7rem}
.ehbp-v2-aboutcases .ehbp-v2-casegrid{grid-template-columns:repeat(3,minmax(0,1fr))}.ehbp-v2-aboutcases .ehbp-v2-case-card{padding:24px;min-height:335px}.ehbp-v2-aboutcases .ehbp-v2-case-card h3{font-size:1.2rem!important}
/* organic, purposeful animation */
@media(prefers-reduced-motion:no-preference){
.ehbp-v2 .ehbp-v2-metric{transition:transform .26s,box-shadow .26s}.ehbp-v2 .ehbp-v2-metric:hover{transform:translateY(-5px);box-shadow:var(--ehbp-shadow)}
.ehbp-v2-case-visual .ehbp-v2-bars i{animation:ehbp-v2-bars-in 1s cubic-bezier(.2,.8,.3,1) backwards;transform-origin:bottom}
.ehbp-v2-case-visual .ehbp-v2-bars i:nth-child(2){animation-delay:.11s}.ehbp-v2-case-visual .ehbp-v2-bars i:nth-child(3){animation-delay:.18s}.ehbp-v2-case-visual .ehbp-v2-bars i:nth-child(4){animation-delay:.24s}.ehbp-v2-case-visual .ehbp-v2-bars i:nth-child(5){animation-delay:.3s}.ehbp-v2-case-visual .ehbp-v2-bars i:nth-child(6){animation-delay:.36s}
.ehbp-v2-casegrid .ehbp-v2-case-card{transition-delay:calc(var(--ehbp-i,0)*60ms)}
.ehbp-root.ehbp-enhanced .ehbp-v2-case-card.ehbp-reveal:not(.ehbp-visible){transform:translateY(34px) scale(.975)}
@keyframes ehbp-v2-bars-in{from{transform:scaleY(.02)}to{transform:scaleY(1)}}
.ehbp-root.ehbp-enhanced .ehbp-v2-casehero h1,.ehbp-root.ehbp-enhanced .ehbp-v2-dirhero h1{background-image:linear-gradient(90deg,currentColor,currentColor);background-size:0 1px;background-repeat:no-repeat;background-position:left bottom}
}
@media(max-width:1050px){.ehbp-v2-casehero{grid-template-columns:1fr 1fr;gap:22px}.ehbp-v2-dirhero{grid-template-columns:1fr 230px;padding:50px 34px}.ehbp-v2-narrative{grid-template-columns:1fr 280px;gap:30px}.ehbp-v2-metricgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.ehbp-v2-aboutcases .ehbp-v2-casegrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.ehbp-v2-dirhero{grid-template-columns:1fr;padding:45px 25px;min-height:0}.ehbp-v2-result-pattern{display:none}.ehbp-v2-casegrid,.ehbp-v2-aboutcases .ehbp-v2-casegrid{grid-template-columns:1fr}.ehbp-v2-casehero{grid-template-columns:1fr;gap:35px}.ehbp-v2-case-visual{height:290px}.ehbp-v2-metricgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ehbp-v2-metric{padding:17px 15px;min-height:140px}.ehbp-v2-metric strong{font-size:1.25rem}.ehbp-v2-narrative{grid-template-columns:1fr}.ehbp-v2-sidebar .ehbp-v2-aside-card{position:static}.ehbp-v2-checkgrid,.ehbp-v2-outcomes,.ehbp-v2-compare-grid{grid-template-columns:1fr}.ehbp-v2-checklist{padding:22px}.ehbp-v2-service-solutions{margin-top:28px}.ehbp-v2-case-card{padding:25px;min-height:0}.ehbp-v2-casehero h1{font-size:2.65rem}.ehbp-v2-dirhero h1{font-size:2.7rem}}
@media(max-width:400px){.ehbp-v2-metricgrid{grid-template-columns:1fr}.ehbp-v2-detailpills span{max-width:100%}}
@media(prefers-reduced-motion:reduce){.ehbp-v2 *, .ehbp-root .ehbp-v2-case-card{animation:none!important;transition:none!important;transform:none!important}}

/* Accessible polish for original service cards */
.ehbp-root .ehbp-service-card{transition:transform .34s cubic-bezier(.2,.8,.2,1),border-color .3s,box-shadow .3s}.ehbp-root .ehbp-service-card:hover{transform:translateY(-9px);border-color:rgba(23,79,226,.35);box-shadow:0 24px 55px rgba(9,43,89,.12)}.ehbp-root .ehbp-service-card:focus-within,.ehbp-v2-case-card:focus-within{outline:2px solid var(--ehbp-accent);outline-offset:3px}.ehbp-root :focus-visible{outline:2px solid var(--ehbp-accent);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.ehbp-root .ehbp-service-card:hover{transform:none!important}}

/* v2.1 Contact routes - no duplicate form */
.ehbp-contact-v21 .ehbp-contact-head{max-width:880px;margin-inline:auto;text-align:center;padding-bottom:25px}
.ehbp-contact-route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding-top:10px;padding-bottom:48px}
.ehbp-contact-route{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:16px;padding:36px;border:1px solid var(--ehbp-line);border-radius:24px;background:var(--ehbp-paper);box-shadow:0 8px 35px rgba(12,32,73,.045);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.ehbp-contact-route:hover{transform:translateY(-5px);border-color:var(--ehbp-accent);box-shadow:0 18px 48px rgba(12,32,73,.12)}
.ehbp-contact-route-form{background:linear-gradient(160deg,color-mix(in srgb,var(--ehbp-paper) 92%,#cee9ff),var(--ehbp-paper))}
.ehbp-contact-route h2{font-size:clamp(1.45rem,2vw,2.1rem);line-height:1.25;margin:0;color:var(--ehbp-ink)}
.ehbp-contact-route p{font-size:.93rem;line-height:1.9;color:var(--ehbp-muted);margin:0 0 10px;flex:1}
.ehbp-contact-route small{font-size:.74rem;color:var(--ehbp-muted);line-height:1.6}
.ehbp-contact-route .ehbp-btn{min-height:48px;justify-content:center}
.ehbp-route-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:var(--ehbp-soft);color:var(--ehbp-accent);font-size:1.6rem;font-weight:900}
.ehbp-contact-details-section{margin-top:14px;padding-top:44px;border-top:1px solid var(--ehbp-line)}
.ehbp-contact-details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:28px}
.ehbp-contact-details-grid>a,.ehbp-contact-details-grid>div{padding:24px 22px;background:var(--ehbp-paper);border:1px solid var(--ehbp-line);border-radius:17px;min-width:0;overflow-wrap:anywhere;display:flex;flex-direction:column;gap:13px;text-decoration:none!important}
.ehbp-contact-details-grid span{font-size:.68rem;letter-spacing:.14em;font-weight:850;color:var(--ehbp-accent)}
.ehbp-contact-details-grid strong{font-size:.96rem;color:var(--ehbp-ink);font-weight:800}
.ehbp-contact-details-grid small{color:var(--ehbp-muted);font-size:.75rem}
.ehbp-contact-v21 .ehbp-social{margin-top:20px}
@media(max-width:760px){.ehbp-contact-route-grid{grid-template-columns:1fr;gap:14px}.ehbp-contact-route{padding:27px 23px}.ehbp-contact-details-grid{grid-template-columns:1fr}.ehbp-contact-v21 .ehbp-contact-head{text-align:left}}
@media(prefers-reduced-motion:reduce){.ehbp-contact-route{transition:none!important}.ehbp-contact-route:hover{transform:none!important}}
