:root {
  --ink: #070812;
  --ink-soft: #0d1020;
  --ink-card: #111426;
  --paper: #f7f8fb;
  --white: #ffffff;
  --muted: #9aa2b6;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(9, 13, 30, 0.12);
  --cyan: #62f0e7;
  --cyan-bright: #23dfd6;
  --blue: #7495ff;
  --violet: #7447ff;
  --orange: #ff8a2a;
  --display: "Manrope", system-ui, sans-serif;
  --arabic: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --shell: min(1180px, calc(100vw - 48px));
  --header-height: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body {
  font-family: var(--arabic);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  color: inherit;
}

::selection {
  background: var(--cyan);
  color: var(--ink);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: 132px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-noise {
  position: fixed;
  z-index: 80;
  inset: 0;
  pointer-events: none;
  opacity: 0.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='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  z-index: 120;
  inset: 0 0 auto;
  height: 2px;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.scrolled,
.site-header.menu-open {
  border-color: var(--line);
  background: rgba(7, 8, 18, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  background: #11142d;
  box-shadow: 0 8px 30px rgba(68, 90, 255, 0.2);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

html[dir="rtl"] .brand-name {
  font-family: var(--display);
}

.brand-name span {
  color: var(--cyan);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-inline-start: auto;
}

.desktop-nav a {
  position: relative;
  color: #c5cad8;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  inset: auto 50% -9px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--cyan);
  content: "";
  opacity: 0;
  transform: translateX(-50%) scale(0);
  transition: opacity 180ms ease, transform 180ms ease;
}

html[dir="rtl"] .desktop-nav a::after {
  transform: translateX(50%) scale(0);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a.active {
  color: var(--white);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a.active::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

html[dir="rtl"] .desktop-nav a:hover::after,
html[dir="rtl"] .desktop-nav a:focus-visible::after,
html[dir="rtl"] .desktop-nav a.active::after {
  transform: translateX(50%) scale(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-toggle {
  display: inline-flex;
  height: 40px;
  align-items: center;
  gap: 8px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.language-current,
.language-next {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.language-next {
  color: var(--muted);
}

.language-divider {
  width: 1px;
  height: 13px;
  background: var(--line);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.91rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 10px 17px;
  font-size: 0.82rem;
}

.button-primary {
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(35, 223, 214, 0.12);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #8df7ef;
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-arrow {
  font-size: 1.15em;
  transition: transform 180ms ease;
}

.button:hover .button-arrow,
.button:focus-visible .button-arrow {
  transform: translate(2px, -2px);
}

html[dir="rtl"] .button:hover .button-arrow,
html[dir="rtl"] .button:focus-visible .button-arrow {
  transform: translate(-2px, -2px);
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  min-height: 100svh;
  padding-block: 162px 52px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 42%, rgba(76, 62, 213, 0.2), transparent 29%),
    linear-gradient(180deg, #070812 0%, #090b17 100%);
}

.hero-grid,
.contact-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 72%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  width: 480px;
  height: 480px;
  inset: 18% auto auto -270px;
  background: radial-gradient(circle, rgba(35, 223, 214, 0.12), transparent 68%);
}

.hero-glow-two {
  width: 640px;
  height: 640px;
  inset: auto -340px -230px auto;
  background: radial-gradient(circle, rgba(116, 71, 255, 0.2), transparent 68%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 72px;
}

.eyebrow,
.availability-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #b7bed1;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[dir="rtl"] .eyebrow,
html[dir="rtl"] .availability-line {
  letter-spacing: 0;
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(98, 240, 231, 0.08);
}

.pulse-dot::after {
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(98, 240, 231, 0.45);
  border-radius: 999px;
  content: "";
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% { opacity: 0.8; transform: scale(0.6); }
  80%, 100% { opacity: 0; transform: scale(1.7); }
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.25rem, 5.4vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

html[dir="rtl"] .hero h1 {
  font-size: clamp(3rem, 5.1vw, 5.35rem);
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  padding-block: 0.06em 0.14em;
  background: linear-gradient(90deg, var(--cyan) 0%, #83b7ff 45%, #a287ff 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.hero-lede {
  max-width: 660px;
  margin: 24px 0 0;
  color: #b1b8ca;
  font-size: 1.06rem;
  line-height: 1.78;
}

html[dir="rtl"] .hero-lede {
  font-size: 1.12rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-block-start: 52px;
  border-block-start: 1px solid var(--line);
  padding-block-start: 22px;
}

.hero-proof div {
  min-width: 0;
  padding-inline-end: 18px;
}

.hero-proof div + div {
  padding-inline-start: 18px;
  border-inline-start: 1px solid var(--line);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  margin-block-end: 4px;
  color: #f3f5fa;
  font-size: 0.75rem;
  font-weight: 800;
}

.hero-proof span {
  color: #777f94;
  font-size: 0.7rem;
}

.hero-showcase {
  position: relative;
  min-height: 620px;
  isolation: isolate;
}

.showcase-orbit {
  position: absolute;
  inset: 46px 6px 30px 58px;
  z-index: -1;
  border: 1px solid rgba(116, 149, 255, 0.25);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.showcase-orbit::before,
.showcase-orbit::after {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px var(--cyan);
  content: "";
}

.showcase-orbit::before { inset: 8% auto auto 18%; }
.showcase-orbit::after { inset: auto 12% 12% auto; background: var(--violet); box-shadow: 0 0 20px var(--violet); }

.showcase-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 21, 42, 0.85);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(12px);
}

.showcase-web {
  width: min(82%, 430px);
  inset: 112px 6px auto auto;
  border-radius: 20px;
  transform: rotate(4deg);
}

.mini-browser-bar {
  display: flex;
  height: 32px;
  align-items: center;
  gap: 5px;
  padding-inline: 12px;
  background: #181b2c;
}

.mini-browser-bar span,
.console-header > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6d68;
}

.mini-browser-bar span:nth-child(2),
.console-header > span:nth-child(2) { background: #ffc85e; }
.mini-browser-bar span:nth-child(3),
.console-header > span:nth-child(3) { background: var(--cyan); }

.mini-browser-bar small {
  overflow: hidden;
  margin-inline-start: 7px;
  color: #727a91;
  font-family: var(--display);
  font-size: 0.58rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-web > img {
  width: 100%;
  aspect-ratio: 1.73 / 1;
  object-fit: cover;
  object-position: top;
}

.showcase-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
}

.showcase-caption span { color: var(--muted); font-size: 0.63rem; }
.showcase-caption strong { font-size: 0.7rem; }

.showcase-phone {
  width: 188px;
  inset: auto auto 48px 22px;
  padding: 7px;
  border-radius: 34px;
  transform: rotate(-7deg);
}

.showcase-phone img {
  width: 100%;
  border-radius: 27px;
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  inset: 12px 50% auto auto;
  width: 42px;
  height: 12px;
  border-radius: 999px;
  background: #090a11;
  transform: translateX(50%);
}

.showcase-brand {
  display: grid;
  width: 264px;
  min-height: 112px;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 15px;
  inset: 34px auto auto 12px;
  padding: 14px;
  border-radius: 18px;
  transform: rotate(-4deg);
}

.showcase-brand img {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  object-fit: cover;
}

.showcase-brand span,
.showcase-brand strong { display: block; }
.showcase-brand span { color: var(--cyan); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.showcase-brand strong { margin-block-start: 5px; font-size: 0.85rem; line-height: 1.4; }

.showcase-label {
  position: absolute;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--display);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.label-top { inset: 84px -8px auto auto; }
.label-bottom { inset: auto auto 24px 246px; transform: rotate(180deg); }

.capability-ribbon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-block-start: 58px;
  padding-block-start: 25px;
  border-block-start: 1px solid var(--line);
  color: #81899e;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[dir="rtl"] .capability-ribbon { letter-spacing: 0; }

.capability-ribbon i {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--cyan);
}

.work-section,
.expertise-section,
.studio-section {
  background: var(--paper);
  color: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 80px;
  margin-block-end: 60px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #686f82;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

html[dir="rtl"] .section-kicker { letter-spacing: 0; }

.section-kicker > span:first-child {
  color: var(--violet);
  font-family: var(--display);
}

.section-kicker.light { color: #98a1b9; }
.section-kicker.light > span:first-child { color: var(--cyan); }

.section-heading h2,
.quality-intro h2,
.ai-copy h2,
.studio-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.45rem, 4.4vw, 4.45rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.04;
}

html[dir="rtl"] .section-heading h2,
html[dir="rtl"] .quality-intro h2,
html[dir="rtl"] .ai-copy h2,
html[dir="rtl"] .studio-copy h2,
html[dir="rtl"] .contact-copy h2 {
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-heading > p {
  margin: 0;
  color: #646b7d;
  font-size: 1rem;
  line-height: 1.8;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: var(--white);
}

.project-featured {
  display: grid;
  grid-column: 1 / -1;
  min-height: 570px;
  grid-template-columns: 0.85fr 1.15fr;
  background: #0d1020;
  color: var(--white);
}

.project-copy {
  position: relative;
  z-index: 2;
  padding: 48px;
}

.project-copy.compact {
  padding: 32px 34px 36px;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #888fa0;
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.02em;
}

.status::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.status-live { color: #18b9ad; }
.project-featured .status-live { color: var(--cyan); }
.status-client { color: #d9680c; }
.status-academic { color: #6e4fe0; }
.status-concept { color: #3d6da8; }

.project-index {
  margin-block: 36px 2px;
  color: #31364c;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 800;
}

.project-copy h3 {
  margin: 24px 0 14px;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
}

html[dir="rtl"] .project-copy h3 { letter-spacing: -0.02em; line-height: 1.2; }

.project-copy.compact h3 {
  margin-block-start: 26px;
  font-size: 2rem;
}

.project-copy p {
  max-width: 620px;
  margin: 0;
  color: #6e7587;
  line-height: 1.78;
}

.project-featured .project-copy p { color: #aeb5c7; }

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.project-tags li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #bfc5d4;
  font-size: 0.7rem;
  font-weight: 700;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-block-start: 30px;
}

.project-links a,
.project-links button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  border-block-end: 1px solid currentColor;
  background: none;
  color: inherit;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.8;
}

.project-links a:hover,
.project-links a:focus-visible,
.project-links button:hover,
.project-links button:focus-visible {
  color: var(--violet);
}

.project-featured .project-links a:hover,
.project-featured .project-links a:focus-visible,
.project-featured .project-links button:hover,
.project-featured .project-links button:focus-visible {
  color: var(--cyan);
}

.project-visual {
  position: relative;
  overflow: hidden;
  min-height: 330px;
}

.project-luma {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  min-height: 515px;
  border-color: #e6ddcf;
  background: #faf7f0;
}

.project-luma .project-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 46px 48px;
}

.project-luma .project-meta { width: 100%; }
.project-luma .status-live { color: #007f80; }
.project-luma .project-copy h3 {
  margin-block: 12px 20px;
  color: #073e42;
  font-size: clamp(3.4rem, 5.2vw, 5.8rem);
}
.project-luma .project-copy p { color: #53636a; }
.project-luma .project-tags { margin-block-start: 25px; }
.project-luma .project-tags li { border-color: #d7dfda; color: #24585a; }
.project-luma .project-links { margin-block-start: auto; padding-block-start: 30px; color: #073e42; }
.project-luma .project-links a:hover,
.project-luma .project-links a:focus-visible,
.project-luma .project-links button:hover,
.project-luma .project-links button:focus-visible { color: #d15752; }

.luma-project-label {
  margin-block-start: 58px;
  color: #c75651;
  font-family: var(--display);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.luma-visual {
  display: grid;
  place-items: center;
  min-height: 550px;
  padding: 26px 16px;
  isolation: isolate;
  background: radial-gradient(circle at 76% 70%, #2e8685, transparent 42%), linear-gradient(140deg, #0b494d, #072f36);
}

.luma-visual::before {
  position: absolute;
  inset: 8% -15% auto auto;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  content: "";
}

.luma-browser-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 15px;
  background: #fffaf3;
  box-shadow: 0 28px 70px rgba(0, 22, 28, .35);
}

.luma-browser-frame {
  width: min(90%, 700px);
  transform: rotate(-1deg);
}

.luma-browser-bar {
  display: flex;
  height: 31px;
  align-items: center;
  gap: 5px;
  padding-inline: 12px;
  background: #f7eee3;
}

.luma-browser-bar span { width: 6px; height: 6px; border-radius: 50%; background: #d5ab99; }
.luma-browser-bar small { margin-inline: auto; padding-inline-end: 30px; color: #627474; font-size: .55rem; font-weight: 700; }
.luma-browser-frame img { display: block; width: 100%; height: auto; }

.project-mixmall .mixmall-project-title img {
  display: block;
  width: min(100%, 260px);
  height: auto;
}

.project-mixmall .screenshot-fallback img {
  width: 72%;
  height: auto;
  border-radius: 0;
  object-fit: contain;
}

.mixmall-visual {
  min-height: 570px;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 43%, rgba(227, 54, 49, 0.23), transparent 35%),
    radial-gradient(circle at 15% 78%, rgba(35, 223, 214, 0.12), transparent 26%),
    linear-gradient(145deg, #14172c, #070812 72%);
}

.mixmall-visual::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: radial-gradient(circle at 50% 45%, black, transparent 78%);
}

.mixmall-visual::after {
  position: absolute;
  z-index: -2;
  inset: 9% 7% 15%;
  border: 1px solid rgba(116, 149, 255, 0.2);
  border-radius: 50%;
  content: "";
  transform: rotate(-12deg);
}

.mixmall-brand-orbit {
  position: absolute;
  z-index: -1;
  inset: 50% auto auto 50%;
  display: grid;
  width: 280px;
  height: 280px;
  place-items: center;
  border: 1px dashed rgba(98, 240, 231, 0.16);
  border-radius: 50%;
  opacity: 0.42;
  transform: translate(-50%, -55%);
}

.mixmall-brand-orbit img {
  width: 68%;
  opacity: 0.64;
}

.mixmall-screen-stage {
  position: absolute;
  inset: 34px 20px 50px;
}

.mixmall-screen {
  position: absolute;
  width: min(29%, 184px);
  margin: 0;
  transition: transform 420ms cubic-bezier(.2,.75,.2,1);
}

.screen-admin-dashboard {
  z-index: 2;
  inset: 88px auto auto 6%;
  transform: rotate(-7deg);
}

.screen-customer-marketplace {
  z-index: 4;
  inset: 25px auto auto 50%;
  width: min(34%, 218px);
  transform: translateX(-50%);
}

.screen-admin-order {
  z-index: 2;
  inset: 88px 6% auto auto;
  transform: rotate(7deg);
}

.screen-admin-dashboard:hover { transform: translateY(-8px) rotate(-5deg); }
.screen-customer-marketplace:hover { transform: translate(-50%, -10px); }
.screen-admin-order:hover { transform: translateY(-8px) rotate(5deg); }

.mixmall-device {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1080 / 2424;
  border: 5px solid #080910;
  border-radius: 29px;
  background: linear-gradient(155deg, #15192d, #0a0c18);
  box-shadow:
    0 28px 65px rgba(0, 0, 0, 0.54),
    0 0 0 1px rgba(255,255,255,.13),
    inset 0 0 0 1px rgba(255,255,255,.06);
}

.customer-device {
  box-shadow:
    0 34px 78px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(128, 101, 255, .34),
    0 0 54px rgba(116, 71, 255, .14);
}

.mixmall-device > img[data-project-screenshot] {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 320ms ease;
}

.mixmall-device.screenshot-loaded > img[data-project-screenshot] {
  opacity: 1;
}

.screenshot-fallback {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 13px;
  padding: 16px;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(155deg, #171a2e, #0b0d18);
  background-size: 24px 24px, 24px 24px, auto;
  text-align: center;
}

.screenshot-fallback img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
  opacity: .86;
}

.screenshot-fallback span {
  color: #aab2c5;
  font-size: .6rem;
  font-weight: 800;
  line-height: 1.4;
}

.mixmall-screen figcaption {
  display: grid;
  gap: 1px;
  margin-block-start: 11px;
  text-align: center;
}

.mixmall-screen figcaption span {
  color: var(--cyan);
  font-family: var(--display);
  font-size: .51rem;
  font-weight: 800;
  letter-spacing: .11em;
}

.mixmall-screen figcaption strong {
  color: #aeb6c8;
  font-size: .62rem;
  font-weight: 700;
}

.mixmall-flow-note {
  position: absolute;
  z-index: 5;
  inset: auto 50% 16px auto;
  min-width: 245px;
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  background: rgba(7,8,18,.78);
  text-align: center;
  transform: translateX(50%);
  backdrop-filter: blur(12px);
}

.mixmall-flow-note span,
.mixmall-flow-note strong { display: block; }
.mixmall-flow-note span { color: #737c91; font-size: .51rem; }
.mixmall-flow-note strong { color: #dce1ec; font-family: var(--display); font-size: .62rem; }

.browser-project {
  min-height: 330px;
  padding: 34px 28px 0;
  background: linear-gradient(145deg, #121622, #242b3b);
}

.browser-project .mini-browser-bar {
  border-radius: 12px 12px 0 0;
}

.browser-project > img {
  width: 100%;
  aspect-ratio: 1.73 / 1;
  object-fit: cover;
  object-position: top;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.3);
}

.phone-gallery {
  display: flex;
  min-height: 330px;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  padding: 36px 38px 0;
  background:
    radial-gradient(circle at center, rgba(255, 138, 42, 0.19), transparent 56%),
    #15110e;
}

.phone-shot {
  overflow: hidden;
  border: 4px solid #12141e;
  border-radius: 22px;
  background: #12141e;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.34);
}

.phone-shot img { width: 100%; }

.phone-gallery .phone-shot {
  width: 32%;
  max-width: 150px;
}

.phone-gallery .phone-shot-one { transform: translateY(18px) rotate(-5deg); }
.phone-gallery .phone-shot-two { z-index: 2; transform: translateY(-8px); }
.phone-gallery .phone-shot-three { transform: translateY(20px) rotate(5deg); }

.split-phone-visual {
  display: grid;
  min-height: 330px;
  grid-template-columns: 1fr 0.7fr;
  align-items: center;
  gap: 26px;
  padding: 36px 44px 0;
  background: linear-gradient(145deg, #111321, #242149);
}

.split-phone-visual .project-logo-card {
  align-self: center;
}

.project-logo-card img {
  width: 100%;
  max-width: 260px;
  margin-inline: auto;
}

.split-phone-visual .phone-shot {
  width: min(100%, 162px);
  align-self: end;
  justify-self: center;
  border-color: #070812;
  border-block-end: 0;
  border-radius: 25px 25px 0 0;
}

.dalilak-visual {
  background: linear-gradient(145deg, #e9e9f4, #bfc0dd);
}

.dalilak-visual .phone-shot { border-color: #242459; }

.expertise-section {
  padding-block-start: 30px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-block-start: 1px solid var(--line-dark);
  border-inline-start: 1px solid var(--line-dark);
}

.service-card {
  position: relative;
  min-height: 390px;
  padding: 34px 36px 38px;
  border-inline-end: 1px solid var(--line-dark);
  border-block-end: 1px solid var(--line-dark);
  transition: background-color 220ms ease, transform 220ms ease;
}

.service-card:hover {
  z-index: 2;
  background: var(--white);
}

.service-number {
  color: #8b91a1;
  font-family: var(--display);
  font-size: 0.67rem;
  font-weight: 800;
}

.service-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-block: 50px 24px;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 15px;
  background: #f1f3f8;
  color: var(--violet);
  font-family: var(--display);
  font-size: 1.35rem;
}

.service-card h3 {
  margin: 0 0 13px;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

html[dir="rtl"] .service-card h3 { letter-spacing: 0; }

.service-card p {
  margin: 0;
  color: #687082;
  line-height: 1.75;
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 5px 9px;
  border-radius: 999px;
  background: #eceff5;
  color: #5d6577;
  font-size: 0.68rem;
  font-weight: 700;
}

.quality-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 0 0, rgba(35, 223, 214, 0.08), transparent 25%),
    #090b16;
}

.quality-intro {
  display: grid;
  grid-template-columns: 0.35fr 1.05fr 0.6fr;
  align-items: end;
  gap: 38px;
}

.quality-intro .section-kicker { align-self: start; }

.quality-intro h2 {
  font-size: clamp(2.65rem, 4.8vw, 4.8rem);
}

.quality-intro > p:last-child {
  margin: 0;
  color: #a6aec1;
  line-height: 1.8;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 86px 0 0;
  padding: 0;
  border-block-start: 1px solid var(--line);
  list-style: none;
}

.process-track li {
  position: relative;
  padding: 30px 18px 10px 0;
}

html[dir="rtl"] .process-track li { padding: 30px 0 10px 18px; }

.process-track li::before {
  position: absolute;
  inset: -4px auto auto 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px #090b16;
  content: "";
}

html[dir="rtl"] .process-track li::before { inset: -4px 0 auto auto; }

.process-track li + li { padding-inline-start: 18px; }

.process-track span,
.process-track strong { display: block; }
.process-track span { margin-block-end: 28px; color: #596176; font-family: var(--display); font-size: 0.65rem; font-weight: 800; }
.process-track strong { font-size: 0.91rem; }
.process-track p { margin: 9px 0 0; color: #858da1; font-size: 0.76rem; line-height: 1.65; }

.quality-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-block-start: 84px;
}

.quality-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.quality-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #6e778d;
  font-family: var(--display);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.quality-card-top i {
  width: 28px;
  height: 1px;
  background: var(--cyan);
}

.quality-card h3 {
  margin: 74px 0 14px;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

html[dir="rtl"] .quality-card h3 { letter-spacing: 0; }

.quality-card p {
  margin: 0;
  color: #929aae;
  font-size: 0.89rem;
  line-height: 1.75;
}

.ai-section {
  background: #eef1f7;
  color: var(--ink);
}

.ai-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 86px;
}

.ai-copy h2 { font-size: clamp(2.55rem, 4.5vw, 4.4rem); }

.ai-copy > p:last-child {
  margin: 28px 0 0;
  color: #656d7f;
  line-height: 1.82;
}

.ai-console {
  overflow: hidden;
  border: 1px solid rgba(11, 14, 30, 0.14);
  border-radius: var(--radius-md);
  background: #0e1120;
  color: var(--white);
  box-shadow: 0 36px 90px rgba(21, 25, 54, 0.18);
}

.console-header {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 6px;
  padding-inline: 18px;
  border-block-end: 1px solid var(--line);
}

.console-header small {
  margin-inline-start: 10px;
  color: #697186;
  font-family: var(--display);
  font-size: 0.65rem;
}

.console-body { padding: 10px 18px; }

.console-row {
  display: grid;
  grid-template-columns: 34px 1fr 20px;
  align-items: start;
  gap: 12px;
  padding-block: 20px;
  border-block-end: 1px solid var(--line);
}

.console-row > span { color: #5d657b; font-family: var(--display); font-size: 0.63rem; font-weight: 800; }
.console-row strong { display: block; margin-block-end: 3px; font-size: 0.84rem; }
.console-row p { margin: 0; color: #8e96aa; font-size: 0.76rem; }
.console-row b { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid rgba(98,240,231,.22); border-radius: 50%; background: rgba(98,240,231,.08); color: var(--cyan); font-family: var(--display); font-size: .67rem; }

.console-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 20px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.7rem;
}

.console-footer span { color: #7d8599; }
.console-footer strong { color: var(--cyan); }

.studio-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: 90px;
}

.studio-monogram {
  position: sticky;
  top: 120px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #0d1020;
}

.studio-monogram::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: inherit;
  content: "";
}

.studio-monogram img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.studio-monogram span {
  position: absolute;
  inset: auto 28px 24px;
  z-index: 2;
  color: rgba(255,255,255,.72);
  font-family: var(--display);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.studio-copy { padding-block: 22px; }

.studio-copy > p:not(.section-kicker) {
  max-width: 690px;
  margin: 28px 0 0;
  color: #656d7f;
  font-size: 1.02rem;
  line-height: 1.82;
}

.studio-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block-start: 48px;
  border-block-start: 1px solid var(--line-dark);
  border-inline-start: 1px solid var(--line-dark);
}

.studio-values div {
  min-height: 112px;
  padding: 21px;
  border-inline-end: 1px solid var(--line-dark);
  border-block-end: 1px solid var(--line-dark);
}

.studio-values span,
.studio-values strong { display: block; }
.studio-values span { color: #9ca2af; font-family: var(--display); font-size: .62rem; font-weight: 800; }
.studio-values strong { margin-block-start: 17px; font-size: .86rem; }

.stack-line {
  margin-block-start: 40px;
}

.stack-line > span {
  display: block;
  margin-block-end: 12px;
  color: #858c9a;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stack-line > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-line b {
  padding: 7px 11px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--display);
  font-size: .69rem;
}

.contact-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 90%, rgba(35, 223, 214, 0.1), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(116, 71, 255, 0.2), transparent 34%),
    #090b17;
}

.contact-grid { mask-image: linear-gradient(to bottom, black, transparent); }

.contact-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: start;
  gap: 84px;
}

.contact-copy h2 { font-size: clamp(2.55rem, 4.5vw, 4.5rem); }
.contact-copy > p:not(.section-kicker):not(.availability-line) { max-width: 640px; margin: 28px 0 0; color: #9fa7ba; line-height: 1.8; }
.availability-line { margin: 46px 0 0; color: #c1c7d6; font-size: .7rem; }

.contact-channels {
  display: grid;
  max-width: 560px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-block-start: 22px;
}

.contact-channel {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.contact-channel-primary {
  grid-column: 1 / -1;
  padding: 17px 18px;
  border-color: rgba(98,240,231,.3);
  background: linear-gradient(110deg, rgba(98,240,231,.12), rgba(116,71,255,.1));
}

.contact-channel-instagram { grid-column: 1 / -1; }

.contact-channel:hover,
.contact-channel:focus-visible {
  border-color: rgba(98,240,231,.45);
  background: rgba(98,240,231,.06);
  transform: translateY(-2px);
}

.contact-channel-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid rgba(98,240,231,.2);
  border-radius: 12px;
  background: rgba(98,240,231,.08);
  color: var(--cyan);
}

.contact-channel-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-channel-icon .icon-dot {
  fill: currentColor;
  stroke: none;
}

.contact-channel-copy { min-width: 0; }
.contact-channel small,
.contact-channel strong,
.contact-channel em { display: block; }
.contact-channel small { color: #8f98aa; font-size: .75rem; }
.contact-channel strong { margin-block-start: 1px; font-family: var(--display); font-size: .9rem; }
.contact-channel em {
  overflow-wrap: anywhere;
  color: #aeb6c8;
  font-size: .75rem;
  font-style: normal;
}
.contact-channel b {
  margin-inline-start: auto;
  color: var(--cyan);
  font-family: var(--display);
}

.project-form {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.project-form label {
  display: block;
  margin-block-end: 18px;
}

.project-form label > span {
  display: block;
  margin-block-end: 8px;
  color: #c5cbd8;
  font-size: .73rem;
  font-weight: 700;
}

.project-form input,
.project-form select,
.project-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  outline: none;
  background: rgba(5, 7, 15, 0.52);
  color: var(--white);
  font-size: .86rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.project-form input,
.project-form select { height: 48px; padding-inline: 14px; }
.project-form textarea { min-height: 130px; padding: 12px 14px; resize: vertical; }
.project-form select { color-scheme: dark; }
.project-form input::placeholder,
.project-form textarea::placeholder { color: #697186; }
.project-form input:focus,
.project-form select:focus,
.project-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(98, 240, 231, .08); }
.project-form .invalid { border-color: #ff7772; }
.form-submit { width: 100%; border: 0; }
.form-status { min-height: 24px; margin: 12px 0 -4px; color: #aeb5c7; font-size: .74rem; text-align: center; }

.site-footer {
  background: #05060d;
  color: var(--white);
}

.floating-whatsapp {
  position: fixed;
  z-index: 90;
  inset-block-end: 24px;
  inset-inline-end: 24px;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: #25d366;
  color: #031b0d;
  box-shadow: 0 18px 55px rgba(0,0,0,.36), 0 8px 28px rgba(37,211,102,.22);
  font-size: .78rem;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-3px);
  background: #48df7c;
  box-shadow: 0 22px 65px rgba(0,0,0,.42), 0 10px 34px rgba(37,211,102,.3);
}

.floating-whatsapp svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-top { min-height: 116px; }
.footer-top p { margin: 0; color: #838b9f; font-size: .83rem; }
.footer-top > a:last-child { color: #b2b9ca; font-size: .73rem; font-weight: 800; }
.footer-bottom { min-height: 62px; border-block-start: 1px solid var(--line); color: #666f84; font-size: .65rem; }
.footer-bottom a { color: #9098aa; font-family: var(--display); font-weight: 700; }

.case-dialog {
  width: min(940px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: #0d1020;
  color: var(--white);
  box-shadow: 0 40px 140px rgba(0,0,0,.65);
}

.case-dialog::backdrop {
  background: rgba(3, 4, 10, .82);
  backdrop-filter: blur(8px);
}

.dialog-close {
  position: sticky;
  z-index: 5;
  float: inline-end;
  top: 16px;
  margin: 16px 16px -58px 0;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(7,8,18,.72);
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1;
}

html[dir="rtl"] .dialog-close { margin: 16px 0 -58px 16px; }

.dialog-visual {
  min-height: 240px;
  background-position: center;
  background-size: cover;
}

.dialog-visual.mixmall { background: url("assets/projects/mixmall-logo.png") center / 420px auto no-repeat, #e33631; }
.dialog-visual.luma { min-height: 360px; background: url("assets/projects/luma-hero-en.jpg") center / contain no-repeat #f9f2e8; }
html[lang="ar"] .dialog-visual.luma { background-image: url("assets/projects/luma-hero-ar.jpg"); }
.dialog-visual.araba { background-image: linear-gradient(rgba(6,8,16,.18), rgba(6,8,16,.18)), url("assets/projects/araba-alsharq.webp"); background-position: top center; }
.dialog-visual.ofenbiss { background: url("assets/projects/ofenbiss-logo.webp") center / 280px no-repeat, #fff9f1; }
.dialog-visual.intbro { background: url("assets/projects/intbro-logo.webp") center / 280px no-repeat, #0b0d17; }
.dialog-visual.dalilak { background: url("assets/projects/dalilak-logo.webp") center / 300px no-repeat, #ececf5; }

.dialog-content { padding: 36px 42px 42px; }
.dialog-content h2 { margin: 30px 0 12px; font-size: clamp(2.1rem, 4vw, 3.7rem); letter-spacing: -.055em; line-height: 1; }
html[dir="rtl"] .dialog-content h2 { letter-spacing: 0; line-height: 1.2; }
.dialog-summary { max-width: 720px; margin: 0; color: #aeb5c7; font-size: 1rem; line-height: 1.8; }
.dialog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-block-start: 36px; padding-block-start: 30px; border-block-start: 1px solid var(--line); }
.dialog-grid > div > span { color: var(--cyan); font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dialog-grid p { margin: 8px 0 0; color: #bbc1cf; font-size: .85rem; line-height: 1.7; }
.dialog-story { margin-block-start: 34px; padding: 27px 30px 29px; border: 1px solid rgba(111, 221, 207, .22); border-radius: 16px; background: linear-gradient(130deg, rgba(10, 75, 77, .55), rgba(12, 25, 36, .6)); }
.dialog-story[hidden], .dialog-gallery[hidden] { display: none; }
.dialog-story > span { color: var(--cyan); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dialog-story h3 { margin: 13px 0 10px; font-size: clamp(1.35rem, 2.4vw, 2rem); letter-spacing: -.04em; line-height: 1.2; }
html[dir="rtl"] .dialog-story h3 { letter-spacing: 0; }
.dialog-story p { max-width: 750px; margin: 0; color: #c5d7d9; font-size: .91rem; line-height: 1.8; }
.dialog-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-block-start: 28px; }
.dialog-gallery figure { min-width: 0; overflow: hidden; margin: 0; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: #151b29; }
.dialog-gallery figure:last-child { grid-column: 1 / -1; }
.dialog-gallery figure > a { display: block; }
.dialog-gallery img { width: 100%; aspect-ratio: 1866 / 807; object-fit: cover; object-position: top; }
.dialog-gallery figure:last-child img { aspect-ratio: 1254 / 829; object-fit: contain; background: #faf7f0; }
.dialog-gallery.luma-gallery { grid-template-columns: 1fr; }
.dialog-gallery.luma-gallery figure:last-child { grid-column: auto; }
.dialog-gallery.luma-gallery img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.dialog-gallery.luma-gallery figure:last-child img { aspect-ratio: auto; }
.dialog-gallery figcaption { padding: 12px 15px 14px; color: #c6d1d3; font-size: .76rem; font-weight: 700; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 34px; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms cubic-bezier(.2,.7,.2,1), transform 680ms cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  :root { --shell: min(100% - 40px, 920px); }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; width: 42px; height: 42px; place-content: center; gap: 6px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.04); cursor: pointer; }
  .menu-toggle span { display: block; width: 16px; height: 1px; background: var(--white); transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu { border-block-start: 1px solid var(--line); background: rgba(7,8,18,.96); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu:not([hidden]) { display: block; }
  .mobile-menu nav { display: grid; padding-block: 20px 24px; }
  .mobile-menu a { padding-block: 12px; color: #c8cedb; font-weight: 700; }
  .hero-layout { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { max-width: 820px; }
  .hero-showcase { width: min(100%, 690px); min-height: 570px; margin-inline: auto; }
  .showcase-web { width: 66%; inset-inline-end: 40px; }
  .showcase-phone { inset-inline-start: 88px; }
  .showcase-brand { inset-inline-start: 34px; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; }
  .section-heading > p { max-width: 620px; }
  .quality-intro { grid-template-columns: 1fr; gap: 20px; }
  .quality-intro > p:last-child { max-width: 660px; }
  .process-track { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .process-track li:nth-child(n+4) { border-block-start: 1px solid var(--line); }
  .quality-pillars { grid-template-columns: 1fr; }
  .quality-card { min-height: 0; }
  .quality-card h3 { margin-block-start: 48px; }
  .ai-layout,
  .studio-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 54px; }
  .studio-monogram { position: relative; top: auto; width: min(100%, 520px); }
  .contact-copy { max-width: 760px; }
  .project-form { width: min(100%, 720px); }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 32px); --header-height: 70px; }
  .section { padding-block: 92px; }
  .desktop-cta { display: none; }
  .brand-name { font-size: .96rem; }
  .brand-mark { width: 35px; height: 35px; }
  .header-actions { gap: 8px; }
  .hero { padding-block: 130px 38px; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.4rem); }
  html[dir="rtl"] .hero h1 { font-size: clamp(2.55rem, 12vw, 4.1rem); }
  .hero-lede { font-size: 1rem; }
  .hero-proof { grid-template-columns: 1fr; gap: 14px; }
  .hero-proof div { padding-inline: 0; }
  .hero-proof div + div { padding-block-start: 14px; padding-inline-start: 0; border-block-start: 1px solid var(--line); border-inline-start: 0; }
  .hero-showcase { min-height: 480px; }
  .showcase-web { width: 78%; inset: 114px 0 auto auto; }
  .showcase-phone { width: 142px; inset: auto auto 30px 10px; }
  .showcase-brand { width: 226px; min-height: 92px; grid-template-columns: 61px 1fr; inset: 28px auto auto 0; }
  .showcase-brand img { width: 61px; height: 61px; }
  .showcase-orbit { inset: 62px 0 24px 22px; }
  .label-top { inset-inline-end: -9px; }
  .label-bottom { display: none; }
  .capability-ribbon { justify-content: flex-start; overflow: hidden; white-space: nowrap; }
  .capability-ribbon span:nth-of-type(n+4), .capability-ribbon i:nth-of-type(n+3) { display: none; }
  .section-heading h2,
  .quality-intro h2,
  .ai-copy h2,
  .studio-copy h2,
  .contact-copy h2 { font-size: clamp(2.25rem, 10.5vw, 3.4rem); }
  .projects-grid { grid-template-columns: 1fr; }
  .project-featured { grid-column: auto; grid-template-columns: 1fr; }
  .project-featured .project-copy { order: 2; }
  .project-luma { grid-column: auto; grid-template-columns: 1fr; }
  .project-luma .project-copy { order: 2; padding: 32px 26px 36px; }
  .project-luma .project-visual { order: 1; min-height: 410px; }
  .project-luma .project-copy h3 { font-size: 3.5rem; }
  .luma-project-label { margin-block-start: 30px; }
  .mixmall-visual { min-height: 500px; }
  .mixmall-screen-stage { inset: 30px 12px 48px; }
  .screen-admin-dashboard { left: 3%; right: auto; }
  .screen-admin-order { right: 3%; left: auto; }
  .project-copy { padding: 32px 26px 36px; }
  .project-copy.compact { padding: 27px 26px 31px; }
  .project-copy h3 { font-size: 2.35rem; }
  .project-visual { min-height: 270px; }
  .browser-project { min-height: 270px; padding: 28px 20px 0; }
  .phone-gallery { min-height: 310px; padding-inline: 22px; }
  .split-phone-visual { min-height: 300px; padding-inline: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 350px; padding-inline: 28px; }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .process-track li:nth-child(n+3) { border-block-start: 1px solid var(--line); }
  .process-track li { min-height: 184px; }
  .process-track span { margin-block-end: 20px; }
  .quality-pillars { margin-block-start: 60px; }
  .ai-layout,
  .studio-layout,
  .contact-layout { gap: 42px; }
  .studio-values { grid-template-columns: 1fr; }
  .contact-channels { grid-template-columns: 1fr; }
  .contact-channel-primary,
  .contact-channel-instagram { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .project-form { padding: 25px 20px; }
  .floating-whatsapp {
    inset-block-end: 16px;
    inset-inline-end: 16px;
    width: 54px;
    min-height: 54px;
    justify-content: center;
    padding: 0;
  }
  .floating-whatsapp span { display: none; }
  .footer-top { flex-wrap: wrap; padding-block: 30px; }
  .footer-top p { order: 3; width: 100%; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; }
  .dialog-content { padding: 30px 24px 34px; }
  .dialog-grid { grid-template-columns: 1fr; }
  .dialog-visual { min-height: 190px; }
  .dialog-story { padding: 24px 22px; }
  .dialog-gallery { grid-template-columns: 1fr; }
  .dialog-gallery figure:last-child { grid-column: auto; }
}

@media (max-width: 430px) {
  .language-toggle { height: 36px; padding-inline: 10px; }
  .language-current, .language-next { font-size: .68rem; }
  .hero-actions .button { width: 100%; }
  .showcase-web { width: 86%; }
  .showcase-phone { width: 128px; }
  .showcase-brand { width: 205px; }
  .mixmall-visual { min-height: 430px; }
  .mixmall-screen-stage { inset: 24px 5px 44px; }
  .mixmall-screen { width: 31%; }
  .screen-admin-dashboard { inset: 73px auto auto 0; transform: rotate(-6deg); }
  .screen-customer-marketplace { inset-block-start: 18px; width: 39%; }
  .screen-admin-order { inset: 73px 0 auto auto; transform: rotate(6deg); }
  .mixmall-device { border-width: 4px; border-radius: 22px; }
  .mixmall-screen figcaption strong { display: none; }
  .mixmall-screen figcaption span { font-size: .46rem; }
  .mixmall-flow-note { min-width: 210px; padding-inline: 12px; }
  .mixmall-brand-orbit { width: 210px; height: 210px; }
  .project-luma .project-visual { min-height: 305px; }
  .luma-browser-frame { width: 96%; }
  .luma-browser-bar { height: 25px; }
  .dialog-visual.luma { min-height: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
