:root {
  --void: #07070a;
  --ink: #0c0c11;
  --panel: #121218;
  --gold: #d4af61;
  --gold-soft: #e8c97a;
  --gold-deep: #8a6a2e;
  --cyan: #5eead4;
  --maroon: #8a1538;
  --cream: #f4efe4;
  --muted: #9b9488;
  --line: rgba(212, 175, 97, 0.18);
  --glass: rgba(12, 12, 17, 0.62);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Syne", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --nav-h: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  color-scheme: dark;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  background: var(--void);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

body.is-touch {
  cursor: auto;
}

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

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

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

button {
  background: none;
  border: 0;
  cursor: none;
}

ul {
  list-style: none;
}

::selection {
  background: var(--gold);
  color: var(--void);
}

:focus-visible {
  outline: 1px solid var(--gold-soft);
  outline-offset: 4px;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  pointer-events: none;
  mix-blend-mode: difference;
}

.cursor-dot,
.cursor-ring,
.cursor-plus {
  position: absolute;
  top: 0;
  left: 0;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #fff;
}

.cursor-ring {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.cursor-plus {
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
}

.cursor-plus::before,
.cursor-plus::after {
  content: "";
  position: absolute;
  background: #fff;
  left: 50%;
  top: 50%;
}

.cursor-plus::before {
  width: 12px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.cursor-plus::after {
  width: 1px;
  height: 12px;
  transform: translate(-50%, -50%);
}

body.is-hovering .cursor-ring {
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  background: rgba(255, 255, 255, 0.08);
}

body.is-hovering .cursor-plus {
  transform: rotate(45deg);
}

body.is-touch .cursor {
  display: none;
}

/* Vertical light lines */
.site-lines {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.site-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 97, 0.16) 18%, rgba(94, 234, 212, 0.12) 52%, rgba(212, 175, 97, 0.16) 82%, transparent 100%);
}

.site-line:nth-child(1) { left: 18%; }
.site-line:nth-child(2) { left: 50%; }
.site-line:nth-child(3) { left: 82%; }

.site-line-glow {
  position: absolute;
  left: 50%;
  top: -22%;
  width: 2px;
  height: 22vh;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, #fff 35%, var(--cyan) 62%, var(--gold-soft), transparent);
  filter: blur(0.4px);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.45), 0 0 28px rgba(94, 234, 212, 0.28);
}

.site-line-glow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 9px;
  height: 9px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 16px #fff, 0 0 24px var(--cyan);
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--void);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.loader-inner {
  text-align: center;
}

.loader-mark {
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
}

.loader-mark img,
.loader-mark svg {
  width: 100%;
  height: 100%;
}

.loader-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(7, 7, 10, 0.78), rgba(7, 7, 10, 0));
  backdrop-filter: blur(10px);
  transition: transform 0.55s var(--ease);
}

.nav.is-hidden {
  transform: translateY(-110%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.brand-mark {
  width: 42px;
  height: 42px;
}

.brand-word {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--cream);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.lang-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 108px;
  height: 40px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 12, 17, 0.72);
  z-index: 5;
  pointer-events: auto;
  isolation: isolate;
}

.lang-switch-knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(212, 175, 97, 0.35);
  transition: transform 0.35s var(--ease);
  pointer-events: none;
  z-index: 0;
}

.lang-switch[data-lang="ar"] .lang-switch-knob {
  transform: translateX(100%);
}

.lang-switch-btn {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 100%;
  border: 0;
  background: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
  cursor: pointer;
}

.lang-switch-btn.is-active {
  color: var(--void);
  font-weight: 600;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn-fill,
.nav-cta {
  background: var(--gold);
  color: var(--void);
  border-color: var(--gold);
}

.btn:hover,
.nav-cta:hover,
.btn-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 97, 0.22);
}

.btn-ghost:hover {
  background: rgba(212, 175, 97, 0.1);
  color: var(--cream);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 2;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), top 0.35s var(--ease);
}

.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 27px; }

body.menu-open .menu-toggle span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

/* Sections */
.section {
  position: relative;
  overflow: hidden;
}

.section-shell {
  position: relative;
  z-index: 4;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0;
}

.liquid-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.liquid-stage canvas,
.liquid-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.liquid-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 50% 0%, rgba(7, 7, 10, 0.15), transparent 50%),
    linear-gradient(180deg, rgba(7, 7, 10, 0.72), rgba(7, 7, 10, 0.88));
}

.section.hero .liquid-stage::after {
  background:
    radial-gradient(800px 500px at 70% 40%, rgba(94, 234, 212, 0.08), transparent 45%),
    linear-gradient(180deg, rgba(7, 7, 10, 0.45) 0%, rgba(7, 7, 10, 0.72) 70%, var(--void) 100%);
}

.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
}

.reveal-title {
  font-family: var(--font-serif);
  font-weight: 500;
  color: rgba(244, 239, 228, 0.22);
  letter-spacing: -0.03em;
}

.reveal-title .word {
  display: inline-block;
  white-space: nowrap;
}

.reveal-title .char {
  display: inline-block;
  will-change: color, text-shadow, transform;
}

.lede {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 1100px) {
  #hero-canvas {
    opacity: 0.55;
  }
}

.hero-shell {
  position: relative;
  z-index: 4;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 80px;
      margin-top: 115px;
}

.hero-copy {
  max-width: 980px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8.4vw, 118px);
  line-height: 0.92;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.04em;
}

.hero-title em,
.hero-title em .char {
  font-style: italic;
  color: var(--gold-soft);
}

.hero-lede {
  max-width: 560px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.hero-meta {
  display: flex;
  gap: 36px;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}

.hero-meta p {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-meta strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0;
  text-transform: none;
}

.scroll-hint {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: 40px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-hint i {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--gold), transparent);
  display: block;
}

/* Marquee */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--void);
  position: relative;
  z-index: 4;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  padding: 18px 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-soft);
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* About */
.about {
  background: var(--void);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: end;
}

.about-title {
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.02;
}

.about-copy p + p {
  margin-top: 22px;
}

.about-copy p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.about-note {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 26px;
  font-style: italic;
  color: var(--gold-soft);
}

/* Services */
.services-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 64px;
}

.services-head h2 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  max-width: 640px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  perspective: 1400px;
}

.service-card {
  position: relative;
  min-height: 280px;
  padding: 32px;
  background: rgba(12, 12, 17, 0.55);
  border: 1px solid var(--line);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.service-card:hover {
  border-color: rgba(212, 175, 97, 0.45);
  background: rgba(18, 18, 24, 0.82);
}

.service-card.featured {
  grid-column: span 2;
  min-height: 420px;
}

.service-card .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: var(--gold-soft);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  max-width: 36ch;
}

.service-index {
  position: absolute;
  right: 24px;
  top: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
}

.card-sheen {
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(94, 234, 212, 0.14), transparent 55%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.service-card:hover .card-sheen {
  opacity: 1;
}

/* Clients */
.clients {
  min-height: 100vh;
}

.clients-head {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 32px;
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.clients-head h2 {
  font-size: clamp(42px, 6vw, 80px);
  line-height: 0.95;
}

.clients-controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  direction: ltr;
}

.clients-btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(12, 12, 17, 0.7);
  color: var(--gold-soft);
  pointer-events: auto;
  transition: border-color 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}

.clients-btn svg {
  width: 20px;
  height: 20px;
}

.clients-btn:hover:not(:disabled) {
  border-color: var(--gold);
  background: rgba(212, 175, 97, 0.12);
}

.clients-btn:disabled {
  opacity: 0.35;
}

html[dir="rtl"] .clients-btn svg {
  transform: scaleX(-1);
}

.clients-pin {
  position: relative;
  z-index: 4;
}

.clients-viewport {
  overflow: hidden;
  width: 100%;
}

.clients-track {
  display: flex;
  gap: 24px;
  padding: 12px clamp(20px, 4vw, 56px) 100px;
  width: max-content;
  perspective: 1400px;
  will-change: transform;
}

.project-card {
  position: relative;
  width: min(72vw, 520px);
  height: 62vh;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
  flex-shrink: 0;
  transform-style: preserve-3d;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.1s var(--ease);
  filter: saturate(0.85) contrast(1.05);
}

.project-card:hover img {
  transform: scale(1.14);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 10, 0.05) 10%, rgba(7, 7, 10, 0.82) 78%);
}

.project-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 32px;
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.project-num,
.project-loc {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.project-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 16px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.project-tags span {
  border: 1px solid rgba(244, 239, 228, 0.18);
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
}

.project-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* Product */
.product-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.product-panel {
  padding: 48px 44px;
  background: rgba(7, 7, 10, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.product-panel h2 {
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.02;
  margin-bottom: 20px;
}

.feature-list {
  margin: 28px 0 36px;
  display: grid;
  gap: 14px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--cream);
}

.feature-list svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  flex-shrink: 0;
}

.product-visual {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.product-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  padding: 12px 14px;
  background: rgba(7, 7, 10, 0.72);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}

.contact-grid h2 {
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 0.95;
  margin-bottom: 20px;
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(12, 12, 17, 0.7);
  border: 1px solid var(--line);
  padding: 16px 16px;
  color: var(--cream);
  outline: none;
  transition: border-color 0.3s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field select option {
  background: #121218;
  color: var(--cream);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-success {
  display: none;
  padding: 28px;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  font-family: var(--font-serif);
  font-size: 28px;
}

.form.is-sent .form-grid {
  display: none;
}

.form.is-sent .form-success {
  display: block;
}

.form.is-error input:invalid,
.form.is-error textarea:invalid {
  border-color: #e08a8a;
}

.contact-aside p {
  color: var(--muted);
}

.contact-points {
  margin-top: 36px;
  display: grid;
  gap: 18px;
}

.contact-points li strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
  margin-bottom: 6px;
}

/* Footer */
.footer {
  position: relative;
  z-index: 4;
  border-top: 1px solid var(--line);
  padding: 48px clamp(20px, 4vw, 56px) 40px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: var(--void);
}

.footer small {
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--cream);
}

/* Mobile nav */
@media (max-width: 980px) {
  .brand-word{
        font-size: 20px;
  }
  body {
    cursor: auto;
  }

  a, button {
    cursor: pointer;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

.nav-links.is-open {
                display: flex;
        flex-direction: column;
        position: absolute;
        top: 83px;
        width: 100%;
        inset-inline-start: 0;
        z-index: 1;
        background-color: rgb(7 7 10 / 79%);
        backdrop-filter: blur(32px);
        justify-content: center;
        align-items: center;
        gap: 28px;
        padding: 40px 25px;
  }

  body.menu-open .nav-cta {
    display: none;
    position: fixed;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }

  .nav-links.is-open a {
    font-size: 22px;
    letter-spacing: 0.18em;
    color: var(--cream);
  }

  html[dir="rtl"] .nav-links.is-open a {
    letter-spacing: 0.04em;
  }

  .about-grid,
  .bento,
  .product-shell,
  .contact-grid,
  .form-row,
  .services-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .service-card.featured {
    grid-column: auto;
    min-height: 280px;
  }

  .hero-meta {
    flex-direction: column;
    gap: 18px;
  }

  .clients-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .project-card {
    width: min(86vw, 520px);
    height: 520px;
  }

  .site-line:nth-child(1) { left: 12%; }
  .site-line:nth-child(3) { left: 88%; }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .scroll-hint {
    display: none;
  }
}

html[dir="rtl"] {
  --font-serif: "Amiri", "Cormorant Garamond", serif;
  --font-sans: "IBM Plex Sans Arabic", "Syne", sans-serif;
}

html[dir="rtl"] body {
  font-size: 17px;
}

html[dir="rtl"] .brand-word {
  letter-spacing: 0.08em;
}

html[dir="rtl"] .kicker,
html[dir="rtl"] .btn,
html[dir="rtl"] .nav-cta,
html[dir="rtl"] .nav-links a,
html[dir="rtl"] .loader-label,
html[dir="rtl"] .hero-meta p,
html[dir="rtl"] .service-index,
html[dir="rtl"] .project-num,
html[dir="rtl"] .project-loc,
html[dir="rtl"] .project-tags span,
html[dir="rtl"] .project-link,
html[dir="rtl"] .field span,
html[dir="rtl"] .footer-links a,
html[dir="rtl"] .scroll-hint,
html[dir="rtl"] .marquee-track span {
  letter-spacing: 0.04em;
  text-transform: none;
}

html[dir="rtl"] .hero-title,
html[dir="rtl"] .reveal-title,
html[dir="rtl"] .about-title {
  letter-spacing: 0;
  line-height: 1.18;
}

html[dir="rtl"] .hero-title {
  font-size: clamp(40px, 7vw, 92px);
}

html[dir="rtl"] .about-note {
  font-size: 24px;
}

html[dir="rtl"] .marquee-track {
  animation-direction: reverse;
}

html[dir="rtl"] .lang-switch,
html[dir="rtl"] .lang-switch-btn {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .site-line-glow,
  .loader-mark {
    animation: none !important;
  }

  body {
    cursor: auto;
  }

  .cursor {
    display: none;
  }
}
