/* =========================================================
   MI3MAR — Websites, architected.
   Ember orange on warm black.
   ========================================================= */
:root {
  --bg: #0b0806;
  --bg-2: #110c09;
  --surface: #161009;
  --line: rgba(255, 232, 210, .09);
  --line-2: rgba(255, 232, 210, .17);
  --text: #f6ede3;
  --muted: rgba(246, 237, 227, .64);
  --faint: rgba(246, 237, 227, .4);
  --orange: #ff5a1f;
  --orange-2: #ff7a2e;
  --amber: #ffb36b;
  --ember: #e8340b;
  --ink: #140a04;
  --grad: linear-gradient(135deg, #ffc285 0%, #ff7a2e 42%, #ff4d12 100%);
  --f-display: 'Syne', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --pad: clamp(20px, 4vw, 56px);
  --radius: 22px;
}
html[lang="ar"] { --f-display: 'Alexandria', system-ui, sans-serif; --f-body: 'Alexandria', system-ui, sans-serif; }
html[lang="he"] { --f-display: 'Heebo', system-ui, sans-serif; --f-body: 'Heebo', system-ui, sans-serif; }
.f-ar { font-family: 'Alexandria', sans-serif !important; }
.f-he { font-family: 'Heebo', sans-serif !important; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { font-family: var(--f-body); color: var(--text); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
body.loading { overflow: hidden; }
::selection { background: var(--orange); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 6px; }

@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor label { cursor: none; }
  body.has-cursor input, body.has-cursor textarea { cursor: text; }
}

.container { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--pad); }
#app, .nav { position: relative; z-index: 2; }
#app { transition: none; }

/* ---------- Ambient layers ---------- */
#webgl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.bg-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(55% 45% at 78% 38%, rgba(255, 90, 31, .10), transparent 70%),
    radial-gradient(40% 40% at 8% 100%, rgba(255, 90, 31, .06), transparent 70%);
}
html[dir="rtl"] .bg-glow { transform: scaleX(-1); }
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); }
}
.progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 80; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: left center; transform: scaleX(0); }
html[dir="rtl"] .progress span { transform-origin: right center; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: grid; place-items: center; clip-path: inset(0 0 0 0);
}
.loader-mark { width: clamp(72px, 9vw, 110px); overflow: visible; filter: drop-shadow(0 0 30px rgba(255, 90, 31, .35)); }
.loader-count {
  position: absolute; inset-inline-end: var(--pad); bottom: calc(var(--pad) - 10px);
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(4rem, 12vw, 10rem); line-height: 1;
  letter-spacing: -.05em; color: var(--text); direction: ltr;
}
.loader-count small { font-size: .3em; color: var(--orange); margin-inline-start: .08em; vertical-align: top; }
.loader-word {
  position: absolute; inset-inline-start: var(--pad); bottom: var(--pad);
  font-family: 'Syne', sans-serif; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--faint);
}
.loader-word span { font-family: 'Alexandria', sans-serif; letter-spacing: 0; margin-inline-start: 10px; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
body.has-cursor .cursor { display: block; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; border-radius: 50%; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--orange); transition: opacity .3s; }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(246, 237, 227, .3);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .35s, border-color .35s, opacity .3s;
}
.cursor.hover .cursor-ring { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(255, 90, 31, .1); border-color: var(--orange); }
.cursor.label .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--orange); border-color: transparent; }
.cursor-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); opacity: 0; transform: scale(.6); transition: .35s var(--ease); }
.cursor.label .cursor-label { opacity: 1; transform: none; }
.cursor.label .cursor-dot { opacity: 0; }
.cursor.hide .cursor-dot, .cursor.hide .cursor-ring { opacity: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 58px; padding-inline: 30px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap;
  overflow: hidden; isolation: isolate; transition: color .45s var(--ease), border-color .45s;
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--text); transform: translateY(102%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 10px 40px -10px rgba(255, 90, 31, .6); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); backdrop-filter: blur(8px); }
.btn-ghost:hover { color: var(--ink); border-color: var(--text); }
.btn-sm { height: 42px; padding-inline: 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn .arrow { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }

/* ---------- Typography ---------- */
.label {
  display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--amber);
}
.label::before { content: ""; width: 26px; height: 1px; background: currentColor; }
html[lang="ar"] .label, html[lang="he"] .label { letter-spacing: 0; font-size: 15px; }
.h2 {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.02; letter-spacing: -.035em; margin-top: 20px; max-width: 16ch;
}
html[lang="ar"] .h2 { line-height: 1.35; letter-spacing: 0; max-width: 18ch; }
html[lang="he"] .h2 { line-height: 1.1; letter-spacing: -.015em; font-weight: 800; }
em { font-style: normal; }
em .wi, em:not(:has(.wi)) {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .wi { display: inline-block; will-change: transform; }
html[lang="ar"] .split .w { padding-block: .12em; margin-block: -.12em; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 70; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 20px var(--pad); border-bottom: 1px solid transparent;
  transition: transform .6s var(--ease), background .4s, padding .4s, border-color .4s;
}
.nav.scrolled { background: rgba(11, 8, 6, .62); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); padding-block: 12px; border-color: var(--line); }
.nav.hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 11px; padding: 4px 0; direction: ltr; }
.brand-mark { width: 36px; height: 36px; overflow: visible; filter: drop-shadow(0 0 12px rgba(255, 90, 31, .35)); }
.brand-name { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -.04em; line-height: 1; }
.gate-star { transform-box: view-box; transform-origin: 50px 17px; transition: transform .8s var(--ease); }
.gate-blocks rect { transition: transform .6s var(--ease); }
.brand:hover .gate-star, .footer-big:hover .gate-star { transform: rotate(90deg) scale(1.08); }
.brand:hover .gate-blocks { animation: settle .6s var(--ease); }
@keyframes settle { 40% { transform: translateY(1.5px); } }
.blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.nav-links { display: flex; gap: 36px; font-size: 14.5px; color: var(--muted); }
.nav-links a { position: relative; padding: 6px 0; transition: color .3s; }
.nav-links a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--orange);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
html[dir="rtl"] .nav-links a::after { transform-origin: left; }
html[dir="rtl"] .nav-links a:hover::after { transform-origin: right; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang {
  position: relative; display: flex; direction: ltr; padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.lang button { position: relative; z-index: 1; width: 42px; height: 34px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); transition: color .35s; }
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { color: var(--ink); }
.lang .f-ar { font-size: 16px; }
.lang-pill {
  position: absolute; top: 4px; left: 4px; width: 42px; height: 34px; border-radius: 999px; background: var(--orange);
  box-shadow: 0 0 22px rgba(255, 90, 31, .5); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .55s var(--ease);
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: 120px; }
.hero-inner { flex: 1; display: flex; align-items: center; }
.hero-copy { max-width: min(780px, 60%); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025); backdrop-filter: blur(8px);
  font-size: 13.5px; color: var(--muted);
}
.dot, .live { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: none; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .7); } 70% { box-shadow: 0 0 0 10px rgba(255, 90, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); } }
.hero-title {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 7vw, 7.6rem);
  line-height: .92; letter-spacing: -.05em; margin: 30px 0 30px;
}
html[lang="ar"] .hero-title { font-size: clamp(2.8rem, 6.8vw, 6.8rem); line-height: 1.28; letter-spacing: 0; }
html[lang="he"] .hero-title { font-weight: 900; font-size: clamp(3rem, 7.6vw, 7.8rem); line-height: 1; letter-spacing: -.03em; }
.hero-sub { font-size: clamp(1.05rem, 1.35vw, 1.24rem); color: var(--muted); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; padding-block: 40px 34px; font-size: 13px; color: var(--faint); }
.meta { display: inline-flex; align-items: center; gap: 10px; }
.scroll-hint { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; letter-spacing: .2em; text-transform: uppercase; font-size: 11px; }
html[lang="ar"] .scroll-hint, html[lang="he"] .scroll-hint { letter-spacing: 0; font-size: 13px; }
.scroll-hint i { display: block; width: 1px; height: 52px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: translateY(-100%); animation: drop 2.2s var(--ease-io) infinite; }
@keyframes drop { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 2; border-block: 1px solid var(--line); overflow: hidden; padding-block: 26px; background: rgba(11, 8, 6, .35); backdrop-filter: blur(4px); }
.marquee-skew { will-change: transform; }
.marquee-track { display: flex; width: max-content; direction: ltr; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-group { display: flex; align-items: center; flex: none; }
.mq-item { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.8rem); letter-spacing: -.02em; white-space: nowrap; padding-inline: 28px; color: var(--text); transition: color .3s; unicode-bidi: isolate; }
.mq-item:nth-child(4n+1) { color: transparent; -webkit-text-stroke: 1px rgba(246, 237, 227, .45); }
.mq-star { color: var(--orange); font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(110px, 14vw, 190px); }
.sec-head { margin-bottom: clamp(48px, 6vw, 80px); }

/* The name */
.name-sec { position: relative; padding-block: clamp(120px, 16vw, 220px) clamp(90px, 10vw, 140px); }
.name-word { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap; margin: 26px 0 16px; }
.ar-word {
  font-family: 'Alexandria', sans-serif; font-weight: 800; font-size: clamp(4.8rem, 15vw, 13.5rem); line-height: 1.15;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 60px rgba(255, 90, 31, .25));
}
.name-latin { display: flex; flex-direction: column; gap: 4px; direction: ltr; }
.name-latin b { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
.name-latin i { font-style: normal; color: var(--faint); font-size: 14px; letter-spacing: .1em; }
.name-pron { color: var(--amber); font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 640px; margin-bottom: clamp(56px, 7vw, 90px); }
.manifesto {
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 3.5vw, 3.3rem);
  line-height: 1.16; letter-spacing: -.025em; max-width: 1150px;
}
html[lang="ar"] .manifesto { line-height: 1.6; letter-spacing: 0; font-weight: 500; }
html[lang="he"] .manifesto { line-height: 1.25; letter-spacing: -.01em; font-weight: 700; }

/* Industries */
.ind { position: relative; height: 100vh; height: 100svh; }
.ind-inner { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.ind-text { padding-top: 60px; }
.ind .h2 { font-size: clamp(2rem, 3.8vw, 3.5rem); margin-bottom: clamp(28px, 4vh, 48px); max-width: 15ch; }
.ind-list { list-style: none; border-top: 1px solid var(--line); max-width: 560px; }
.ind-item {
  display: grid; grid-template-columns: 54px 1fr; padding-block: clamp(14px, 2.2vh, 22px); border-bottom: 1px solid var(--line);
  opacity: .34; transition: opacity .5s var(--ease); cursor: pointer;
}
.ind-item:hover { opacity: .7; }
.ind-item.active { opacity: 1; }
.ind-num { font-family: 'Syne', sans-serif; font-size: 13px; color: var(--faint); padding-top: .7em; transition: color .4s; }
.ind-item.active .ind-num { color: var(--orange); }
.ind-item h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.35rem, 2.1vw, 1.9rem); line-height: 1.2; letter-spacing: -.02em; }
html[lang="ar"] .ind-item h3 { letter-spacing: 0; line-height: 1.5; }
.ind-desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.ind-desc > div { overflow: hidden; }
.ind-desc p { color: var(--muted); padding-top: 8px; max-width: 440px; }
.ind-item.active .ind-desc { grid-template-rows: 1fr; }
.ind-counter {
  position: absolute; bottom: 44px; inset-inline-end: var(--pad); font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.04em; direction: ltr;
}
.ind-counter span { color: var(--orange); display: inline-block; }
.ind-counter i { font-style: normal; color: var(--faint); font-size: .45em; letter-spacing: 0; }
.ind-bar { position: absolute; bottom: 30px; inset-inline: var(--pad); height: 1px; background: var(--line); }
.ind-bar span { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .ind-bar span { transform-origin: right; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; overflow: hidden; min-height: 320px; padding: clamp(26px, 2.6vw, 38px); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  backdrop-filter: blur(6px); transition: border-color .5s, transform .6s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 90, 31, .16), transparent 45%);
}
.card:hover { border-color: rgba(255, 90, 31, .35); }
.card:hover::before { opacity: 1; }
.card.wide { grid-column: span 2; }
.card-num { position: absolute; top: 30px; inset-inline-end: 32px; font-family: 'Syne', sans-serif; font-size: 13px; color: var(--faint); }
.card-icon {
  position: relative; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: var(--orange);
  background: rgba(255, 90, 31, .08); border: 1px solid rgba(255, 90, 31, .22); transition: .5s var(--ease);
}
.card-icon svg { width: 25px; height: 25px; transition: transform .6s var(--ease); }
.card:hover .card-icon { background: var(--orange); color: var(--ink); box-shadow: 0 0 34px rgba(255, 90, 31, .45); }
.card:hover .card-icon svg { transform: rotate(-8deg) scale(1.08); }
.card-body { position: relative; max-width: 380px; }
.card h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 1.9vw, 1.75rem); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card.wide .card-body { max-width: 46%; }
.card-visual { position: absolute; inset-inline-end: 28px; top: 50%; transform: translateY(-50%); width: 44%; height: 72%; pointer-events: none; }

/* visual: wireframe */
.v-wire { border: 1px solid var(--line-2); border-radius: 14px; background: rgba(11, 8, 6, .6); overflow: hidden; direction: ltr; }
.vw-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.vw-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.vw-bar i:first-child { background: var(--orange); }
.vw-body { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; gap: 8px; padding: 14px; height: calc(100% - 34px); }
.vw-body span { border-radius: 6px; background: rgba(246, 237, 227, .07); transition: all .8s var(--ease); }
.vw-body .b1 { grid-column: 1 / 5; grid-row: 1 / 3; background: linear-gradient(135deg, rgba(255, 90, 31, .55), rgba(255, 179, 107, .2)); }
.vw-body .b2 { grid-column: 5 / 7; grid-row: 1 / 2; }
.vw-body .b3 { grid-column: 5 / 7; grid-row: 2 / 3; }
.vw-body .b4 { grid-column: 1 / 3; grid-row: 3 / 4; }
.vw-body .b5 { grid-column: 3 / 5; grid-row: 3 / 4; }
.vw-body .b6 { grid-column: 5 / 7; grid-row: 3 / 4; }
.card:hover .vw-body .b1 { grid-column: 3 / 7; }
.card:hover .vw-body .b2 { grid-column: 1 / 3; }
.card:hover .vw-body .b3 { grid-column: 1 / 3; background: rgba(255, 90, 31, .3); }
.card:hover .vw-body .b5 { background: rgba(255, 179, 107, .25); }

/* visual: store */
.v-store { direction: ltr; }
.vs-tile {
  position: absolute; width: 46%; aspect-ratio: 3 / 4; top: 50%; left: 50%; border-radius: 14px; padding: 10px;
  background: #1c140e; border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 8px;
  transition: transform .8s var(--ease); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
}
.vs-tile span { flex: 1; border-radius: 9px; }
.vs-tile b { font-family: 'Syne', sans-serif; font-size: 14px; }
.vs-tile.t1 { transform: translate(-50%, -50%) rotate(-8deg) translateX(-30%); }
.vs-tile.t1 span { background: linear-gradient(160deg, #3a2518, #7a4a2c); }
.vs-tile.t2 { transform: translate(-50%, -50%) rotate(6deg) translateX(30%); }
.vs-tile.t2 span { background: linear-gradient(160deg, #2c1b2a, #a0507a); }
.vs-tile.t3 { transform: translate(-50%, -50%); z-index: 2; }
.vs-tile.t3 span { background: linear-gradient(160deg, #ff7a2e, #c2350c); }
.vs-tile.t3 b { color: var(--orange); }
.card:hover .vs-tile.t1 { transform: translate(-50%, -50%) rotate(-14deg) translateX(-62%) translateY(4%); }
.card:hover .vs-tile.t2 { transform: translate(-50%, -50%) rotate(12deg) translateX(62%) translateY(4%); }
.card:hover .vs-tile.t3 { transform: translate(-50%, -56%) scale(1.05); }

/* visual: languages */
.v-lang { display: grid; place-items: center; }
.v-lang .g {
  grid-area: 1 / 1; font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(5rem, 9vw, 8.5rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 122, 46, .8); opacity: 0; animation: glyphs 7.5s infinite;
}
.v-lang .g2 { animation-delay: 2.5s; }
.v-lang .g3 { animation-delay: 5s; }
@keyframes glyphs {
  0% { opacity: 0; transform: translateY(20px) scale(.95); filter: blur(6px); }
  8%, 30% { opacity: 1; transform: none; filter: none; }
  38%, 100% { opacity: 0; transform: translateY(-20px) scale(1.03); filter: blur(6px); }
}
.card:hover .v-lang .g { color: rgba(255, 90, 31, .12); }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: start; }
.work-card { display: block; }
.work-card:nth-child(2) { margin-top: 70px; }
.work-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; direction: ltr;
  border: 1px solid var(--line-2); background: var(--m-bg); transform-style: preserve-3d;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.work-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, .14), transparent 35%); opacity: .5; transition: opacity .6s;
}
.work-card:hover .work-frame::after { opacity: .9; }
.mock-bar { position: relative; z-index: 2; height: 34px; display: flex; align-items: center; gap: 6px; padding-inline: 14px; background: rgba(0, 0, 0, .28); backdrop-filter: blur(6px); }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.mock-bar span { margin-inline: auto; width: 40%; height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .1); }
.mock { position: absolute; inset: 34px 0 0; overflow: hidden; }
.mock-page { padding: 16px 18px; display: flex; flex-direction: column; gap: 18px; transition: transform 1.8s var(--ease); color: var(--m-text); }
.work-card:hover .mock-page { transform: translateY(-48%); }
.mp-nav { display: flex; align-items: center; gap: 10px; }
.mp-nav b { font-size: 14px; margin-inline-end: auto; }
.mp-nav span { width: 26px; height: 5px; border-radius: 3px; background: currentColor; opacity: .35; }
.mp-hero { position: relative; min-height: 230px; border-radius: 14px; padding: 18px; overflow: hidden; background: var(--m-hero); }
.mp-hero h4 { position: relative; z-index: 1; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.05; max-width: 70%; }
.mp-orb { position: absolute; width: 58%; aspect-ratio: 1; right: -8%; bottom: -12%; border-radius: 50%; background: var(--m-orb); }
.mp-btn { position: absolute; left: 18px; bottom: 18px; width: 90px; height: 28px; border-radius: 14px; background: var(--m-accent); }
.mp-lines { display: flex; flex-direction: column; gap: 8px; }
.mp-lines span { height: 7px; border-radius: 4px; background: currentColor; opacity: .18; }
.mp-lines span:nth-child(2) { width: 82%; } .mp-lines span:nth-child(3) { width: 60%; }
.mp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mp-grid span { aspect-ratio: 3 / 4; border-radius: 10px; background: var(--m-card); }
.mp-band { border-radius: 12px; padding: 22px 16px; background: var(--m-accent); color: var(--m-band-text); }
.mp-band h5 { font-size: 18px; }
.t-coffee { --m-bg: #1f140d; --m-text: #f3e6d6; --m-hero: linear-gradient(150deg, #3a2417, #1f140d); --m-orb: radial-gradient(circle at 40% 35%, #e9c9a0 0 22%, #8a5634 23% 48%, #4b2c1b 49%); --m-accent: #c8915a; --m-card: rgba(233, 201, 160, .14); --m-band-text: #1f140d; }
.t-coffee h4 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-style: italic; }
.t-rest { --m-bg: #140807; --m-text: #fff1e6; --m-hero: linear-gradient(150deg, #3b0f08, #140807); --m-orb: radial-gradient(circle at 45% 40%, #ffb36b 0 12%, #ff5a1f 13% 40%, #7a1d08 41% 60%, #2a0a05 61%); --m-accent: #ff5a1f; --m-card: rgba(255, 90, 31, .16); --m-band-text: #140807; }
.t-rest h4 { font-family: 'Syne', sans-serif; font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; }
.t-shop { --m-bg: #efe4da; --m-text: #2a1a1f; --m-hero: linear-gradient(150deg, #f7d9cf, #e9c2c9); --m-orb: radial-gradient(circle at 50% 30%, #fff5ef, #d9557a 70%); --m-accent: #2a1a1f; --m-card: rgba(42, 26, 31, .09); --m-band-text: #f7d9cf; }
.t-shop h4 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.01em; }
.t-shop .mp-orb { border-radius: 50% 50% 0 0; width: 42%; aspect-ratio: 3 / 4; right: 6%; bottom: 0; }
.work-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 20px; }
.work-meta h3 { font-family: 'Syne', sans-serif; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.work-meta p { color: var(--muted); font-size: 14.5px; }
.tag { flex: none; font-size: 12px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }

/* Featured live project */
.feature {
  display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 56px); align-items: center;
  padding: clamp(14px, 1.6vw, 22px); border-radius: 28px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  transition: border-color .5s;
}
.feature:hover { border-color: rgba(255, 90, 31, .45); }
.feature-shot {
  position: relative; border-radius: 18px; overflow: hidden; background: #f7efe1; direction: ltr;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px var(--line);
}
.feature-shot .mock-bar { background: #1a120d; }
.feature-shot .mock-bar span { display: grid; place-items: center; font-size: 11px; color: var(--faint); width: 36%; height: 18px; }
.feature-video { display: block; width: 100%; aspect-ratio: 1280 / 636; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature:hover .feature-video { transform: scale(1.025); }
.feature-info { padding: clamp(4px, 1vw, 16px) clamp(4px, 1vw, 16px) clamp(4px, 1vw, 16px) 0; }
html[dir="rtl"] .feature-info { padding-inline: 0 clamp(4px, 1vw, 16px); }
.live-tag {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--amber); background: rgba(255, 90, 31, .1); border: 1px solid rgba(255, 90, 31, .3);
}
.feature-info h3 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.8rem); letter-spacing: -.035em; line-height: 1.05; margin: 18px 0 6px; }
.feature-type { color: var(--amber); font-size: 14.5px; margin-bottom: 14px; }
.feature-info > p:not(.feature-type) { color: var(--muted); }
.feature-list { list-style: none; margin: 20px 0 28px; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-inline-start: 26px; font-size: 15px; }
.feature-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 10px; height: 10px; border-radius: 2px;
  background: var(--orange); transform: rotate(45deg); box-shadow: 0 0 12px rgba(255, 90, 31, .6);
}
.feature-btn { pointer-events: none; }
.feature:hover .feature-btn::before { transform: translateY(0); }
.feature:hover .feature-btn .arrow { transform: translateX(4px); }
html[dir="rtl"] .feature:hover .feature-btn .arrow { transform: scaleX(-1) translateX(4px); }
.more-label { margin: clamp(70px, 8vw, 110px) 0 28px; color: var(--faint); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
html[lang="ar"] .more-label, html[lang="he"] .more-label { letter-spacing: 0; font-size: 15px; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature-info { padding: 6px 8px 10px; }
}

/* Process */
.process-line { position: relative; height: 1px; background: var(--line-2); }
.process-line span { position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .process-line span { transform-origin: right; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.step { position: relative; padding-top: 44px; }
.step::before {
  content: ""; position: absolute; top: -6px; inset-inline-start: 0; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-2); transition: .5s var(--ease);
}
.step.lit::before { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 6px rgba(255, 90, 31, .15), 0 0 24px rgba(255, 90, 31, .7); }
.step-num {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(3.2rem, 5.4vw, 5rem); line-height: 1; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: -webkit-text-stroke-color .6s, color .6s;
}
.step.lit .step-num { -webkit-text-stroke-color: var(--orange); }
.step h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.55rem; margin: 20px 0 8px; }
.step p { color: var(--muted); }

/* Stats */
.stats-sec { position: relative; padding-bottom: clamp(40px, 6vw, 80px); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.stat { padding: clamp(30px, 4vw, 52px) clamp(18px, 2.4vw, 32px); border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat-val { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(3rem, 6vw, 5.6rem); line-height: 1; letter-spacing: -.05em; display: flex; align-items: baseline; gap: 6px; direction: ltr; justify-content: flex-start; }
html[dir="rtl"] .stat-val { justify-content: flex-end; }
.stat-val small { font-family: var(--f-display); font-size: .32em; color: var(--orange); letter-spacing: 0; font-weight: 700; }
.stat p { color: var(--muted); margin-top: 12px; font-size: 15px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact-title {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 4.9vw, 4.9rem); line-height: 1;
  letter-spacing: -.045em; margin: 22px 0 56px;
}
html[lang="ar"] .contact-title { line-height: 1.35; letter-spacing: 0; font-size: clamp(2.3rem, 4.3vw, 4.2rem); }
html[lang="he"] .contact-title { line-height: 1.05; letter-spacing: -.02em; font-weight: 900; }
.direct-label { color: var(--faint); font-size: 14px; margin-bottom: 14px; }
.direct { list-style: none; border-top: 1px solid var(--line); }
.direct a { display: flex; justify-content: space-between; align-items: center; padding-block: 22px; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), color .3s; }
.direct a span { display: flex; flex-direction: column; }
.direct small { color: var(--faint); font-size: 13px; }
.direct b { font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 600; direction: ltr; unicode-bidi: isolate; text-align: start; }
.direct svg { width: 22px; height: 22px; transition: transform .5s var(--ease); }
.direct a:hover { color: var(--orange); padding-inline-start: 16px; }
.direct a:hover svg { transform: rotate(45deg); }
html[dir="rtl"] .direct svg { transform: scaleX(-1); }
html[dir="rtl"] .direct a:hover svg { transform: scaleX(-1) rotate(45deg); }
/* Brand-coloured contact links */
.direct a.dl { justify-content: flex-start; gap: 16px; }
.direct a.dl > span:not(.dl-icon) { margin-inline-end: auto; }
.direct a .dl-icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.dl-icon svg { width: 26px; height: 26px; }
.dl-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.dl-wa { background: #25d366; }
.dl-gm { background: #fff; }
.dl-gm svg { width: 28px; height: 28px; }
.direct a.dl:hover .dl-icon { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
.direct a.dl-link-ig:hover { color: #f56040; }
.direct a.dl-link-ig:hover .dl-icon { box-shadow: 0 10px 30px -6px rgba(214, 36, 159, .6); }
.direct a.dl-link-ig:hover b {
  background: linear-gradient(90deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.direct a.dl-link-wa:hover { color: #25d366; }
.direct a.dl-link-wa:hover .dl-icon { box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6); }
.direct a.dl-link-gm:hover { color: #ea4335; }
.direct a.dl-link-gm:hover .dl-icon { box-shadow: 0 10px 30px -6px rgba(234, 67, 53, .55); }
.direct a.dl-link-gm:hover b {
  background: linear-gradient(90deg, #4285f4, #ea4335, #fbbc04, #34a853);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.form {
  position: relative; padding: clamp(26px, 3vw, 44px); border-radius: 28px; background: rgba(22, 16, 9, .72);
  border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9);
}
.field { position: relative; margin-bottom: 26px; }
.field::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--orange); transform: scaleX(0); transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); color: var(--text);
  font: inherit; font-size: 1.05rem; padding: 28px 0 12px; outline: none; resize: none;
}
.field label { position: absolute; top: 28px; inset-inline-start: 0; color: var(--faint); pointer-events: none; transition: .4s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 2px; font-size: 12.5px; color: var(--amber); }
.chips-label { color: var(--faint); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 22px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); transition: .35s var(--ease); }
.chip:hover span { border-color: var(--orange); color: var(--text); }
.chip input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.form .btn { margin-top: 12px; }
.form-note { min-height: 1.4em; margin-top: 14px; font-size: 14px; color: var(--amber); text-align: center; }

/* Footer */
.footer { position: relative; padding-block: clamp(60px, 8vw, 110px) 30px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-big { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 44px); direction: ltr; }
.footer-mark { width: clamp(64px, 12vw, 190px); height: auto; flex: none; overflow: visible; filter: drop-shadow(0 0 40px rgba(255, 90, 31, .3)); }
.footer-word {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(2.8rem, 12.2vw, 12rem); line-height: .85; letter-spacing: -.06em;
  color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: radial-gradient(circle at var(--fx, 50%) var(--fy, 50%), #ffb36b 0, #ff5a1f 18%, rgba(246, 237, 227, .09) 42%);
  padding-bottom: .06em;
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: clamp(36px, 5vw, 60px); font-size: 13.5px; color: var(--faint); }
.footer-ar { font-family: 'Alexandria', sans-serif; }
.to-top { transition: color .3s; }
.to-top:hover { color: var(--orange); }

/* Reveal helper (JS sets initial states) */
[data-reveal] { will-change: transform, opacity; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .process-line { display: none; }
  .step { border-top: 1px solid var(--line-2); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-copy { max-width: 100%; }
  .ind-inner { grid-template-columns: 1fr; align-items: end; padding-bottom: 90px; }
  .ind-text { padding-top: 0; }
  .ind .h2 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .ind-counter { bottom: 40px; font-size: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-card:nth-child(2) { margin-top: 0; }
}
@media (max-width: 640px) {
  .nav { padding-block: 14px; }
  .nav-cta { display: none; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 19px; }
  .lang button, .lang-pill { width: 38px; height: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .card.wide .card-body { max-width: 100%; }
  .card-visual { position: relative; inset: auto; transform: none; width: 100%; height: 180px; order: 2; }
  .card { min-height: 0; }
  .work-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-title { font-size: 9.6vw; margin-block: 24px; }
  html[lang="ar"] .hero-title { font-size: 11.5vw; }
  html[lang="he"] .hero-title { font-size: 12vw; }
  .contact-title { font-size: 10vw; }
  html[lang="ar"] .contact-title, html[lang="he"] .contact-title { font-size: 9.5vw; }
  .hero-foot .scroll-hint { display: none; }
  .ind-item { grid-template-columns: 40px 1fr; }
  .loader-count { font-size: 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
}
