:root {
  --color-bg: #FAFAFA;
  --color-bg-alt: #EEF1FF;
  --color-ink: #111111;
  --color-ink-soft: #55586a;
  --color-brand: #5170FF;
  --color-brand-dark: #3a52d6;
  --color-accent: #FF6F61;
  --color-line: #ECECEC;
  --color-white: #FFFFFF;

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'Space Mono', monospace;

  --container: 1200px;
  --radius: 22px;
  --shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  position: relative;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-dark);
  margin: 0 0 14px;
}
.eyebrow.center { text-align: center; }
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-alt);
  border: 1px solid rgba(81, 112, 255, 0.32);
  padding: 7px 14px;
  border-radius: 999px;
  margin: 0 0 24px;
}
.pill-dot {
  width: 7px;
  height: 7px;
  background: var(--color-brand);
  border-radius: 2px;
  transform: rotate(45deg);
}
.eyebrow-light { color: #8FA3FF; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--color-ink);
}

h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: 8px; }

p { margin: 0 0 16px; color: var(--color-ink-soft); }

section { padding: clamp(64px, 8vw, 108px) 0; }

.highlight { color: var(--color-brand); }
.highlight-light { color: #8FA3FF; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-3px); }

/* Liquid-glass base: real backdrop blur + specular highlight + refractive rim */
.btn-primary,
.btn-dark,
.btn-ghost {
  position: relative;
  isolation: isolate;
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  overflow: hidden;
}
.btn-primary::before,
.btn-dark::before,
.btn-ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
}
.btn-primary::after,
.btn-dark::after,
.btn-ghost::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.18) 22%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 78%, rgba(255, 255, 255, 0.35) 100%);
  mix-blend-mode: overlay;
}

.btn-primary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow:
    0 10px 30px rgba(81, 112, 255, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 -10px 18px rgba(40, 60, 180, 0.28);
}
.btn-primary::before { background: rgba(81, 112, 255, 0.38); }
.btn-primary:hover {
  box-shadow:
    0 18px 40px rgba(81, 112, 255, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    inset 0 -10px 18px rgba(40, 60, 180, 0.32);
}

.btn-dark {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    inset 0 -10px 18px rgba(0, 0, 0, 0.35);
}
.btn-dark::before { background: rgba(10, 10, 14, 0.4); }
.btn-dark:hover {
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.36),
    inset 0 1px 1px rgba(255, 255, 255, 0.28),
    inset 0 -10px 18px rgba(0, 0, 0, 0.4);
}

.btn-ghost {
  color: var(--color-ink);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 6px 20px rgba(17, 17, 17, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.85),
    inset 0 -8px 14px rgba(17, 17, 17, 0.05);
}
.btn-ghost::before { background: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover {
  border-color: var(--color-brand);
  box-shadow:
    0 10px 26px rgba(17, 17, 17, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -8px 14px rgba(17, 17, 17, 0.06);
}

/* Hex background texture */
.hex-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(30deg, rgba(81,112,255,.10) 12%, transparent 12.5%, transparent 87%, rgba(81,112,255,.10) 87.5%, rgba(81,112,255,.10)),
    linear-gradient(150deg, rgba(81,112,255,.10) 12%, transparent 12.5%, transparent 87%, rgba(81,112,255,.10) 87.5%, rgba(81,112,255,.10)),
    linear-gradient(30deg, rgba(81,112,255,.10) 12%, transparent 12.5%, transparent 87%, rgba(81,112,255,.10) 87.5%, rgba(81,112,255,.10)),
    linear-gradient(150deg, rgba(81,112,255,.10) 12%, transparent 12.5%, transparent 87%, rgba(81,112,255,.10) 87.5%, rgba(81,112,255,.10));
  background-size: 46px 80px;
  background-position: 0 0, 0 0, 23px 40px, 23px 40px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 82%);
  mask-image: linear-gradient(180deg, #000, transparent 82%);
}
.hex-bg-dark { opacity: 0.5; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--color-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.94rem;
  color: #444;
}
.main-nav a:hover { color: var(--color-ink); }
.nav-cta {
  background: var(--color-brand);
  color: var(--color-white) !important;
  padding: 11px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(81, 112, 255, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(81, 112, 255, 0.4); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch-btn {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  color: #888;
}
.lang-switch-btn.is-active { background: var(--color-ink); color: var(--color-white) !important; }
.site-header-overlay .lang-switch { border-color: rgba(255, 255, 255, 0.3); }
.site-header-overlay .lang-switch-btn { color: rgba(255, 255, 255, 0.7); }
.site-header-overlay .lang-switch-btn.is-active { background: var(--color-white); color: var(--color-ink) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--color-ink);
}

/* Hero — immersive full-bleed */
.site-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
}
body.admin-bar .site-header-overlay { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header-overlay { top: 46px; }
}
.site-header-overlay .main-nav a:not(.nav-cta) { color: rgba(255, 255, 255, 0.9); }
.site-header-overlay .main-nav a:not(.nav-cta):hover { color: var(--color-white); }
.site-header-overlay .logo { color: var(--color-white); }
.site-header-overlay .nav-toggle { border-color: rgba(255, 255, 255, 0.3); }
.site-header-overlay .nav-toggle span { background: var(--color-white); }

.hero-immersive {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #1c2454 0%, #0c0e1c 62%, #06070d 100%);
  padding: 0;
}
.hero-immersive-glow {
  position: absolute;
  z-index: 1;
  top: 8%;
  right: 6%;
  width: 52%;
  height: 78%;
  background:
    radial-gradient(50% 50% at 60% 40%, rgba(81, 112, 255, 0.35) 0%, rgba(81, 112, 255, 0) 68%),
    radial-gradient(40% 45% at 40% 70%, rgba(255, 111, 97, 0.16) 0%, rgba(255, 111, 97, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-immersive canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  filter: drop-shadow(0 0 60px rgba(81, 112, 255, 0.22));
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 26% 46%, rgba(6, 7, 13, 0.72) 0%, rgba(6, 7, 13, 0.28) 55%, transparent 78%),
    linear-gradient(180deg, rgba(6, 7, 13, 0.55) 0%, rgba(6, 7, 13, 0.1) 30%, rgba(6, 7, 13, 0.15) 70%, rgba(6, 7, 13, 0.75) 100%);
}
.hero-immersive .hero-noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.045) 1px, transparent 0);
  background-size: 22px 22px;
  opacity: 0.5;
}
.hero-immersive-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  margin: 0;
  padding-top: 180px;
  padding-bottom: 90px;
}
.hero-immersive .eyebrow-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--color-white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-immersive .eyebrow-pill .pill-dot { background: var(--color-brand); }
.hero-immersive h1 {
  color: var(--color-white);
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
}
.hero-immersive .hero-lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  max-width: 560px;
  font-weight: 500;
}
.hero-immersive .hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 0; }
.hero-immersive .hero-tags span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 7px 13px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-immersive .hero-actions { display: flex; gap: 14px; margin: 34px 0 0; flex-wrap: wrap; }
.hero-immersive .btn-ghost {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}
.hero-immersive .btn-ghost::before { background: rgba(255, 255, 255, 0.08); }

.hero-scroll-cue {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: clamp(24px, 4vw, 40px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-scroll-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  animation: bb-bob 2.2s ease-in-out infinite;
}
@keyframes bb-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
@media (max-width: 860px) {
  .hero-immersive { min-height: auto; padding-top: 0; }
  .hero-immersive-content { padding-top: 140px; padding-bottom: 60px; }
  .hero-scroll-cue span:first-child { display: none; }
}

/* Sub-page hero (About / Services / Work / Contact) */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 96px) 0 clamp(40px, 5vw, 56px);
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg) 0%, #F3F5FD 100%);
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.page-hero-lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  font-weight: 500;
  color: #444;
}

/* Problem — bright card reveal on scroll */
.problem {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
  padding: clamp(64px, 9vw, 120px) 0;
}
.problem .container {
  position: relative;
  z-index: 2;
}
.problem-copy { position: relative; z-index: 2; }
.problem h2.center {
  color: var(--color-ink);
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 720px;
  margin: 0 auto;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(32px, 4vw, 48px);
}
@media (max-width: 860px) {
  .problem-grid { grid-template-columns: 1fr; }
}
.problem-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.problem-card:hover { transform: translateY(-6px); border-color: rgba(81, 112, 255, 0.35); box-shadow: 0 14px 32px rgba(17, 17, 17, 0.08); }
.problem-card.reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.96);
  transition: opacity 0.6s cubic-bezier(.22,1,.36,1), transform 0.6s cubic-bezier(.22,1,.36,1);
  transition-delay: calc(var(--stagger, 0) * 90ms);
}
.problem-card.reveal.is-visible { opacity: 1; transform: none; }
.problem-card h3 { color: var(--color-ink); font-size: 1rem; }
.problem-card p { margin: 0; font-size: 0.88rem; color: var(--color-ink-soft); }
.problem-punch {
  margin: clamp(28px, 4vw, 40px) 0 0;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

/* Section head */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.section-head h2 { margin: 0; max-width: 620px; }
.link-arrow { font-weight: 700; color: var(--color-ink); border-bottom: 2px solid var(--color-brand); padding-bottom: 3px; white-space: nowrap; }

/* Services — dark, matches the hero's palette */
.services {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, #1c2454 0%, #0c0e1c 55%, #06070d 100%);
  color: var(--color-white);
}
.services .eyebrow { color: #9fb0ff; }
.services .section-head h2 { color: var(--color-white); }
.services .link-arrow { color: var(--color-white); border-bottom-color: var(--color-brand); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: clamp(40px, 5vw, 60px);
}
.service-card {
  padding: 24px 0 0;
  border-top: 2px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  transition: border-color 0.3s ease;
}
.service-card:hover { border-color: var(--color-brand); }
.service-card h3 { color: var(--color-white); }
.service-card p { color: rgba(255, 255, 255, 0.7); }
.service-card p { margin: 0; font-size: 0.95rem; }
.tag-inline { font-size: 0.85rem; font-weight: 700; color: #b7c1ff; }

/* Services deck — cards stacked in receding depth, fanning open on scroll,
   hovered/active card comes forward and sharpens while others recede + blur */
.service-arc {
  --n: 6;
  position: relative;
  height: clamp(440px, 48vw, 580px);
  margin-top: clamp(40px, 6vw, 72px);
  perspective: 1600px;
}
.service-arc .service-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(240px, 70vw);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  padding: 24px 20px;
  border-radius: var(--radius);
  --mid: calc((var(--n) - 1) / 2);
  --offset: calc(var(--i) - var(--mid));
  --angle: calc(var(--offset) * 6deg);
  --spread: clamp(120px, 13vw, 175px);
  --depth: calc(-1 * abs(var(--offset)) * 34px);
  --fan: 1;
  transform:
    translateX(calc(-50% + var(--offset) * var(--spread) * var(--fan)))
    translateY(calc(abs(var(--offset)) * 10px * var(--fan)))
    translateZ(calc(var(--depth) * var(--fan)))
    rotate(calc(var(--angle) * var(--fan)))
    scale(calc(1 - abs(var(--offset)) * 0.045 * var(--fan)));
  transform-origin: 50% 100%;
  transition: transform 0.6s cubic-bezier(.22,1,.36,1), filter 0.5s ease, box-shadow 0.4s ease, border-color 0.4s ease, z-index 0s;
  z-index: calc(100 - abs(var(--i) * 10 - var(--mid) * 10));
  filter: blur(calc(abs(var(--offset)) * 0.6px * var(--fan))) brightness(calc(1 - abs(var(--offset)) * 0.05 * var(--fan)));
  cursor: pointer;
}
.service-arc.is-fanned .service-card { --fan: 1; }
.service-arc:not(.is-fanned) .service-card { --fan: 0; }
.service-arc .service-card:hover,
.service-arc .service-card.is-active {
  transform:
    translateX(-50%)
    translateY(-22px)
    translateZ(60px)
    rotate(0deg)
    scale(1.1);
  filter: blur(0) brightness(1);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: 0 30px 70px -20px rgba(81, 112, 255, 0.5);
  z-index: 200;
  border-color: rgba(129, 152, 255, 0.7);
}
@media (max-width: 860px) {
  .service-arc {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    perspective: none;
  }
  .service-arc .service-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    filter: none !important;
    transform: none !important;
  }
  .service-arc .service-card:hover,
  .service-arc .service-card.is-active {
    transform: translateY(-6px) !important;
  }
}

/* AI Creative */
.ai-creative { background: var(--color-bg); border-top: 1px solid var(--color-line); }
.ai-lead { max-width: 640px; font-size: clamp(1.05rem, 1.7vw, 1.2rem); font-weight: 500; }
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 5vw, 60px);
}
.ai-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ai-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ai-thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, #1c1c1c, #1b2030);
}
.ai-thumb-video { background: linear-gradient(150deg, #10131f, #1b2138); }
.play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.82);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.ai-thumb-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(81, 112, 255, 0.4);
  padding: 6px 11px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.ai-meta { padding: 28px 30px; }
.ai-meta h3 { font-size: 1.35rem; }
.ai-meta p { font-size: 0.95rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip-row span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #5566b3;
  background: var(--color-bg-alt);
  border: 1px solid #D5DCFF;
  padding: 6px 12px;
  border-radius: 999px;
}
.ai-cta-band {
  margin-top: 20px;
  background: var(--color-ink);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 38px) clamp(26px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ai-cta-band h3 { color: var(--color-white); font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-bottom: 8px; }
.ai-cta-band p { color: #b5b5b5; margin: 0; max-width: 480px; }

/* Why */
.why { position: relative; background: var(--color-ink); color: var(--color-white); overflow: hidden; }
.light-heading { color: var(--color-white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: clamp(40px, 5vw, 60px);
}
.why-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 22px 24px;
  font-size: 1.08rem;
  font-weight: 700;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.why-item:hover { border-color: var(--color-brand); background: rgba(81, 112, 255, 0.08); }
.check {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Process */
.process { background: var(--color-white); border-bottom: 1px solid var(--color-line); }
.process-steps {
  list-style: none;
  margin: clamp(44px, 5vw, 64px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 20px;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-brand), #A9B8FF);
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: var(--color-bg-alt);
  border: 2px solid var(--color-brand);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-brand-dark);
  position: relative;
  z-index: 1;
}
.step-num-filled {
  background: var(--color-brand);
  color: var(--color-white);
  box-shadow: 0 12px 26px rgba(81, 112, 255, 0.4);
}
.process-steps li { display: flex; flex-direction: column; }
.process-steps h3 { margin: 18px 0 0; font-size: 1.1rem; }
.process-steps p { font-size: 0.9rem; margin: 7px 0 0; }

/* Work */
.work { background: var(--color-bg); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 5vw, 60px);
}
.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.work-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.work-thumb {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
  background: linear-gradient(150deg, var(--card-a, var(--color-brand)), var(--card-b, var(--color-brand-dark)));
  text-align: center;
  padding: 24px;
}
.work-meta { padding: 22px 24px; }
.work-tag { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-brand-dark); }
.work-meta h3 { margin: 5px 0 0; font-size: 1.2rem; }

/* Testimonials */
.testimonials { background: var(--color-white); border-top: 1px solid var(--color-line); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: clamp(40px, 5vw, 60px);
}
blockquote {
  margin: 0;
  padding: 30px;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
blockquote:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stars { color: var(--color-brand); font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 2px; }
blockquote p {
  font-size: 1.05rem;
  color: var(--color-ink);
  margin-bottom: 22px;
  font-weight: 500;
}
blockquote footer { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--color-ink-soft); }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(150deg, #A9B8FF, var(--color-brand));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: none;
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #EEF1FF 0%, #C2CCFF 55%, #8FA3FF 100%);
  border-radius: clamp(28px, 4vw, 40px);
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 90px) clamp(24px, 5vw, 40px);
}
.contact-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-logo { width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 14px; }
.contact h2 { color: var(--color-ink); }
.contact-lead { max-width: 480px; margin: 0 auto 34px; color: #2a3578; font-weight: 500; }
.contact-actions { display: flex; justify-content: center; margin-bottom: 40px; }
.contact-form { display: grid; gap: 20px; text-align: left; background: var(--color-white); border-radius: var(--radius); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink-soft);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: var(--color-bg);
  color: var(--color-ink);
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-brand);
}
.contact-form button { justify-self: start; }
.form-note { color: var(--color-brand-dark); font-weight: 600; }

/* Footer */
.site-footer { background: var(--color-ink); color: var(--color-white); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding: clamp(54px, 7vw, 80px) 0 40px;
  align-items: start;
}
.footer-brand { max-width: 320px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: #9a9a9a; font-size: 0.94rem; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #1d1d1d;
  border: 1px solid #2c2c2c;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.footer-social a:hover { background: var(--color-brand); border-color: var(--color-brand); }
.footer-col h4 { margin: 0 0 16px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #777; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col span { color: #bdbdbd; font-size: 0.94rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--color-brand); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #262626;
  padding: 24px 0;
  font-size: 0.85rem;
  color: #777;
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { color: #777; }
.footer-legal a:hover { color: var(--color-brand); }

/* Responsive */
@media (max-width: 900px) {
  .form-row { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  section { padding: 56px 0; }
  .service-grid, .ai-grid, .work-grid, .testimonial-grid, .problem-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .ai-cta-band { flex-direction: column; align-items: flex-start; }
}

.main-nav.open {
  display: flex;
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--color-white);
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 20px 24px;
  border-bottom: 1px solid var(--color-line);
  gap: 4px;
}
.main-nav.open a { padding: 12px 8px; width: 100%; }
.main-nav.open .nav-cta { margin-top: 6px; text-align: center; justify-content: center; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* RTL (Hebrew) */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .section-head { flex-direction: row-reverse; }
html[dir="rtl"] .link-arrow { flex-direction: row-reverse; }
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .contact-actions,
html[dir="rtl"] .hero-tags,
html[dir="rtl"] .footer-social { flex-direction: row-reverse; }
html[dir="rtl"] .main-nav { flex-direction: row-reverse; }
html[dir="rtl"] .header-inner { flex-direction: row-reverse; }
html[dir="rtl"] .logo { flex-direction: row-reverse; }
html[dir="rtl"] .footer-grid { text-align: right; }
html[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
html[dir="rtl"] .work-tag,
html[dir="rtl"] .chip-row { flex-direction: row-reverse; }
html[dir="rtl"] .ai-cta-band { flex-direction: row-reverse; }
html[dir="rtl"] .contact-form .form-row { flex-direction: row-reverse; }
html[dir="rtl"] .ai-thumb-tag { direction: ltr; }
html[dir="rtl"] .why-item { flex-direction: row-reverse; justify-content: flex-end; }
html[dir="rtl"] .pill-dot { order: 2; }

/*
 * Scene slots — reusable containers reserved for future per-section Spline
 * 3D scenes. Each collapses to zero height and stays invisible until a
 * canvas is added inside (mirrors .hero-robot / #hero-robot-canvas), so
 * dropping in a new scene later requires no other markup changes.
 */
.scene-slot {
  position: relative;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}
.scene-slot.has-scene {
  max-height: 640px;
  opacity: 1;
  pointer-events: auto;
  aspect-ratio: 16 / 10;
  margin: clamp(24px, 4vw, 48px) 0;
  border-radius: var(--radius);
}
.scene-slot canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
