/* MasterHub editorial portfolio — isolated from application styles */
.mh-portfolio-body{margin:0;color:#151926;background:#fff;font-family:'DM Sans',Arial,sans-serif}.mh-portfolio-body *{box-sizing:border-box}.mh-portfolio-body a{text-decoration:none;color:inherit}.mh-portfolio-body button{font:inherit}.mh-shell,.mh-case-shell{width:min(1240px,calc(100% - 68px));margin-inline:auto}.mh-header{height:82px;background:#fff;border-bottom:1px solid #e9ebf0;position:relative;z-index:20}.mh-head-inner{height:100%;display:flex;align-items:center;justify-content:space-between}.mh-brand{display:inline-flex;align-items:center;gap:10px;font-weight:850;font-size:22px;letter-spacing:-1.2px}.mh-brand small{font-size:9px;letter-spacing:2.5px;margin-left:3px;color:#9299a8}.mh-symbol{background:#171b2b;color:#fff;width:39px;height:39px;border-radius:11px;display:grid;place-items:center;font-size:21px}.mh-symbol span,.mh-brand-dot{color:#8c72fc}.mh-head-inner nav{display:flex;gap:33px;align-items:center;font-size:13px;font-weight:700}.mh-head-inner nav a:hover,.mh-head-inner nav .mh-selected{color:#7456df}.mh-head-cta{padding:14px 20px;border-radius:8px;background:#171b2b;color:#fff!important}.mh-head-cta:hover{background:#6249da}.mh-eyebrow,.mh-hero-marker,.mh-back,.mh-work .work-type{font-size:11px;font-weight:800;letter-spacing:1.65px;text-transform:uppercase}.mh-eyebrow{color:#775cdc}.mh-portfolio-hero{padding:88px 0 86px;background:#111626;color:#fff;overflow:hidden;position:relative}.mh-portfolio-hero:after{content:"";position:absolute;right:-170px;top:-245px;width:750px;height:750px;background:radial-gradient(circle,#5545a83b,transparent 67%);pointer-events:none}.mh-portfolio-hero>.mh-shell{position:relative;z-index:1}.mh-hero-marker{display:flex;align-items:center;gap:10px;color:#b4a7e3}.mh-hero-marker>span:last-child{margin-left:auto;color:#8f93a8}.mh-pulse{width:8px;height:8px;background:#bca6ff;display:inline-block;border-radius:50%;box-shadow:0 0 15px #bca6ff}.mh-portfolio-hero h1{font-family:'Manrope',Arial,sans-serif;font-size:clamp(46px,6.7vw,95px);line-height:1.07;letter-spacing:-.073em;margin:54px 0 46px;font-weight:800}.mh-portfolio-hero h1 em{color:#a794ff;font-style:normal}.mh-hero-bottom{display:flex;align-items:end;justify-content:space-between;gap:30px}.mh-hero-bottom p{max-width:590px;line-height:1.8;color:#bac0d1;font-size:16px;margin:0}.mh-hero-index{font-size:56px;font-weight:800;line-height:1;display:flex;gap:16px;align-items:center}.mh-hero-index small{display:block;width:88px;font-size:9px;line-height:1.65;letter-spacing:1px;color:#acb1c3}.mh-gallery{background:#f7f8fb;padding:90px 0 110px}.mh-gallery-head,.mh-work-heading{display:flex;justify-content:space-between;align-items:end;gap:35px}.mh-gallery-head h2,.mh-pitch-grid h2,.mh-work-heading h2{font-family:'Manrope',Arial,sans-serif;font-weight:800;font-size:clamp(36px,4.3vw,58px);letter-spacing:-.06em;line-height:1.14;margin:18px 0 0}.mh-gallery-head h2 span{color:#8c73f7}.mh-gallery-head p{color:#747b8d;max-width:300px;line-height:1.75;font-size:14px}.mh-filter-row{display:flex;gap:10px;flex-wrap:wrap;margin:42px 0 31px;padding-bottom:16px;border-bottom:1px solid #e2e5ed}.mh-filter{border:1px solid #dfe2eb;padding:11px 17px;background:#fff;color:#555c6e;border-radius:999px;cursor:pointer;font-weight:700;font-size:12px;transition:.2s}.mh-filter span{margin-left:9px;opacity:.7}.mh-filter:hover{border-color:#9c88ff}.mh-filter.is-active{background:#20243b;color:#fff;border-color:#20243b}.mh-gallery-grid,.mh-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.work-tile{min-width:0;overflow:hidden;background:#fff;border:1px solid #e6e9ef;border-radius:15px;box-shadow:0 15px 50px #1c274b0b;transition:transform .22s,box-shadow .22s}.work-tile:hover{transform:translateY(-5px);box-shadow:0 25px 54px #1c274b1d}.work-tile[hidden]{display:none!important}.work-tile-preview{display:block;height:315px;background:#dfe3eb;overflow:hidden;position:relative}.work-tile-preview iframe{border:0;background:#e7e8f0;position:absolute;left:0;top:0;width:1440px;height:940px;transform:scale(.43);transform-origin:0 0;pointer-events:none;max-width:none}.work-tile:nth-child(3n+1) .work-tile-preview{background:#e7e9e1}.work-tile:nth-child(3n+2) .work-tile-preview{background:#f1e9e7}.preview-glass{position:absolute;inset:0;background:linear-gradient(0deg,#080d1c25,transparent 45%);pointer-events:none}.preview-corner{position:absolute;right:20px;top:20px;display:grid;place-items:center;background:#fff;color:#252b41;border-radius:50%;width:38px;height:38px;font-size:19px}.work-tile-meta{padding:24px 27px 27px;display:flex;justify-content:space-between;align-items:center;gap:16px}.work-type{font-size:10px;color:#775ccf;letter-spacing:1.5px;font-weight:800;text-transform:uppercase}.work-tile h3{font:800 28px/1.2 'Manrope',Arial,sans-serif;letter-spacing:-1.1px;margin:8px 0 7px;color:#20243a}.work-tile p{color:#7a8291;font-size:13px;line-height:1.55;margin:0}.work-tile-action{flex:0 0 44px;height:44px;border-radius:50%;background:#f0edff;color:#6348d1!important;display:grid;place-items:center;font-size:21px}.work-tile-action:hover{background:#6c50d9;color:white!important}.mh-empty{font-weight:700;color:#646b7b;padding:30px}.mh-disclosure{font-size:11px!important;color:#8c92a1!important;margin-top:28px;line-height:1.7}.mh-project-pitch{background:#fff;padding:95px 0}.mh-pitch-grid{display:grid;grid-template-columns:1fr .65fr;gap:80px;align-items:start}.mh-pitch-grid h2{margin:0}.mh-pitch-grid p{color:#6b7284;font-size:15px;line-height:1.9;margin:0 0 19px}.mh-pitch-grid a{font-weight:800;color:#7155d9}.mh-footer{background:#111626;color:white;padding:80px 0 24px}.mh-footer-main{display:flex;justify-content:space-between;align-items:end;gap:25px}.mh-footer-main h2{font:800 clamp(33px,4vw,60px)/1.17 'Manrope',Arial,sans-serif;letter-spacing:-.055em;margin:16px 0}.mh-footer-main h2 span{color:#ac98ff}.mh-footer-cta{display:inline-block;padding:18px 23px;background:#9e82ff;color:#111626!important;font-size:13px;font-weight:800;border-radius:8px}.mh-footer-end{border-top:1px solid #353a4c;margin-top:65px;padding-top:23px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#949bb0;font-size:11px}.mh-footer-end a{color:#fff;font-size:18px;font-weight:850}.mh-case-shell{padding-top:35px;padding-bottom:105px}.mh-back{display:inline-block;color:#797f93!important}.mh-back:hover{color:#7254df!important}.mh-case-heading{padding:50px 0 35px;display:flex;align-items:end;justify-content:space-between;gap:25px}.mh-case-heading h1{font:800 clamp(56px,7.8vw,108px)/1.12 'Manrope',Arial,sans-serif;letter-spacing:-.09em;margin:15px 0 6px}.mh-case-heading h1 span{color:#9b81ff}.mh-case-heading p{color:#6d7485;font-size:18px;margin:0}.mh-live-link{display:inline-flex;justify-content:center;align-items:center;gap:22px;background:#22263b;color:#fff!important;font-size:13px;font-weight:800;padding:17px 21px;border-radius:8px;white-space:nowrap}.mh-live-link:hover{background:#7052df}.mh-case-browser{overflow:hidden;background:var(--case-accent,#e3e4ef);border:1px solid #d8dae4;border-radius:16px;box-shadow:0 25px 70px #2026401c}.mh-case-toolbar{height:43px;background:#f8f9fb;display:flex;align-items:center;justify-content:space-between;padding:0 19px;color:#8b91a0;font-size:11px}.mh-traffic{display:flex;gap:6px}.mh-traffic i{height:9px;width:9px;background:#f3a9a3;border-radius:50%}.mh-traffic i:nth-child(2){background:#f5cc77}.mh-traffic i:nth-child(3){background:#89ceae}.mh-case-toolbar a{font-size:19px}.mh-case-browser iframe{display:block;width:100%;height:660px;border:0;background:var(--case-accent)}.mh-case-summary{display:grid;grid-template-columns:1.2fr .8fr;gap:90px;padding:100px 0 85px}.mh-case-summary h2{font:750 clamp(27px,3vw,42px)/1.45 'Manrope',Arial,sans-serif;letter-spacing:-.045em;margin:25px 0 0}.mh-case-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px}.mh-case-facts div{border-bottom:1px solid #e7e8ec;padding-bottom:18px}.mh-case-facts span,.mh-case-facts strong{display:block}.mh-case-facts span{font-size:10px;letter-spacing:1.4px;color:#878e9c;margin-bottom:11px}.mh-case-facts strong{font-size:13px;line-height:1.55}.mh-case-story{border-top:1px solid #e9e9ec;display:grid;grid-template-columns:1fr 1fr;gap:80px;padding:80px 0}.mh-case-story h2,.mh-case-features h2,.mh-case-conclusion h2{font:800 clamp(30px,3vw,44px)/1.22 'Manrope',Arial,sans-serif;letter-spacing:-.055em;margin:21px 0}.mh-case-story p,.mh-case-features p,.mh-case-conclusion p{font-size:15px;line-height:1.9;color:#73798a;max-width:480px}.mh-case-features{background:#f7f8fc;border-radius:18px;padding:55px;display:grid;grid-template-columns:1fr 1fr;gap:55px}.mh-feature-list>div{display:flex;gap:16px;align-items:center;border-bottom:1px solid #dfe2e9;padding:18px 0;font-size:14px}.mh-feature-list>div>span:first-child{color:#8f73e7;font-weight:800;font-size:12px}.mh-feature-list>div>span:last-child{margin-left:auto;color:#9989da}.mh-case-conclusion{text-align:center;padding:115px 10px 90px;display:flex;flex-direction:column;align-items:center}.mh-case-conclusion p{margin:0 0 26px}.mh-case-conclusion small{color:#8c91a0;font-size:11px;max-width:490px;line-height:1.7;margin-top:22px}.mh-next{background:#181d2e;color:#fff!important;padding:35px 40px;display:flex;gap:20px;align-items:center;justify-content:space-between;border-radius:12px}.mh-next span{font-size:12px;letter-spacing:1.2px}.mh-next strong{font-size:31px;font-weight:850}.mh-next:hover{background:#302c5d}
/* Homepage integration: preserve existing hero, services, process and contact */
.mh-work{background:#f7f8fb!important}.mh-work-heading{margin-bottom:40px}.mh-work-heading h2{margin:0 0 16px}.mh-work-heading em{color:#7454e3}.mh-work-lede{max-width:510px;color:#7b8190;font-size:15px;line-height:1.8;margin:0}.mh-all-link,.mh-outline-link{display:inline-flex;gap:24px;align-items:center;padding:16px 20px;border:1px solid #c6c8d1;border-radius:9px;font-weight:800;font-size:13px;white-space:nowrap}.mh-all-link:hover,.mh-outline-link:hover{background:#20243b;color:#fff}.mh-feature-grid{gap:25px}.mh-feature-grid .work-tile-preview{height:325px}.mh-work-footer{margin-top:33px;display:flex;justify-content:space-between;align-items:center;gap:20px}.mh-work-footer>span{font-size:14px;color:#73798b}.mh-work-footer strong{font-size:26px;color:#161b2f;margin-right:5px}.mh-work .mh-disclosure{margin-top:30px}.mh-work a{cursor:pointer}
@media(max-width:950px){.mh-gallery-grid,.mh-feature-grid{gap:18px}.work-tile-preview,.mh-feature-grid .work-tile-preview{height:245px}.work-tile-preview iframe{transform:scale(.36)}.mh-case-browser iframe{height:520px}.mh-case-summary{gap:40px;padding:70px 0}.mh-case-features{padding:35px}.mh-case-heading{align-items:start;flex-direction:column}.mh-gallery{padding:70px 0}}
@media(max-width:670px){.mh-shell,.mh-case-shell{width:calc(100% - 34px)}.mh-header{height:68px}.mh-brand{font-size:18px}.mh-symbol{width:33px;height:33px;font-size:18px}.mh-brand small{display:none}.mh-head-inner nav{gap:12px;font-size:11px}.mh-head-inner nav a:nth-child(3){display:none}.mh-head-cta{padding:11px!important;font-size:10px}.mh-portfolio-hero{padding:70px 0 65px}.mh-portfolio-hero h1{margin:37px 0 34px}.mh-hero-bottom{align-items:start}.mh-hero-bottom p{font-size:13px}.mh-hero-index{display:none}.mh-gallery-head,.mh-work-heading{align-items:start;flex-direction:column;gap:15px}.mh-gallery-head p{max-width:100%}.mh-filter-row{gap:7px}.mh-filter{font-size:11px;padding:9px 13px}.mh-gallery-grid,.mh-feature-grid{grid-template-columns:1fr;gap:20px}.work-tile-preview,.mh-feature-grid .work-tile-preview{height:225px}.work-tile-preview iframe{transform:scale(.38)}.work-tile-meta{padding:19px 20px 22px}.work-tile h3{font-size:23px}.mh-pitch-grid,.mh-case-summary,.mh-case-story,.mh-case-features{grid-template-columns:1fr;gap:27px}.mh-pitch-grid{gap:25px}.mh-project-pitch{padding:65px 0}.mh-footer{padding:65px 0 22px}.mh-footer-main,.mh-footer-end,.mh-work-footer{align-items:start;flex-direction:column}.mh-footer-end{gap:12px}.mh-case-shell{padding-top:20px}.mh-case-heading{padding:30px 0}.mh-case-heading h1{font-size:55px}.mh-case-heading p{font-size:15px}.mh-case-browser iframe{height:470px}.mh-case-summary{padding:65px 0}.mh-case-story{padding:60px 0}.mh-case-features{padding:26px}.mh-case-conclusion{padding:75px 10px}.mh-next{padding:25px}.mh-next strong{font-size:22px}.mh-live-link{white-space:normal}}
@media(prefers-reduced-motion:reduce){.work-tile{transition:none}}
