@font-face{font-family:Manrope;src:url('assets/manrope.ttf') format('truetype');font-weight:400 800;font-display:swap}
@font-face{font-family:Alexandria;src:url('assets/alexandria-arabic.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF}
:root{color-scheme:dark;--bg:#08090b;--panel:#101216;--text:#f0f1f4;--muted:#979ba5;--line:#282b31;--blue:#758bff;--ease:cubic-bezier(.16,1,.3,1)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--bg);color:var(--text);font-family:Manrope,Alexandria,sans-serif;font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid var(--blue);outline-offset:6px}::selection{background:#a7b5ff;color:#08090b}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-thumb{background:#373c49;border-radius:8px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}img{max-width:100%;display:block}.skip-link{position:fixed;top:-70px;left:20px;padding:12px;background:var(--text);color:var(--bg);z-index:20}.skip-link:focus{top:15px}.site-header{height:100px;max-width:1600px;margin:auto;padding:0 6%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff0d}.brand{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:800;letter-spacing:-.035em}.brand img{border-radius:8px}.brand-dot{font-size:11px;vertical-align:top;display:inline-block;margin:4px 0 0 3px;letter-spacing:0}.site-header nav{display:flex;gap:38px;align-items:center;font-size:13px}.site-header nav>a{transition:color .2s}.site-header nav>a:hover{color:var(--blue)}.nav-count{font-size:11px;margin-left:4px;color:var(--muted)}.nav-contact{display:flex;align-items:center;gap:18px}.nav-contact svg{width:16px}.hero{position:relative;max-width:1600px;margin:auto;min-height:660px;height:min(790px,calc(100svh - 100px));padding:72px 6% 90px;isolation:isolate;overflow:hidden}.hero-copy{position:relative;z-index:2;pointer-events:none}.hero-copy a{pointer-events:auto}h1{font-size:clamp(70px,7.8vw,112px);line-height:1.03;letter-spacing:-.04em;font-weight:500}.hero-last{font-weight:500}.blue-period{display:inline-block;font-size:.8em;color:var(--blue);margin-left:25px;font-weight:400}.hero-copy>p{color:var(--muted);font-size:15px;line-height:1.8;margin-top:30px}.round-link{display:inline-flex;align-items:center;gap:14px;margin-top:32px;font-size:13px}.circle{display:grid;place-items:center;border:1px solid #565a65;border-radius:50%;width:46px;height:46px;transition:background .3s,transform .5s var(--ease)}.circle svg{width:18px}.round-link:hover .circle{background:var(--blue);color:#08090b;border-color:var(--blue);transform:translateY(4px)}.sculpture{position:absolute;z-index:-1;right:-2%;top:-5%;width:65%;height:100%;pointer-events:none}.sculpture canvas{width:100%;height:100%;display:block;position:relative}.sculpture-fallback{position:absolute;inset:0;display:grid;place-items:center;color:#b6bcd2;font-size:clamp(220px,37vw,550px);font-weight:800;font-style:italic;line-height:1;text-shadow:5px 6px 1px #525c7e,-3px -3px 1px white;transform:none}.sculpture-fallback img{width:62%;height:auto;object-fit:contain;max-height:85%}.sculpture.ready .sculpture-fallback{display:none}.hero-caption{position:absolute;bottom:30px;left:6%;right:6%;display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.hero-caption>span:last-child{display:flex;align-items:center;gap:50px}.tiny-star{color:var(--text);font-size:20px}.work-section{max-width:1600px;margin:auto;padding:90px 6% 120px;border-top:1px solid var(--line)}.section-heading{display:flex;align-items:flex-end;justify-content:space-between}h2{font-size:clamp(35px,4vw,56px);line-height:1.15;letter-spacing:-.035em;font-weight:500}.section-heading p{color:var(--muted);font-size:14px;margin-top:22px}.work-total{font-size:11px;color:var(--muted);display:flex;gap:44px;padding-bottom:6px}.filter-row{display:flex;align-items:center;gap:8px;margin:44px 0 30px;flex-wrap:wrap}.filter{border:1px solid transparent;border-radius:24px;padding:10px 19px;background:transparent;font-size:12px;color:#afb2bc;transition:color .2s,background .2s}.filter:hover{color:white;background:#181c25}.filter.active{background:var(--text);color:var(--bg)}.filter span{font-size:11px;margin-left:8px;opacity:.6}.filter-hint{margin-left:auto;color:var(--muted);font-size:11px;display:flex;gap:14px;align-items:center}.filter-hint svg{width:17px}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px 26px}.project{min-width:0}.project[hidden]{display:none}.project.featured{grid-column:1/-1}.project-button{padding:0;width:100%;border:0;background:transparent;text-align:left;display:block}.project-visual{aspect-ratio:1.5;position:relative;overflow:hidden;border-radius:12px;display:flex;align-items:center;justify-content:center;padding:8%;background:var(--project-bg);isolation:isolate}.project.featured .project-visual{aspect-ratio:2.15;padding:5% 10%}.project-visual:after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 100px #00000017;pointer-events:none}.project-visual img{width:100%;height:auto;max-height:100%;object-fit:contain;border-radius:5px;box-shadow:0 20px 45px #00000055;transition:transform 1s var(--ease)}.project-button:hover img{transform:scale(1.045)}.project-arrow{position:absolute;bottom:20px;right:20px;display:grid;place-items:center;background:#08090b80;backdrop-filter:blur(10px);border:1px solid #ffffff30;width:38px;height:38px;border-radius:50%;transition:background .25s,color .25s}.project-arrow svg{width:17px}.project-button:hover .project-arrow{background:var(--text);color:var(--bg)}.project-info{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-top:17px}.project-info h3{font-size:18px;font-weight:500;letter-spacing:-.025em}.project-info p{color:var(--muted);font-size:11px}.project-subtitle{font-size:12px;color:var(--muted);margin-top:4px}.empty-message{padding:70px;text-align:center;color:var(--muted)}.approach{padding:100px 6% 110px;background:#111319;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.approach-top,.principles{max-width:1408px;margin:auto;display:grid;gap:60px;grid-template-columns:1.15fr 1fr}.approach-top>p{max-width:420px;color:#afb4c0;font-size:16px;line-height:1.9;align-self:end}.principles{grid-template-columns:repeat(3,1fr);margin-top:90px;gap:60px}.principle-symbol{display:block;color:var(--blue);font-size:34px;height:65px}.principles h3{font-size:17px;font-weight:500;margin-bottom:12px}.principles p{font-size:13px;color:#a1a7b5;max-width:300px}.team{max-width:1600px;margin:auto;padding:130px 6%;display:grid;grid-template-columns:1fr 1fr;gap:100px}.team-intro>img{border-radius:14px;margin-bottom:30px}.team-intro p{margin-top:24px;color:var(--muted);font-size:14px}.team-profiles{align-self:center}.profile{display:flex;align-items:center;gap:24px;padding:32px 0;border-bottom:1px solid var(--line)}.profile:first-child{border-top:1px solid var(--line)}.profile>img{width:72px;height:72px;border-radius:50%;object-fit:cover;filter:none}.profile h3{font-size:22px;font-weight:500;letter-spacing:-.025em}.profile div>span{font-size:12px;color:var(--muted)}.profile>svg{margin-left:auto;transition:transform .3s var(--ease)}.profile:hover>svg{transform:translate(4px,-4px);color:var(--blue)}footer{max-width:1600px;margin:auto;padding:0 6% 28px}.footer-wordmark{font-size:clamp(100px,23.2vw,360px);line-height:1.1;letter-spacing:-.04em;font-weight:700;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:18px}.footer-wordmark>span{color:var(--blue);font-size:.7em;font-weight:400}.footer-bottom{display:flex;justify-content:space-between;gap:20px;padding-top:24px;font-size:11px;color:var(--muted)}.footer-bottom a{color:var(--text)}dialog{position:fixed;margin:auto;border:1px solid #383d49;background:#111319;color:var(--text);padding:0;border-radius:16px;width:min(1100px,92vw);max-height:90svh;overscroll-behavior:contain}dialog::backdrop{background:#030407db;backdrop-filter:blur(15px)}.dialog-close{position:sticky;top:16px;float:right;margin:16px 16px -58px 0;z-index:2;display:grid;place-items:center;border:1px solid #ffffff40;border-radius:50%;background:#090b10db;width:42px;height:42px}.dialog-image{background:#191d28;padding:55px 7% 35px}.dialog-image img{width:100%;max-height:58svh;object-fit:contain;border-radius:5px}.dialog-copy{padding:30px 6% 38px}.dialog-copy>p:first-child{font-size:12px;color:var(--blue);margin-bottom:10px}.dialog-copy>p:not(:first-child){margin-top:20px;color:#aeb4c1;max-width:65ch;font-size:14px}.dialog-copy h2{font-size:34px}.text-link{display:inline-block;margin-top:24px;font-size:13px;border-bottom:1px solid var(--blue);padding-bottom:5px}.text-link[hidden]{display:none}body.dialog-open{overflow:hidden}
@media(min-width:1700px){.hero{height:780px}.sculpture{right:0}}
@media(max-width:900px){.hero{min-height:620px;padding-top:85px}.sculpture{right:-15%;width:75%;opacity:.8}.hero h1{font-size:80px}.filter-hint{display:none}.work-total{display:none}.approach-top{gap:35px}.principles{gap:30px}.team{gap:40px}.profile{gap:15px}.profile h3{font-size:20px}.profile>img{width:58px;height:58px}.project-info{align-items:flex-start;flex-direction:column;gap:3px}}
@media(max-width:600px){.site-header{height:80px;padding:0 6%}.brand{font-size:22px}.brand img{width:27px;height:27px}.site-header nav{gap:22px;font-size:11px}.site-header nav>a:nth-child(2){display:none}.nav-contact{gap:8px}.nav-contact svg{width:13px}.hero{height:770px;min-height:0;padding-top:48px}.hero h1{font-size:62px}.hero-copy>p{font-size:13px;margin-top:24px}.round-link{margin-top:22px}.sculpture{width:115%;height:470px;right:-19%;top:275px;opacity:1}.hero-caption{bottom:20px;font-size:11px}.hero-caption>span:last-child{gap:10px}.hero-caption .tiny-star{font-size:15px}.work-section{padding-top:65px;padding-bottom:70px}h2{font-size:36px}.section-heading p{font-size:12px;max-width:250px}.filter-row{margin-top:30px;gap:2px}.filter{font-size:11px;padding:9px 11px}.project-grid{grid-template-columns:1fr;gap:30px}.project.featured{grid-column:auto}.project.featured .project-visual{aspect-ratio:1.5;padding:8%}.project-info{flex-direction:row;align-items:baseline}.project-info h3{font-size:17px}.project-info p{font-size:11px}.project-visual{aspect-ratio:1.4}.project-arrow{width:32px;height:32px;bottom:13px;right:13px}.approach{padding:65px 6%}.approach-top{grid-template-columns:1fr;gap:28px}.approach-top>p{font-size:14px}.principles{grid-template-columns:1fr;margin-top:45px;gap:35px}.principle-symbol{height:45px;font-size:27px}.principles h3{margin-bottom:8px}.principles p{max-width:330px}.team{grid-template-columns:1fr;gap:38px;padding-top:70px;padding-bottom:70px}.team-intro>img{width:44px;height:44px;margin-bottom:22px}.profile{padding:25px 0}.profile>img{width:64px;height:64px}.footer-bottom{flex-wrap:wrap;font-size:11px}.footer-bottom>span:nth-child(2){display:none}.footer-wordmark{font-size:24vw}.dialog-image{padding:65px 4% 20px}.dialog-copy{padding:24px 6% 30px}.dialog-copy h2{font-size:28px}}
@media(prefers-reduced-motion:no-preference){.sculpture{animation:glass-in 2s var(--ease) .15s both}@keyframes hero-in{from{filter:blur(5px);transform:translateY(20px)}to{filter:blur(0);transform:translateY(0)}}@keyframes glass-in{from{filter:blur(15px);transform:translateY(30px)}to{filter:blur(0);transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
/* The tool index extends the same open layout and fine-rule language as the work. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.project-grid{align-content:start;overflow-anchor:none}
.project{transform-origin:top left}
.tools-section{max-width:1600px;margin:auto;padding:110px 6% 100px;border-bottom:1px solid var(--line)}
.tools-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:40px}
.tools-heading>p{font-size:14px;line-height:1.9;color:var(--muted);padding-bottom:5px}
.tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px;margin-top:60px}
.tool-group{min-width:0;border-top:1px solid #4b5368;padding-top:20px}
.tool-group h3{color:var(--blue);font-size:13px;font-weight:500;letter-spacing:0;margin-bottom:24px}
.tool-group ul{list-style:none;margin:0;padding:0}
.tool-group li{padding:12px 0;border-bottom:1px solid var(--line);font-size:16px;letter-spacing:-.02em}
@media(max-width:1000px){.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}}
@media(max-width:600px){.tools-section{padding:65px 6%}.tools-heading{display:block}.tools-heading>p{margin-top:24px;font-size:13px}.tools-grid{margin-top:38px;gap:32px 22px}.tool-group h3{font-size:12px;margin-bottom:16px}.tool-group li{font-size:13px;padding:12px 0}.sculpture-fallback img{width:65%}}
/* Brand silhouettes share muted tones from the portfolio palette. */
.tool-group{--tool-ink:#b5c2ed}
.tool-group:nth-child(2){--tool-ink:#b4bdd1}
.tool-group:nth-child(3){--tool-ink:#a9c3c7}
.tool-group:nth-child(4){--tool-ink:#c0b8d4}
.tool-group li{display:flex;align-items:center;gap:12px;min-height:51px}
.tool-logos{display:flex;align-items:center;gap:4px;flex:0 0 40px;color:var(--tool-ink)}
.tool-logo{display:block;width:18px;height:18px;flex:none;background-color:currentColor;-webkit-mask:var(--tool-icon) center/contain no-repeat;mask:var(--tool-icon) center/contain no-repeat}
.tool-logo:only-child{width:24px;height:24px}
.tool-name{min-width:0}
@media(max-width:600px){.tool-group li{gap:8px;min-height:51px}.tool-logos{flex-basis:34px;gap:2px}.tool-logo{width:16px;height:16px}.tool-logo:only-child{width:21px;height:21px}}
.community-section{max-width:1600px;margin:auto;padding:0 6% 110px}
.community-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:44px}
.community-heading>p{font-size:14px;line-height:1.9;color:var(--muted);padding-bottom:5px}
.discord-panel{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--panel)}
.discord-banner{height:270px;background:linear-gradient(115deg,#141a2b,#222d48 55%,#151921);position:relative;overflow:hidden}
.discord-banner>img{width:100%;height:100%;object-fit:cover}
.discord-banner.has-banner{height:auto;aspect-ratio:16/9}
.discord-banner-fallback{display:flex;align-items:center;justify-content:center;gap:16px;height:100%;color:#aebbdc;font-size:24px;font-weight:500;letter-spacing:-.03em}
.discord-banner-fallback>svg{width:46px;height:46px;stroke:none;fill:currentColor}
.discord-body{display:flex;align-items:center;gap:24px;padding:32px 36px}
.discord-icon{width:72px;height:72px;border-radius:16px;object-fit:cover;flex:none}
.discord-identity{min-width:0}.discord-identity h3{font-size:25px;line-height:1.3;letter-spacing:-.025em;font-weight:500;overflow-wrap:anywhere}
.discord-identity>p{font-size:12px;color:var(--muted);margin-top:8px}
.discord-counts{display:flex;flex-wrap:wrap;gap:22px;margin-top:13px;color:#b9c0ce;font-size:12px}
.discord-counts>span{display:flex;align-items:center;gap:6px}.discord-counts strong{font-weight:500;color:var(--text);font-variant-numeric:tabular-nums}
.presence-dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:#8ac9b2;margin-right:2px}
.discord-open,.discord-retry{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;gap:16px;border:1px solid #454d63;border-radius:24px;padding:12px 20px;background:transparent;font-size:12px;white-space:nowrap;color:var(--text);transition:background .25s,color .25s}
.discord-open:hover,.discord-retry:hover{background:var(--text);color:var(--bg)}.discord-open svg{width:16px;height:16px}.discord-retry:disabled{opacity:.5;cursor:wait}
.discord-counts[hidden],.discord-open[hidden],.discord-retry[hidden],.discord-banner-fallback[hidden],.discord-banner>img[hidden]{display:none}
@media(max-width:900px){.discord-body{flex-wrap:wrap}.discord-open,.discord-retry{margin-left:96px}}
@media(max-width:600px){.community-section{padding:0 6% 70px}.community-heading{display:block;margin-bottom:30px}.community-heading>p{font-size:13px;margin-top:22px}.discord-banner{height:180px}.discord-body{gap:18px;padding:25px 22px;align-items:flex-start}.discord-icon{width:54px;height:54px;border-radius:12px}.discord-identity{flex:1}.discord-identity h3{font-size:20px}.discord-identity>p{font-size:11px}.discord-counts{gap:12px;font-size:11px}.discord-open,.discord-retry{margin-left:72px;padding:10px 16px;font-size:11px}.discord-banner-fallback{font-size:20px}.discord-banner-fallback>svg{width:36px;height:36px}}

/* ===== الحساب ===== */
.account{position:relative;display:flex;align-items:center}
.account-login{display:inline-flex;align-items:center;gap:9px;height:38px;padding:0 16px;border:1px solid #ffffff26;border-radius:999px;font-size:12.5px;transition:background .25s,color .25s,border-color .25s}
.account-login svg.filled{width:16px;height:16px;fill:currentColor;stroke:none}
.account-login:hover{background:var(--text);color:var(--bg);border-color:var(--text)}
.account-button{display:grid;place-items:center;padding:0;border:1px solid #ffffff26;border-radius:50%;background:none;width:40px;height:40px;transition:border-color .25s}
.account-button:hover,.account-button[aria-expanded=true]{border-color:var(--blue)}
.account-button img{width:34px;height:34px;border-radius:50%}
.account-pop{position:absolute;top:calc(100% + 12px);right:0;z-index:30;width:260px;padding:8px;border:1px solid #383d49;border-radius:14px;background:#111319f2;backdrop-filter:blur(16px);box-shadow:0 24px 60px #0000008c;animation:popIn .35s var(--ease)}
.account-pop[hidden]{display:none}
@keyframes popIn{from{opacity:0;transform:translateY(-6px) scale(.98)}}
.account-head{display:flex;align-items:center;gap:12px;padding:10px 10px 14px;margin-bottom:6px;border-bottom:1px solid var(--line)}
.account-head img{width:46px;height:46px;border-radius:50%}
.account-head div{min-width:0}
.account-head b{display:block;font-size:15px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-head span{font-size:12px;color:var(--muted)}
.account-item{display:flex;align-items:center;gap:11px;width:100%;padding:10px;border:0;border-radius:9px;background:none;font-size:13px;text-align:left;transition:background .2s}
.account-item:hover{background:#ffffff0d}
.account-item svg{width:17px;height:17px;color:var(--muted)}
.account-note{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:40;padding:11px 18px;border-radius:999px;background:var(--text);color:var(--bg);font-size:13px;font-weight:600}

/* ===== التقييمات ===== */
.reviews-section{max-width:1600px;margin:auto;padding:0 6% 110px}
.review-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.review-card{margin:0;display:flex;flex-direction:column;gap:18px;padding:28px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}
.review-stars{letter-spacing:3px;font-size:14px}
.review-stars span{color:#3a3e48}
.review-card blockquote{margin:0;font-size:16px;line-height:1.75;flex:1;font-family:Manrope,Alexandria,sans-serif}
.review-card figcaption{display:flex;align-items:center;gap:12px;padding-top:18px;border-top:1px solid var(--line)}
.review-card figcaption img{width:36px;height:36px;border-radius:50%}
.review-card figcaption b{display:block;font-weight:500;font-size:13px}
.review-card figcaption span{font-size:11px;color:var(--muted)}
@media(max-width:1000px){.review-list{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.review-list{grid-template-columns:1fr}.reviews-section{padding:0 6% 70px}.account-login span{display:none}.account-login{padding:0 11px}}
.review-card figcaption b,.review-card figcaption span{text-align:left}

/* ===== حركة الهيرو ===== */
#hero-title .line{display:block;overflow:hidden;padding-bottom:.09em;margin-bottom:-.09em}
#hero-title .line>span{display:inline-flex;align-items:center}
.hero-arrow{display:inline-block;width:.5em;height:.5em;margin-left:.32em;transform:translateY(.04em)}
.hero-arrow svg{display:block;width:100%;height:100%;fill:none;stroke:var(--text);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.hero-copy>p,.hero-copy>.round-link{will-change:transform}
@keyframes line-up{from{transform:translateY(108%)}to{transform:none}}
@keyframes fade-up{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes glass-in{from{opacity:0;filter:blur(18px);transform:translateY(40px) scale(.94)}to{filter:blur(0);transform:none}}
@media(prefers-reduced-motion:no-preference){
  #hero-title .line>span{animation:line-up 1.15s var(--ease) both}
  #hero-title .line:nth-child(2)>span{animation-delay:.12s}
  .hero-arrow path{stroke-dasharray:1;stroke-dashoffset:1;animation:draw .9s var(--ease) .75s forwards}
  .hero-arrow path:nth-child(2){animation-delay:1s}
  .hero-copy>p{animation:fade-up 1s var(--ease) .45s both}
  .hero-copy>.round-link{animation:fade-up 1s var(--ease) .6s both}
  .hero-copy>.round-link:hover .circle svg{animation:nudge .6s var(--ease)}
}
@keyframes nudge{50%{transform:translateY(4px)}}
