/* ===== Muhammad Adnan Tahir — Enterprise Design System ===== */
:root {
  --navy: #0A1628;
  --navy-mid: #132337;
  --navy-light: #1E3A5F;
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --blue-soft: #EFF6FF;
  --emerald: #10B981;
  --emerald-soft: #ECFDF5;
  --slate: #1E293B;
  --ink: #0F172A;
  --ink-2: #334155;
  --ink-3: #64748B;
  --muted: #94A3B8;
  --paper: #FFFFFF;
  --paper-2: #F8FAFC;
  --paper-3: #F1F5F9;
  --border: #E2E8F0;
  --border-2: #CBD5E1;
  --display: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --maxw: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px -4px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 24px 64px -16px rgba(10, 22, 40, 0.18);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
strong, b { font-weight: 600; color: var(--ink); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  min-height: 44px;
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--navy-light); border-color: var(--navy-light); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.35); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-mid); transform: translateY(-1px); }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px clamp(16px, 4vw, 24px);
}
.logo { display: flex; flex-direction: column; gap: 1px; }
.logo--image { flex-direction: row; align-items: center; }
.logo--image img {
  height: 41px;
  width: auto;
  max-width: 160px;
  display: block;
}
.logo-name { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
.logo-role { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--blue-soft); }
.nav-cta { margin-left: 8px; }
.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.22s; }
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
  background: var(--paper);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 10px 8px;
  border-radius: 6px;
}
.mobile-menu a:hover { background: var(--paper-3); color: var(--blue); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 50px 0 30px;
  background: var(--navy);
  color: var(--paper);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.75) 50%, rgba(30,58,95,0.85) 100%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--paper);
  margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--blue-light); }
.hero-lede {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 36px;
}
.hero-stat strong { display: block; font-size: 28px; font-weight: 700; color: var(--paper); letter-spacing: -0.02em; }
.hero-stat span { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.6em; display: inline-block; }
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(2px);
}
.hero-card-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--emerald); margin-bottom: 16px; }
.hero-card h3 { font-size: 20px; font-weight: 600; color: var(--paper); margin-bottom: 12px; }
.hero-card p { font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.6; margin-bottom: 20px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37,99,235,0.2);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(37,99,235,0.3);
}

/* ===== Sections ===== */
section { padding: 60px 0; }
section.alt { background: var(--paper-2); }
section.dark { background: var(--navy); color: var(--paper); position: relative; overflow: hidden; }
section.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 40%, rgba(37,99,235,0.2) 0%, transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(16,185,129,0.12) 0%, transparent 40%);
}
section.dark > .wrap { position: relative; z-index: 1; }
.sec-head { max-width: 680px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
section.dark .sec-eyebrow { color: var(--emerald); }
.sec-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 16px;
}
section.dark .sec-head h2 { color: var(--paper); }
.sec-head p { font-size: 17px; line-height: 1.7; color: var(--ink-3); }
section.dark .sec-head p { color: rgba(255,255,255,0.72); }
section.dark .feature-content h2 { color: var(--paper); }
section.dark .feature-content p { color: rgba(255,255,255,0.72); }
section.dark .feature-list li { color: rgba(255,255,255,0.82); }

/* ===== Page hero (inner pages) — legacy fallback ===== */
.page-hero {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero.dark {
  background: var(--navy);
  border-bottom: none;
  color: var(--paper);
}
.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-hero.dark h1 { color: var(--paper); }
.page-hero .lede { font-size: 18px; line-height: 1.7; color: var(--ink-3); max-width: 640px; }
.page-hero.dark .lede { color: rgba(255,255,255,0.75); }

/* ===== Premium page banners ===== */
.page-banner {
  position: relative;
  padding: 50px 0 50px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 45%, #F0FDF9 100%);
}
.page-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transform: scale(1.02);
}
.page-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(255,255,255,0.94) 0%, rgba(248,250,252,0.88) 42%, rgba(239,246,255,0.82) 100%);
}
.page-banner__mesh {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.55;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(37,99,235,0.12) 0%, transparent 42%),
    radial-gradient(circle at 80% 20%, rgba(16,185,129,0.1) 0%, transparent 38%),
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}
.page-banner__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 2;
  pointer-events: none;
}
.page-banner__orb--1 { width: 280px; height: 280px; top: -80px; right: 8%; background: rgba(37,99,235,0.18); }
.page-banner__orb--2 { width: 200px; height: 200px; bottom: -60px; left: 12%; background: rgba(16,185,129,0.14); }
.page-banner__content { position: relative; z-index: 3; max-width: 1000px; }
.page-banner h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 18px;
}
.page-banner .lede { font-size: 15px; line-height:1.6em; color: var(--ink-2); max-width: 640px; }
.page-banner .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(37,99,235,0.15);
  backdrop-filter: blur(6px);
}

/* Unique banner accent colors */
.page-banner--services .page-banner__overlay { background: linear-gradient(105deg, rgba(255,255,255,0.95) 0%, rgba(239,246,255,0.9) 100%); }
.page-banner--work .page-banner__overlay { background: linear-gradient(105deg, rgba(255,255,255,0.93) 0%, rgba(241,245,249,0.88) 100%); }
.page-banner--capability .page-banner__overlay { background: linear-gradient(105deg, rgba(255,255,255,0.94) 0%, rgba(236,253,245,0.85) 100%); }
.page-banner--industries .page-banner__overlay { background: linear-gradient(105deg, rgba(255,255,255,0.94) 0%, rgba(255,251,235,0.82) 55%, rgba(239,246,255,0.88) 100%); }
.page-banner--insights .page-banner__overlay,
.page-banner--article-ai .page-banner__overlay { background: linear-gradient(105deg, rgba(255,255,255,0.94) 0%, rgba(236,253,245,0.86) 100%); }
.page-banner--about .page-banner__overlay,
.page-banner--leadership .page-banner__overlay,
.page-banner--journey .page-banner__overlay { background: linear-gradient(105deg, rgba(255,255,255,0.95) 0%, rgba(241,245,249,0.9) 100%); }
.page-banner--contact .page-banner__overlay { background: linear-gradient(105deg, rgba(255,255,255,0.96) 0%, rgba(239,246,255,0.92) 100%); }
.page-banner--ai .page-banner__overlay { background: linear-gradient(105deg, rgba(255,255,255,0.92) 0%, rgba(236,253,245,0.88) 100%); }
.page-banner--cloud .page-banner__overlay,
.page-banner--article-cloud .page-banner__overlay { background: linear-gradient(105deg, rgba(255,255,255,0.93) 0%, rgba(239,246,255,0.9) 100%); }
.page-banner--architecture .page-banner__overlay,
.page-banner--article-software .page-banner__overlay { background: linear-gradient(105deg, rgba(255,255,255,0.94) 0%, rgba(241,245,249,0.88) 100%); }
.page-banner--transformation .page-banner__overlay,
.page-banner--article-transform .page-banner__overlay { background: linear-gradient(105deg, rgba(255,255,255,0.93) 0%, rgba(239,246,255,0.86) 55%, rgba(236,253,245,0.84) 100%); }
.page-banner--technologies .page-banner__bg img { object-fit: contain; object-position: center right; opacity: 0.28; }
.page-banner--case .page-banner__overlay { background: linear-gradient(105deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%); }
.page-banner--clients .page-banner__overlay { background: linear-gradient(105deg, rgba(255,255,255,0.95) 0%, rgba(239,246,255,0.9) 100%); }
.page-banner--legal .page-banner__overlay { background: linear-gradient(105deg, rgba(255,255,255,0.97) 0%, rgba(241,245,249,0.92) 100%); }
.page-banner--article-leadership .page-banner__overlay { background: linear-gradient(105deg, rgba(255,255,255,0.94) 0%, rgba(241,245,249,0.88) 100%); }

/* Section mesh backgrounds */
.section-mesh {
  position: relative;
  overflow: hidden;
}
.section-mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 20%, rgba(37,99,235,0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(16,185,129,0.05) 0%, transparent 35%);
}
.section-mesh > .wrap { position: relative; z-index: 1; }
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 auto;
  max-width: 200px;
}
.breadcrumb {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--blue); }

/* ===== Cards ===== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(3, 1fr); }
.card, .premium-card, article.card {
  position: relative;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
  overflow: hidden;
}
.card::before, .premium-card::before, article.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--emerald));
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}
.card:hover, .premium-card:hover, article.card:hover {
  border-color: rgba(37,99,235,0.35);
  box-shadow: 0 20px 48px -20px rgba(37,99,235,0.22), 0 8px 24px -12px rgba(15,23,42,0.08);
  transform: translateY(-6px);
}
.card:hover::before, .premium-card:hover::before, article.card:hover::before { opacity: 1; }
.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-soft) 0%, #fff 100%);
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: 14px;
  margin-bottom: 22px;
  color: var(--blue);
  box-shadow: 0 4px 12px -4px rgba(37,99,235,0.25);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.card-icon--emerald {
  background: linear-gradient(135deg, var(--emerald-soft) 0%, #fff 100%);
  border-color: rgba(16,185,129,0.15);
  color: var(--emerald);
  box-shadow: 0 4px 12px -4px rgba(16,185,129,0.2);
}
.card:hover .card-icon { transform: scale(1.06); }
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { font-size: 15px; line-height: 1.65; color: var(--ink-3); }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}
.card-link:hover { gap: 10px; }

/* ===== Feature split ===== */
.feature-split {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-content { flex: 1 1 0; min-width: 0; }
.feature-visual {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
}
.feature-visual img { width: 100%; height: 100%; object-fit: cover; }
.feature-visual--portrait {
  aspect-ratio: 1110 / 1417;
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(37, 99, 235, 0.08);
}
.feature-visual--portrait img { object-position: center 12%; }
.feature-split--about { gap: 56px; }
.about-profile {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 400px;
  margin-inline: auto 0;
}
.about-profile__meta { text-align: center; padding: 16px 0 0; }
.about-profile__meta strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.about-profile__meta span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.5;
}
.feature-content h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 18px; line-height: 1.2; }
.feature-content p { font-size: 16px; line-height: 1.7; color: var(--ink-3); margin-bottom: 16px; }
.feature-list { list-style: none; margin: 24px 0; }
.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--ink-2);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
}

/* ===== Stats band ===== */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat-cell {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  padding: 36px 28px;
  text-align: center;
  transition: background 0.28s var(--ease);
}
.stat-cell:hover { background: var(--blue-soft); }
.stat-cell strong {
  display: block;
  font-size: 38px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue) 0%, var(--emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.stat-cell span { font-size: 14px; color: var(--ink-3); line-height: 1.45; }

/* ===== Client logos ===== */
.client-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.client-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  color: var(--ink-2);
  transition: all 0.22s var(--ease);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
.client-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
}
.client-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(37,99,235,0.2);
}

/* ===== Industry marquee (homepage) ===== */
.industry-marquee {
  position: relative;
  width: 100%;
  margin-top: 8px;
  user-select: none;
  touch-action: pan-y;
}
.industry-marquee__viewport {
  overflow: hidden;
  width: 100%;
  cursor: grab;
}
.industry-marquee.is-dragging .industry-marquee__viewport { cursor: grabbing; }
.industry-marquee__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(120px, 12vw);
  z-index: 2;
  pointer-events: none;
}
.industry-marquee__fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--paper) 0%, transparent 100%);
}
.section-mesh .industry-marquee__fade--left {
  background: linear-gradient(90deg, var(--paper) 10%, transparent 100%);
}
.industry-marquee__fade--right {
  right: 0;
  background: linear-gradient(270deg, var(--paper) 0%, transparent 100%);
}
.section-mesh .industry-marquee__fade--right {
  background: linear-gradient(270deg, var(--paper) 10%, transparent 100%);
}
.industry-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: industry-marquee-scroll 48s linear infinite;
}
.industry-marquee:hover .industry-marquee__track,
.industry-marquee.is-paused .industry-marquee__track {
  animation-play-state: paused;
}
.industry-marquee__group {
  display: flex;
  flex-shrink: 0;
  gap: 20px;
  padding-right: 20px;
}
.industry-card {
  flex-shrink: 0;
  width: 172px;
  padding: 26px 18px 22px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
  text-align: center;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.industry-marquee:not(.is-dragging) .industry-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37,99,235,0.35);
  box-shadow: 0 20px 48px -20px rgba(37,99,235,0.18);
}
.industry-card__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-soft) 0%, #fff 100%);
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: 14px;
  color: var(--blue);
  box-shadow: 0 4px 12px -4px rgba(37,99,235,0.2);
  transition: transform 0.28s var(--ease);
}
.industry-card__icon--emerald {
  background: linear-gradient(135deg, var(--emerald-soft) 0%, #fff 100%);
  border-color: rgba(16,185,129,0.15);
  color: var(--emerald);
  box-shadow: 0 4px 12px -4px rgba(16,185,129,0.18);
}
.industry-card:hover .industry-card__icon { transform: scale(1.06); }
.industry-card__icon svg { width: 26px; height: 26px; }
.industry-card__name {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  letter-spacing: -0.01em;
}
@keyframes industry-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 768px) {
  .industry-marquee__group { gap: 14px; padding-right: 14px; }
  .industry-card { width: 148px; padding: 22px 14px 18px; }
  .industry-card__icon { width: 48px; height: 48px; margin-bottom: 12px; }
  .industry-card__icon svg { width: 22px; height: 22px; }
  .industry-card__name { font-size: 11.5px; }
  .industry-marquee__track { animation-duration: 36s; }
}
@media (prefers-reduced-motion: reduce) {
  .industry-marquee__viewport { overflow: visible; }
  .industry-marquee__fade { display: none; }
  .industry-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 14px;
    transform: none !important;
  }
  .industry-marquee__group { display: contents; }
  .industry-marquee__group[aria-hidden="true"] { display: none; }
}

/* ===== Client logo marquee ===== */
.client-marquee {
  position: relative;
  width: 100%;
  margin-top: 8px;
  user-select: none;
  touch-action: pan-y;
}
.client-marquee__viewport {
  overflow: hidden;
  width: 100%;
  cursor: grab;
}
.client-marquee.is-dragging .client-marquee__viewport { cursor: grabbing; }
.client-marquee__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(140px, 14vw);
  z-index: 2;
  pointer-events: none;
}
.client-marquee__fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--paper-2) 0%, transparent 100%);
}
.client-marquee__fade--right {
  right: 0;
  background: linear-gradient(270deg, var(--paper-2) 0%, transparent 100%);
}
.client-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee-scroll 42s linear infinite;
}
.client-marquee:hover .client-marquee__track,
.client-marquee.is-paused .client-marquee__track {
  animation-play-state: paused;
}
.client-marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}
.client-logo-card {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 96px;
  padding: 20px 28px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.client-marquee:not(.is-dragging) .client-logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,0.28);
  box-shadow: 0 16px 40px -16px rgba(37,99,235,0.16);
}
.client-logo-card img {
  height: 40px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
  object-position: center;
  display: block;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
/* Static client logo grid (Clients page, etc.) */
.client-logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
}
.client-logo-grid .client-logo-card {
  width: 180px;
  height: 88px;
  padding: 18px 24px;
}
.client-logo-grid .client-logo-card img {
  height: 36px;
  max-width: 132px;
}
@media (max-width: 768px) {
  .client-marquee__group { gap: 18px; padding-right: 18px; }
  .client-logo-card { width: 168px; height: 84px; padding: 16px 20px; }
  .client-logo-card img { height: 34px; max-width: 128px; }
  .client-marquee__track { animation-duration: 32s; }
}
@media (prefers-reduced-motion: reduce) {
  .client-marquee__viewport { overflow: visible; }
  .client-marquee__fade { display: none; }
  .client-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 16px;
    transform: none !important;
  }
  .client-marquee__group { display: contents; }
  .client-marquee__group[aria-hidden="true"] { display: none; }
}

/* ===== Timeline ===== */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -30.5px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--blue);
}
.tl-date { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--blue); margin-bottom: 6px; }
.tl-item h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.tl-org { font-size: 14px; font-weight: 500; color: var(--ink-3); margin-bottom: 10px; }
.tl-item p { font-size: 15px; line-height: 1.65; color: var(--ink-3); }

/* ===== Process steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps--premium { gap: 20px; }
.step { text-align: center; padding: 28px 20px; }
.step-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
  transition: all 0.28s var(--ease);
  position: relative;
  overflow: hidden;
}
.step-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--emerald));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}
.step-card:hover { border-color: rgba(37,99,235,0.3); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.step-card:hover::after { transform: scaleX(1); }
.step-num {
  width: 48px;
  height: 48px;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  background: linear-gradient(135deg, var(--blue-soft), #fff);
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: 12px;
}
.step-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 12px;
}
.step-icon svg { width: 22px; height: 22px; }
.step h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-3); line-height: 1.55; }

/* ===== Tech stack ===== */
.tech-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tech-tag {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--ink-2);
  transition: all 0.2s;
}
.tech-tag:hover { border-color: var(--emerald); color: var(--emerald); background: var(--emerald-soft); }
.tech-stack-visual {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--paper);
}
.tech-stack-visual img { width: 100%; height: auto; display: block; }

/* ===== Work / case cards ===== */
.work-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.28s var(--ease);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
.work-card:hover { border-color: rgba(37,99,235,0.35); box-shadow: 0 24px 56px -20px rgba(37,99,235,0.2); transform: translateY(-6px); }
.work-card-visual { height: 220px; overflow: hidden; position: relative; }
.work-card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.35) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.28s;
}
.work-card:hover .work-card-visual::after { opacity: 1; }
.work-card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.work-card-visual--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.work-card-visual--logo img {
  height: 44px;
  width: auto;
  max-width: 75%;
  object-fit: contain;
  object-position: center;
}
.work-card-visual--logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 32px 24px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.work-card-visual--logos img {
  height: 36px;
  width: auto;
  max-width: 42%;
  object-fit: contain;
}
.case-client-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 32px;
  padding: 24px 28px;
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 280px;
}
.case-client-logo img {
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.case-client-logo--dual {
  gap: 24px;
  max-width: 420px;
}
.case-client-logo--dual img {
  height: 38px;
  max-width: 46%;
}
.work-card:hover .work-card-visual img { transform: scale(1.04); }
.work-card-visual--logo::after,
.work-card-visual--logos::after { display: none; }
.work-card:hover .work-card-visual--logo img,
.work-card:hover .work-card-visual--logos img { transform: scale(1.05); }
.work-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.work-card-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.work-card h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 10px; line-height: 1.25; }
.work-card p { font-size: 14px; color: var(--ink-3); line-height: 1.6; flex: 1; }
.work-card-meta { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 18px; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  transition: padding 0.2s;
}
.faq-item:hover { padding-left: 8px; }
.faq-item h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  margin-right: 12px;
  vertical-align: middle;
}
.faq-item h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.faq-item p { font-size: 15px; line-height: 1.7; color: var(--ink-3); }

/* ===== CTA band ===== */
.cta-band {
  position: relative;
  padding: 60px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, #1a4a7a 100%);
  color: var(--paper);
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(37,99,235,0.25) 0%, transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(16,185,129,0.15) 0%, transparent 40%);
  pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(28px, 3.5vw, 38px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-band p { font-size: 15px; color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 32px; line-height: 1.65; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 72px 0 32px; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo-name { color: var(--paper); font-size: 18px; }
.footer-brand .logo--image img {
  height: 45px;
  max-width: 180px;
}
.footer-brand .logo-role { color: rgba(255,255,255,0.5); }
.footer-blurb { font-size: 14px; line-height: 1.65; margin: 16px 0 20px; color: rgba(255,255,255,0.6); }
.footer-certs { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-certs span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: rgba(255,255,255,0.7);
}
.site-footer h5 { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper); margin-bottom: 16px; }
.flink { display: flex; flex-direction: column; gap: 10px; }
.flink a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.18s; }
.flink a:hover { color: var(--emerald); }
.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.legal a:hover { color: var(--emerald); }

/* ===== Article / insights ===== */
.article { max-width: 1000px; margin: 0 auto; }
.article .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.article h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1.12; margin-bottom: 14px; }
.article .byline { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 32px; }
.article h2 { font-size: 24px; font-weight: 600; color: var(--ink); margin: 40px 0 14px; letter-spacing: -0.02em; }
.article h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 28px 0 10px; }
.article p { font-size: 16px; line-height: 1.75; color: var(--ink-2); margin-bottom: 18px; }
.article ul, .article ol { margin: 0 0 18px 24px; }
.article li { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-bottom: 8px; }
.article a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.article .pullquote { border-left: 3px solid var(--emerald); padding: 8px 0 8px 24px; margin: 32px 0; font-size: 20px; font-weight: 500; color: var(--ink); line-height: 1.45; }

/* Insights toolbar */
.insights-toolbar { margin-bottom: 32px; }
.insights-search-wrap { position: relative; max-width: 560px; margin: 0 auto 20px; }
.insights-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.insights-search {
  width: 100%;
  font-family: var(--display);
  font-size: 15px;
  padding: 14px 44px 14px 46px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.insights-search:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.insights-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 16px; }
.insights-filter {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-3);
  cursor: pointer;
  transition: all 0.18s;
}
.insights-filter:hover { border-color: var(--blue); color: var(--blue); }
.insights-filter.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.insights-count { font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-align: center; }
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.28s var(--ease);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
.post-card:hover { border-color: rgba(37,99,235,0.35); box-shadow: 0 20px 48px -20px rgba(37,99,235,0.18); transform: translateY(-6px); }
.post-card .thumb {
  height: 160px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(90deg, var(--blue-soft), var(--emerald-soft));
}
.post-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card .tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.post-card h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 10px 0; line-height: 1.3; }
.post-card p { font-size: 14px; color: var(--ink-3); line-height: 1.55; flex: 1; }
.post-card .meta { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 16px; }
.post-card.insights-hidden { display: none; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: 28px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.contact-info p { font-size: 16px; color: var(--ink-3); line-height: 1.7; margin-bottom: 28px; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-soft), #fff);
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: 12px;
  color: var(--blue);
}
.contact-detail-icon svg { width: 20px; height: 20px; }
.contact-detail strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.contact-detail span, .contact-detail a { font-size: 15px; color: var(--ink-3); }
.contact-detail a:hover { color: var(--blue); }
.contact-form {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  font-family: var(--display);
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.18s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row .req { color: #b91c1c; font-weight: 500; }
.form-row--honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.form-row.has-error input,
.form-row.has-error textarea,
.form-row.has-error select { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.12); }
.field-error { margin: 6px 0 0; font-size: 13px; color: #b91c1c; line-height: 1.4; }
.form-row--recaptcha:empty { display: none; }
.recaptcha-wrap { min-height: 0; height: 0; overflow: hidden; }
.recaptcha-notice { margin: 12px 0 0; font-size: 11px; line-height: 1.5; color: var(--ink-3); }
.recaptcha-notice a { color: var(--ink-3); text-decoration: underline; }
.recaptcha-notice a:hover { color: var(--blue); }
.form-status { margin-top: 16px; font-size: 14px; line-height: 1.5; padding: 12px 16px; border-radius: 8px; }
.form-status--success { color: #0f766e; background: #ecfdf5; border: 1px solid #99f6e4; animation: formSuccessIn 0.45s var(--ease); }
.form-status--error { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; }
.form-status--info { color: var(--ink-3); background: var(--paper-2); border: 1px solid var(--border); }
.contact-form.is-success .contact-submit { opacity: 0.85; }
.contact-submit.is-loading { position: relative; pointer-events: none; opacity: 0.88; }
.contact-submit:disabled { cursor: not-allowed; }
@keyframes formSuccessIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Tables ===== */
.tbl-wrap { overflow-x: auto; margin: 24px 0; -webkit-overflow-scrolling: touch; }
.dtable { width: 100%; border-collapse: collapse; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 14px; }
.dtable thead th { background: var(--navy); color: var(--paper); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; text-align: left; padding: 12px 16px; font-weight: 500; }
.dtable td { padding: 12px 16px; border-top: 1px solid var(--border); color: var(--ink-2); vertical-align: top; }
.dtable tbody tr:nth-child(even) { background: var(--paper-2); }

/* ===== Animations ===== */
.rv { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.rv.in { opacity: 1; transform: translateY(0); }
.rv.d1 { transition-delay: 0.08s; }
.rv.d2 { transition-delay: 0.16s; }
.rv.d3 { transition-delay: 0.24s; }
.rv.d4 { transition-delay: 0.32s; }

/* ===== Responsive ===== */
@media (max-width: 1280px) {
  .hero-grid { gap: 40px; }
  .card-grid { gap: 20px; }
  .post-list { gap: 20px; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-split {
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
  }
  .feature-split.reverse { direction: ltr; }
  .feature-content,
  .feature-visual,
  .about-profile { flex: 1 1 auto; max-width: 100%; }
  .about-profile { margin-inline: auto; }
  .feature-visual--portrait { margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .card-grid,
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .fgrid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .post-list { grid-template-columns: repeat(2, 1fr); }
  .sec-head { margin-bottom: 40px; }
}

@media (max-width: 834px) {
  .page-banner h1 { font-size: clamp(28px, 5.5vw, 40px); }
  .hero-lede { font-size: 16px; }
  .hero-card { padding: 24px; }
  .contact-form { padding: 28px; }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .logo--image img { height: 30px; max-width: 140px; }
  .footer-brand .logo--image img { height: 34px; max-width: 150px; }
  .hero { padding: 40px 0 28px; }
  .hero h1 { font-size: clamp(28px, 8vw, 40px); margin-bottom: 18px; }
  .hero-lede { font-size: 15px; margin-bottom: 24px; }
  .hero-actions { margin-bottom: 28px; gap: 10px; }
  .hero-stats { grid-template-columns: 1fr; gap: 14px; padding-top: 24px; }
  .hero-stat strong { font-size: 24px; }
  .page-banner { padding: 40px 0 36px; }
  .page-banner .lede { font-size: 14px; }
  .page-banner__orb { display: none; }
  .sec-head { margin-bottom: 32px; }
  .sec-head h2 { font-size: clamp(24px, 6vw, 32px); }
  .sec-head p { font-size: 15px; }
  .card,
  .premium-card,
  article.card { padding: 24px; }
  .card-grid,
  .card-grid.two,
  .card-grid.four,
  .post-list,
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .stats-band { grid-template-columns: 1fr; }
  .stat-cell { padding: 28px 20px; }
  .stat-cell strong { font-size: 32px; }
  .fgrid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 56px 0 24px; }
  .legal { flex-direction: column; align-items: flex-start; }
  .cta-band { padding: 48px 0; }
  .cta-band p { font-size: 14px; }
  .timeline { padding-left: 24px; }
  .tl-item::before { left: -22.5px; }
  .faq-item:hover { padding-left: 0; }
  .faq-item h3 { font-size: 16px; }
  .work-card-visual { height: 180px; }
  .work-card-body { padding: 22px; }
  .case-client-logo,
  .case-client-logo--dual { max-width: 100%; }
  .client-logo-grid .client-logo-card { width: calc(50% - 10px); min-width: 140px; }
  .insights-filter { min-height: 40px; padding: 8px 14px; }
  .insights-search { font-size: 16px; }
  .article h1 { font-size: clamp(26px, 7vw, 34px); }
  .article h2 { font-size: 21px; }
  .contact-info h2 { font-size: 24px; }
}

@media (max-width: 640px) {
  .industry-marquee__fade,
  .client-marquee__fade { width: 48px; }
  .industry-card { width: 136px; }
  .client-logo-card { width: 152px; height: 76px; padding: 14px 16px; }
  .client-logo-grid .client-logo-card { width: 100%; max-width: 280px; }
  .hero-tags span { font-size: 9px; padding: 5px 8px; }
}

@media (max-width: 480px) {
  section { padding: 48px 0; }
  .hero-actions .btn,
  .cta-actions .btn { flex: 1 1 100%; width: 100%; }
  .btn { white-space: normal; }
  .btn-lg { padding: 14px 20px; font-size: 14px; }
  .page-banner .breadcrumb { font-size: 10px; padding: 5px 10px; }
  .card-icon { width: 46px; height: 46px; margin-bottom: 16px; }
  .contact-form { padding: 22px 18px; }
  .form-row input,
  .form-row textarea,
  .form-row select { font-size: 16px; }
  .post-card .body { padding: 20px; }
  .post-card .thumb { height: 140px; }
  .feature-visual--portrait,
  .about-profile { max-width: min(320px, 100%); }
  .tech-tag { font-size: 11px; padding: 8px 12px; }
}

@media (max-width: 360px) {
  .logo--image img { height: 26px; max-width: 118px; }
  .hero h1 { font-size: 26px; }
  .page-banner h1 { font-size: 26px; }
}

/* Utility pages */
.page-simple { padding: clamp(72px, 18vw, 120px) 0; text-align: center; }
.page-simple__inner { max-width: 560px; margin: 0 auto; }
.page-simple__title {
  font-size: clamp(28px, 7vw, 36px);
  font-weight: 700;
  color: var(--ink);
  margin: 16px 0;
  line-height: 1.15;
}
.page-simple__lede {
  font-size: clamp(15px, 4vw, 17px);
  color: var(--ink-3);
  line-height: 1.7;
  margin-bottom: 32px;
}
.section-tight-top { padding-top: 10px; }
.section-flush-top { padding-top: 0; }
.text-center-mt { text-align: center; margin-top: 28px; }
.text-center-mt-lg { text-align: center; margin-top: 32px; }
.sec-head-spaced { margin-top: clamp(32px, 8vw, 56px); }

.legal--compact { border: 0; padding: 0; }
body.menu-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, .rv { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
