/* Portfolio presentation only; the Native shell opts in via its shortcode filter. */
.meb-work-page{--work-ink:#080d24;--work-line:rgba(148,177,255,.22);--work-orange:#ff8300;position:relative;isolation:isolate;overflow:clip;background:radial-gradient(ellipse at 80% 8%,#233568 0,transparent 40%),radial-gradient(ellipse at 10% 65%,#16234e 0,transparent 45%),linear-gradient(140deg,#070a18,#111c42 55%,#090d24);color:#f5f7ff;font-family:inherit}
.meb-work-page *,.meb-work-laptop *{box-sizing:border-box}
.meb-work-page h1,.meb-work-page h2,.meb-work-page h3,.meb-work-page p{color:inherit;margin:0}
.meb-work-stars{position:absolute;z-index:-1;inset:0;pointer-events:none;background-image:radial-gradient(2px 2px at 23px 30px,#a6c9ff 55%,transparent),radial-gradient(1px 1px at 90px 130px,#fff 65%,transparent),radial-gradient(1px 1px at 180px 40px,#ffbd75 65%,transparent);background-size:260px 210px,310px 280px,370px 310px;opacity:.35;animation:mebWorkStars 9s ease-in-out infinite alternate}
.meb-work-shell{width:min(1220px,calc(100% - 48px));margin-inline:auto;position:relative}
.meb-work-section{min-height:calc(100svh - var(--meb-work-header-space,82px));padding:52px 0;scroll-margin-top:calc(var(--meb-work-header-space,82px) + 12px);scroll-snap-align:start;display:flex;align-items:center;border-bottom:1px solid rgba(144,173,255,.10)}
.meb-work-hero{min-height:calc(90svh - var(--meb-work-header-space,82px));padding:80px 0;background:radial-gradient(ellipse at 9% 55%,rgba(255,131,0,.14),transparent 45%)}
.meb-work-hero .meb-work-shell{max-width:1040px;text-align:center}
.meb-work-kicker{display:block;color:#ffb264;font-size:12px;letter-spacing:.04em;margin-bottom:18px}
.meb-work-hero h1{font-size:clamp(36px,5.6vw,78px);line-height:1.35;font-weight:850;text-wrap:balance;max-width:980px;margin:auto;text-shadow:0 8px 42px rgba(53,123,255,.22)}
.meb-work-hero p{max-width:730px;margin:24px auto 0;font-size:clamp(14px,1.3vw,18px);line-height:2;color:#c3cfee}
.meb-work-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:28px}
.meb-work-page a{text-decoration:none}
.meb-work-button{min-height:46px;padding:12px 20px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:15px;border:1px solid var(--work-line);background:rgba(145,174,255,.08);color:#fff;font-size:12px;font-weight:650;transition:transform .2s,box-shadow .2s}
.meb-work-button.is-neon{color:#fff;background:linear-gradient(155deg,#ffac43,#ff8300 55%,#e36b00);border-color:#ffc37b;box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 12px 32px -12px rgba(255,131,0,.85),0 0 20px rgba(255,131,0,.16)}
.meb-work-button:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(69,131,255,.18)}
.meb-work-button.is-neon:hover{box-shadow:0 12px 34px -8px rgba(255,131,0,.8),0 0 25px rgba(255,131,0,.3)}
.meb-work-page a:focus-visible,.meb-work-dialog button:focus-visible,.meb-work-site-actions a:focus-visible{outline:2px solid #ffc785;outline-offset:4px}
.meb-work-nav{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;padding:24px 0;scroll-margin-top:var(--meb-work-header-space,82px)}
.meb-work-nav a{display:inline-flex;align-items:center;min-height:44px;font-size:11px;color:#cbd7f8;padding:8px 12px;border:1px solid var(--work-line);border-radius:999px;background:rgba(140,172,255,.06);transition:background .2s}
.meb-work-nav a:hover,.meb-work-nav a[aria-current="true"]{background:#263968;color:#fff;border-color:#7798e2}
.meb-work-heading{text-align:center;max-width:780px;margin:0 auto 26px}
.meb-work-heading h2{font-size:clamp(25px,3vw,42px);line-height:1.5;font-weight:750;text-wrap:balance}
.meb-work-heading p{margin-top:10px;font-size:13px;line-height:1.9;color:#bac8ed}
.meb-work-heading .meb-work-kicker{margin-bottom:7px}
.meb-work-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.meb-work-card{grid-column:span 2;min-width:0;border:1px solid var(--work-line);border-radius:22px;overflow:hidden;background:linear-gradient(150deg,rgba(69,95,154,.32),rgba(13,23,53,.8));box-shadow:0 18px 40px rgba(2,7,26,.22);transition:transform .25s,border-color .25s}
.meb-work-card:hover{transform:translateY(-4px);border-color:rgba(159,192,255,.5)}
.meb-work-grid.count-5>.meb-work-card:nth-child(4){grid-column:2/span 2}
.meb-work-grid.count-5>.meb-work-card:nth-child(5){grid-column:4/span 2}
.meb-work-grid.count-2>.meb-work-card:first-child{grid-column:2/span 2}
.meb-work-grid.count-4>.meb-work-card{grid-column:span 3}
.meb-work-grid.count-1>.meb-work-card{grid-column:3/span 2}
.meb-work-media{position:relative;display:block;aspect-ratio:1;background:radial-gradient(circle at 35% 28%,#34558b,#111b3b);overflow:hidden;color:#fff}
.meb-work-card.type-video .meb-work-media,.meb-work-card.type-tour .meb-work-media{aspect-ratio:16/9}
.meb-work-media img{width:100%;height:100%;object-fit:cover;display:block}
.meb-work-media-action{position:absolute;inset:auto 12px 12px auto;font-size:11px;padding:8px 12px;border:1px solid rgba(177,201,255,.35);border-radius:12px;background:rgba(7,13,33,.8);color:#fff;backdrop-filter:blur(10px)}
.meb-work-placeholder{display:grid;place-items:center;height:100%;font-size:clamp(32px,4vw,64px);color:#ffad56;font-weight:750;text-shadow:0 4px 26px rgba(255,131,0,.25)}
.meb-work-copy{padding:15px 18px 18px}
.meb-work-copy>span{font-size:10px;color:#ffc27b}
.meb-work-copy h3{font-size:15px;line-height:1.8;font-weight:650;margin-top:4px;overflow-wrap:anywhere}
.meb-work-copy p{font-size:11px;color:#bdccec;line-height:1.9;margin-top:6px;overflow-wrap:anywhere}
.meb-work-laptop{width:100%;padding:18px 14px 8px;direction:rtl;color:#edf2ff}
.meb-work-lid{position:relative;border:6px solid #1b202b;border-top-width:12px;border-bottom-width:14px;border-radius:13px 13px 5px 5px;background:#131721;box-shadow:inset 0 1px 0 #73819b,0 12px 30px rgba(0,0,0,.24)}
.meb-work-camera{position:absolute;top:-8px;left:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:#546581}
.meb-work-screen{aspect-ratio:16/10;overflow:hidden;background:#101b35;position:relative}
.meb-work-laptop .meb-work-screen img{display:block;width:100%;height:auto;max-width:none;max-height:none;object-fit:initial;transform:translateY(0);will-change:auto}
.meb-work-base{height:9px;margin:0 -8px;background:linear-gradient(#b5c3d3,#788595);border-radius:1px 1px 35% 35%;box-shadow:0 4px 0 #3b4656;position:relative}
.meb-work-base:before{content:"";position:absolute;left:43%;right:43%;top:0;height:3px;border-radius:0 0 5px 5px;background:#697687}
.meb-work-site-actions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:14px 4px 0}
.meb-work-site-actions a{display:inline-flex;align-items:center;min-height:44px;font-size:10px;color:inherit;border:1px solid rgba(144,170,219,.25);padding:7px 9px;border-radius:9px;text-decoration:none}
.meb-portfolio-media .meb-work-laptop{color:#162649}
.meb-work-empty{padding:60px 0 90px;text-align:center}
.meb-work-empty h2{font-size:24px}.meb-work-empty p{margin:15px 0 22px;color:#c8d3ed}
.meb-work-dialog{width:min(1000px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:22px;border:1px solid #526d9a;border-radius:22px;background:linear-gradient(150deg,#19294d,#0c142b);color:#fff;box-sizing:border-box;box-shadow:0 28px 90px rgba(0,0,0,.5)}
.meb-work-dialog::backdrop{background:rgba(3,6,20,.85);backdrop-filter:blur(8px)}
.meb-work-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;font:inherit}
.meb-work-dialog h2{margin:0;font-size:16px;line-height:1.7;color:#fff}.meb-work-dialog button{border:1px solid #5f7399;border-radius:10px;background:#203451;color:#fff;min-width:44px;min-height:44px;font:inherit;cursor:pointer}
.meb-work-dialog-body{overflow:auto;max-height:calc(100dvh - 160px);overscroll-behavior:contain}
.meb-work-dialog-body>img{display:block;width:100%;height:auto}.meb-work-dialog-body>video,.meb-work-dialog-body>audio{width:100%;max-height:calc(100dvh - 170px)}
.meb-work-dialog-gallery{display:flex;gap:10px;margin-top:12px}.meb-work-dialog-gallery button{padding:0;width:60px;height:44px;overflow:hidden}.meb-work-dialog-gallery img{width:100%;height:100%;object-fit:cover}
html.meb-work-snap{scroll-snap-type:y proximity;scroll-padding-top:var(--meb-work-header-space,82px)}
html.meb-work-dialog-active{overflow:hidden}
@keyframes mebWorkStars{from{opacity:.22}to{opacity:.5}}
@media(min-width:1000px){.meb-work-page.is-work-ready .meb-work-heading,.meb-work-page.is-work-ready .meb-work-grid{opacity:0;transform:translateY(20px);transition:opacity .7s,transform .7s}.meb-work-page.is-work-ready .meb-work-section.is-work-visible .meb-work-heading,.meb-work-page.is-work-ready .meb-work-section.is-work-visible .meb-work-grid{opacity:1;transform:none}}
@media(max-width:999px){.meb-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.meb-work-grid>.meb-work-card:nth-child(n){grid-column:auto}.meb-work-grid.count-1{grid-template-columns:minmax(0,1fr);max-width:500px;margin:auto}.meb-work-section{min-height:auto;padding:45px 0}.meb-work-hero{min-height:75svh}}
@media(max-width:600px){.meb-work-shell{width:calc(100% - 28px)}.meb-work-hero{padding:60px 0}.meb-work-hero h1{font-size:36px}.meb-work-heading h2{font-size:27px}.meb-work-grid{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:12px;padding:4px 2px 16px;scrollbar-width:thin}.meb-work-card{flex:0 0 86%;scroll-snap-align:center}.meb-work-grid.count-1>.meb-work-card{flex-basis:100%}.meb-work-actions{gap:10px}.meb-work-actions a{flex:1 1 auto;font-size:11px;padding:11px 12px}.meb-work-dialog{padding:14px}.meb-work-stars{animation:none}.meb-work-nav{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding:18px 0}.meb-work-nav a{white-space:nowrap;flex:0 0 auto}.meb-work-copy{padding:14px}}
@media(prefers-reduced-motion:reduce){.meb-work-stars{animation:none}.meb-work-page .meb-work-card,.meb-work-page .meb-work-button{transition:none;transform:none}.meb-work-page.is-work-ready .meb-work-heading,.meb-work-page.is-work-ready .meb-work-grid{opacity:1;transform:none;transition:none}html.meb-work-snap{scroll-snap-type:none}}
