:root {
  color-scheme: light;
  --bg: #f8fafc;
  --bg-soft: #eef3fb;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-solid: #ffffff;
  --surface-subtle: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.1);
  --line-strong: rgba(15, 23, 42, 0.18);
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.08);
  --accent-2: #0891b2;
  --live: #10b981;
  --on-accent: #ffffff;
  --header-bg: rgba(248, 250, 252, 0.85);
  --contact-bg: linear-gradient(135deg, #0b1936 0%, #173a82 55%, #1d4ed8 100%);
  --radius: 1.25rem;
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.05);
  --shadow: 0 22px 54px rgba(15, 23, 42, 0.1);
  --shell: min(1180px, calc(100% - 2.5rem));
  --font-sans: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070b14;
  --bg-soft: #0c1322;
  --surface: rgba(15, 23, 42, 0.86);
  --surface-solid: #0f172a;
  --surface-subtle: #162033;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.25);
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --accent-soft: rgba(59, 130, 246, 0.14);
  --accent-2: #22d3ee;
  --live: #34d399;
  --header-bg: rgba(7, 11, 20, 0.82);
  --contact-bg: linear-gradient(135deg, #0b1328 0%, #11244d 55%, #1e3a8a 100%);
  --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.28);
  --shadow: 0 26px 64px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 4%, rgba(37, 99, 235, 0.11), transparent 28rem),
    radial-gradient(circle at 8% 28%, rgba(8, 145, 178, 0.08), transparent 24rem),
    var(--bg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.mono { font-family: var(--font-mono); }

a { color: inherit; text-decoration: none; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 120;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 0.6rem;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  z-index: 100;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.08s linear;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.site-header.scrolled { border-color: var(--line); }

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  aspect-ratio: 1;
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 0.72rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 0.96rem; font-weight: 750; letter-spacing: -0.02em; color: var(--text); }
.brand-role { font-size: 0.72rem; color: var(--muted); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-items {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.nav-link {
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--text); }
.nav-link.active {
  color: var(--text);
  background: var(--surface-solid);
  box-shadow: var(--shadow-sm);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}
.language-switcher button {
  min-width: 2.1rem;
  min-height: 2rem;
  padding: 0.2rem 0.45rem;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 0.55rem;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.language-switcher button:hover { color: var(--text); }
.language-switcher button.active {
  color: var(--on-accent);
  background: var(--accent);
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  color: var(--muted);
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.theme-toggle:hover { color: var(--text); border-color: var(--line-strong); transform: translateY(-1px); }
.theme-toggle svg { width: 1.1rem; height: 1.1rem; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-cta {
  padding: 0.6rem 1.05rem;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: 0.78rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  border-radius: 0.75rem;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0.32rem auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-block: clamp(3.2rem, 6vh, 5rem);
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.45rem 0.85rem;
  background: var(--accent-soft);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 999px;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}

.status-dot {
  width: 0.55rem;
  aspect-ratio: 1;
  background: var(--live);
  border-radius: 50%;
  box-shadow: 0 0 0 0.28rem rgba(16, 185, 129, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

.timezone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.8rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.timezone-pill svg { width: 0.9rem; height: 0.9rem; color: var(--accent); }
.mono-time { font-family: var(--font-mono); color: var(--text); font-weight: 700; }

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 740px;
  margin-bottom: 1.35rem;
  font-size: clamp(2.85rem, 4.9vw, 4.9rem);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 .plain-title { color: var(--text); }
h1 .accent-title {
  color: transparent;
  background: linear-gradient(120deg, var(--accent), #3b82f6 52%, var(--accent-2));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 1.85rem;
  padding-left: 1rem;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.1rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.85rem;
  font-weight: 700;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg { width: 1.05rem; height: 1.05rem; flex-shrink: 0; }

.button.primary {
  color: var(--on-accent);
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
}
.button.primary:hover { background: var(--accent-hover); }

.button.secondary {
  color: var(--text);
  background: var(--surface-solid);
  border-color: var(--line-strong);
}
.button.secondary:hover { border-color: var(--accent); }

.button.ghost {
  color: var(--muted);
  background: transparent;
  border-color: var(--line);
}
.button.ghost:hover { color: var(--text); background: var(--surface-solid); border-color: var(--line-strong); }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 600px);
  margin-top: 2rem;
  padding: 0.95rem 0.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}
.hero-facts li { display: grid; padding: 0.2rem 1rem; gap: 0.15rem; }
.hero-facts li + li { border-left: 1px solid var(--line); }
.hero-facts strong {
  color: var(--accent);
  direction: ltr;
  unicode-bidi: isolate;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.hero-facts span { color: var(--muted); font-size: 0.84rem; font-weight: 500; }

/* Editorial Portrait Card */
.hero-visual {
  display: flex;
  justify-content: center;
}
.portrait-card {
  position: relative;
  width: min(410px, 100%);
  padding: 0.9rem;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  box-shadow: var(--shadow);
}
.portrait-frame {
  position: relative;
  aspect-ratio: 1 / 1.02;
  overflow: hidden;
  border-radius: 1.1rem;
  background: linear-gradient(160deg, var(--bg-soft), var(--surface-subtle));
}
.profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.portrait-footer {
  padding: 1rem 0.35rem 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.portrait-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.portrait-focus {
  margin: 0.2rem 0 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 650;
}
.portrait-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.72rem;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 650;
  color: var(--text);
}
.chip-dot {
  width: 0.45rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
}
.chip-dot.secondary { background: var(--accent-2); }

/* Marquee */
.marquee {
  overflow: hidden;
  padding-block: 0.95rem;
  border-block: 1px solid var(--line);
  background: var(--accent-soft);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 3rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.marquee span::after {
  content: "";
  width: 0.35rem;
  aspect-ratio: 1;
  background: var(--accent);
  border-radius: 50%;
}

/* Product solutions */
.solutions-section { padding-block: clamp(4rem, 7vw, 6rem); }
.solutions-section .section-heading { display: block; max-width: 800px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.solutions-section .section-heading > div { max-width: 760px; }
.solutions-section .section-heading .eyebrow { display: inline-flex; margin-bottom: 1rem; padding: 0.38rem 0.7rem; background: var(--accent-soft); border: 1px solid rgba(37, 99, 235, 0.14); border-radius: 999px; }
.solutions-section .section-heading h2 { max-width: 690px; font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1.02; text-wrap: balance; }
.solutions-section .section-intro { margin-top: 1rem; font-size: 1.02rem; }
.solutions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.solution-product { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: clamp(1.5rem, 2.5vw, 2rem); background: linear-gradient(145deg, var(--surface-solid) 65%, rgba(37, 99, 235, 0.06)); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.2); box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.solution-product:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.solution-product-education { background: linear-gradient(145deg, var(--surface-solid) 65%, rgba(8, 145, 178, 0.07)); }
.solution-product::before { content: ""; position: absolute; inset: 0 0 auto; height: 0.25rem; background: linear-gradient(90deg, #2563eb, #0891b2); pointer-events: none; }
.solution-product-education::before { background: linear-gradient(90deg, #0891b2, #0f766e); }
.solution-product-head { display: flex; align-items: center; gap: 1rem; }
.solution-product-image { display: block; width: 100%; height: clamp(11rem, 18vw, 14rem); margin-top: 1.5rem; object-fit: cover; border: 1px solid var(--line); border-radius: 0.9rem; }
.solution-product-mark { display: grid; place-items: center; width: 3.25rem; aspect-ratio: 1; flex: 0 0 auto; color: white; background: linear-gradient(135deg, #2563eb, #0891b2); border-radius: 1rem; font-weight: 800; letter-spacing: -0.04em; }
.solution-product-education .solution-product-mark { background: linear-gradient(135deg, #0891b2, #0f766e); }
.solution-product-sector { margin: 0 0 0.2rem; color: var(--accent); font-size: 0.78rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.06em; }
.solution-product h3 { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.1; letter-spacing: -0.035em; }
.solution-product-copy { min-height: 5.2rem; margin: 1.4rem 0 1.25rem; color: var(--muted); font-size: 0.98rem; }
.solution-product-features { display: grid; gap: 0.55rem; margin-bottom: 1.5rem; }
.solution-product-features li { position: relative; padding: 0.72rem 0.8rem 0.72rem 2.1rem; color: var(--text); background: color-mix(in srgb, var(--surface-subtle) 72%, transparent); border: 1px solid var(--line); border-radius: 0.75rem; font-size: 0.9rem; font-weight: 650; }
.solution-product-features li::before { content: ""; position: absolute; left: 0.85rem; top: 1.05rem; width: 0.48rem; height: 0.48rem; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 0.24rem var(--accent-soft); }
.solution-product-link { align-self: stretch; margin-top: auto; color: white; background: var(--accent); border-color: var(--accent); }
.solution-product-link:hover { color: white; background: var(--accent-hover); }
html[dir="rtl"] .solution-product-features li { padding-right: 1.4rem; padding-left: 0; }
html[dir="rtl"] .solution-product-features li { padding: 0.72rem 2.1rem 0.72rem 0.8rem; }
html[dir="rtl"] .solution-product-features li::before { right: 0.85rem; left: auto; }

/* Sections */
.section {
  padding-block: clamp(4.5rem, 8.5vw, 7.5rem);
  scroll-margin-top: 76px;
}
.section-heading {
  display: grid;
  grid-template-columns: 0.45fr 1.55fr;
  align-items: start;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.section-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.section-heading-split {
  grid-template-columns: 1fr auto;
  align-items: end;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.about-lead {
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.pillars-list {
  display: grid;
  gap: 0.85rem;
}
.pillar-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.15rem;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.pillar-num {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  padding-top: 0.2rem;
}
.pillar-item h3 { margin-bottom: 0.2rem; font-size: 1rem; font-weight: 750; }
.pillar-item p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

.about-copy {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.78;
}
.about-copy p + p { margin-top: 1.4rem; }

/* Selected Work */
.work-section {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}
.work-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.3rem;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}
.filter-btn {
  padding: 0.5rem 0.95rem;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 0.65rem;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.filter-btn:hover { color: var(--text); }
.filter-btn.active {
  color: var(--on-accent);
  background: var(--accent);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}
.work-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow);
}
.work-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--surface-solid), var(--accent-soft));
}
.work-card.is-hidden { display: none; }

.work-card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.work-badge {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.work-metric {
  padding: 0.28rem 0.7rem;
  color: var(--text);
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}
.work-card h3 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.work-card p {
  margin-bottom: 0;
  color: var(--muted);
  max-width: 72ch;
}
.work-highlights {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.1rem;
  list-style: disc;
  color: var(--text);
  font-size: 0.92rem;
}
.work-highlights li::marker { color: var(--accent); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}
.tags li {
  padding: 0.32rem 0.7rem;
  color: var(--muted);
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 650;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--line);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 2rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}
.timeline-item:first-child { padding-top: 0.5rem; }
.timeline-item:last-child { border-bottom: 0; padding-bottom: 0.5rem; }

.timeline-marker {
  position: absolute;
  left: -2.42rem;
  top: 2.3rem;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--surface-solid);
  border: 2px solid var(--accent);
  border-radius: 50%;
}
.timeline-item:first-child .timeline-marker { top: 0.8rem; }
.timeline-item.current .timeline-marker {
  background: var(--live);
  border-color: var(--live);
  box-shadow: 0 0 0 0.32rem rgba(16, 185, 129, 0.2);
}

.timeline-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.timeline-date {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}
.timeline-company {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.timeline-content h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.timeline-content p {
  max-width: 68ch;
  margin-bottom: 0.9rem;
  color: var(--muted);
}
.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.timeline-tags span {
  padding: 0.25rem 0.65rem;
  color: var(--muted);
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 650;
}

/* Skills */
.skills-section {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.05rem;
}
.skill-card {
  display: flex;
  flex-direction: column;
  padding: 1.65rem;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.skill-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.35);
}
.skill-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}
.skill-num {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}
.skill-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 0.7rem;
}
.skill-icon svg { width: 1.15rem; height: 1.15rem; }
.skill-card h3 { margin-bottom: 0.55rem; font-size: 1.2rem; font-weight: 800; }
.skill-card p { margin-bottom: 1.25rem; color: var(--muted); font-size: 0.94rem; flex-grow: 1; }
.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}
.skill-pills li {
  padding: 0.25rem 0.62rem;
  color: var(--text);
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  font-size: 0.72rem;
  font-weight: 650;
}

/* Contact */
.contact-section { padding-bottom: 4.5rem; }
.contact-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 4rem);
  color: #ffffff;
  background: var(--contact-bg);
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: calc(var(--radius) * 1.35);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.26);
}
.contact-panel .eyebrow { color: #93c5fd; }
.contact-panel h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.contact-text { color: #dbeafe; max-width: 48ch; margin-bottom: 2rem; }

.contact-direct {
  display: grid;
  gap: 0.75rem;
}
.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.95rem;
}
.contact-row-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93c5fd;
}
.contact-row-value {
  font-weight: 650;
  color: #ffffff;
  word-break: break-word;
}
.ltr-value { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.copy-chip {
  padding: 0.42rem 0.8rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.6rem;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}
.copy-chip:hover { background: rgba(255, 255, 255, 0.24); }

/* Quick Inquiry Composer */
.contact-composer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(7, 11, 20, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.15rem;
  backdrop-filter: blur(14px);
}
.composer-header h3 { margin-bottom: 0.2rem; font-size: 1.2rem; color: #ffffff; }
.composer-header p { margin: 0; font-size: 0.86rem; color: #cbd5e1; }

.topic-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.topic-pill {
  padding: 0.4rem 0.78rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.topic-pill:hover { background: rgba(255, 255, 255, 0.18); }
.topic-pill.active {
  color: #0f172a;
  background: #ffffff;
  border-color: #ffffff;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.field span { font-size: 0.8rem; font-weight: 650; color: #dbeafe; }
.field input,
.field textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.75rem;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(226, 232, 240, 0.6); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #93c5fd;
  background: rgba(255, 255, 255, 0.12);
}

.composer-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}
.contact-composer .button.primary {
  color: #0f2a5c;
  background: #ffffff;
  box-shadow: none;
}
.contact-composer .button.primary:hover { background: #eff6ff; }
.contact-composer .button.primary:disabled { opacity: 0.65; cursor: wait; }
.form-trap { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.form-status { min-height: 1.5rem; margin: 0; color: #dbeafe; font-size: 0.86rem; }
.form-status.success { color: #86efac; }
.form-status.error { color: #fca5a5; }
.button.secondary-dark {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}
.button.secondary-dark:hover { background: rgba(255, 255, 255, 0.2); }

/* Footer */
.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding-block: 2rem 3rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}
.footer p { margin: 0; }
.footer a { justify-self: end; color: var(--text); font-weight: 650; }
.footer a:hover { color: var(--accent); }

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  z-index: 150;
  padding: 0.72rem 1.15rem;
  color: #ffffff;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
  font-size: 0.85rem;
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
html[data-theme="dark"] .toast {
  color: #0f172a;
  background: #f8fafc;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0.24rem rgba(16, 185, 129, 0.22); }
  50% { box-shadow: 0 0 0 0.44rem rgba(16, 185, 129, 0.08); }
}

/* Consultation router */
.services-section {
  position: relative;
  padding-block: clamp(3.75rem, 6vw, 5.75rem);
  background: linear-gradient(180deg, transparent, var(--accent-soft) 50%, transparent), var(--bg-soft);
  border-block: 1px solid var(--line);
}
.services-heading {
  grid-template-columns: minmax(11rem, 0.42fr) minmax(0, 1.58fr);
  gap: 0.65rem clamp(2rem, 5vw, 5rem);
  max-width: none;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.services-heading .eyebrow {
  grid-row: 1 / span 2;
  padding-top: 0.65rem;
}
.services-heading h2 {
  max-width: 760px;
  font-size: clamp(2.35rem, 4.3vw, 4rem);
  line-height: 1.02;
  text-wrap: balance;
}
.section-intro { max-width: 65ch; margin: 1rem 0 0; color: var(--muted); font-size: 1.06rem; }
.services-heading .section-intro {
  grid-column: 2;
  max-width: 680px;
  margin-top: 0.5rem;
  font-size: 1.08rem;
  line-height: 1.7;
}
.consultation-router {
  overflow: hidden;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.25);
  box-shadow: var(--shadow);
}
.audience-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 0.55rem;
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--line);
}
.audience-button {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-height: 5rem;
  padding: 0.85rem 1.2rem;
  color: var(--muted);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.95rem;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.audience-button:hover { color: var(--text); }
.audience-button.active { color: var(--text); background: var(--surface-solid); border-color: var(--line); box-shadow: var(--shadow-sm); }
.audience-button strong { font-size: 1.05rem; }
.audience-kicker { color: var(--accent); font-size: 0.75rem; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; }
.consultation-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.5rem, 4vw, 3.5rem);
}
.consultation-panel[hidden] { display: none; }
.consultation-summary { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.solution-tag {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 750;
}
.consultation-summary h3 { margin: 1rem 0 0.75rem; font-size: clamp(1.75rem, 3.4vw, 2.7rem); line-height: 1.08; letter-spacing: -0.04em; }
.consultation-summary p { margin: 0 0 1.5rem; color: var(--muted); }
.section-illustration { display: block; width: 100%; object-fit: cover; border: 1px solid var(--line); border-radius: 1rem; }
.support-illustration { max-height: 10rem; margin: 0 0 1.25rem; }
.ai-illustration { max-height: 14rem; margin-bottom: 1.25rem; }
.service-options { display: grid; gap: 0.8rem; }
.company-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.company-services article { padding: 0.95rem; }
.service-options article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.service-options article > span {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  color: var(--accent);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 0.68rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}
.service-options h4 { margin: 0 0 0.25rem; font-size: 1rem; }
.service-options p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-solid);
}
.process-strip > div { padding: 1.15rem; border-right: 1px solid var(--line); }
.process-strip > div:last-child { border-right: 0; }
.process-strip span { display: block; margin-bottom: 0.45rem; color: var(--accent); font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; }
.process-strip strong { display: block; }
.process-strip p { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.82rem; }

/* RTL Support */
html[dir="rtl"] body {
  font-family: "IBM Plex Sans Arabic", "Geeza Pro", "SF Arabic", Tahoma, Arial, sans-serif;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0.04em; }
html[dir="rtl"] .hero-lead {
  padding-right: 1rem;
  padding-left: 0;
  border-right: 3px solid var(--accent);
  border-left: 0;
}
html[dir="rtl"] .hero-facts li + li {
  border-right: 1px solid var(--line);
  border-left: 0;
}
html[dir="rtl"] .btn-arrow { transform: rotate(180deg); }
html[dir="rtl"] .work-highlights {
  padding-right: 1.1rem;
  padding-left: 0;
}
html[dir="rtl"] .timeline {
  padding-right: 2rem;
  padding-left: 0;
  border-right: 2px solid var(--line);
  border-left: 0;
}
html[dir="rtl"] .timeline-marker {
  right: -2.42rem;
  left: auto;
}
html[dir="rtl"] .footer a { justify-self: start; }

/* Responsive */
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 76px 1rem auto;
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    background: var(--surface-solid);
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.6rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-items {
    flex-direction: column;
    align-items: stretch;
    border-radius: 0.85rem;
  }
  .nav-link { padding: 0.7rem 0.9rem; }
  .nav-controls {
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .hero { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .section-heading,
  .section-heading-split,
  .about-grid,
  .contact-panel,
  .consultation-panel { grid-template-columns: 1fr; }
  .company-services { grid-template-columns: 1fr; }
  .services-heading { gap: 0.7rem; }
  .services-heading .eyebrow { grid-row: auto; padding-top: 0; }
  .services-heading .section-intro { grid-column: 1; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: repeat(2, 1fr); }
  .process-strip > div:nth-child(2) { border-right: 0; }
  .process-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 1.5rem, 1180px); }
  .brand-role { display: none; }
  .hero { min-height: auto; padding-block: 2.2rem 3.5rem; }
  .hero-facts { padding: 0.8rem 0.25rem; }
  .hero-facts li { padding-inline: 0.45rem; }
  .hero-facts strong { font-size: 1.35rem; }
  .hero-facts span { font-size: 0.74rem; }
  .timeline { padding-left: 1.4rem; }
  .timeline-marker { left: -1.82rem; }
  html[dir="rtl"] .timeline { padding-right: 1.4rem; padding-left: 0; }
  html[dir="rtl"] .timeline-marker { right: -1.82rem; left: auto; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.85rem; }
  .skills-grid,
  .composer-actions { grid-template-columns: 1fr; }
  .audience-switch { grid-template-columns: 1fr; gap: 0.4rem; }
  .audience-button { min-height: auto; }
  .process-strip { grid-template-columns: 1fr; }
  .process-strip > div,
  .process-strip > div:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-strip > div:last-child { border-bottom: 0; }
  .contact-panel { padding: 1.5rem 1.15rem; }
  .footer { grid-template-columns: 1fr auto; }
  .footer p:nth-child(2) { display: none; }
}

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