:root {
  --big-black:#101820;
  --big-yellow:#F7CB00;
  --big-cream:#EFF1D3;
  --big-blue:#0044CC;
  --big-red:#E53946;
  --big-line:rgba(247,203,0,.14);
  --big-soft:rgba(239,241,211,.78);
  --big-shadow:0 20px 60px rgba(0,0,0,.20);
}
.bpm-frontend-root, .bpm-frontend-root * { box-sizing:border-box; }
.bpm-frontend-root { font-family:'Rabie',sans-serif; background:var(--big-black); color:var(--big-cream); direction:rtl; text-align:right; overflow:hidden; }
.bpm-frontend-root.is-en { direction:ltr; text-align:left; }
.bpm-wrap { width:min(calc(100% - 32px), 1400px); margin:0 auto; }
.bpm-section { padding:88px 0; }
.bpm-eyebrow { display:inline-flex; color:var(--big-yellow); font-size:16px; font-weight:700; margin-bottom:14px; }
.bpm-title { margin:0; font-size:clamp(34px,6vw,96px); line-height:1.08; font-weight:900; }
.bpm-title-small { font-size:clamp(30px,4vw,64px); }
.bpm-copy { margin:18px 0 0; font-size:clamp(17px,1.8vw,24px); line-height:1.6; color:var(--big-soft); }
.bpm-copy-narrow { max-width:760px; }
.bpm-reveal { opacity:1; transform:none; }
.bpm-hero { padding:72px 0 50px; background:radial-gradient(circle at 12% 16%, rgba(0,68,204,.22), transparent 20%), radial-gradient(circle at 88% 10%, rgba(229,57,70,.18), transparent 18%), radial-gradient(circle at 50% 100%, rgba(247,203,0,.12), transparent 28%), linear-gradient(180deg, #101820 0%, #0B1118 100%); }
.bpm-hero-title { margin:0; font-size:clamp(42px,8vw,132px); line-height:1.05; font-weight:900; }
.bpm-hero-title span { color:var(--big-yellow); }
.bpm-marquee { overflow:hidden; border-top:1px solid var(--big-line); border-bottom:1px solid var(--big-line); background:var(--big-black); padding:16px 0; }
.bpm-marquee-track { display:flex; width:max-content; animation:bpmScroll 28s linear infinite; }
.bpm-marquee-group { display:flex; align-items:center; gap:26px; white-space:nowrap; padding-inline-end:26px; }
.bpm-marquee-group span { color:var(--big-yellow); font-size:clamp(18px,1.5vw,24px); font-weight:900; text-transform:uppercase; }
@keyframes bpmScroll { from{transform:translateX(0);} to{transform:translateX(-50%);} }
.bpm-process-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:30px; }
.bpm-step { background:rgba(255,255,255,.03); border:1px solid var(--big-line); border-radius:24px; padding:22px; }
.bpm-step-num { display:inline-flex; width:44px; height:44px; align-items:center; justify-content:center; border-radius:999px; background:var(--big-red); color:var(--big-cream); font-weight:900; margin-bottom:14px; }
.bpm-step h3 { margin:0 0 10px; font-size:24px; }
.bpm-step p { margin:0; font-size:16px; line-height:1.6; color:var(--big-soft); }
.bpm-filter-bar { display:flex; gap:10px; flex-wrap:wrap; margin-top:28px; }
.bpm-filter-btn { border:1px solid rgba(239,241,211,.14); background:rgba(255,255,255,.03); color:var(--big-cream); min-height:48px; padding:10px 16px; border-radius:999px; font-family:inherit; font-size:14px; font-weight:900; cursor:pointer; }
.bpm-filter-btn.active, .bpm-filter-btn:hover { background:var(--big-yellow); color:var(--big-black); border-color:var(--big-yellow); }
.bpm-work-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:30px; }
.bpm-work-card { position:relative; min-height:460px; border-radius:28px; overflow:hidden; border:1px solid var(--big-line); background:#0D151E; box-shadow:var(--big-shadow); cursor:pointer; transform:translateY(0); transition:transform .32s ease, box-shadow .32s ease, border-color .32s ease; isolation:isolate; }
.bpm-work-card::after { content:""; position:absolute; inset:0; border-radius:28px; border:1.5px solid rgba(0,68,204,0); box-shadow:0 0 0 0 rgba(0,68,204,0); transition:border-color .32s ease, box-shadow .32s ease, opacity .32s ease; pointer-events:none; z-index:3; }
.bpm-work-card:hover { transform:translateY(-8px); border-color:rgba(0,68,204,.38); box-shadow:0 26px 70px rgba(0,0,0,.28); }
.bpm-work-card:hover::after { border-color:rgba(0,68,204,.95); box-shadow:0 0 0 3px rgba(0,68,204,.12), inset 0 0 0 1px rgba(0,68,204,.18); }
.bpm-work-media { position:absolute; inset:0; background-size:cover; background-position:center; filter:brightness(.7) contrast(1.05); transform:scale(1.02); transition:transform .42s ease, filter .42s ease; }
.bpm-work-card:hover .bpm-work-media { transform:scale(1.08); filter:brightness(.82) contrast(1.08); }
.bpm-work-overlay { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end; padding:22px; background:linear-gradient(180deg, rgba(16,24,32,.04), rgba(16,24,32,.95)); transition:background .32s ease; z-index:2; }
.bpm-work-card:hover .bpm-work-overlay { background:linear-gradient(180deg, rgba(16,24,32,.02), rgba(16,24,32,.92)); }
.bpm-work-tag { display:inline-block; margin-bottom:10px; color:var(--big-yellow); font-size:13px; font-weight:800; text-transform:uppercase; }
.bpm-work-title { margin:0 0 8px; font-size:32px; line-height:1; color:var(--big-cream); }
.bpm-work-copy { margin:0; max-width:92%; color:rgba(239,241,211,.84); font-size:15px; line-height:1.5; }
.bpm-work-arrow { margin-top:18px; display:inline-flex; color:var(--big-cream); font-size:14px; font-weight:900; }
.bpm-empty-state { display:none; margin-top:24px; border:1px dashed rgba(239,241,211,.16); border-radius:24px; padding:24px; color:rgba(239,241,211,.72); font-size:18px; }
.bpm-empty-state.show { display:block; }
.bpm-project-view[hidden], .bpm-lightbox[hidden] { display:none !important; }
.bpm-project-hero { padding:20px 0 36px; background:linear-gradient(180deg, #101820 0%, #0B1118 100%); }
.bpm-project-cover { position:relative; min-height:66vh; border-radius:34px; overflow:hidden; border:1px solid var(--big-line); box-shadow:var(--big-shadow); background:#0D151E; }
.bpm-project-cover-media { position:absolute; inset:0; background-size:cover; background-position:center; filter:brightness(.58) contrast(1.08); }
.bpm-project-cover-overlay { position:relative; z-index:2; min-height:66vh; display:flex; flex-direction:column; justify-content:flex-end; padding:36px; background:linear-gradient(180deg, rgba(16,24,32,.10), rgba(16,24,32,.94)); }
.bpm-project-meta { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:16px; }
.bpm-project-pill { display:inline-flex; align-items:center; min-height:38px; padding:8px 14px; border-radius:999px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.10); font-size:13px; font-weight:800; }
.bpm-project-title { margin:0; font-size:clamp(34px,5vw,78px); line-height:1.04; }
.bpm-project-subtitle { margin-top:14px; font-size:clamp(16px,1.5vw,22px); line-height:1.7; color:rgba(239,241,211,.84); }

.bpm-project-layout { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:22px; align-items:start; margin-bottom:30px; }
.bpm-project-card { background:rgba(255,255,255,.03); border:1px solid var(--big-line); border-radius:30px; padding:28px; box-shadow:var(--big-shadow); }
.bpm-project-card h2 { margin:0 0 16px; font-size:clamp(28px,2.6vw,44px); line-height:1; color:var(--big-yellow); }
.bpm-project-richtext { font-size:18px; line-height:1.85; color:var(--big-cream); white-space:normal; min-height:1.85em; }
.bpm-project-richtext p:first-child { margin-top:0; }
.bpm-project-richtext p:last-child { margin-bottom:0; }
.bpm-project-richtext:empty::before { content:"—"; color:rgba(239,241,211,.32); }
.bpm-video-ratio-box { position:relative; width:100%; aspect-ratio:16 / 9; background:#000; }
.bpm-output-card.is-video.is-portrait .bpm-video-ratio-box { aspect-ratio:9 / 16; }
.bpm-video-ratio-box iframe, .bpm-video-ratio-box video { position:absolute; inset:0; width:100%; height:100%; display:block; border:0; }

.bpm-btn { display:inline-flex; align-items:center; justify-content:center; min-height:56px; padding:14px 22px; border-radius:999px; border:2px solid rgba(239,241,211,.18); background:rgba(255,255,255,.03); color:var(--big-cream); font-family:inherit; font-size:15px; font-weight:900; cursor:pointer; }
.bpm-project-nav { display:flex; gap:12px; margin-top:22px; }
.bpm-output-head { margin-bottom:20px; }
.bpm-output-grid { display:grid; grid-template-columns:repeat(12,1fr); gap:16px; }
.bpm-output-block.span-12 { grid-column:span 12; }
.bpm-output-block.span-6 { grid-column:span 6; }
.bpm-output-heading { color:var(--big-cream); font-size:clamp(20px,2vw,30px); font-weight:900; margin:0 0 12px; }
.bpm-output-card { position:relative; border-radius:28px; overflow:hidden; border:1px solid var(--big-line); background:#0D151E; box-shadow:var(--big-shadow); }
.bpm-output-card img, .bpm-output-card iframe, .bpm-output-card video { width:100%; height:100%; display:block; border:0; }
.bpm-output-card.is-video { min-height:auto; background:#000; padding:0; }
.bpm-output-card.is-video.is-portrait { max-width:min(520px, 100%); margin-inline:auto; }
.bpm-output-card.is-image, .bpm-output-card.is-gallery { min-height:320px; }
.bpm-output-card.is-image img, .bpm-output-card.is-gallery img { object-fit:cover; }
.bpm-output-card.is-video iframe, .bpm-output-card.is-video video { object-fit:contain; }
.bpm-gallery-trigger { cursor:pointer; position:relative; }
.bpm-gallery-count { position:absolute; top:14px; left:14px; background:rgba(16,24,32,.82); color:var(--big-cream); padding:8px 12px; border-radius:999px; font-size:12px; font-weight:900; z-index:2; }
.bpm-lightbox { position:fixed; inset:0; z-index:99999; background:rgba(0,0,0,.92); display:flex; align-items:center; justify-content:center; gap:20px; padding:24px; }
.bpm-lightbox-stage { max-width:min(92vw, 1300px); max-height:88vh; position:relative; display:flex; align-items:center; justify-content:center; }
.bpm-lightbox-image { max-width:100%; max-height:88vh; object-fit:contain; border-radius:16px; }
.bpm-lightbox-close, .bpm-lightbox-nav { border:none; background:rgba(255,255,255,.12); color:#fff; border-radius:999px; width:56px; height:56px; font-size:34px; line-height:1; cursor:pointer; }
.bpm-lightbox-close { position:absolute; top:24px; right:24px; z-index:2; }
.bpm-lightbox-counter { position:absolute; bottom:-10px; left:50%; transform:translate(-50%, 100%); color:#fff; font-size:14px; font-weight:700; }
@media (max-width:1024px){ .bpm-process-grid{grid-template-columns:1fr 1fr;} .bpm-work-grid{grid-template-columns:1fr 1fr;} .bpm-project-layout{grid-template-columns:1fr;} .bpm-output-block.span-6{grid-column:span 12;} }
@media (max-width:767px){ .bpm-wrap{width:min(calc(100% - 20px),1400px);} .bpm-section{padding:58px 0;} .bpm-hero{padding-top:40px;} .bpm-process-grid,.bpm-work-grid{grid-template-columns:1fr;} .bpm-work-card{min-height:360px;} .bpm-project-cover,.bpm-project-cover-overlay{min-height:46vh;} .bpm-project-cover-overlay{padding:24px;} .bpm-output-card.is-video{aspect-ratio:16 / 9;} .bpm-output-card.is-image,.bpm-output-card.is-gallery{min-height:240px;} .bpm-lightbox{padding:16px; gap:10px;} .bpm-lightbox-close,.bpm-lightbox-nav{width:46px;height:46px;font-size:28px;} }

.bpm-btn-primary { background:var(--big-yellow); color:var(--big-black); border-color:var(--big-yellow); }
.bpm-project-actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:32px; }
.bpm-share-sheet[hidden] { display:none !important; }
.bpm-share-sheet { position:fixed; inset:0; z-index:100000; }
.bpm-share-sheet-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.65); }
.bpm-share-sheet-dialog { position:relative; width:min(92vw, 560px); margin:10vh auto 0; background:#0D151E; border:1px solid var(--big-line); border-radius:28px; padding:28px; box-shadow:var(--big-shadow); text-align:right; }
.bpm-share-sheet-dialog h3 { margin:0 0 8px; font-size:clamp(28px,2.6vw,40px); color:var(--big-yellow); }
.bpm-share-sheet-dialog p { margin:0 0 20px; color:var(--big-soft); font-size:16px; }
.bpm-share-close { position:absolute; top:14px; left:14px; width:44px; height:44px; border:none; border-radius:999px; background:rgba(255,255,255,.08); color:var(--big-cream); font-size:28px; cursor:pointer; }
.bpm-share-options { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.bpm-share-option { min-height:56px; border-radius:18px; border:1px solid rgba(239,241,211,.14); background:rgba(255,255,255,.03); color:var(--big-cream); font-family:inherit; font-size:16px; font-weight:900; cursor:pointer; }
.bpm-share-option:hover { background:var(--big-yellow); color:var(--big-black); border-color:var(--big-yellow); }
@media (max-width:767px){ .bpm-project-actions{flex-direction:column;} .bpm-project-actions .bpm-btn{width:100%;} .bpm-share-sheet-dialog{margin-top:6vh;padding:22px;} .bpm-share-options{grid-template-columns:1fr;} }
