/* ============================================================
   BLACKPARROT — Design System
   Deep black base · Gold = Brands · Neon = Worlds
   Color is a frame, never a filter over the work.
   ============================================================ */

:root {
  --bg: #050505;
  --bg-2: #0a0a0c;
  --ink: #f4f1ea;
  --ink-dim: rgba(244, 241, 234, 0.62);
  --ink-faint: rgba(244, 241, 234, 0.38);
  --hairline: rgba(244, 241, 234, 0.09);
  --hairline-strong: rgba(244, 241, 234, 0.18);

  --gold: #d9a441;
  --gold-hi: #f3d489;
  --gold-deep: #8a5f1c;
  --gold-glow: rgba(217, 164, 65, 0.35);

  --neon: #5f7cff;
  --neon-hi: #9fd0ff;
  --neon-vio: #a45bff;
  --neon-glow: rgba(95, 124, 255, 0.35);

  --font-en: "Space Grotesk", "Heebo", sans-serif;
  --font-he: "Heebo", "Space Grotesk", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max-w: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: rgba(217, 164, 65, 0.3); }
.arm-worlds ::selection { background: rgba(95, 124, 255, 0.3); }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ---------- Typography ---------- */
.display {
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
body[dir="rtl"] .display { letter-spacing: 0; }

h1.display { font-size: clamp(2.6rem, 6.5vw, 5.2rem); }
h2.display { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3.display { font-size: clamp(1.4rem, 2.6vw, 2rem); }

.kicker {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
body[dir="rtl"] .kicker { letter-spacing: 0.18em; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-dim);
  max-width: 46ch;
}

.gold-text {
  background: linear-gradient(100deg, var(--gold-deep), var(--gold) 40%, var(--gold-hi) 60%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.neon-text {
  background: linear-gradient(100deg, var(--neon), var(--neon-hi) 45%, var(--neon-vio));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
section { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; gap: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  transition: background 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo svg { width: 34px; height: 34px; }
.nav-logo .word {
  font-weight: 700; letter-spacing: 0.14em; font-size: 0.95rem;
}
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav-links a {
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-dim); transition: color 0.25s;
  position: relative; padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: currentColor; opacity: 0.6;
}
.nav-links a.nav-worlds:hover { color: var(--neon-hi); }
.nav-links a.nav-brands:hover { color: var(--gold-hi); }

.lang-toggle {
  border: 1px solid var(--hairline-strong); border-radius: 999px;
  padding: 5px 14px; font-size: 0.78rem; letter-spacing: 0.1em;
  color: var(--ink-dim); transition: all 0.25s;
}
.lang-toggle:hover { color: var(--ink); border-color: var(--ink-faint); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 22px; height: 1.5px; background: var(--ink); transition: 0.3s var(--ease); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; border-radius: 999px;
  font-size: 0.88rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
  transition: all 0.35s var(--ease);
  position: relative; overflow: hidden;
}
body[dir="rtl"] .btn { letter-spacing: 0.04em; }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
body[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
body[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }

.btn-gold {
  border-color: rgba(217, 164, 65, 0.5);
  background: linear-gradient(100deg, rgba(217,164,65,0.14), rgba(217,164,65,0.02));
}
.btn-gold:hover { box-shadow: 0 0 40px var(--gold-glow); border-color: var(--gold); }

.btn-neon {
  border-color: rgba(95, 124, 255, 0.5);
  background: linear-gradient(100deg, rgba(95,124,255,0.14), rgba(164,91,255,0.04));
}
.btn-neon:hover { box-shadow: 0 0 40px var(--neon-glow); border-color: var(--neon); }

.btn-ghost:hover { border-color: var(--ink-faint); background: rgba(255,255,255,0.03); }

/* ---------- The Gate ---------- */
.gate {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: 0;
}
#gate-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.gate-inner {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 110px 20px 60px;
  gap: clamp(20px, 3.2vh, 40px);
}
.gate-mark { position: relative; width: clamp(120px, 16vw, 190px); }
.gate-mark svg { width: 100%; height: auto; }

.gate-title {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  font-weight: 700; letter-spacing: 0.22em; line-height: 1;
  text-indent: 0.22em;
}
.gate-tag { font-size: clamp(1rem, 1.8vw, 1.35rem); color: var(--ink-dim); }

.gate-doors {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px);
  width: min(880px, 92vw); margin-top: clamp(8px, 2vh, 24px);
}
.door {
  position: relative; border: 1px solid var(--hairline);
  border-radius: 18px; padding: clamp(26px, 3.6vw, 44px) clamp(20px, 3vw, 40px);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.015);
  transition: all 0.5s var(--ease);
  overflow: hidden; cursor: pointer;
}
.door::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.6s var(--ease); pointer-events: none;
}
.door-worlds::before {
  background:
    radial-gradient(80% 90% at 50% 110%, rgba(95,124,255,0.22), transparent 65%),
    radial-gradient(50% 40% at 80% -10%, rgba(164,91,255,0.14), transparent 70%);
}
.door-brands::before {
  background:
    radial-gradient(80% 90% at 50% 110%, rgba(217,164,65,0.2), transparent 65%),
    radial-gradient(50% 40% at 20% -10%, rgba(243,212,137,0.1), transparent 70%);
}
.door:hover::before, .door:focus-visible::before { opacity: 1; }
.door:hover { transform: translateY(-4px); }
.door-worlds:hover { border-color: rgba(95,124,255,0.55); box-shadow: 0 24px 80px -30px var(--neon-glow); }
.door-brands:hover { border-color: rgba(217,164,65,0.55); box-shadow: 0 24px 80px -30px var(--gold-glow); }

.door .door-name {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: 0.18em;
}
.door-worlds .door-name { color: var(--neon-hi); }
.door-brands .door-name { color: var(--gold-hi); }
.door .door-desc { font-size: 0.92rem; color: var(--ink-dim); max-width: 30ch; }
.door .door-enter {
  margin-top: 10px; font-size: 0.78rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink-faint); display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.3s, gap 0.3s;
}
.door-worlds:hover .door-enter { color: var(--neon-hi); gap: 14px; }
.door-brands:hover .door-enter { color: var(--gold-hi); gap: 14px; }
body[dir="rtl"] .door-enter svg { transform: scaleX(-1); }

.gate-scroll {
  position: relative; z-index: 2;
  display: flex; justify-content: center; padding-bottom: 26px;
  color: var(--ink-faint); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  animation: floaty 2.6s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(6px); } }

/* Parrot tint states */
.gate-mark .parrot-fill { transition: fill 0.6s var(--ease); }
.gate-mark .parrot-ring { transition: stroke 0.6s var(--ease), filter 0.6s var(--ease); }
.gate.tint-worlds .parrot-fill { fill: url(#pgrad-neon); }
.gate.tint-worlds .parrot-ring { stroke: url(#pgrad-neon); filter: drop-shadow(0 0 18px rgba(95,124,255,0.5)); }
.gate.tint-brands .parrot-fill { fill: url(#pgrad-gold); }
.gate.tint-brands .parrot-ring { stroke: url(#pgrad-gold); filter: drop-shadow(0 0 18px rgba(217,164,65,0.5)); }

/* ---------- Trust layer / home sections ---------- */
.strip {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 26px 0; overflow: hidden;
}
.strip-track {
  display: flex; gap: clamp(40px, 6vw, 90px); align-items: center;
  white-space: nowrap; width: max-content;
  animation: marquee 30s linear infinite;
}
.strip-track span {
  font-size: 0.95rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 500;
}
@keyframes marquee { to { transform: translateX(-50%); } }
body[dir="rtl"] .strip-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- Work grid & cards ---------- */
.work-grid {
  display: grid; gap: clamp(14px, 2vw, 26px);
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.work-card {
  position: relative; border-radius: 14px; overflow: hidden;
  aspect-ratio: 3 / 4; cursor: pointer;
  background: var(--bg-2);
  border: 1px solid var(--hairline);
  transform: translateZ(0);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
}
.work-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease), opacity 0.4s;
}
.work-card video.preview {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.4s;
}
.work-card.playing video.preview { opacity: 1; }
.work-card:hover { transform: translateY(-6px); }
.work-card:hover img { transform: scale(1.05); }
.arm-worlds .work-card:hover { border-color: rgba(95,124,255,0.45); box-shadow: 0 30px 70px -30px var(--neon-glow); }
.arm-brands .work-card:hover { border-color: rgba(217,164,65,0.45); box-shadow: 0 30px 70px -30px var(--gold-glow); }

.work-card .veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.86) 0%, rgba(5,5,5,0.25) 34%, transparent 60%);
  pointer-events: none;
}
.work-card .meta {
  position: absolute; inset: auto 0 0 0; padding: 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.work-card .meta .cat {
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-faint);
}
.work-card .meta .title { font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
.work-card .ratio-chip {
  position: absolute; top: 12px; inset-inline-end: 12px;
  font-size: 0.62rem; letter-spacing: 0.14em;
  padding: 4px 9px; border-radius: 999px;
  background: rgba(5,5,5,0.55); border: 1px solid var(--hairline-strong);
  color: var(--ink-dim); backdrop-filter: blur(6px);
}
.work-card .play-dot {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9);
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(5,5,5,0.45); border: 1px solid var(--hairline-strong);
  backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.35s, transform 0.35s var(--ease);
}
.work-card:hover .play-dot { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.work-card .play-dot svg { width: 18px; height: 18px; margin-inline-start: 2px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 20px; border-radius: 999px; font-size: 0.8rem; letter-spacing: 0.08em;
  border: 1px solid var(--hairline-strong); color: var(--ink-dim);
  transition: all 0.3s;
}
.chip:hover { color: var(--ink); }
.arm-worlds .chip.active { border-color: var(--neon); color: var(--neon-hi); background: rgba(95,124,255,0.08); }
.arm-brands .chip.active { border-color: var(--gold); color: var(--gold-hi); background: rgba(217,164,65,0.08); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  background: rgba(3,3,3,0.92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  padding: clamp(14px, 3vw, 44px);
}
.lightbox.open { display: flex; animation: lbIn 0.35s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lb-stage {
  position: relative; max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.lb-stage video {
  max-width: min(92vw, 1200px); max-height: 78svh;
  border-radius: 12px; border: 1px solid var(--hairline-strong);
  background: #000;
  box-shadow: 0 40px 140px -40px rgba(0,0,0,0.9);
}
.lb-meta { text-align: center; display: flex; flex-direction: column; gap: 2px; }
.lb-meta .cat { font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-faint); }
.lb-meta .title { font-weight: 600; font-size: 1.05rem; }
.lb-close {
  position: absolute; top: 22px; inset-inline-end: 26px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--hairline-strong); background: rgba(5,5,5,0.5);
  display: grid; place-items: center; font-size: 1.1rem;
  transition: all 0.3s;
}
.lb-close:hover { border-color: var(--ink-faint); transform: rotate(90deg); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--hairline-strong); background: rgba(5,5,5,0.5);
  display: grid; place-items: center; transition: all 0.3s; z-index: 2;
}
.lb-nav:hover { border-color: var(--ink-faint); }
.lb-prev { inset-inline-start: 18px; }
.lb-next { inset-inline-end: 18px; }
body[dir="rtl"] .lb-nav svg { transform: scaleX(-1); }

/* ---------- Feature rows (services/products) ---------- */
.ladder { display: flex; flex-direction: column; }
.rung {
  display: grid; grid-template-columns: 90px 1fr auto; gap: clamp(18px, 3vw, 44px);
  align-items: center;
  padding: clamp(26px, 3.4vw, 40px) 6px;
  border-top: 1px solid var(--hairline);
  transition: background 0.35s, padding-inline 0.35s var(--ease);
  position: relative;
}
.ladder .rung:last-child { border-bottom: 1px solid var(--hairline); }
.rung:hover { background: rgba(255,255,255,0.018); padding-inline: 18px; }
.rung .idx {
  font-size: 0.8rem; letter-spacing: 0.2em; color: var(--ink-faint);
}
.rung .body { display: flex; flex-direction: column; gap: 8px; }
.rung .name { font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 700; letter-spacing: 0.04em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rung .desc { color: var(--ink-dim); max-width: 62ch; font-size: 0.98rem; }
.tag-flag {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; font-weight: 600;
}
.arm-worlds .tag-flag { background: rgba(95,124,255,0.12); color: var(--neon-hi); border: 1px solid rgba(95,124,255,0.4); }
.arm-brands .tag-flag { background: rgba(217,164,65,0.12); color: var(--gold-hi); border: 1px solid rgba(217,164,65,0.4); }
.rung .go { color: var(--ink-faint); transition: transform 0.35s var(--ease), color 0.3s; }
.rung:hover .go { transform: translateX(6px); }
body[dir="rtl"] .rung .go { transform: scaleX(-1); }
body[dir="rtl"] .rung:hover .go { transform: scaleX(-1) translateX(6px); }
.arm-worlds .rung:hover .go { color: var(--neon-hi); }
.arm-brands .rung:hover .go { color: var(--gold-hi); }

/* ---------- Process (World System) ---------- */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px);
}
.step {
  border: 1px solid var(--hairline); border-radius: 16px;
  padding: clamp(22px, 2.6vw, 34px);
  display: flex; flex-direction: column; gap: 14px;
  background: rgba(255,255,255,0.015);
  transition: transform 0.45s var(--ease), border-color 0.4s;
}
.step:hover { transform: translateY(-6px); }
.arm-worlds .step:hover { border-color: rgba(95,124,255,0.4); }
.arm-brands .step:hover { border-color: rgba(217,164,65,0.4); }
.home .step:hover { border-color: var(--hairline-strong); }
.step .num {
  font-size: 0.75rem; letter-spacing: 0.26em; color: var(--ink-faint);
}
.step .s-name { font-weight: 700; font-size: 1.12rem; letter-spacing: 0.06em; }
.step .s-deliv {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding-bottom: 10px; border-bottom: 1px solid var(--hairline);
}
.arm-worlds .step .s-deliv, .home .step .s-deliv { color: var(--neon-hi); }
.arm-brands .step .s-deliv { color: var(--gold-hi); }
.step p { color: var(--ink-dim); font-size: 0.92rem; }

/* ---------- Case study feature ---------- */
.case-feature {
  display: grid; grid-template-columns: minmax(0, 420px) 1fr;
  gap: clamp(28px, 5vw, 70px); align-items: center;
}
.case-media {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--hairline-strong);
  aspect-ratio: 9 / 16; max-height: 640px; cursor: pointer;
}
.case-media video, .case-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.case-copy { display: flex; flex-direction: column; gap: 22px; }
.case-rows { display: flex; flex-direction: column; }
.case-row {
  display: grid; grid-template-columns: 130px 1fr; gap: 18px;
  padding: 14px 0; border-top: 1px solid var(--hairline);
  font-size: 0.95rem;
}
.case-row dt { color: var(--ink-faint); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; padding-top: 3px; }
.case-row dd { color: var(--ink-dim); }

/* ---------- Hero (arm pages) ---------- */
.arm-hero {
  position: relative; min-height: 92svh;
  display: flex; align-items: flex-end;
  padding: 0 0 clamp(48px, 7vh, 90px);
  overflow: hidden;
}
.arm-hero .hero-bg {
  position: absolute; inset: 0;
}
.arm-hero .hero-bg video, .arm-hero .hero-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.5;
}
.arm-hero .hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 4%, rgba(5,5,5,0.55) 40%, rgba(5,5,5,0.35) 100%);
}
.arm-hero .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 22px; }
.arm-hero .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }

.arm-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
}
.arm-badge .dot { width: 7px; height: 7px; border-radius: 50%; }
.arm-worlds .arm-badge { color: var(--neon-hi); }
.arm-worlds .arm-badge .dot { background: var(--neon); box-shadow: 0 0 12px var(--neon); }
.arm-brands .arm-badge { color: var(--gold-hi); }
.arm-brands .arm-badge .dot { background: var(--gold); box-shadow: 0 0 12px var(--gold); }

/* ---------- Quote / testimonial ---------- */
.quote {
  max-width: 780px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; gap: 20px; align-items: center;
}
.quote blockquote { font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.5; font-weight: 500; }
.quote cite { font-style: normal; color: var(--ink-faint); font-size: 0.9rem; letter-spacing: 0.1em; }

/* ---------- Contact / forms ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px);
}
.contact-side { display: flex; flex-direction: column; gap: 24px; }
.contact-side .row { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; border-top: 1px solid var(--hairline); }
.contact-side .row .k { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); }
.contact-side .row a { color: var(--ink-dim); transition: color 0.25s; }
.contact-side .row a:hover { color: var(--ink); }

form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.025); border: 1px solid var(--hairline-strong);
  border-radius: 10px; padding: 14px 16px; color: var(--ink);
  font: inherit; transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; }
.arm-worlds .field :is(input, select, textarea):focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(95,124,255,0.15); }
.arm-brands .field :is(input, select, textarea):focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,164,65,0.15); }
.home .field :is(input, select, textarea):focus, .page .field :is(input, select, textarea):focus { border-color: var(--ink-faint); box-shadow: 0 0 0 3px rgba(255,255,255,0.08); }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-faint) 50%), linear-gradient(135deg, var(--ink-faint) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
body[dir="rtl"] .field select { background-position: 20px 50%, 15px 50%; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8rem; color: var(--ink-faint); }
.consent input { margin-top: 3px; accent-color: var(--gold); }
.arm-worlds .consent input { accent-color: var(--neon); }

/* WhatsApp float */
.wa-float {
  position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10,10,12,0.8); border: 1px solid var(--hairline-strong);
  backdrop-filter: blur(10px);
  transition: all 0.35s var(--ease);
}
.wa-float:hover { transform: translateY(-4px); border-color: #35c65a; box-shadow: 0 12px 40px -10px rgba(53,198,90,0.45); }
.wa-float svg { width: 26px; height: 26px; fill: #35c65a; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--hairline);
  padding: clamp(44px, 6vw, 80px) 0 34px;
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 50px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col .head { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; }
.foot-col a { color: var(--ink-dim); font-size: 0.92rem; transition: color 0.25s; }
.foot-col a:hover { color: var(--ink); }
.foot-brand { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.foot-brand svg { width: 40px; height: 40px; }
.foot-brand p { color: var(--ink-faint); font-size: 0.88rem; }
.foot-base {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid var(--hairline);
  color: var(--ink-faint); font-size: 0.78rem;
}
.foot-base .legal { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-base .legal a:hover { color: var(--ink-dim); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ---------- Big CTA band ---------- */
.cta-band { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.cta-band .display { max-width: 18ch; }

/* ---------- Yaya note ---------- */
.collab-note {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; letter-spacing: 0.12em; color: var(--ink-faint);
  border: 1px solid var(--hairline); border-radius: 999px; padding: 5px 12px;
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .case-feature { grid-template-columns: 1fr; }
  .case-media { max-width: 340px; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .rung { grid-template-columns: 1fr auto; }
  .rung .idx { display: none; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 34px;
    background: rgba(5,5,5,0.96); backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transition: opacity 0.4s;
  }
  .nav.menu-open .nav-links { opacity: 1; pointer-events: auto; z-index: 99; }
  .nav-links a { font-size: 1.1rem; }
  .burger { display: flex; z-index: 100; }
  .nav.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.menu-open .burger span:nth-child(2) { opacity: 0; }
  .nav.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .gate-doors { grid-template-columns: 1fr; width: min(480px, 94vw); }
  .door { flex-direction: column; padding: 26px 22px; }
  .gate-inner { padding-top: 96px; gap: 18px; }

  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .work-card .meta { padding: 12px; }
  .work-card .meta .title { font-size: 0.85rem; }
  .work-card .ratio-chip { display: none; }
  .process-grid { grid-template-columns: 1fr; }
  .arm-hero { min-height: 86svh; }
  .lb-nav { display: none; }
  .wa-float { bottom: 18px; inset-inline-end: 18px; width: 52px; height: 52px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
  .strip-track { animation: none; }
}

/* ============================================================
   WOW LAYER — 3D scroll, tilt, depth, cursor
   ============================================================ */

/* 3D perspective reveals */
.wrap, section { perspective: 1200px; }
.reveal { opacity: 0; transform: translateY(44px) rotateX(7deg); filter: blur(6px); transform-origin: 50% 100%; transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); will-change: transform, opacity, filter; }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* Tilt (JS-driven) */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt .tilt-pop { transform: translateZ(34px); }
.work-card.tilt:hover { transform: perspective(900px) rotateX(var(--rx,0)) rotateY(var(--ry,0)) translateY(-6px) scale(1.015); }

/* Parallax layers */
[data-plx] { will-change: transform; }
.arm-hero .hero-bg { inset: -12% 0; }

/* Cursor glow (desktop only) */
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none;
  width: 340px; height: 340px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(244,241,234,0.05), transparent 60%);
  transition: background 0.4s;
}
.arm-worlds .cursor-glow { background: radial-gradient(circle, rgba(95,124,255,0.07), transparent 60%); }
.arm-brands .cursor-glow { background: radial-gradient(circle, rgba(217,164,65,0.07), transparent 60%); }
@media (hover: none), (max-width: 720px) { .cursor-glow { display: none; } }

/* Sticky showreel */
.showreel-wrap { height: 210vh; position: relative; }
.showreel-sticky {
  position: sticky; top: 0; height: 100svh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.showreel-frame {
  position: relative; width: 100%; max-width: 1500px; aspect-ratio: 16/9;
  border-radius: 26px; overflow: hidden; border: 1px solid var(--hairline-strong);
  transform: scale(var(--reel-s, 0.62));
  box-shadow: 0 60px 180px -60px rgba(0,0,0,0.9);
  will-change: transform;
}
.showreel-frame video { width: 100%; height: 100%; object-fit: cover; }
.showreel-frame .reel-veil {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: clamp(20px, 4vw, 48px);
  background: linear-gradient(to top, rgba(5,5,5,0.6), transparent 40%);
}
.showreel-frame .reel-veil .kicker { color: var(--ink-dim); }
@media (max-width: 720px) {
  .showreel-wrap { height: auto; }
  .showreel-sticky { position: relative; height: auto; padding: 20px 0; }
  .showreel-frame { transform: none; border-radius: 14px; margin: 0 16px; width: auto; }
}

/* Collab chip on cards */
.work-card .collab-chip {
  position: absolute; top: 12px; inset-inline-start: 12px;
  font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
  background: rgba(217,164,65,0.14); border: 1px solid rgba(217,164,65,0.4);
  color: var(--gold-hi); backdrop-filter: blur(6px);
}

/* Gate logo breathing glow */
.gate-mark { animation: markGlow 5s ease-in-out infinite; }
@keyframes markGlow {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(244,241,234,0.10)); }
  50% { filter: drop-shadow(0 0 34px rgba(244,241,234,0.22)); }
}
.gate.tint-worlds .gate-mark { animation: none; filter: drop-shadow(0 0 34px rgba(95,124,255,0.4)); }
.gate.tint-brands .gate-mark { animation: none; filter: drop-shadow(0 0 34px rgba(217,164,65,0.4)); }

/* Big scrolling outline word */
.giant-word {
  overflow: hidden; padding: 10px 0; pointer-events: none; user-select: none;
}
.giant-word span {
  display: block; white-space: nowrap;
  font-weight: 700; font-size: clamp(4rem, 12vw, 11rem); line-height: 1;
  letter-spacing: 0.06em; color: transparent;
  -webkit-text-stroke: 1px rgba(244,241,234,0.13);
  will-change: transform;
}
.arm-worlds .giant-word span { -webkit-text-stroke-color: rgba(95,124,255,0.22); }
.arm-brands .giant-word span { -webkit-text-stroke-color: rgba(217,164,65,0.22); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; }
  .showreel-frame { transform: none; }
  .cursor-glow { display: none; }
  .gate-mark { animation: none; }
}

/* ============================================================
   REAL LOGO ASSETS (black-plate PNGs → screen blend)
   ============================================================ */
.logo-img { display: block; }
.nav-logo .logo-img { width: 40px; height: 40px; object-fit: contain; }
.gate-mark { position: relative; width: clamp(150px, 19vw, 240px); }
.gate-mark .logo-img { width: 100%; height: auto; }
.gate-mark .gm-ov { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1); }
.gate.tint-brands .gate-mark .gm-gold { opacity: 1; }
.gate.tint-worlds .gate-mark .gm-neon { opacity: 1; }
.gate-mark .gm-base { transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1); }
.gate.tint-brands .gate-mark .gm-base, .gate.tint-worlds .gate-mark .gm-base { opacity: 0; }
.foot-brand .foot-logo { width: 210px; height: auto; }
.door-word { height: clamp(38px, 5vw, 60px); width: auto; }
.door .door-name { display: none; }
@media (max-width: 720px) { .foot-brand .foot-logo { width: 170px; } }

/* Logo images carry their own baked-in glow — kill rectangular drop-shadows */
.gate-mark, .gate.tint-worlds .gate-mark, .gate.tint-brands .gate-mark { animation: none !important; filter: none !important; }

/* ============================================================
   PREMIUM CARDS v2 — designed covers, symmetric layout
   ============================================================ */
.work-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(16px, 2vw, 26px);
}
.work-grid .work-card {
  flex: 0 1 calc(25% - clamp(16px, 2vw, 26px));
  min-width: 230px; max-width: 340px;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
}
.dual-col .work-grid .work-card { flex-basis: calc(50% - 14px); max-width: none; }

.work-card .card-frame {
  position: absolute; inset: 10px; border: 1px solid rgba(244,241,234,0.16);
  border-radius: 10px; pointer-events: none;
  transition: border-color 0.4s, inset 0.4s var(--ease);
}
.arm-worlds .work-card:hover .card-frame { border-color: rgba(95,124,255,0.55); }
.arm-brands .work-card:hover .card-frame { border-color: rgba(217,164,65,0.55); }

.work-card .veil {
  background:
    linear-gradient(to top, rgba(5,5,5,0.92) 0%, rgba(5,5,5,0.35) 30%, transparent 52%),
    linear-gradient(to bottom, rgba(5,5,5,0.55) 0%, transparent 24%);
}
.work-card .card-top {
  position: absolute; top: 20px; inset-inline: 22px;
  display: flex; justify-content: space-between; align-items: center;
}
.work-card .card-top .idx {
  font-size: 0.72rem; letter-spacing: 0.24em; color: rgba(244,241,234,0.75);
  font-weight: 500;
}
.work-card .collab-chip { position: static; }
.work-card .meta { padding: 22px; gap: 7px; }
.work-card .meta .cat {
  font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(244,241,234,0.55);
}
.work-card .meta .title {
  font-weight: 700; font-size: clamp(1rem, 1.4vw, 1.22rem); line-height: 1.22;
  letter-spacing: 0.01em;
  transform: translateY(0); transition: transform 0.45s var(--ease);
}
.work-card:hover .meta .title { transform: translateY(-2px); }
.work-card .meta .accent {
  width: 34px; height: 2px; border-radius: 2px;
  background: rgba(244,241,234,0.25);
  transition: width 0.45s var(--ease), background 0.4s;
}
.arm-worlds .work-card:hover .meta .accent { width: 64px; background: linear-gradient(90deg, var(--neon), var(--neon-vio)); }
.arm-brands .work-card:hover .meta .accent { width: 64px; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); }
.work-card .ratio-chip { display: none; }

/* ---------- Home dual-world section ---------- */
.dual-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
}
.dual-col {
  border: 1px solid var(--hairline); border-radius: 20px;
  padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 22px; align-items: flex-start;
  background: rgba(255,255,255,0.012);
  transition: border-color 0.4s, transform 0.5s var(--ease);
  position: relative; overflow: hidden;
}
.dual-col::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s; pointer-events: none;
}
.dual-col.arm-worlds::before { background: radial-gradient(90% 60% at 50% -10%, rgba(95,124,255,0.12), transparent 60%); }
.dual-col.arm-brands::before { background: radial-gradient(90% 60% at 50% -10%, rgba(217,164,65,0.12), transparent 60%); }
.dual-col:hover::before { opacity: 1; }
.dual-col:hover { transform: translateY(-4px); }
.dual-col.arm-worlds:hover { border-color: rgba(95,124,255,0.4); }
.dual-col.arm-brands:hover { border-color: rgba(217,164,65,0.4); }
.dual-col .dual-logo { height: clamp(60px, 7vw, 92px); width: auto; }
.dual-col .dual-desc { color: var(--ink-dim); font-size: 0.95rem; }
.dual-col .work-grid { width: 100%; }
.dual-col .btn { margin-top: auto; }

/* ---------- Arm hero logo ---------- */
.hero-logo { height: clamp(48px, 6.5vw, 88px); width: auto; align-self: flex-start; margin-bottom: 8px; }

/* ---------- Flying parrot scroll layer ---------- */
.parrot-fly-wrap {
  position: relative; height: 40vh; margin: -6vh 0; pointer-events: none;
  overflow: visible;
}
.parrot-fly-wrap video {
  position: absolute; left: 50%; top: 50%;
  width: min(1100px, 92vw); transform: translate(-50%, -50%);
  mix-blend-mode: screen; opacity: 0.94;
  -webkit-mask-image: radial-gradient(72% 72% at 50% 50%, #000 55%, transparent 92%);
  mask-image: radial-gradient(72% 72% at 50% 50%, #000 55%, transparent 92%);
  will-change: transform;
}
@media (max-width: 900px) {
  .dual-grid { grid-template-columns: 1fr; }
  .work-grid .work-card { flex-basis: calc(50% - 10px); min-width: 150px; }
  .work-card .meta { padding: 14px; }
  .work-card .card-frame { inset: 7px; }
  .work-card .card-top { top: 13px; inset-inline: 15px; }
  .parrot-fly-wrap { height: 26vh; }
}

/* Nav arm label */
.nav-logo .word-arm {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.3em;
  padding: 4px 9px 3px; border-radius: 999px; margin-inline-start: 2px;
  border: 1px solid var(--hairline-strong);
  transform: translateY(-1px);
}
.arm-worlds .nav-logo .word-arm { border-color: rgba(95,124,255,0.35); }
.arm-brands .nav-logo .word-arm { border-color: rgba(217,164,65,0.35); }
@media (max-width: 480px) { .nav-logo .word { font-size: 0.8rem; } .nav-logo .word-arm { font-size: 0.55rem; letter-spacing: 0.2em; } }

/* ============================================================
   Copy deck v2 — structural additions
   ============================================================ */
.gate-h1 { font-size: clamp(1.9rem, 4.4vw, 3.6rem); max-width: 22ch; }
.gate-lead { text-align: center; max-width: 58ch; font-size: clamp(0.98rem, 1.4vw, 1.15rem); }
.door-desc.strong { color: var(--ink); font-weight: 600; }
.rung .rung-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint); transition: color 0.3s, gap 0.3s;
}
.arm-worlds .rung:hover .rung-btn { color: var(--neon-hi); gap: 12px; }
.arm-brands .rung:hover .rung-btn { color: var(--gold-hi); gap: 12px; }
body[dir="rtl"] .rung-btn .arrow { transform: scaleX(-1); }
.foot-grid-5 { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
.form-msg.ok { color: #7ddb96; font-size: 0.9rem; }
.form-msg.err { color: #e08a8a; font-size: 0.9rem; }
.grid-empty { color: var(--ink-faint); padding: 34px 0; text-align: center; width: 100%; }
body[dir="ltr"] .lang-he { display: none; }
body[dir="rtl"] .lang-en { display: none; }
@media (max-width: 900px) { .foot-grid-5 { grid-template-columns: 1fr 1fr; } }

/* English product-name tag beside Hebrew service titles */
.name-en {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint); border: 1px solid var(--hairline);
  padding: 4px 10px; border-radius: 999px; transform: translateY(-3px); display: inline-block;
}
