@font-face{font-family:"Rashid IBM Plex Arabic";src:url("assets/fonts/IBMPlexSansArabic-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
:root{--black:#151515;--white:#faf9f6;--blue:#315cff;--orange:#ff7138;--gold:#FFD700;--line:#dcdad3;--muted:#77756f}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--white);color:var(--black);font-family:"DM Sans",sans-serif}a{color:inherit;text-decoration:none}.nav{position:sticky;top:0;z-index:100;height:74px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding-inline:max(32px,calc((100vw - 1216px)/2));background:linear-gradient(180deg,rgba(255,255,255,.60),rgba(250,249,246,.38));-webkit-backdrop-filter:blur(20px) saturate(185%);backdrop-filter:blur(20px) saturate(185%);border-bottom:1px solid rgba(21,21,21,.07);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 12px 30px -20px rgba(21,21,21,.4)}.nav .nav-button{margin-inline-start:auto}.nav-mid{position:absolute;left:50%;transform:translateX(-50%);font-size:12px;font-weight:600;color:var(--black);padding:6px 2px}.nav-mid:after{content:"";position:absolute;left:2px;right:2px;bottom:0;height:2px;background:var(--black);transform:scaleX(0);transition:transform .28s cubic-bezier(.4,0,.2,1)}.nav-mid:hover:after,.nav-mid:focus-visible:after{transform:scaleX(1)}@media(prefers-reduced-motion:reduce){.nav-mid:after{transition:none}}@media(max-width:440px){.nav-mid{display:none}}@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.nav{background:var(--white)}}#home,#work,#course,#about,#contact,#quotes{scroll-margin-top:90px}.logo{font:700 17px "Syne";letter-spacing:-.01em;display:flex;align-items:center;gap:9px;white-space:nowrap}.logo span:first-child{background:var(--black);color:white;border-radius:7px;width:29px;height:29px;display:grid;place-items:center}.period{color:var(--orange);margin-inline-start:-6px}/* Brand mark: a real Я in Unbounded, pulled as a one-glyph subset (text=Я).
   Syne has no Cyrillic, so the mark carries its own face. */
.ya{font-family:"Unbounded",sans-serif;font-style:normal}
.nav-button{border:1px solid var(--black);border-radius:30px;padding:10px 15px;font-size:11px}.nav-button span:last-child{color:var(--blue);margin-left:8px}
.hero{max-width:1280px;margin:auto;min-height:680px;padding:90px 32px;display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.kicker{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:#77736d;display:flex;align-items:center;gap:9px}.kicker span{width:7px;height:7px;background:var(--orange);border-radius:50%}h1{font:800 clamp(67px,8vw,110px)/.87 "Syne";letter-spacing:-.07em;margin:25px 0 28px}h1 mark{background:var(--gold);color:var(--black);padding:0 .07em}h1+ p{max-width:500px;color:#6e6c66;line-height:1.8;font-size:15px}.hero-buttons{display:flex;align-items:center;gap:25px;margin-top:32px}.button{display:inline-flex;align-items:center;gap:14px;padding:11px 11px 11px 22px;border-radius:9px;font-size:12px;font-weight:600;letter-spacing:.01em;transition:transform .18s ease,box-shadow .18s ease}.button.dark{background:var(--black);color:white;box-shadow:5px 5px 0 var(--gold)}.button.dark:hover{transform:translate(3px,3px);box-shadow:2px 2px 0 var(--gold)}.button.dark:active{transform:translate(5px,5px);box-shadow:0 0 0 var(--gold)}
/* ── Hero CTAs ────────────────────────────────────────────────────
   Both hero buttons share one geometry (.button) and one mark
   (.code-mark). The mark is three real glyphs — < / > — not an icon,
   so it inherits weight and colour and stays crisp at any zoom.
   At rest the slash blinks like a terminal caret; on hover the two
   brackets open around it and the slash snaps to full size.
   .ghost is the secondary pill. It carries no mark — the animation is
   the pill itself: an ink sweep that fills it from the leading edge on
   hover. min-height matches the dark button's chip-set height so the
   two sit level despite holding different content. */
.button.ghost{position:relative;overflow:hidden;background:transparent;border:1.5px solid var(--black);color:var(--black);padding:0 26px;min-height:52px;transition:transform .18s ease,box-shadow .18s ease,color .26s ease;box-shadow:5px 5px 0 var(--blue)}
.button.ghost:hover{transform:translate(3px,3px);box-shadow:2px 2px 0 var(--blue)}
.button.ghost:active{transform:translate(5px,5px);box-shadow:0 0 0 var(--blue)}
.button.ghost::before{content:"";position:absolute;inset:0;background:var(--black);transform:scaleX(0);transform-origin:left center;transition:transform .34s cubic-bezier(.4,0,.2,1)}
.button.ghost>span{position:relative;z-index:1}
.button.ghost:hover,.button.ghost:focus-visible{color:var(--white)}
.button.ghost:hover::before,.button.ghost:focus-visible::before{transform:scaleX(1)}

/* direction:ltr keeps "</>" from reordering when the page flips to RTL. */
.code-mark{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:1px;width:36px;height:30px;border-radius:8px;background:var(--gold);color:var(--black);font:600 12px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-style:normal;direction:ltr;unicode-bidi:isolate}
.code-mark b,.code-mark u{display:block;text-decoration:none;transition:transform .3s cubic-bezier(.4,0,.2,1),opacity .3s ease}
.code-mark u{animation:code-caret 1.15s steps(1,end) infinite}
@keyframes code-caret{0%,55%{opacity:1}56%,100%{opacity:.2}}
.button:hover .code-mark b:first-child,.button:focus-visible .code-mark b:first-child{transform:translateX(-3.5px)}
.button:hover .code-mark b:last-child,.button:focus-visible .code-mark b:last-child{transform:translateX(3.5px)}
.button:hover .code-mark u,.button:focus-visible .code-mark u{animation:none;opacity:1;transform:scale(1.3)}
@media(prefers-reduced-motion:reduce){.code-mark u{animation:none;opacity:1}.code-mark b,.code-mark u{transition:none}.button.ghost::before{transition:none}}

.color-strip{height:10px;display:grid;grid-template-columns:1fr 1fr 1fr 1fr}.color-strip span:nth-child(1){background:var(--black)}.color-strip span:nth-child(2){background:var(--orange)}.color-strip span:nth-child(3){background:var(--blue)}.color-strip span:nth-child(4){background:var(--gold)}

.section{max-width:1280px;margin:auto;padding:105px 32px}.section-top{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:50px}.section-top small,.about-left small,.band-label{font-size:10px;letter-spacing:.13em;color:var(--blue)}.band-label{display:block;margin-bottom:22px}.section-top h2{font:700 clamp(50px,6vw,78px)/.88 "Syne";letter-spacing:-.065em;margin:17px 0 0}.section-top h2 i{font-style:normal;color:var(--orange)}.section-top>p{font-size:11px;color:#77736d;line-height:1.6}.project-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:20px}.project{border:1px solid #d9d7d0;background:white}.project-one{grid-row:span 2}.project-visual{height:280px;position:relative;overflow:hidden}.project-one .project-visual{height:455px}.project-info{padding:22px 24px 25px}.project-info small{font-size:9px;color:var(--blue);letter-spacing:.1em}.project-info h3{font:600 20px "Syne";margin:9px 0}.project-info p{font-size:11px;line-height:1.7;color:#77736d;max-width:430px;margin:0 0 18px}.project-info p strong{color:var(--black);font-weight:600}.project-info a{font-size:13px;font-weight:600;letter-spacing:.01em;border-bottom:2px solid #bbb;padding-bottom:6px}
.about{border-top:1px solid var(--line);display:grid;grid-template-columns:.7fr 1fr;gap:110px}.about-left h2{font:700 clamp(48px,6vw,75px)/.9 "Syne";letter-spacing:-.065em;margin:20px 0}.about-left h2 span{color:var(--blue)}.about-right{padding-top:15px}.about-right p{color:#77736d;line-height:1.8;font-size:13px;max-width:570px}.about-right p strong{color:var(--black);font-weight:600}.about-right .large{font:500 26px/1.4 "Syne";color:var(--black);letter-spacing:-.025em}

.contact{padding-bottom:110px}.contact-card{background:var(--blue);color:white;padding:58px 55px;min-height:430px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;box-shadow:16px 16px 0 var(--black)}.contact-card:before{content:"";position:absolute;width:430px;height:430px;border:1px solid #ffffff38;border-radius:50%;right:-90px;top:-120px;box-shadow:0 0 0 46px #ffffff0a}.contact-card:after{content:"Я";position:absolute;right:-40px;bottom:-120px;font:800 400px/.8 "Unbounded",sans-serif;color:#ffffff12}
/* Both are positioned, so without this they paint ON TOP of the static card
   content and swallow its clicks — the watermark covers the whole bottom
   strip where the social row sits. */
.contact-card:before,.contact-card:after{pointer-events:none;z-index:0}
.contact-top,.contact-card h2,.contact-bottom{position:relative;z-index:1}.contact-top{display:flex;justify-content:flex-end}.contact-top span{font:800 22px "Syne"}.contact-card h2{font:700 clamp(55px,7vw,100px)/.85 "Syne";letter-spacing:-.07em;margin:44px 0 40px}.contact-card h2 em{font-style:normal;color:var(--gold)}.contact-bottom{display:flex;flex-direction:column;gap:32px}.contact-bottom p{font-size:13px;line-height:1.75;color:#dce3ff;margin:0;max-width:400px;border-inline-start:2px solid var(--gold);padding-inline-start:18px;align-self:flex-start}footer{max-width:1280px;margin:auto;border-top:1px solid var(--line);padding:25px 32px;display:flex;justify-content:space-between;align-items:center;color:#77736d;font-size:9px}footer>div:last-child{display:flex;gap:18px}footer>div:last-child a:hover{color:var(--blue)}
@media(max-width:800px){.nav{padding-inline:18px;gap:10px}.nav-button{display:none}.hero{grid-template-columns:1fr;padding:70px 18px;gap:45px}.section{padding:80px 18px}.section-top{align-items:flex-start;flex-direction:column;gap:15px}.project-grid{grid-template-columns:1fr}.project-one{grid-row:auto}.project-one .project-visual{height:350px}.about{grid-template-columns:1fr;gap:35px}.contact-card{padding:35px 22px;min-height:400px;box-shadow:9px 9px 0 var(--black)}.contact-bottom{gap:26px}footer{padding:22px 18px;flex-wrap:wrap;gap:15px}footer small{width:100%;order:3;text-align:center}}
@media(max-width:460px){h1{font-size:58px}.hero-buttons{align-items:flex-start;flex-direction:column}.project-one .project-visual{height:300px;padding:18px}.contact-card h2{font-size:57px}}

.kurdish{border-top:1px solid var(--line);background:#f2f1ec;max-width:none;padding-left:max(32px,calc((100vw - 1216px)/2));padding-right:max(32px,calc((100vw - 1216px)/2))}
.kurdish,.kurdish *{font-family:"Rashid IBM Plex Arabic",sans-serif}






.kurdish-card{min-height:300px;border:1px solid #d9d7d0;position:relative;overflow:hidden}






.kurdish .band-label{max-width:820px;margin-inline:auto}.quote-ku{background:var(--gold);padding:48px 45px;max-width:820px;margin-inline:auto;display:flex;flex-direction:column;justify-content:center}
.quote-ku>span{font:700 70px/1 "Syne";color:var(--black);height:45px}
.quote-ku .quote-text{font:400 25px/1.8 "Rashid IBM Plex Arabic";letter-spacing:-.035em;margin:15px 0}
.quote-ku small{font-size:11px;color:#555}
@media(max-width:800px){
.kurdish{padding-left:18px;padding-right:18px}




.quote-ku{min-height:240px}
}

/* ══════════════════════════════════════════════════════════════
   SELECTED WORK — real project visuals
   ══════════════════════════════════════════════════════════════ */
.project-info h3{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.tag-live{font:600 8px/1 "DM Sans",sans-serif;font-style:normal;letter-spacing:.11em;text-transform:uppercase;background:var(--gold);color:var(--black);padding:5px 8px;border-radius:20px}
.project-info a{display:inline-block;transition:border-color .2s,color .2s}
.project-info a:hover{color:var(--blue);border-bottom-color:var(--blue)}

/* project-one spans two rows — let its visual absorb the extra height
   instead of leaving a white gap under the copy. */
.project-one{display:flex;flex-direction:column}
.project-one .project-visual{height:auto;flex:1;min-height:455px}

/* ── 01 Mafia Nights ── */
.mafia-visual{background:radial-gradient(125% 105% at 72% 0%,#1d1710 0%,#050303 68%);padding:34px;display:flex;flex-direction:column;justify-content:space-between}
.mafia-moon{position:absolute;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle at 34% 32%,#e0c368,#8a6f22);right:-62px;top:-62px;opacity:.9}
.mafia-cards{position:relative;flex:1;display:flex;align-items:center;justify-content:center}
.mcard{position:absolute;width:168px;height:240px;border-radius:13px;border:1px solid rgba(200,168,74,.32)}
.mcard.back-2{background:#0d0b08;transform:rotate(-17deg) translateX(-62px);box-shadow:0 18px 40px rgba(0,0,0,.55)}
.mcard.back-1{background:#151009;transform:rotate(-8deg) translateX(-30px);box-shadow:0 18px 40px rgba(0,0,0,.55)}
.mcard.face{background:linear-gradient(158deg,#1c160c,#0a0806);border-color:#c8a84a;box-shadow:0 24px 52px rgba(0,0,0,.7);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;padding:18px;text-align:center}
.mcard-team{font:700 7px "DM Sans",sans-serif;letter-spacing:.26em;color:#c0453f}
.mcard.face b{font:700 18px/1.1 "Syne";color:#c8a84a}
.mcard.face em{font-family:"Rashid IBM Plex Arabic",sans-serif;font-style:normal;font-size:13px;color:#8f8878}
.mafia-hud{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;border-top:1px solid rgba(200,168,74,.22);padding-top:14px;font-size:8px;letter-spacing:.16em}
.mafia-hud span{color:#c8a84a}
.mafia-hud i{font-style:normal;color:#6d675c}

/* ── 02 Sikhur ── */
.sikhur-visual{background:#090b14;padding:30px;display:grid;place-items:center}
.sk-orb{position:absolute;border-radius:50%;filter:blur(46px);opacity:.62}
.sk-orb-a{width:200px;height:200px;background:#4f6dff;left:-52px;top:-46px}
.sk-orb-b{width:180px;height:180px;background:#d24b9c;right:-46px;bottom:-52px}
.sk-card{position:relative;z-index:2;width:78%;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:24px 20px;text-align:center;backdrop-filter:blur(9px);box-shadow:0 20px 45px rgba(0,0,0,.45)}
.sk-card small{font-family:"Rashid IBM Plex Arabic",sans-serif;font-size:10px;color:#8f9bc4}
.sk-card h4{font-family:"Rashid IBM Plex Arabic",sans-serif;font-weight:400;font-size:44px;line-height:1.25;margin:6px 0 16px;color:#fff}
.sk-dots{display:flex;justify-content:center;gap:6px}
.sk-dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.22)}
.sk-dots i:nth-child(3){background:#d24b9c}
.sk-badge{position:absolute;z-index:3;right:24px;top:22px;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:var(--black);font:800 18px "Syne";transform:rotate(11deg)}

/* ── 03 Rashid Lab ── */
.lab-visual{background:#151515;padding:28px;display:grid;place-items:center}
.vs-window{width:100%;height:100%;background:#0f1117;border:1px solid #2a2f3d;border-radius:8px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 16px 38px rgba(0,0,0,.5)}
.vs-bar{height:30px;background:#171a22;border-bottom:1px solid #2a2f3d;display:flex;align-items:center;gap:6px;padding:0 12px}
.vs-bar i{width:8px;height:8px;border-radius:50%;display:block}
.vs-bar i.d1{background:#ff5f57}.vs-bar i.d2{background:#febc2e}.vs-bar i.d3{background:#28c840}
.vs-bar span{margin-left:auto;font-size:8px;color:#5c6478;letter-spacing:.06em}
.vs-body{flex:1;display:flex}
.vs-rail{width:34px;border-right:1px solid #2a2f3d;padding:12px 0;display:flex;flex-direction:column;align-items:center;gap:11px}
.vs-rail u{width:13px;height:13px;border-radius:3px;background:#242938;text-decoration:none;display:block}
.vs-rail u:first-child{background:#c8a84a}
.vs-code{flex:1;padding:14px 16px;font:500 10px/2 "DM Sans",monospace;color:#9aa3bb}
.vs-code p{margin:0;white-space:nowrap}
.vs-code p.ind{padding-left:16px}
.vs-code b{font-weight:600}
.c-key{color:#c678dd}.c-var{color:#61afef}.c-prop{color:#e5c07b}.c-str{color:#98c379}.c-num{color:#d19a66}
.vs-chip{position:absolute;right:20px;bottom:18px;background:var(--gold);color:var(--black);font:700 9px "Syne";padding:6px 10px;border-radius:20px}

/* ── 04 Course (coming soon) ── */
.project-course{grid-column:1/-1;background:var(--black);color:#fff;border-color:var(--black)}
.course-visual{display:grid;grid-template-columns:1.1fr .9fr;gap:45px;padding:46px 44px;position:relative;overflow:hidden}
.course-visual:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(200,239,74,.14),transparent 68%);right:-120px;top:-160px}
.course-left small{font-size:10px;letter-spacing:.13em;color:var(--gold)}
.course-left h3{font:700 clamp(34px,4vw,52px)/.95 "Syne";letter-spacing:-.055em;margin:20px 0 18px}
.course-left h3 em{font-style:normal;color:var(--orange)}
.course-left p{font-size:12px;line-height:1.9;color:#a9a7a0;max-width:470px;margin:0}
.course-actions{display:flex;align-items:center;gap:22px;margin-top:32px;flex-wrap:wrap}
.course-cta{background:var(--gold);color:var(--black);padding:14px 18px;font-size:12px;font-weight:600;border-radius:6px}
.course-cta b{color:var(--blue);margin-left:14px}
.course-note{font-size:10px;letter-spacing:.08em;color:#6f6d67}
.course-right{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;gap:18px}
.course-badge{align-self:flex-start;background:var(--orange);color:#fff;font:800 11px "Syne";letter-spacing:.14em;padding:7px 13px;transform:rotate(-3deg)}
.course-list{list-style:none;margin:0;padding:0;border-top:1px solid #2e2e2e}
.course-list li{display:flex;gap:16px;align-items:center;padding:13px 0;border-bottom:1px solid #2e2e2e;font-size:12px;color:#dcdad3}
.course-list i{font-style:normal;font:700 10px "Syne";color:var(--blue)}


/* ── Contact buttons ── */







/* ── Reveal animation (used by script.js) ── */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s ease}
.reveal.show{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}html{scroll-behavior:auto}}

@media(max-width:800px){
.project-one .project-visual{min-height:350px}
.mafia-visual{padding:24px}
.mcard{width:140px;height:200px}
.course-visual{grid-template-columns:1fr;gap:32px;padding:34px 22px}
.sk-card h4{font-size:38px}
}
@media(max-width:460px){
.project-one .project-visual{min-height:300px;padding:18px}
.mcard{width:124px;height:178px}
.mcard.back-2{transform:rotate(-17deg) translateX(-44px)}
.mcard.back-1{transform:rotate(-8deg) translateX(-22px)}
.course-left h3{font-size:32px}


}
