:root {
  --bg: #07101f;
  --bg-deep: #040a14;
  --surface: #0b1729;
  --surface-high: #10213a;
  --blue: #2f74ff;
  --blue-bright: #70a2ff;
  --blue-soft: #b8d0ff;
  --ink: #f6f3eb;
  --muted: #98a6ba;
  --line: rgba(169, 193, 231, 0.15);
  --line-strong: rgba(169, 193, 231, 0.28);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --page-x: clamp(22px, 5vw, 78px);
  --content: 1380px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--blue); color: white; }

.skip-link {
  position: fixed; z-index: 10000; top: 12px; right: 12px;
  padding: 10px 16px; background: white; color: #07101f; border-radius: 8px;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

.loader {
  position: fixed; z-index: 9999; inset: 0; display: grid; place-content: center;
  justify-items: center; gap: 22px; background: var(--bg-deep);
  transition: transform 1s var(--ease-out), visibility 1s;
}
.loader.is-finished { transform: translateY(-110%); visibility: hidden; }
.loader__mark {
  display: grid; place-items: center; width: 94px; aspect-ratio: 1;
  background: var(--blue); border-radius: 24px;
  box-shadow: 0 18px 60px rgba(47, 116, 255, .32);
  animation: loader-pulse 1.1s var(--ease-snap) infinite alternate;
}
.loader__mark img { width: 66%; height: 66%; object-fit: contain; }
.loader__line { width: 180px; height: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.loader__line span { display: block; width: 100%; height: 100%; background: var(--blue-bright); transform-origin: right; animation: loader-line 1.15s var(--ease-snap) both; }
.loader p { margin: 0; color: var(--muted); font-size: 12px; }
@keyframes loader-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes loader-pulse { to { transform: rotate(-4deg) scale(1.04); } }

.page-noise {
  pointer-events: none; position: fixed; z-index: 20; inset: 0; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.site-header {
  position: fixed; z-index: 90; top: 0; left: 0; width: 100%; height: 92px;
  display: flex; align-items: center; padding: 0 var(--page-x);
  transition: height .35s var(--ease-out), background .35s, border-color .35s;
}
.site-header::before { content: ""; position: absolute; inset: 0; border-bottom: 1px solid transparent; background: rgba(4,10,20,0); backdrop-filter: blur(0); transition: background .35s, border-color .35s, backdrop-filter .35s; }
.site-header.is-scrolled { height: 76px; }
.site-header.is-scrolled::before { background: rgba(4,10,20,.82); border-color: var(--line); backdrop-filter: blur(18px); }
.site-header__inner { position: relative; width: 100%; max-width: var(--content); height: 64px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "cta nav brand"; align-items: center; direction: ltr; }
.brand { grid-area: brand; justify-self: end; direction: rtl; display: inline-flex; align-items: center; gap: 12px; min-height: 48px; }
.brand__mark { position: relative; isolation: isolate; display: grid; place-items: center; width: 42px; aspect-ratio: 1; border-radius: 12px; background: var(--blue); color: white; font-size: 22px; font-weight: 800; box-shadow: inset 0 -4px 0 rgba(0,0,0,.15); }
.brand__mark img { position: relative; z-index: 1; width: 68%; height: 68%; object-fit: contain; }
.brand__copy { display: flex; flex-direction: column; line-height: 1.25; }
.brand__copy strong { font-size: 15px; }
.brand__copy small { color: var(--muted); font-size: 10px; }
.brand--interactive .brand__mark { transition: box-shadow .65s var(--ease-out), background .55s var(--ease-out); }
.brand--interactive .brand__mark::after { content: ""; position: absolute; z-index: -1; inset: -10px; border-radius: 18px; background: radial-gradient(circle, rgba(86,143,255,.5), rgba(47,116,255,.12) 48%, transparent 72%); filter: blur(7px); opacity: 0; transform: scale(.78); transition: opacity .55s ease, transform .7s var(--ease-out); pointer-events: none; }
.brand--interactive:hover .brand__mark { background: #3e80ff; box-shadow: inset 0 -4px 0 rgba(0,0,0,.12), 0 9px 28px rgba(47,116,255,.25); }
.brand--interactive:hover .brand__mark::after { opacity: 1; transform: scale(1); }
.site-nav { grid-area: nav; position: relative; display: flex; align-items: center; gap: 2px; padding: 5px; border: 1px solid var(--line); border-radius: 16px; background: rgba(8,20,36,.72); direction: rtl; }
.site-nav a { position: relative; z-index: 2; min-width: 88px; min-height: 42px; display: grid; place-items: center; padding: 0 16px; border-radius: 11px; color: #8998ae; font-size: 12px; transition: color .3s var(--ease-out), transform .3s var(--ease-out); }
.site-nav a:hover, .site-nav a.is-active { color: white; }
.site-nav a:hover { transform: translateY(-1px); }
.nav-indicator { position: absolute; z-index: 1; top: 5px; bottom: 5px; left: 0; width: 88px; border: 1px solid rgba(112,162,255,.23); border-radius: 11px; background: linear-gradient(180deg, rgba(47,116,255,.24), rgba(47,116,255,.12)); box-shadow: 0 8px 26px rgba(7,25,59,.38); transform: translateX(var(--nav-x, 0)); transition: width .42s var(--ease-out), transform .42s var(--ease-out), opacity .25s; }
.header-cta { grid-area: cta; justify-self: start; direction: rtl; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 128px; min-height: 46px; padding: 0 18px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 13px; background: transparent; color: #dce6f5; font-size: 12px; box-shadow: inset 0 0 0 0 rgba(127,145,170,0); transition: color .38s ease, background .45s ease, border-color .5s var(--ease-out), box-shadow .55s var(--ease-out), transform .45s var(--ease-out); }
.header-cta:hover { border-color: rgba(151,174,207,.72); background: rgba(126,157,204,.045); color: white; box-shadow: inset 0 0 0 1px rgba(151,174,207,.12); transform: translateY(-1px); }
.menu-button { grid-area: menu; display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 13px; background: rgba(8,20,36,.75); color: white; }
.menu-button span { display: block; width: 19px; height: 1px; margin: 5px auto; background: currentColor; transition: transform .3s var(--ease-out), opacity .2s; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.scroll-progress { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; height: 2px; overflow: hidden; background: rgba(112,162,255,.07); }
.scroll-progress i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #286eff, #78a8ff); box-shadow: 0 0 14px rgba(47,116,255,.68); transform: scaleX(0); transform-origin: left center; will-change: transform; }

.hero { position: relative; min-height: 94svh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); align-items: center; gap: clamp(34px, 5vw, 84px); padding: 132px max(var(--page-x), calc((100vw - var(--content)) / 2 + var(--page-x))) 72px; overflow: hidden; border-bottom: 1px solid var(--line); }
#signal-field { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .46; pointer-events: none; }
.hero::before { content: ""; position: absolute; width: 820px; height: 820px; left: -330px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(47,116,255,.15), transparent 66%); pointer-events: none; }
.hero__copy { position: relative; z-index: 2; max-width: 720px; }
.kicker { margin: 0 0 22px; color: var(--blue-soft); font-size: 12px; font-weight: 500; }
h1 { margin: 0; max-width: 790px; font-size: clamp(48px, 5vw, 82px); line-height: 1.2; letter-spacing: -.045em; font-weight: 600; text-wrap: balance; }
h1 em { color: var(--blue-bright); font-style: normal; }
.headline-line { display: block; overflow: hidden; }
.headline-line > span { display: block; transform: translateY(120%); transition: transform 1.05s var(--ease-out); }
.is-ready .headline-line > span { transform: translateY(0); }
.headline-line:nth-child(2) > span { transition-delay: .12s; }
.headline-line--accent { color: var(--blue-bright); }
.hero__intro { max-width: 590px; margin: 28px 0 0; color: #aeb9ca; font-size: clamp(15px, 1.12vw, 18px); line-height: 1.95; }
.hero__actions { display: flex; gap: 12px; margin-top: 34px; }
.button { position: relative; display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 56px; padding: 0 24px; overflow: hidden; border-radius: 14px; background: transparent; color: inherit; font-size: 13px; font-weight: 600; border: 1px solid var(--line-strong); transition: transform .3s var(--ease-out), background .3s, border-color .3s; }
.button--shine::before { content: ""; position: absolute; inset: -18% auto -18% -42%; width: 30%; background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.04) 22%, rgba(255,255,255,.3) 50%, rgba(255,255,255,.04) 78%, transparent 100%); filter: blur(3.5px); transform: skewX(-16deg); animation: button-shine 5.4s ease-in-out infinite; pointer-events: none; }
@keyframes button-shine { 0%, 69% { translate: 0; } 90%, 100% { translate: 500%; } }
.button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.button--primary { background: var(--blue); border-color: var(--blue); box-shadow: none; }
.button--primary:hover { background: #3e80ff; }
.button--primary:not(.button--depth):hover { transform: translateY(-3px); }
.button--depth { --depth-edge: #174ea9; --depth-shadow: rgba(0,0,0,.2); transform-style: preserve-3d; box-shadow: 0 3px 0 var(--depth-edge), 0 8px 14px var(--depth-shadow); transition: background .3s, border-color .3s, box-shadow .46s cubic-bezier(.22,.8,.32,1); }
.button--depth > * { position: relative; z-index: 1; transform: translateZ(11px); }
.button--depth.is-hovered { box-shadow: 0 5px 0 var(--depth-edge), 0 12px 20px var(--depth-shadow); }
.button--ghost { color: #bac4d3; box-shadow: inset 0 0 0 0 rgba(127,145,170,0); transition: color .38s ease, border-color .5s var(--ease-out), background .45s ease, box-shadow .55s var(--ease-out), transform .45s var(--ease-out); }
.button--ghost:hover { border-color: rgba(151,174,207,.72); background: rgba(126,157,204,.045); color: white; box-shadow: inset 0 0 0 1px rgba(151,174,207,.12); transform: translateY(-1px); }
.hero__object { position: relative; z-index: 2; min-height: 500px; display: grid; place-items: center; perspective: 1200px; }
.monogram-scene { width: min(28vw, 390px); aspect-ratio: 1; display: grid; place-items: center; transform-style: preserve-3d; will-change: transform; }
.monogram-card { position: relative; width: 72%; aspect-ratio: 1; transform: rotateX(10deg) rotateY(-18deg) rotateZ(7deg); transform-style: preserve-3d; filter: drop-shadow(-24px 34px 45px rgba(0,0,0,.38)); animation: card-float 6s ease-in-out infinite; }
.monogram-card__face { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #5590ff 0%, var(--blue) 45%, #1454d6 100%); border: 1px solid rgba(255,255,255,.25); border-radius: 28%; transform: translateZ(30px); box-shadow: inset 0 0 45px rgba(255,255,255,.12), inset 0 -22px 40px rgba(1,30,90,.38); }
.monogram-card__face::before { content: ""; position: absolute; inset: 5%; border: 1px solid rgba(255,255,255,.22); border-radius: 25%; }
.monogram-card__face > img { position: relative; z-index: 2; width: 72%; height: 72%; object-fit: contain; filter: drop-shadow(-8px 12px 0 rgba(6,31,87,.2)); }
.monogram-card__face i { position: absolute; width: 80%; height: 60%; top: -34%; right: -20%; background: rgba(255,255,255,.22); filter: blur(22px); transform: rotate(-25deg); }
.monogram-card__edge { position: absolute; inset: 3% -5% -6% 4%; z-index: -1; border-radius: 29%; background: #0d3d9f; transform: translateZ(-5px); }
.orbit { position: absolute; border: 1px solid rgba(112,162,255,.18); border-radius: 50%; }
.orbit--one { width: 76%; aspect-ratio: 1; transform: rotateX(65deg); }
.orbit--two { width: 55%; aspect-ratio: 1; transform: rotateY(68deg); }
@keyframes card-float { 0%,100% { translate: 0 -8px; } 50% { translate: 0 12px; } }

.showcase-ticker { direction: ltr; height: 62px; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: #060e1b; }
.showcase-ticker__track { width: max-content; display: flex; align-items: center; gap: 32px; color: #526783; font-family: "Space Grotesk", sans-serif; font-size: 10px; letter-spacing: .12em; white-space: nowrap; animation: showcase-ticker 30s linear infinite; }
.showcase-ticker__track i { width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px rgba(47,116,255,.5); }
@keyframes showcase-ticker { to { transform: translateX(-50%); } }
.section-shell { max-width: var(--content); margin: 0 auto; padding: clamp(96px, 9vw, 136px) var(--page-x); }
.section-heading { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; padding-bottom: 48px; }
.section-heading > p { grid-column: 1; margin: 0 0 14px; color: var(--blue-soft); font-size: 12px; font-weight: 500; }
.section-heading h2 { grid-column: 1; margin: 0; max-width: 760px; font-size: clamp(38px, 3.7vw, 58px); line-height: 1.3; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.section-heading > span { grid-column: 2; grid-row: 1 / 3; align-self: end; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: #75859b; font-size: 11px; line-height: 1; }
.project, .game-project { position: relative; isolation: isolate; }
.project { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(145deg, #0b1729, #081321); }
.project--featured { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 620px; }
.project__copy { display: flex; flex-direction: column; padding: clamp(34px, 5vw, 72px); border-left: 1px solid var(--line); }
.project__meta { display: flex; justify-content: space-between; color: var(--blue-soft); font-family: "Space Grotesk", "IBM Plex Sans Arabic", sans-serif; font-size: 10px; }
.project__brand { display: flex; align-items: center; gap: 12px; margin-top: clamp(44px, 6vh, 72px); color: #dce8ff; font-family: "Space Grotesk", "IBM Plex Sans Arabic", sans-serif; font-size: 12px; }
.project__brand i { display: grid; place-items: center; width: 40px; aspect-ratio: 1; padding: 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 11px; background: #0a1c38; }
.project__brand i img { display: block; width: 100%; height: 100%; object-fit: contain; }
.project__copy h3 { margin: 24px 0 18px; font-size: clamp(42px, 4vw, 60px); line-height: 1.16; letter-spacing: -.045em; font-weight: 600; }
.project__copy > p { max-width: 530px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.95; }
.project__copy ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 34px; padding: 0; list-style: none; }
.project__copy li { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: #aebbd0; font-size: 10px; }
.project__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.text-link { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); color: #c9d3e2; font-size: 12px; }
.text-link span { font-size: 20px; transition: transform .3s var(--ease-out); }
.text-link:hover span { transform: translate(-5px, -5px); }
.project__visual { position: relative; min-height: 620px; overflow: hidden; background: radial-gradient(circle at 58% 48%, rgba(66,133,255,.28), transparent 34%), linear-gradient(155deg, #0e2548, #06101f 70%); }
.project__visual::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 55px 55px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent); }
.project__visual--fetchbit { background: radial-gradient(circle at 54% 47%, rgba(91,151,255,.42), transparent 36%), linear-gradient(150deg, #102d5a, #06101f 72%); }
.app-window { position: absolute; z-index: 3; top: 50%; left: 50%; width: min(92%, 850px); overflow: hidden; border: 1px solid rgba(224,236,255,.24); border-radius: 20px; background: #07111e; box-shadow: 0 45px 100px rgba(0,0,0,.55), 0 0 90px rgba(47,116,255,.12); transform: translate(-51%, -49%) rotate(-2.2deg); transition: transform .8s var(--ease-out), box-shadow .8s var(--ease-out); }
.project:hover .app-window { transform: translate(-51%, -52%) rotate(-.6deg) scale(1.015); box-shadow: 0 55px 120px rgba(0,0,0,.6), 0 0 110px rgba(47,116,255,.2); }
.app-window__bar { direction: ltr; height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 13px; background: #0e1b2e; border-bottom: 1px solid rgba(255,255,255,.08); color: #667891; font-family: "Space Grotesk", sans-serif; font-size: 8px; }
.app-window__bar i { width: 7px; height: 7px; border-radius: 50%; background: #41526a; }
.app-window__bar span { margin-left: auto; }
.app-window img { display: block; width: 100%; height: auto; }
.download-pulse { position: absolute; z-index: 5; right: 7%; bottom: 8%; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(6,16,31,.75); box-shadow: 0 18px 50px rgba(0,0,0,.3); backdrop-filter: blur(15px); color: #dce8ff; font-size: 10px; animation: download-float 3.8s ease-in-out infinite; }
.download-pulse svg { width: 18px; fill: none; stroke: var(--blue-bright); stroke-width: 1.7; }
@keyframes download-float { 50% { transform: translateY(-9px); } }

.game-project { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 560px; margin-top: 20px; overflow: hidden; border: 1px solid rgba(255,181,90,.28); border-radius: var(--radius-lg); background: #fff3da; color: #101c32; }
.game-project__visual { position: relative; min-height: 560px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 42%, #ffc557, #ff9b27 56%, #ed6e19 100%); }
.game-project__visual::before { content: ""; position: absolute; inset: 0; opacity: .34; background-image: radial-gradient(#17233b 1.1px, transparent 1.1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000, transparent 88%); }
.game-project__visual > img { position: relative; z-index: 4; width: min(49%, 270px); filter: drop-shadow(0 16px 18px rgba(84,39,4,.16)); transition: transform .75s var(--ease-out); }
.game-project:hover .game-project__visual > img { transform: translateY(-10px) rotate(-2deg); }
.game-cards { position: absolute; inset: 0; z-index: 2; }
.game-cards span, .game-cards i { position: absolute; display: grid; place-items: center; border: 2px solid #17233b; border-radius: 24px; background: #fff5df; box-shadow: 8px 10px 0 rgba(23,35,59,.16); transform: rotate(var(--card-rotate)); transition: transform .75s var(--ease-out); }
.game-cards span { top: 10%; right: 8%; width: 150px; aspect-ratio: .78; padding: 18px; color: #17233b; font-size: 20px; line-height: 1.35; font-weight: 700; text-align: center; --card-rotate: 9deg; }
.game-cards i { width: 105px; aspect-ratio: .76; }
.game-cards i::after { content: "؟"; color: #17233b; font-style: normal; font-size: 38px; font-weight: 800; }
.game-cards i:nth-of-type(1) { left: 8%; top: 16%; --card-rotate: -12deg; }
.game-cards i:nth-of-type(2) { left: 13%; bottom: 5%; --card-rotate: 7deg; }
.game-cards i:nth-of-type(3) { right: 10%; bottom: 2%; --card-rotate: -8deg; }
.game-project:hover .game-cards span, .game-project:hover .game-cards i { transform: rotate(0deg) translateY(-8px); }
.game-project__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 5vw, 74px); }
.game-project__copy .project__meta { color: #7d5222; }
.game-project__copy h3 { margin: 58px 0 18px; font-size: clamp(44px, 4vw, 62px); line-height: 1.12; letter-spacing: -.045em; }
.game-project__copy > p { margin: 0; max-width: 520px; color: #4d5360; font-size: 15px; line-height: 1.95; }
.game-project__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 38px; }
.game-project__facts span { padding: 7px 12px; border: 1px solid rgba(23,35,59,.17); border-radius: 999px; color: #4b4e55; font-size: 10px; }
.game-project__cta { align-self: flex-start; background: #17233b; border-color: #17233b; color: #fff7e7; }
.game-project__cta:hover { background: #253552; }
.game-project__cta.button--depth { --depth-edge: #0b1220; --depth-shadow: rgba(11,18,32,.22); }
.game-project__cta svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.social-hub { position: relative; width: 100%; max-width: none; overflow: hidden; margin: 0; padding-right: max(var(--page-x), calc((100vw - var(--content)) / 2 + var(--page-x))); padding-bottom: 0; padding-left: max(var(--page-x), calc((100vw - var(--content)) / 2 + var(--page-x))); border-top: 0; background: linear-gradient(180deg, rgba(4,10,20,0) 0, rgba(4,10,20,.68) 120px, var(--bg-deep) 300px); }
.social-hub__glow { position: absolute; width: min(80vw, 980px); aspect-ratio: 1; top: -22%; left: 50%; border-radius: 50%; background: radial-gradient(circle, rgba(47,116,255,.18), rgba(47,116,255,.035) 43%, transparent 69%); transform: translateX(-50%); pointer-events: none; }
.social-hub__intro { position: relative; z-index: 2; max-width: 760px; margin: 0 auto 48px; text-align: center; }
.social-hub__mark { display: grid; place-items: center; width: 60px; aspect-ratio: 1; margin: 0 auto 24px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: linear-gradient(145deg, #5590ff, #2467e4); color: white; font-size: 30px; font-weight: 800; box-shadow: inset 0 -5px 0 rgba(0,0,0,.14), 0 18px 48px rgba(47,116,255,.23); transform: rotate(-4deg); }
.social-hub__mark img { width: 68%; height: 68%; object-fit: contain; }
.social-hub__intro > p { margin: 0; color: var(--blue-soft); font-size: 12px; }
.social-hub__intro h2 { margin: 16px 0 18px; font-size: clamp(42px, 4.25vw, 64px); line-height: 1.22; letter-spacing: -.045em; font-weight: 600; text-wrap: balance; white-space: nowrap; }
.social-hub__intro h2 span { color: var(--blue-bright); }
.social-hub__intro > span:last-of-type { display: block; max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 14px; }
.social-hub__cta { margin-top: 30px; }
.social-grid { position: relative; z-index: 2; max-width: 650px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 12px; }
.social-card { --social-accent: var(--blue); position: relative; min-height: 94px; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 17px 19px; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: rgba(15,31,55,.72); transform: translate3d(0,0,0); transition: transform .72s cubic-bezier(.22,.8,.32,1), border-color .58s ease, background .58s ease, box-shadow .72s cubic-bezier(.22,.8,.32,1); }
.social-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, color-mix(in srgb, var(--social-accent) 12%, transparent), transparent 45%); opacity: 0; transition: opacity .58s ease; }
.social-card:hover { z-index: 2; transform: translate3d(0,-5px,0); border-color: color-mix(in srgb, var(--social-accent) 48%, transparent); background: rgba(18,37,66,.9); box-shadow: 0 22px 60px rgba(0,0,0,.25); transition-duration: .38s; }
.social-card:hover::before { opacity: 1; }
.social-card__icon { position: relative; z-index: 2; width: 58px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--social-accent) 30%, transparent); border-radius: 16px; background: color-mix(in srgb, var(--social-accent) 13%, #091525); color: var(--social-accent); box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.social-card__icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social-card--whatsapp .social-card__icon svg { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.social-card__copy { position: relative; z-index: 2; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; text-align: start; line-height: 1.5; }
.social-card__copy strong { color: #eef4ff; font-size: 15px; font-weight: 600; }
.social-card__copy small { overflow: hidden; color: #7f90a8; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.social-card__arrow { position: relative; z-index: 2; width: 36px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(113,131,157,.2); border-radius: 50%; background: rgba(7,16,31,.28); color: #71839d; transform: translate3d(0,0,0); transition: color .5s ease, border-color .58s ease, background .58s ease, transform .68s cubic-bezier(.22,.8,.32,1); }
.social-card__arrow svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social-card:hover .social-card__arrow { color: var(--social-accent); border-color: color-mix(in srgb, var(--social-accent) 34%, transparent); background: color-mix(in srgb, var(--social-accent) 8%, #07101f); transform: translate3d(4px,0,0); transition-duration: .36s; }
.social-card--linktree { --social-accent: #79a8ff; }
.social-card--whatsapp { --social-accent: #25d366; }
.social-card--github { --social-accent: #e6edf3; }
.site-footer { position: relative; z-index: 2; width: 100%; min-height: 132px; margin-top: 84px; display: grid; grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr); align-items: center; gap: 32px; border-top: 1px solid var(--line); text-align: initial; }
.site-footer .brand { grid-area: auto; justify-self: start; }
.site-footer__brand .brand__copy small { max-width: none; }
.site-footer > p { margin: 0; color: #627189; font-size: 11px; text-align: center; white-space: nowrap; }
.site-footer__meta { justify-self: end; display: flex; align-items: center; gap: 22px; color: #73839a; font-family: "Space Grotesk", "IBM Plex Sans Arabic", sans-serif; font-size: 11px; }
.site-footer__meta a { min-height: 44px; display: inline-flex; align-items: center; color: #a9b6c9; transition: color .25s, transform .3s var(--ease-out); }
.site-footer__meta a:hover { color: white; transform: translateY(-2px); }

.project-modal { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; padding: 24px; }
.project-modal[hidden] { display: none; }
.project-modal__backdrop { position: absolute; inset: 0; background: rgba(2,7,15,.9); will-change: opacity; animation: modal-veil .22s ease-out both; }
.project-dialog { position: relative; z-index: 2; width: min(680px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; padding: 34px; contain: layout paint; border: 1px solid rgba(112,162,255,.24); border-radius: 28px; background: radial-gradient(100% 70% at 100% 0%, rgba(47,116,255,.14), transparent 55%), #0d192c; box-shadow: 0 30px 76px rgba(0,0,0,.5); scrollbar-width: none; will-change: transform, opacity; animation: dialog-in .34s var(--ease-out) both; }
.project-dialog::-webkit-scrollbar { display: none; width: 0; height: 0; }
.project-dialog__close { position: absolute; top: 20px; left: 20px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 13px; background: #14233a; color: #97a6ba; font-size: 24px; line-height: 1; transition: background .25s, color .25s, transform .3s var(--ease-out); }
.project-dialog__close:hover { background: #203453; color: white; transform: rotate(5deg); }
.project-dialog__header { display: flex; align-items: center; gap: 15px; padding-inline-start: 58px; margin-bottom: 30px; }
.project-dialog__mark { flex: 0 0 auto; display: grid; place-items: center; width: 54px; aspect-ratio: 1; border-radius: 16px; background: linear-gradient(145deg, #5590ff, #2467e4); color: white; font-size: 26px; font-weight: 700; box-shadow: inset 0 -5px 0 rgba(0,0,0,.13), 0 16px 38px rgba(47,116,255,.22); }
.project-dialog__mark img { width: 68%; height: 68%; object-fit: contain; }
.project-dialog__header h2 { margin: 0 0 4px; font-size: 25px; line-height: 1.35; }
.project-dialog__header p { margin: 0; color: var(--muted); font-size: 12px; }
.project-form { display: grid; gap: 25px; }
.project-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.project-form legend, .project-form__field > label { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; color: #e8eef8; font-size: 13px; font-weight: 600; }
.project-form legend > span, .project-form__field > label > span { display: inline-grid; place-items: center; width: 23px; height: 23px; border: 1px solid rgba(112,162,255,.33); border-radius: 7px; background: rgba(47,116,255,.1); color: var(--blue-bright); font-family: "Space Grotesk", sans-serif; font-size: 10px; }
.project-form legend small { color: #71839a; font-size: 10px; font-weight: 400; }
.project-form__field label small { color: #71839a; font-weight: 400; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.choice-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-grid label { position: relative; cursor: pointer; }
.choice-grid input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.choice-grid label > span { min-height: 52px; display: grid; place-items: center; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 13px; background: rgba(6,16,31,.46); color: #c2cddd; font-size: 12px; transition: color .25s, border-color .25s, background .25s, transform .2s; }
.choice-grid label:hover > span { border-color: rgba(112,162,255,.55); color: white; }
.choice-grid input:checked + span { border-color: var(--blue); background: rgba(47,116,255,.18); color: white; box-shadow: inset 0 0 0 1px rgba(112,162,255,.12); }
.choice-grid input:focus-visible + span { outline: 2px solid var(--blue-bright); outline-offset: 3px; }
.choice-grid label:active > span { transform: scale(.98); }
.project-form__field input, .project-form__field textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 13px; background: rgba(6,16,31,.62); color: white; font: inherit; font-size: 13px; caret-color: var(--blue-bright); transition: border-color .25s, background .25s, box-shadow .25s; }
.project-form__field input { min-height: 54px; padding: 0 16px; }
.project-form__field textarea { display: block; min-height: 112px; padding: 14px 16px; resize: vertical; }
.project-form__field input::placeholder, .project-form__field textarea::placeholder { color: #5f7089; }
.project-form__field input:focus, .project-form__field textarea:focus { outline: none; border-color: var(--blue); background: #0a172a; box-shadow: 0 0 0 3px rgba(47,116,255,.12); }
.project-form__error { min-height: 0; margin: -9px 0 0; color: #ff9ba9; font-size: 12px; }
.project-form__error:not(:empty) { min-height: 22px; }
.project-form__submit { position: relative; min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden; border: 0; border-radius: 14px; background: #25d366; color: #04150a; font-weight: 700; }
.project-form__submit:hover { background: #35df74; }
.project-form__submit.button--depth { --depth-edge: #128b43; --depth-shadow: rgba(0,0,0,.22); box-shadow: 0 3px 0 var(--depth-edge), 0 8px 14px var(--depth-shadow); transition: background .3s ease, box-shadow .52s var(--ease-out); }
.project-form__submit.button--depth.is-hovered { box-shadow: 0 5px 0 var(--depth-edge), 0 12px 20px var(--depth-shadow); }
.project-form__submit svg { width: 22px; fill: currentColor; stroke: none; }
.project-form__note { display: block; margin-top: -14px; color: #65758e; font-size: 10px; text-align: center; }
body.modal-open { overflow: hidden; }
body.modal-open .monogram-card,
body.modal-open .showcase-ticker__track { animation-play-state: paused; }
@keyframes modal-veil { from { opacity: 0; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(28px) scale(.98); } }
.project-modal.is-closing .project-modal__backdrop { animation: modal-veil-out .2s ease both; }
.project-modal.is-closing .project-dialog { animation: dialog-out .2s ease both; }
@keyframes modal-veil-out { to { opacity: 0; } }
@keyframes dialog-out { to { opacity: 0; transform: translateY(18px) scale(.985); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 5px; }

@media (max-width: 980px) {
  .site-header__inner { grid-template-columns: 1fr 1fr; grid-template-areas: "menu brand"; }
  .site-nav { position: fixed; inset: 82px var(--page-x) auto; display: grid; gap: 4px; padding: 10px; border-radius: 20px; background: rgba(4,10,20,.96); box-shadow: 0 24px 70px rgba(0,0,0,.38); opacity: 0; transform: translateY(-12px) scale(.98); transform-origin: top; pointer-events: none; transition: opacity .3s, transform .4s var(--ease-out); }
  .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a { width: 100%; min-height: 52px; display: flex; justify-content: flex-start; padding-inline: 18px; border-radius: 12px; }
  .site-nav a:hover, .site-nav a.is-active { background: rgba(47,116,255,.13); }
  .nav-indicator { display: none; }
  .header-cta { display: none; }
  .menu-button { grid-area: menu; display: block; justify-self: start; }
  .hero { min-height: auto; grid-template-columns: 1fr; align-content: start; align-items: start; padding-top: 132px; padding-bottom: 82px; }
  .hero__object { order: -1; min-height: 390px; }
  .monogram-scene { width: min(66vw, 390px); }
  .hero__copy { order: 2; text-align: center; margin-inline: auto; }
  .hero__intro { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .project--featured { grid-template-columns: 1fr; }
  .project__copy { min-height: 520px; border-left: 0; border-bottom: 1px solid var(--line); }
  .project__visual { min-height: 550px; }
  .game-project { grid-template-columns: 1fr; }
  .game-project__visual { min-height: 520px; }
  .game-project__copy { min-height: 520px; }
  .site-footer { grid-template-columns: 1fr auto; gap: 22px; }
  .site-footer > p { display: none; }
}

@media (max-width: 650px) {
  :root { --page-x: 20px; --radius-lg: 24px; }
  .site-header { height: 76px; padding-inline: var(--page-x); }
  .site-header__inner { height: 58px; }
  .site-nav { top: 76px; }
  .brand__copy small { display: none; }
  .showcase-ticker { height: 54px; }
  .showcase-ticker__track { gap: 24px; font-size: 9px; }
  .hero { min-height: auto; padding-top: 94px; padding-bottom: 76px; }
  .hero__object { order: -1; min-height: 270px; }
  .hero__copy { order: 2; width: 100%; min-width: 0; }
  .monogram-scene { width: min(62vw, 270px); }
  h1 { width: 100%; font-size: clamp(36px, 10.2vw, 46px); line-height: 1.22; letter-spacing: -.035em; }
  .hero__intro { font-size: 14px; line-height: 1.9; }
  .hero__actions { flex-direction: column; }
  .button { width: 100%; }
  .section-shell { padding-top: 82px; padding-bottom: 82px; }
  .section-heading { column-gap: 18px; padding-bottom: 34px; }
  .section-heading h2 { font-size: 34px; }
  .section-heading > span { padding: 8px 10px; font-size: 9px; }
  .project__copy { min-height: 470px; padding: 30px 24px; }
  .project__copy h3 { font-size: 42px; }
  .project__brand { margin-top: 50px; }
  .project__actions { flex-direction: column; }
  .project__actions .button { width: 100%; }
  .project__visual { min-height: 390px; }
  .app-window { width: 94%; border-radius: 13px; }
  .app-window__bar { height: 29px; font-size: 6px; }
  .download-pulse { right: 4%; bottom: 5%; }
  .game-project__visual { min-height: 410px; }
  .game-project__visual > img { width: 46%; }
  .game-cards span { width: 105px; border-radius: 17px; font-size: 14px; }
  .game-cards i { width: 73px; border-radius: 17px; }
  .game-cards i::after { font-size: 28px; }
  .game-project__copy { min-height: 520px; padding: 34px 24px; }
  .game-project__copy h3 { margin-top: 60px; font-size: 50px; }
  .game-project__cta { width: 100%; }
  .social-hub__intro { margin-bottom: 40px; }
  .social-hub__intro h2 { font-size: 40px; white-space: normal; }
  .social-hub__intro > span:last-of-type { font-size: 13px; }
  .social-hub__cta { width: auto; min-width: 190px; }
  .social-grid { gap: 10px; }
  .social-card { min-height: 84px; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 13px; padding: 14px; border-radius: 17px; }
  .social-card__icon { width: 52px; border-radius: 14px; }
  .social-card__copy strong { font-size: 14px; }
  .site-footer { min-height: auto; margin-top: 62px; padding: 30px 0; grid-template-columns: 1fr; justify-items: center; gap: 22px; text-align: center; }
  .site-footer .brand, .site-footer__meta { justify-self: center; }
  .site-footer__meta { flex-wrap: wrap; justify-content: center; gap: 12px 22px; }
  .project-modal { place-items: end center; padding: 0; }
  .project-dialog { width: 100%; max-height: calc(100dvh - 10px); padding: 30px 20px max(28px, env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; }
  .project-dialog__close { top: 16px; left: 16px; }
  .project-dialog__header { padding-inline-start: 48px; }
  .project-dialog__header h2 { font-size: 22px; }
  .choice-grid--three { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  :root { --page-x: 16px; }
  .brand__copy { display: none; }
  .site-footer__brand .brand__copy { display: flex; }
  .site-footer__brand .brand__copy small { display: block; }
  h1 { font-size: clamp(36px, 11.8vw, 46px); }
  .hero__intro { font-size: 13px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > span { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 18px; }
  .project__copy, .game-project__copy { padding-inline: 20px; }
  .social-hub__intro h2 { font-size: 36px; }
  .project-dialog { padding-inline: 16px; }
  .project-dialog__header { align-items: flex-start; }
  .project-dialog__mark { width: 48px; border-radius: 14px; }
  .project-dialog__header p { font-size: 11px; }
  .choice-grid { gap: 7px; }
  .choice-grid label > span { min-height: 49px; padding-inline: 8px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .headline-line > span { transform: none; }
  .loader { display: none; }
  .showcase-ticker__track { animation: none; }
}
