*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

:root {
  --purple: #6A0DAD;
  --purple-dark: #520A88;
  --purple-light: #F3EAFF;
  --black: #0D0D0D;
  --text: #1A1A1A;
  --muted: #555555;
  --light: #888888;
  --rule: #E0E0E0;
  --bg-alt: #F5F5F5;
  --white: #FFFFFF;
  --cream: #FFF6DB;
}

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
}

/* ── IMAGE PLACEHOLDER SYSTEM ── */
.img-ph {
  width: 100%; height: 100%;
  background: #CCCCCC;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.img-ph::before {
  content: '';
  position: absolute; inset: 0;
}
.img-ph.scene-hero { background: linear-gradient(160deg, #2a2a3e 0%, #3d2060 50%, #1a0a2e 100%); }
.img-ph.scene-team { background: linear-gradient(135deg, #1c3a5e 0%, #2d5986 60%, #1a2e45 100%); }
.img-ph.scene-city { background: linear-gradient(180deg, #0f1f35 0%, #1e3a5f 40%, #2a4a70 100%); }
.img-ph.scene-data { background: linear-gradient(135deg, #0d2d1e 0%, #1a4d35 60%, #0a2018 100%); }
.img-ph.scene-cloud { background: linear-gradient(160deg, #1a1a2e 0%, #2a2a4e 50%, #3a2a5e 100%); }
.img-ph.scene-finance { background: linear-gradient(135deg, #1e1a10 0%, #3d3420 60%, #2a2415 100%); }
.img-ph.scene-health { background: linear-gradient(135deg, #0d2530 0%, #1a4050 60%, #0a1e28 100%); }
.img-ph.scene-office { background: linear-gradient(160deg, #2a1a1a 0%, #3d2020 50%, #1a0f0f 100%); }

.img-ph-label {
  position: relative; z-index: 2;
  text-align: center; padding: 20px;
}
.img-ph-icon {
  font-size: 2.5rem; margin-bottom: 10px; opacity: 0.6;
}
.img-ph-title {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: block; margin-bottom: 4px;
}
.img-ph-sub {
  font-size: 0.65rem; color: rgba(255,255,255,0.3); letter-spacing: 0.05em;
}
/* Grid overlay feel */
.img-ph::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── TOP BAR ── */
.top-bar {
  background: var(--black);
  padding: 0 64px;
  height: 38px;
  display: flex; align-items: center; justify-content: space-between;
}
.top-bar-left {
  font-size: 0.75rem; color: rgba(255,255,255,0.45); letter-spacing: 0.04em;
}
.top-bar-right {
  display: flex; align-items: center; gap: 28px;
}
.top-bar-right a {
  font-size: 0.75rem; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color 0.15s; letter-spacing: 0.02em;
}
.top-bar-right a:hover { color: #fff; }
.top-bar-right a.highlight { color: var(--purple); font-weight: 600; }
.top-bar-right a.highlight:hover { color: #9b3dff; }

/* ── NAV (dark bar, appinventiv-style) ── */
nav {
  background: #0f0f0f;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky; top: 0; z-index: 100;
  padding: 0 64px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none;
}
.logo-diamond { display: none; }
/* The logo is a JPEG on a solid-black plate. `screen` blending maps pure black onto the
   backdrop, so the plate disappears against the dark bar while the glow edges stay intact. */
/* the artwork fills only ~68% of the file's height, so the box is sized up to compensate */
.nav-logo-img {
  height: 48px; width: auto; display: block;
  mix-blend-mode: screen;
}

.nav-center { display: flex; gap: 0; list-style: none; height: 68px; }
.nav-center li { display: flex; align-items: center; }
.nav-center > li > a {
  display: flex; align-items: center; height: 68px;
  padding: 0 18px;
  font-size: 0.9rem; font-weight: 400;
  color: rgba(255,255,255,0.88); text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.nav-center > li > a:hover { color: #fff; border-bottom-color: var(--purple); }

.nav-right { display: flex; align-items: center; gap: 12px; }
.btn-nav-ghost {
  padding: 9px 20px; border: 1px solid rgba(255,255,255,0.3);
  background: transparent; color: #fff;
  font-family: 'Inter', sans-serif; font-size: 0.83rem; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.btn-nav-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-nav-solid {
  padding: 10px 22px; border: none;
  background: var(--purple); color: #fff;
  font-family: 'Inter', sans-serif; font-size: 0.83rem; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: background 0.15s;
}
.btn-nav-solid:hover { background: var(--purple-dark); }

/* ── NAV DROPDOWNS ── */
.nav-center li.has-dropdown { position: relative; }
.has-dropdown > a::after { content: ' ▾'; font-size: 0.8rem; opacity: 0.8; margin-left: 3px; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--purple);
  min-width: 230px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  z-index: 999;
}
.nav-center li.has-dropdown:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
  display: block; height: auto; padding: 7px 16px; white-space: nowrap;
  font-size: 0.83rem; font-weight: 500; color: var(--text); line-height: 1.4;
  text-decoration: none; border-bottom: 1px solid var(--rule);
  transition: background 0.12s, color 0.12s;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: var(--purple-light); color: var(--purple); }

/* ── MEGA MENU (full-width panel, appinventiv-style) ── */
.nav-center li.has-megamenu { position: static; }
.nav-megamenu {
  position: absolute; top: 100%; left: 0; right: 0; width: 100%;
  background: var(--white);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 30px 50px rgba(0,0,0,0.16);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 999;
  display: flex; flex-direction: column;
  max-height: calc(100vh - 68px);
  padding-bottom: 88px;
}
.nav-center li.has-megamenu:hover .nav-megamenu { opacity: 1; visibility: visible; transform: translateY(0); }

.mega-grid { display: flex; gap: 48px; padding: 34px 64px 20px; max-width: 1400px; margin: 0 auto; width: 100%; overflow-y: auto; }
.mega-col { flex: 1; min-width: 0; }

.mega-group + .mega-group { margin-top: 8px; padding-top: 18px; border-top: 1px dashed var(--rule); }

.mega-group-head {
  display: flex; align-items: center; gap: 14px;
  font-family: 'Manrope', sans-serif; font-size: 0.94rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--black);
  text-decoration: none; margin: 4px 0 8px; transition: color 0.12s ease;
}
.mega-group-head:hover { color: var(--purple); }
.mega-group-head svg { width: 22px; height: 22px; color: var(--purple); flex-shrink: 0; }

.mega-links { display: flex; flex-direction: column; }
.mega-links a {
  padding: 7px 12px; line-height: 1.4; font-size: 0.95rem; font-weight: 500; color: var(--text);
  text-decoration: none; border: 1px solid transparent; border-radius: 8px;
  transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.mega-links a:hover { color: var(--purple); border-color: var(--rule); background: var(--purple-light); }

/* flat list variant, no group headers (e.g. Industries, with many peer items) */
.mega-flat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; padding: 34px 64px 12px; max-width: 1400px; margin: 0 auto; width: 100%; overflow-y: auto; }
.mega-flat a {
  padding: 10px 4px; line-height: 1.4; font-size: 0.95rem; font-weight: 500; color: var(--text);
  text-decoration: none; border-bottom: 1px dashed var(--rule);
  transition: color 0.12s ease, padding-left 0.12s ease;
}
.mega-flat a:hover { color: var(--purple); padding-left: 10px; }

/* icon + "+" + hover-submenu variant (Industries) */
.mega-ind { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; padding: 26px 28px 8px; margin: 0 auto; width: 100%; }
.mega-ind-item { position: relative; border-bottom: 1px dashed var(--rule); }
.mega-ind-head {
  display: flex; align-items: center; gap: 13px;
  padding: 10px 30px 10px 4px; font-size: 0.95rem; font-weight: 500; color: var(--text);
  text-decoration: none; transition: color 0.12s ease; white-space: nowrap;
}
.mega-ind-head svg { width: 21px; height: 21px; color: var(--purple); flex-shrink: 0; }
.mega-ind-item:hover .mega-ind-head { color: var(--purple); }
.mega-ind-plus {
  position: absolute; right: 6px; top: 10px; width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); pointer-events: none;
}
.mega-ind-plus::after { content: '+'; font-size: 20px; line-height: 1; }
.mega-ind-item:hover .mega-ind-plus { color: var(--purple); }
.mega-ind-item:hover .mega-ind-plus::after { content: '\2212'; }
.mega-ind-sub {
  display: none; position: absolute; top: calc(100% - 1px); left: 34px; z-index: 10;
  min-width: 240px; max-height: 264px; overflow-y: auto;
  background: #fff; border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  padding: 8px 18px; list-style: none;
}
.mega-ind-item:hover .mega-ind-sub { display: block; }
.mega-ind-sub li:not(:last-child) { border-bottom: 1px dashed var(--rule); }
.mega-ind-sub a {
  display: block; padding: 9px 0; font-size: 0.86rem; font-weight: 500; color: var(--text);
  text-decoration: none; white-space: nowrap; transition: color 0.12s ease;
}
.mega-ind-sub a:hover { color: var(--purple); }
/* right column: open submenu leftward so it doesn't overflow the card edge */
.mega-ind-item.sub-left .mega-ind-sub { left: auto; right: 34px; }

/* tight floating card variant (Industries) — not full width */
.nav-megamenu.mega-card {
  left: 50%; right: auto; width: min(1040px, calc(100vw - 40px));
  top: calc(100% + 8px);
  border-radius: 12px; padding-bottom: 0;
  transform: translateX(-50%) translateY(-8px);
}
.nav-center li.has-megamenu:hover .nav-megamenu.mega-card {
  transform: translateX(-50%) translateY(0);
}
.mega-card .mega-banner {
  position: static; left: auto; right: auto; bottom: auto;
  margin: 6px 20px 20px;
}
/* small card for light menus (Insights, Company) — few items, single column, anchored under its own trigger */
.nav-center li.has-megamenu:has(> .mega-card-sm) { position: relative; }
.nav-megamenu.mega-card-sm {
  left: 0; right: auto; width: min(350px, calc(100vw - 40px));
  transform: translateY(-8px);
}
.nav-center li.has-megamenu:hover .nav-megamenu.mega-card-sm { transform: translateY(0); }
.mega-card-sm .mega-ind { grid-template-columns: 1fr; padding: 18px 16px 2px; }
.mega-card-sm .mega-ind-head { padding: 11px 30px 11px 6px; }
.mega-card-sm .mega-banner { flex-wrap: nowrap; padding: 12px 18px; gap: 12px; }
.mega-card-sm .mega-banner p { font-size: 0.82rem; }
.mega-card-sm .mega-banner a { padding: 9px 16px; font-size: 0.78rem; white-space: nowrap; }
/* submenu opens downward under the item (nudged right), like the wide-card dropdowns — easier to hover */
.mega-card-sm .mega-ind-sub,
.mega-card-sm .mega-ind-item.sub-left .mega-ind-sub {
  left: 40px; right: auto; top: calc(100% - 1px);
}

.mega-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  position: absolute; bottom: 20px; left: 24px; right: 24px;
  padding: 14px 26px; background: var(--cream); border-radius: 10px;
}
.mega-banner p { font-size: 1rem; color: var(--black); margin: 0; font-weight: 700; }
.mega-banner a {
  flex-shrink: 0; padding: 12px 24px; border-radius: 8px;
  background: var(--purple); color: #fff; border: 2px solid var(--purple);
  font-size: 0.86rem; font-weight: 600;
  text-decoration: none; transition: background 0.15s, color 0.15s;
}
.mega-banner a:hover { background: transparent; color: var(--purple); }

/* simple narrow dropdown, for light menus with no groups (e.g. Insights, Company) */
.nav-megamenu.simple {
  left: auto; right: 0; width: auto; min-width: 200px;
  border: 1px solid var(--rule); border-top: 2px solid var(--purple);
  box-shadow: 0 16px 44px rgba(0,0,0,0.14);
}
.nav-megamenu.simple .mega-links a {
  padding: 10px 18px; border-bottom: 1px solid var(--rule);
}
.nav-megamenu.simple .mega-links a:last-child { border-bottom: none; }
.nav-megamenu.simple .mega-links a:hover { background: var(--purple-light); padding-left: 22px; }

/* ── SERVICE TECH TAGS ── */
.svc-tech-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.svc-tech-tag {
  font-size: 0.69rem; font-weight: 500; letter-spacing: 0.03em;
  padding: 3px 8px;
  background: var(--bg-alt); border: 1px solid var(--rule); color: var(--muted);
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.svc-tile:hover .svc-tech-tag { background: var(--white); border-color: var(--purple); color: var(--purple); }

/* ── HERO ── */
#hero {
  position: relative;
  min-height: calc(100vh - 106px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(5,2,15,0.94) 0%,
    rgba(12,6,30,0.88) 28%,
    rgba(20,10,50,0.66) 56%,
    rgba(8,4,22,0.22) 100%
  );
}
.hero-text {
  position: relative;
  z-index: 1;
  padding: 48px 96px 88px;
  max-width: 780px;
  background: none;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(192,132,252,0.92); margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: rgba(192,132,252,0.75);
  display: inline-block;
}
.hero-text h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 800; line-height: 1.0;
  color: #fff; letter-spacing: -2.5px;
  margin-bottom: 28px;
}
.hero-text h1 span { color: #C084FC; }
.hero-text p {
  font-size: 1.1rem; color: rgba(255,255,255,0.72);
  line-height: 1.82; max-width: 530px;
  margin-bottom: 44px; font-weight: 400;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }
.btn-solid {
  padding: 14px 30px;
  background: var(--purple); color: #fff; border: none;
  font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background 0.15s;
}
.btn-solid:hover { background: var(--purple-dark); }
.btn-line {
  padding: 13px 30px;
  background: transparent; color: var(--black); border: 1px solid #CCCCCC;
  font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 500;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: border-color 0.15s, color 0.15s;
}
.btn-line:hover { border-color: var(--purple); color: var(--purple); }
.btn-line-light {
  padding: 13px 30px;
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 500;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background 0.15s, border-color 0.15s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-line-light:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.52);
  color: #fff;
}
.hero-meta {
  display: flex; gap: 44px;
  border-top: 1px solid rgba(255,255,255,0.13);
  padding-top: 40px;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-n {
  font-family: 'Manrope', sans-serif;
  font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1;
  letter-spacing: -1px;
}
.hero-stat-n span { color: #C084FC; }
.hero-stat-l { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 5px; letter-spacing: 0.03em; }

.hero-image { display: none; }

/* ── CLIENTS BAR ── */
.clients-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 28px 64px;
  display: flex; align-items: center; gap: 48px; flex-wrap: wrap;
}
.clients-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--light); white-space: nowrap; flex-shrink: 0;
}
.client-logos { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.client-logo-ph {
  height: 28px; min-width: 80px;
  background: #D0D0D0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #999; padding: 0 14px; white-space: nowrap;
  /* Real logos would go here */
}

/* ── SECTION COMMONS ── */
.sec-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 14px;
}
.sec-h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.8px;
  color: var(--black); margin-bottom: 18px;
}
.sec-p {
  font-size: 1rem; color: var(--muted); line-height: 1.75; max-width: 560px;
}

/* ── SERVICES ── */
#services { padding: 96px 64px; background: var(--white); }
.services-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end;
  margin-bottom: 60px;
}
.services-intro-right {
  display: flex; flex-direction: column; align-items: flex-end;
}
.view-all {
  font-size: 0.85rem; font-weight: 600; color: var(--purple);
  text-decoration: none; display: flex; align-items: center; gap: 6px;
  transition: gap 0.15s;
}
.view-all:hover { gap: 10px; }
.view-all::after { content: '→'; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.svc-tile {
  padding: 0 28px 32px;
  border: 1px solid var(--rule);
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
  cursor: default;
  overflow: hidden;
}
.svc-tile:hover { background: var(--purple-light); border-color: var(--purple); box-shadow: 0 4px 20px rgba(124,58,237,0.08); }
.svc-tile-img {
  height: 150px;
  overflow: hidden;
  margin: 0 -28px 24px -28px;
}
.svc-tile-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.svc-tile:hover .svc-tile-img img { transform: scale(1.06); }
.svc-tile h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.97rem; font-weight: 700; color: var(--black);
  margin-bottom: 10px; line-height: 1.35;
}
.svc-tile p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }
.svc-tile-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.78rem; font-weight: 600; color: var(--purple);
  margin-top: 16px; text-decoration: none; transition: gap 0.15s;
}
.svc-tile-link:hover { gap: 9px; }
.svc-tile-link::after { content: '→'; }

/* ── FEATURE EDITORIAL — SPLIT SECTIONS ── */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.editorial.reverse { direction: rtl; }
.editorial.reverse > * { direction: ltr; }
.ed-image { position: relative; min-height: 480px; }
.ed-content {
  padding: 72px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.ed-content.bg-dark {
  background: var(--black); color: #fff;
}
.ed-content.bg-dark .sec-eyebrow { color: #9b3dff; }
.ed-content.bg-dark .sec-h2 { color: #fff; }
.ed-content.bg-dark .sec-p { color: rgba(255,255,255,0.6); }
.ed-content.bg-alt { background: var(--bg-alt); }
.ed-content .sec-p { margin-bottom: 32px; }
.ed-points { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.ed-point {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 0.9rem; color: var(--muted); line-height: 1.55;
}
.ed-point-dark { color: rgba(255,255,255,0.65); }
.ed-check {
  width: 20px; height: 20px; flex-shrink: 0;
  background: var(--purple); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; margin-top: 2px;
}

/* ── INDUSTRIES ── */
#industries { padding: 96px 64px; background: var(--white); }
.ind-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 56px; }
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ind-card {
  border: 1px solid var(--rule);
  overflow: hidden;
  cursor: default;
  transition: box-shadow 0.2s, transform 0.2s;
}
.ind-card:hover {
  box-shadow: 0 8px 32px rgba(106,13,173,0.12);
  transform: translateY(-4px);
}
.ind-card-img { height: 160px; position: relative; }
.ind-card-body { padding: 20px; }
.ind-card-body h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem; font-weight: 700; color: var(--black);
  margin-bottom: 6px;
}
.ind-card-body p { font-size: 0.8rem; color: var(--muted); line-height: 1.55; }
.ind-card-arrow {
  font-size: 0.78rem; font-weight: 600; color: var(--purple);
  margin-top: 12px; display: inline-flex; align-items: center; gap: 4px;
  text-decoration: none; transition: gap 0.15s;
}
.ind-card-arrow::after { content: '→'; }
.ind-card-arrow:hover { gap: 8px; }

/* ── NUMBERS BAND ── */
.numbers-band {
  background: var(--purple);
  padding: 72px 64px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.nb-stat {
  padding: 0 40px 0 0;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.nb-stat:last-child { border-right: none; padding-left: 40px; padding-right: 0; }
.nb-stat:not(:first-child) { padding-left: 40px; }
.nb-n {
  font-family: 'Manrope', sans-serif;
  font-size: 3.2rem; font-weight: 800; color: #fff; line-height: 1;
  letter-spacing: -2px; margin-bottom: 8px;
}
.nb-n sup { font-size: 1.4rem; vertical-align: super; letter-spacing: 0; }
.nb-l { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.5; }
.nb-desc { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: 6px; }

/* ── TECHNOLOGY ── */
#technology { padding: 96px 64px; background: var(--bg-alt); }
.tech-intro { max-width: 640px; margin-bottom: 56px; }

.tech-scroll-section {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--rule);
  background: var(--white);
  overflow: hidden;
}
.tech-scroll-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  border-bottom: 1px solid var(--rule);
  min-height: 120px;
}
.tech-scroll-row:last-child { border-bottom: none; }
.tech-scroll-label {
  padding: 0;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; align-items: stretch;
  background: var(--white);
  flex-shrink: 0;
  overflow: hidden;
}
.tech-label-img {
  height: 72px;
  overflow: hidden;
  flex-shrink: 0;
}
.tech-label-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.tech-scroll-row:hover .tech-label-img img { transform: scale(1.06); }
.tech-label-name {
  padding: 10px 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem; font-weight: 700; color: var(--black);
  line-height: 1.3;
  flex: 1; display: flex; align-items: center;
}
.tech-scroll-viewport {
  overflow: hidden;
  position: relative;
  display: flex; align-items: center;
}
.tech-scroll-viewport::before,
.tech-scroll-viewport::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 36px;
  z-index: 2;
  pointer-events: none;
}
.tech-scroll-viewport::before {
  left: 0;
  background: linear-gradient(to right, var(--white) 40%, transparent);
}
.tech-scroll-viewport::after {
  right: 0;
  background: linear-gradient(to left, var(--white) 40%, transparent);
}
.tech-scroll-track {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 14px 36px;
  animation: techMarquee var(--scroll-dur, 38s) linear infinite;
}
.tech-scroll-row:hover .tech-scroll-track { animation-play-state: paused; }

@keyframes techMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  font-size: 0.77rem; font-weight: 500; letter-spacing: 0.02em;
  border: 1px solid var(--rule); color: var(--text);
  background: var(--white);
  white-space: nowrap;
  cursor: default;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.tp-chip i { font-size: 1rem; line-height: 1; }
.tp-chip:hover { background: var(--purple-light); border-color: var(--purple); color: var(--purple); }
.tp-chip.featured { background: var(--purple); border-color: var(--purple); color: #fff; }
.tp-chip.featured:hover { background: var(--purple-dark); }

/* ── PROCESS ── */
#process { padding: 96px 64px; background: var(--white); }
.process-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--rule); margin-top: 48px;
}
.process-card { background: var(--white); padding: 34px 30px; transition: background 0.15s ease; }
.process-card:hover { background: var(--purple-light); }
.process-card-num {
  display: block; font-family: 'Manrope', sans-serif; font-size: 0.78rem; font-weight: 800;
  color: var(--purple); letter-spacing: 0.05em; margin-bottom: 16px;
}
.process-card h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.02rem; font-weight: 700; color: var(--black);
  margin-bottom: 9px; line-height: 1.32;
}
.process-card p { font-size: 0.87rem; color: var(--muted); line-height: 1.65; margin: 0; }

@media (max-width: 900px) {
  .process-cards { grid-template-columns: 1fr; }
}

/* ── INSIGHTS / EDITORIAL CARDS ── */
#insights { padding: 96px 64px; background: var(--bg-alt); }
.insights-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.insight-card { background: var(--white); border: 1px solid var(--rule); overflow: hidden; }
.insight-img { height: 200px; position: relative; }
.insight-body { padding: 24px; }
.insight-cat {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 10px; display: block;
}
.insight-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem; font-weight: 700; color: var(--black);
  line-height: 1.4; margin-bottom: 10px;
}
.insight-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.insight-meta { font-size: 0.75rem; color: var(--light); display: flex; align-items: center; gap: 8px; }
.insight-meta::before { content: '—'; color: var(--rule); }

/* ── CONTACT ── */
#contact { background: var(--white); }
.contact-split {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.contact-img { position: relative; }
.contact-form-area {
  padding: 72px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.contact-form-area .sec-h2 { margin-bottom: 8px; }
.contact-form-area .sec-p { margin-bottom: 40px; }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.fg label {
  font-size: 0.73rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: #777;
}
.fg input, .fg select, .fg textarea {
  border: 1px solid var(--rule); border-bottom: 2px solid #CCCCCC;
  background: var(--white); color: var(--text);
  padding: 12px 14px;
  font-family: 'Inter', sans-serif; font-size: 0.92rem;
  outline: none; transition: border-color 0.15s, border-bottom-color 0.15s;
  appearance: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-bottom-color: var(--purple);
}
.fg input::placeholder, .fg textarea::placeholder { color: #BBBBBB; }
.fg textarea { resize: vertical; min-height: 100px; }
.fg select { cursor: pointer; background: var(--white); }
.form-submit-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.form-note { font-size: 0.78rem; color: var(--light); }
.btn-form-submit {
  background: var(--purple); color: #fff; border: none;
  padding: 14px 36px;
  font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: background 0.15s; white-space: nowrap;
}
.btn-form-submit:hover { background: var(--purple-dark); }

/* ── FILE UPLOAD ── */
.file-upload-area {
  display: flex; align-items: center; gap: 16px;
  border: 1.5px dashed var(--rule);
  border-radius: 6px;
  padding: 18px 20px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: var(--bg-alt);
  position: relative;
  user-select: none;
}
.file-upload-area:hover, .file-upload-area.drag-over {
  border-color: var(--purple);
  background: var(--purple-light);
}
.file-upload-area.has-file { border-color: var(--purple); border-style: solid; background: var(--purple-light); }
.file-upload-icon { color: var(--muted); flex-shrink: 0; }
.file-upload-area.has-file .file-upload-icon { color: var(--purple); }
.file-upload-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.file-upload-label { font-size: 0.88rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-upload-area.has-file .file-upload-label { color: var(--purple); }
.file-upload-sub { font-size: 0.78rem; color: var(--muted); }
.file-upload-clear {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(106,13,173,0.12); color: var(--purple);
  font-size: 0.75rem; cursor: pointer; flex-shrink: 0;
  transition: background 0.12s;
}
.file-upload-clear:hover { background: rgba(106,13,173,0.25); }

/* ── SERVICE HUB PAGE ── */
.svc-hub-categories { display: flex; flex-direction: column; gap: 56px; }
.svc-hub-category-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--purple); border-left: 3px solid var(--purple); padding-left: 10px;
  margin-bottom: 20px;
}
.svc-hub-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px;
  border: 1px solid var(--rule); background: var(--rule);
}
.svc-hub-card {
  background: var(--white); padding: 24px 28px;
  text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; gap: 8px;
  transition: background 0.15s;
}
.svc-hub-card:hover { background: var(--purple-light); }
.svc-hub-card h4 { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.svc-hub-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.svc-hub-card-arrow { font-size: 0.8rem; color: var(--purple); margin-top: auto; padding-top: 8px; }
.svc-hub-badge {
  display: inline-block; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 2px 7px;
  background: var(--purple-light); color: var(--purple); border-radius: 2px;
  margin-bottom: 4px; width: fit-content;
}

/* ── SERVICE DETAIL PAGE ── */
.svc-detail-wrap {
  display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start;
}
.svc-detail-main h3 {
  font-family: 'Manrope', sans-serif; font-size: 1.1rem; font-weight: 700;
  margin: 36px 0 14px; color: var(--text);
}
.svc-detail-main h3:first-child { margin-top: 0; }
.svc-lead {
  font-size: 1.05rem; color: var(--muted); line-height: 1.7; margin-bottom: 32px;
  border-left: 3px solid var(--purple); padding-left: 18px;
}
.svc-capability-list {
  list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px;
}
.svc-capability-list li {
  padding: 12px 16px 12px 40px; background: var(--bg-alt);
  font-size: 0.9rem; line-height: 1.5; position: relative;
}
.svc-capability-list li::before {
  content: ''; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--purple);
}
.svc-process-steps { display: flex; flex-direction: column; gap: 0; }
.svc-process-step {
  display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--rule);
}
.svc-process-step:last-child { border-bottom: none; }
.svc-step-num {
  font-family: 'Manrope', sans-serif; font-size: 1.6rem; font-weight: 800;
  color: var(--rule); line-height: 1; flex-shrink: 0; width: 40px;
}
.svc-step-body h5 { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.svc-step-body p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.tp-chip-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* ── SERVICE SIDEBAR ── */
.svc-detail-sidebar { position: sticky; top: 88px; }
.svc-sidebar-form {
  background: var(--bg-alt); border: 1px solid var(--rule);
  border-top: 3px solid var(--purple); padding: 28px;
}
.svc-sidebar-form h4 {
  font-family: 'Manrope', sans-serif; font-size: 1rem; font-weight: 700;
  margin-bottom: 6px; color: var(--text);
}
.svc-sidebar-form p { font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; line-height: 1.5; }
.svc-sidebar-form .fg { margin-bottom: 12px; }
.svc-sidebar-form label { font-size: 0.78rem; font-weight: 600; display: block; margin-bottom: 5px; }
.svc-sidebar-form input,
.svc-sidebar-form textarea,
.svc-sidebar-form select {
  width: 100%; padding: 9px 12px; font-size: 0.83rem;
  border: 1px solid var(--rule); background: var(--white);
  font-family: 'Inter', sans-serif; color: var(--text); outline: none;
  transition: border-color 0.15s;
}
.svc-sidebar-form input:focus,
.svc-sidebar-form textarea:focus { border-color: var(--purple); }
.svc-sidebar-form textarea { resize: vertical; min-height: 90px; }
.svc-sidebar-submit {
  width: 100%; padding: 12px; background: var(--purple); color: #fff;
  border: none; font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 600;
  cursor: pointer; margin-top: 4px; transition: background 0.15s;
}
.svc-sidebar-submit:hover { background: var(--purple-dark); }
.svc-sidebar-divider { margin: 24px 0; border: none; border-top: 1px solid var(--rule); }
.svc-sidebar-trust { display: flex; flex-direction: column; gap: 8px; }
.svc-sidebar-trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--muted); }
.svc-sidebar-trust-item strong { color: var(--text); font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   AI SERVICES HERO  —  floating rounded image
   ══════════════════════════════════════════════════════════ */
.page-header-img.hero-float {
  overflow: visible; display: flex;
  padding: 56px 56px 40px 0;
}
.page-header-img.hero-float .img-illustration {
  position: relative; inset: auto; z-index: 3;
  width: 100%; height: 100%; margin-left: -44px;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 26px 60px -22px rgba(13,13,13,0.4);
}
.page-header-img.hero-float .img-illustration img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
@media (max-width: 900px) {
  .page-header-img.hero-float { padding: 0 24px 32px; }
  .page-header-img.hero-float .img-illustration { margin-left: 0; }
}

/* ══════════════════════════════════════════════════════════
   AI SERVICES HERO PILLS + BRIDGE STRIP
   ══════════════════════════════════════════════════════════ */
.hero-pill {
  display: inline-block; padding: 1px 12px; border-radius: 100px;
  background: var(--purple-light); color: var(--purple); font-weight: 600;
  border: 1px solid rgba(106,13,173,0.18); line-height: 1.7; white-space: nowrap;
}
.ai-feature-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); background: var(--black);
  margin-top: 46px;
}
.ai-feature-item {
  padding: 34px 40px; border-right: 1px solid rgba(255,255,255,0.1);
  display: flex; gap: 16px; align-items: flex-start;
}
.ai-feature-item:last-child { border-right: none; }
.ai-feature-icon {
  width: 42px; height: 42px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(155,61,255,0.16); color: #b57bff;
}
.ai-feature-icon svg { width: 22px; height: 22px; }
.ai-feature-text h4 { font-family: 'Manrope', sans-serif; font-size: 0.98rem; font-weight: 700; color: #fff; margin-bottom: 5px; }
.ai-feature-text p { font-size: 0.83rem; color: rgba(255,255,255,0.55); line-height: 1.55; }
@media (max-width: 900px) {
  .ai-feature-strip { grid-template-columns: 1fr; margin-top: 64px; }
  .ai-feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 26px 24px; }
}

/* ══════════════════════════════════════════════════════════
   AI SERVICES INTRO  —  manifesto split
   ══════════════════════════════════════════════════════════ */
.ai-intro { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: start; }
.ai-intro-lead { position: sticky; top: 100px; }
.ai-intro-lead .sec-eyebrow { margin-bottom: 22px; }
.ai-intro-headline {
  font-family: 'Manrope', sans-serif; font-size: clamp(1.6rem, 2.7vw, 2.3rem); font-weight: 800;
  line-height: 1.22; letter-spacing: -0.8px; color: var(--black);
}
.ai-intro-headline em { color: var(--purple); font-style: normal; }
.ai-intro-rule { width: 56px; height: 4px; background: var(--purple); margin-top: 28px; }
.ai-intro-body p { font-size: 1rem; line-height: 1.85; color: var(--muted); margin-bottom: 18px; }
.ai-intro-body p:last-child { margin-bottom: 0; }
.ai-intro-body strong { color: var(--text); font-weight: 600; }
.ai-intro-spans {
  margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center;
}
.ai-intro-spans-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text);
}
.ai-intro-spans-label span { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.ai-intro-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ai-intro-chip {
  font-size: 0.86rem; font-weight: 600; padding: 11px 18px;
  background: var(--bg-alt); border: 1px solid var(--rule); color: var(--text);
  display: inline-flex; align-items: center; gap: 9px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.ai-intro-chip::before { content: ''; width: 7px; height: 7px; background: var(--purple); transform: rotate(45deg); flex-shrink: 0; }
.ai-intro-chip:hover { border-color: var(--purple); background: var(--white); transform: translateY(-2px); }
@media (max-width: 900px) {
  .ai-intro { grid-template-columns: 1fr; gap: 36px; }
  .ai-intro-lead { position: static; order: -1; }
  .ai-intro-spans { grid-template-columns: 1fr; gap: 20px; }
}

/* ══════════════════════════════════════════════════════════
   AI SERVICES HUB  —  GROUP HIGHLIGHT CARDS
   ══════════════════════════════════════════════════════════ */
.ai-hub-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 28px;
}
.ai-hub-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--rule);
  padding: 38px 34px 32px; text-decoration: none; color: var(--text);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.ai-hub-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--purple), #9b3dff);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.ai-hub-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px -12px rgba(106,13,173,0.22); border-color: transparent; }
.ai-hub-card:hover::before { transform: scaleX(1); }
.ai-hub-card-watermark {
  position: absolute; top: 8px; right: 20px;
  font-family: 'Manrope', sans-serif; font-size: 5.5rem; font-weight: 800;
  line-height: 1; color: var(--purple-light); z-index: 0; letter-spacing: -3px;
  transition: color 0.25s ease;
}
.ai-hub-card:hover .ai-hub-card-watermark { color: #ece0fb; }
.ai-hub-card-icon {
  position: relative; z-index: 1; width: 54px; height: 54px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--purple-light); color: var(--purple); margin-bottom: 22px;
  transition: background 0.25s ease, color 0.25s ease;
}
.ai-hub-card:hover .ai-hub-card-icon { background: var(--purple); color: #fff; }
.ai-hub-card-icon svg { width: 26px; height: 26px; }
.ai-hub-card h3 {
  position: relative; z-index: 1;
  font-family: 'Manrope', sans-serif; font-size: 1.32rem; font-weight: 700;
  margin-bottom: 12px; line-height: 1.25; letter-spacing: -0.3px;
}
.ai-hub-card-intro { position: relative; z-index: 1; font-size: 0.9rem; color: var(--muted); line-height: 1.68; margin-bottom: 24px; }
.ai-hub-card-services { position: relative; z-index: 1; list-style: none; padding: 0; margin: 0 0 26px; }
.ai-hub-card-services li {
  font-size: 0.86rem; font-weight: 500; color: var(--text);
  padding: 10px 0 10px 22px; border-top: 1px solid var(--rule); position: relative;
}
.ai-hub-card-services li:last-child { border-bottom: 1px solid var(--rule); }
.ai-hub-card-services li::before {
  content: ''; position: absolute; left: 3px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; background: var(--purple); transition: transform 0.2s ease;
}
.ai-hub-card:hover .ai-hub-card-services li::before { transform: translateY(-50%) rotate(45deg); }
.ai-hub-card-link {
  position: relative; z-index: 1; margin-top: auto;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--purple); display: inline-flex; align-items: center; gap: 8px;
  transition: gap 0.2s ease;
}
.ai-hub-card:hover .ai-hub-card-link { gap: 13px; }

/* Hub intro / stats strip */
.ai-hub-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule); margin-top: 8px;
}
.ai-hub-stat { padding: 26px 24px; border-right: 1px solid var(--rule); }
.ai-hub-stat:last-child { border-right: none; }
.ai-hub-stat-num { font-family: 'Manrope', sans-serif; font-size: 2rem; font-weight: 800; color: var(--purple); letter-spacing: -1px; line-height: 1; }
.ai-hub-stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }

/* ══════════════════════════════════════════════════════════
   SERVICE GROUP PAGE  —  two-column editorial layout
   ══════════════════════════════════════════════════════════ */
.svc-group-page { padding: 0 64px 32px; }
.svc-group-intro {
  max-width: 900px; font-family: 'Manrope', sans-serif;
  font-size: clamp(1.25rem, 2.1vw, 1.6rem); font-weight: 500; line-height: 1.5;
  letter-spacing: -0.4px; color: var(--black);
  border-left: 3px solid var(--purple); padding-left: 26px; margin: 0;
}
.svc-group-intro strong { color: var(--purple); font-weight: 600; }

.svc-entry {
  display: grid; grid-template-columns: 340px 1fr; gap: 64px;
  padding: 76px 0; border-top: 1px solid var(--rule); scroll-margin-top: 128px;
}
.svc-entry:first-child { border-top: none; padding-top: 40px; }

/* left aside (sticky card) */
.svc-group-page { counter-reset: svc-focus; }
.svc-entry { counter-increment: svc-focus; }
.svc-entry-aside {
  position: sticky; top: 128px; align-self: start;
  background: var(--bg-alt); border: 1px solid var(--rule); border-top: 3px solid var(--purple);
  padding: 34px 30px 38px; overflow: hidden;
}
.svc-entry-num {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Manrope', sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; color: var(--purple); margin-bottom: 20px;
}
.svc-entry-num::before { content: ''; width: 30px; height: 2px; background: var(--purple); }
.svc-entry-aside h2 {
  position: relative; z-index: 1;
  font-family: 'Manrope', sans-serif; font-size: 1.7rem; font-weight: 800;
  line-height: 1.15; letter-spacing: -0.8px; color: var(--black); margin-bottom: 18px;
}
.svc-entry-tagline {
  position: relative; z-index: 1;
  display: block; font-size: 0.95rem; color: var(--text); line-height: 1.55; font-style: italic;
  padding-left: 16px; border-left: 2px solid var(--purple);
}
.svc-entry-aside::after {
  content: counter(svc-focus, decimal-leading-zero);
  position: absolute; z-index: 0; right: -10px; bottom: -30px;
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 8.5rem; line-height: 0.75;
  color: transparent; -webkit-text-stroke: 1.5px rgba(106,13,173,0.16);
  letter-spacing: -4px; user-select: none; pointer-events: none;
}
.svc-entry-aside::before {
  content: ''; position: absolute; z-index: 0; top: 0; right: 0;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(106,13,173,0.06) 0%, transparent 60%);
}

/* right main */
.svc-entry-main { min-width: 0; }
.svc-entry-body p { font-size: 1rem; line-height: 1.85; color: var(--muted); margin-bottom: 16px; }
.svc-entry-body p:last-child { margin-bottom: 0; }
.svc-entry-body strong { color: var(--text); font-weight: 600; }
.svc-cap-heading {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--light); margin: 40px 0 4px;
}
.svc-cap-list { list-style: none; padding: 0; margin: 0; counter-reset: cap; }
.svc-cap-list li {
  counter-increment: cap; position: relative;
  padding: 22px 0 22px 56px; border-bottom: 1px solid var(--rule);
  font-size: 0.93rem; line-height: 1.65; color: var(--muted);
  transition: padding-left 0.2s ease;
  scroll-margin-top: 130px;
}
.svc-cap-list li:first-child { border-top: 1px solid var(--rule); }
.svc-cap-list li::before {
  content: counter(cap, decimal-leading-zero);
  position: absolute; left: 0; top: 22px;
  font-family: 'Manrope', sans-serif; font-size: 0.82rem; font-weight: 700;
  color: var(--purple); letter-spacing: 0.03em;
}
.svc-cap-list li::after {
  content: ''; position: absolute; left: 34px; top: 24px; bottom: 24px; width: 1px;
  background: var(--rule);
}
.svc-cap-list li:hover { padding-left: 62px; }
.svc-cap-list li strong { display: block; color: var(--text); font-weight: 700; font-size: 1rem; margin-bottom: 5px; letter-spacing: -0.2px; }

.svc-back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--purple); text-decoration: none; transition: gap 0.2s ease;
}
.svc-back-link:hover { gap: 13px; }

@media (max-width: 900px) {
  .svc-group-page { padding: 0 24px 24px; }
  .svc-entry { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .svc-entry-aside { position: static; }
  .svc-entry-aside::after { display: none; }
}

/* ── AI SERVICES / TECH PAGE JUMP NAV ── */
.page-jump-nav {
  background: var(--black); position: sticky; top: 68px; z-index: 90;
  padding: 0 64px; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none;
}
.page-jump-nav::-webkit-scrollbar { display: none; }
.page-jump-nav a {
  display: flex; align-items: center; height: 46px; padding: 0 18px;
  font-size: 0.78rem; font-weight: 500; color: rgba(255,255,255,0.55);
  text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.page-jump-nav a:hover { color: #fff; border-bottom-color: rgba(255,255,255,0.4); }
.page-jump-nav a.active { color: #fff; border-bottom-color: var(--purple); }

/* ── SERVICE GROUP BANNER ── */
.svc-group-banner {
  background: var(--black); color: #fff; padding: 40px 64px; margin: 0;
}
.svc-group-banner .sec-eyebrow { color: rgba(192,132,252,0.85); margin-bottom: 10px; font-size: 0.7rem; }
.svc-group-banner h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 700; margin-bottom: 12px; color: #fff; }
.svc-group-banner p { font-size: 0.95rem; color: rgba(255,255,255,0.65); max-width: 680px; line-height: 1.65; }

/* ── AI SERVICE ENTRIES ── */
.ai-svc-outer { padding: 0 64px 64px; }
.ai-svc-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.ai-svc-sidebar { position: sticky; top: 120px; }
.ai-svc-sidebar-form {
  background: var(--bg-alt); border: 1px solid var(--rule); border-top: 3px solid var(--purple); padding: 28px;
}
.ai-svc-sidebar-form h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.ai-svc-sidebar-form .ai-svc-form-sub { font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; line-height: 1.5; }
.ai-svc-sidebar-form .fg { margin-bottom: 12px; }
.ai-svc-sidebar-form label { display: block; font-size: 0.75rem; font-weight: 600; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.ai-svc-sidebar-form input,
.ai-svc-sidebar-form textarea,
.ai-svc-sidebar-form select {
  width: 100%; padding: 9px 12px; font-size: 0.83rem;
  border: 1px solid var(--rule); background: var(--white);
  font-family: 'Inter', sans-serif; color: var(--text); outline: none;
  transition: border-color 0.15s; box-sizing: border-box;
}
.ai-svc-sidebar-form input:focus,
.ai-svc-sidebar-form textarea:focus { border-color: var(--purple); }
.ai-svc-sidebar-form textarea { resize: vertical; min-height: 80px; }
.ai-svc-sidebar-submit {
  width: 100%; padding: 12px; background: var(--purple); color: #fff;
  border: none; font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 600;
  cursor: pointer; margin-top: 4px; transition: background 0.15s;
}
.ai-svc-sidebar-submit:hover { background: var(--purple-dark); }
.ai-svc-entry {
  padding: 40px 0; border-bottom: 1px solid var(--rule);
}
.ai-svc-entry:last-child { border-bottom: none; padding-bottom: 0; }
.ai-svc-entry h3 {
  font-family: 'Manrope', sans-serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 4px;
}
.ai-svc-tagline { font-size: 0.92rem; color: var(--purple); font-weight: 500; margin-bottom: 18px; font-style: italic; }
.ai-svc-entry p { font-size: 0.9rem; line-height: 1.78; color: var(--muted); margin-bottom: 10px; }
.ai-svc-bullets { list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ai-svc-bullets li {
  font-size: 0.83rem; padding: 9px 12px 9px 30px; background: var(--bg-alt); position: relative; line-height: 1.4;
}
.ai-svc-bullets li::before {
  content: ''; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--purple);
}
.ai-svc-cta { display: inline-block; margin-top: 6px; font-size: 0.83rem; font-weight: 600; color: var(--purple); text-decoration: none; }
.ai-svc-cta:hover { text-decoration: underline; }
.ai-svc-group { margin-bottom: 0; }

/* ── TECH STACK SECTIONS ── */
.tech-section { padding: 64px; }
.tech-section.alt { background: var(--bg-alt); }
.tech-section-header { margin-bottom: 36px; }
.tech-section-header h2 { font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 700; margin-bottom: 8px; }
.tech-section-header p { font-size: 0.9rem; color: var(--muted); max-width: 720px; line-height: 1.65; }
.tech-subcategories { display: flex; flex-direction: column; gap: 24px; margin-bottom: 44px; }
.tech-subcategory { scroll-margin-top: 130px; }
.tech-subcategory h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple); margin-bottom: 9px; }
.tech-chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tech-chip {
  font-size: 0.77rem; font-weight: 500; padding: 5px 11px;
  background: var(--white); border: 1px solid var(--rule); color: var(--text); white-space: nowrap;
}
.tech-section.alt .tech-chip { background: var(--white); }
.tech-enables {
  background: rgba(0,0,0,0.03); border-left: 3px solid var(--purple); padding: 26px 30px; margin-bottom: 28px;
}
.tech-enables h3 { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--purple); margin-bottom: 12px; }
.tech-enables-lead {
  font-family: 'Manrope', sans-serif; font-size: 1.08rem; font-weight: 700;
  color: var(--black); margin-bottom: 12px; line-height: 1.35; letter-spacing: -0.2px;
}
.tech-enables p { font-size: 0.9rem; line-height: 1.75; color: var(--text); margin-bottom: 12px; }
.tech-enables p:last-child { margin-bottom: 0; }
.tech-use-for { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 7px; }
.tech-use-for li { font-size: 0.86rem; padding-left: 18px; position: relative; color: var(--text); line-height: 1.5; }
.tech-use-for li::before { content: '\2192'; position: absolute; left: 0; color: var(--purple); font-weight: 700; }
.tech-use-for li strong { color: var(--text); }
.tech-section-cta { font-size: 0.84rem; font-weight: 600; color: var(--purple); text-decoration: none; }
.tech-section-cta:hover { text-decoration: underline; }

/* ── TECH CLOSING ── */
.tech-closing {
  background: var(--black); color: #fff; padding: 80px 64px; text-align: center;
}
.tech-closing h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; color: #fff; margin-bottom: 8px; }
.tech-closing-sub { font-size: 1rem; color: rgba(255,255,255,0.5); font-weight: 400; margin-bottom: 28px; }
.tech-closing p { font-size: 0.95rem; color: rgba(255,255,255,0.65); max-width: 680px; margin: 0 auto 32px; line-height: 1.75; }

/* ── TECH STACK ENABLES (card grid, replaces prose block) ── */
.tech-enables-v2 { max-width: 1120px; margin: 0 auto; }
.tech-enables-v2 .sec-h2 { max-width: 760px; }

/* short scannable "principles" strip, replaces long narrative paragraphs */
.tech-principles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
  padding: 36px 0 40px; margin-bottom: 8px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.tech-principle-num { display: block; width: 26px; height: 2px; background: var(--purple); margin-bottom: 16px; }
.tech-principle h4 {
  font-family: 'Manrope', sans-serif; font-size: 1.04rem; font-weight: 700; color: var(--black);
  line-height: 1.32; margin-bottom: 8px; letter-spacing: -0.3px;
}
.tech-principle p { font-size: 0.85rem; line-height: 1.62; color: var(--muted); margin: 0; }
.tech-enables-v2-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--light); margin: 44px 0 2px;
}
.tech-enables-v2-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--rule); margin: 22px 0 40px;
}
.tech-enables-v2-card {
  background: var(--white); padding: 26px 24px 24px; position: relative;
  transition: background 0.15s ease;
}
.tech-enables-v2-card:hover { background: var(--purple-light); }
.tech-enables-v2-num {
  display: block; font-family: 'Manrope', sans-serif; font-size: 0.74rem; font-weight: 800;
  color: var(--purple); letter-spacing: 0.05em; margin-bottom: 13px;
}
.tech-enables-v2-card h4 {
  font-family: 'Manrope', sans-serif; font-size: 0.98rem; font-weight: 700; color: var(--black);
  line-height: 1.32; margin-bottom: 7px; letter-spacing: -0.2px;
}
.tech-enables-v2-card p { font-size: 0.82rem; line-height: 1.6; color: var(--muted); margin: 0; }
.tech-enables-v2-foot { display: flex; justify-content: center; }

/* ── HIRING STEPPER (horizontal numbered steps, careers page) ── */
.hiring-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 8px; }
.hiring-step { position: relative; padding: 0 28px 0 0; }
.hiring-step:not(:last-child)::after {
  content: ''; position: absolute; top: 21px; left: 44px; right: 0; height: 1px; background: var(--rule);
}
.hiring-step-num {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
  background: var(--white); border: 2px solid var(--purple); color: var(--purple);
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 0.95rem; margin-bottom: 20px;
}
.hiring-step h4 {
  font-family: 'Manrope', sans-serif; font-size: 0.98rem; font-weight: 700; color: var(--black);
  margin-bottom: 8px; line-height: 1.3;
}
.hiring-step p { font-size: 0.82rem; line-height: 1.62; color: var(--muted); margin: 0; }

@media (max-width: 900px) {
  .hiring-steps { grid-template-columns: 1fr; gap: 32px; }
  .hiring-step:not(:last-child)::after { display: none; }
}

/* ── JOB CARDS (careers hub listing) ── */
.job-cards { display: flex; flex-direction: column; }
.job-card {
  display: flex; align-items: center; gap: 24px;
  padding: 26px 28px; border: 1px solid var(--rule); border-top: none;
  text-decoration: none; transition: background 0.15s ease, border-left-color 0.15s ease;
  border-left: 3px solid transparent;
}
.job-cards .job-card:first-child { border-top: 1px solid var(--rule); }
.job-card:hover { background: var(--purple-light); border-left-color: var(--purple); }
.job-card-main { flex: 1 1 auto; min-width: 0; }
.job-card-title {
  font-family: 'Manrope', sans-serif; font-size: 1.08rem; font-weight: 700; color: var(--black);
  margin-bottom: 8px; letter-spacing: -0.3px;
}
.job-card:hover .job-card-title { color: var(--purple); }
.job-card-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.job-card-tag {
  font-size: 0.73rem; font-weight: 600; color: var(--muted);
  background: var(--bg-alt); border: 1px solid var(--rule); padding: 3px 10px;
}
.job-card-arrow {
  flex: 0 0 auto; font-size: 0.82rem; font-weight: 700; color: var(--purple);
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  transition: gap 0.15s ease;
}
.job-card:hover .job-card-arrow { gap: 11px; }

@media (max-width: 700px) {
  .job-card { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ── ROLE DETAIL PAGE (job-*.html) ── */
.role-header-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.role-header-tag {
  font-size: 0.76rem; font-weight: 600; color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 5px 13px;
}
.role-body { max-width: 900px; margin: 0 auto; }
.role-section { margin-bottom: 52px; }
.role-section:last-child { margin-bottom: 0; }
.role-section-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 14px;
}
.role-section-intro { font-size: 1rem; line-height: 1.85; color: var(--muted); margin: 0; }

.role-points-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 4px; }
.role-point { background: var(--white); padding: 18px 22px; display: flex; gap: 13px; align-items: flex-start; }
.role-point:nth-child(n+3) { border-top: 1px solid var(--rule); }
.role-point:nth-child(even) { border-left: 1px solid var(--rule); }
.role-point-icon {
  flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: var(--purple);
}
.role-point-icon svg { width: 100%; height: 100%; }
.role-point p { font-size: 0.87rem; line-height: 1.6; color: var(--text); margin: 0; }

.role-nice-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.role-nice-list li {
  font-size: 0.88rem; line-height: 1.6; color: var(--muted); padding-left: 20px; position: relative;
}
.role-nice-list li::before { content: '+'; position: absolute; left: 0; color: var(--light); font-weight: 700; }

.role-apply-box {
  background: var(--bg-alt); border: 1px solid var(--rule); border-top: 3px solid var(--purple);
  padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.role-apply-box h3 { font-family: 'Manrope', sans-serif; font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.role-apply-box p { font-size: 0.88rem; color: var(--muted); margin: 0; }

@media (max-width: 700px) {
  .role-points-grid { grid-template-columns: 1fr; }
  .role-point:nth-child(even) { border-left: none; }
  .role-point:nth-child(2) { border-top: 1px solid var(--rule); }
  .role-apply-box { flex-direction: column; align-items: flex-start; }
}

/* ── APPLY MODAL ── */
.apply-modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.apply-modal-overlay[hidden] { display: none; }
.apply-modal {
  background: var(--white); width: 100%; max-width: 440px;
  border-top: 3px solid var(--purple);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  position: relative; max-height: calc(100vh - 48px); overflow-y: auto;
}
.apply-modal-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none; font-size: 1.7rem; line-height: 1;
  color: var(--muted); cursor: pointer; padding: 0; width: 32px; height: 32px;
  transition: color 0.15s;
}
.apply-modal-close:hover { color: var(--black); }
.apply-modal-body { padding: 34px 36px 36px; }
.apply-modal-body h3 { font-family: 'Manrope', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--black); margin-bottom: 6px; }
.apply-modal-sub { font-size: 0.88rem; color: var(--muted); margin-bottom: 22px; line-height: 1.55; }
.apply-form { display: flex; flex-direction: column; gap: 15px; }
.apply-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; color: var(--black);
}
.apply-form input,
.apply-form textarea,
.apply-form select {
  font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 400; color: var(--text);
  padding: 10px 12px; border: 1px solid var(--rule); background: var(--white);
  transition: border-color 0.15s;
}
.apply-form textarea { resize: vertical; min-height: 74px; line-height: 1.5; }
.apply-form select { cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M6 8 0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px;
}
.apply-form input:focus,
.apply-form textarea:focus,
.apply-form select:focus { outline: none; border-color: var(--purple); }
.apply-form input[type="file"] { padding: 8px 12px; font-size: 0.82rem; color: var(--muted); cursor: pointer; }
.apply-form-submit { margin-top: 8px; width: 100%; text-align: center; border: none; cursor: pointer; }
.apply-success { text-align: center; padding: 8px 0; }
.apply-success[hidden] { display: none; }
.apply-success-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--purple-light); color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 700; margin: 0 auto 16px;
}
.apply-success h3 { margin-bottom: 8px; }
.apply-success p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; margin-bottom: 22px; }

/* ── CONTRAST GRID (problem vs. response, replaces paired paragraphs) ── */
.contrast-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 40px; }
.contrast-col-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 6px; padding-bottom: 16px; border-bottom: 1px solid var(--rule);
}
.contrast-col.fail .contrast-col-label { color: var(--light); }
.contrast-col.good .contrast-col-label { color: var(--purple); }
.contrast-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.contrast-icon {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700;
}
.contrast-col.fail .contrast-icon { background: var(--bg-alt); color: var(--light); border: 1px solid var(--rule); }
.contrast-col.good .contrast-icon { background: var(--purple); color: #fff; }
.contrast-icon svg { width: 11px; height: 11px; }
.contrast-item p { font-size: 0.9rem; line-height: 1.55; color: var(--text); margin: 0; }

@media (max-width: 700px) {
  .contrast-grid { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 900px) {
  .tech-principles { grid-template-columns: 1fr; gap: 24px; }
  .tech-enables-v2-grid { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
footer { background: var(--black); color: rgba(255,255,255,0.55); }
.footer-main {
  padding: 72px 64px 56px;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
  gap: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-area { min-width: 0; }
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; margin-bottom: 20px;
}
.footer-logo-img {
  height: 44px; width: auto; display: block;
  mix-blend-mode: screen;
}
.footer-logo .logo-diamond { display: none; }
.footer-logo-area p { font-size: 0.87rem; line-height: 1.7; max-width: 260px; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.social-btn {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: rgba(255,255,255,0.45);
  text-decoration: none; transition: border-color 0.15s, color 0.15s;
}
.social-btn:hover { border-color: var(--purple); color: var(--purple); }
.footer-col h5 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  padding: 22px 64px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.77rem; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 0.77rem; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.15s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-tile:nth-child(4n) { border-right: 1px solid var(--rule); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .numbers-band { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .nb-stat { border-right: none; padding: 0 !important; }
}
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .top-bar { display: none; }
  #hero { min-height: 85vh; }
  .hero-text { padding: 64px 28px 52px; }
  .editorial { grid-template-columns: 1fr; }
  .ed-image { min-height: 300px; }
  .editorial.reverse { direction: ltr; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-img { min-height: 300px; }
  .contact-form-area { padding: 48px 24px; }
  .process-wrap { grid-template-columns: 1fr; }
  .process-img { min-height: 280px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  section, #services, #industries, #technology, #process, #insights { padding: 64px 24px; }
  .clients-bar { padding: 24px; }
  .numbers-band { padding: 56px 24px; grid-template-columns: repeat(2, 1fr); }
  .ind-intro { grid-template-columns: 1fr; gap: 24px; }
  .services-intro { grid-template-columns: 1fr; gap: 24px; }
  .insights-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .tech-scroll-row { grid-template-columns: 110px 1fr; min-height: 100px; }
  .tech-label-img { height: 52px; }
  .tech-label-name { font-size: 0.7rem; padding: 8px 10px; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .numbers-band { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .hero-meta { flex-direction: column; gap: 20px; }
}

/* ══════════════════════════════════════════
   SUB-PAGE SHARED STYLES
   ══════════════════════════════════════════ */

/* ── PAGE HEADER (sub-page hero replacement) ── */
.page-header {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 380px;
}
.page-header-text {
  padding: 64px 64px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--white);
}
.page-breadcrumb {
  font-size: 0.78rem; color: var(--light); margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.page-breadcrumb a { color: var(--light); text-decoration: none; transition: color 0.15s; }
.page-breadcrumb a:hover { color: var(--purple); }
.page-breadcrumb span.sep { color: var(--rule); }
.page-breadcrumb span.current { color: var(--purple); font-weight: 600; }
.page-header-text h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -1.2px;
  color: var(--black); margin-bottom: 20px;
}
.page-header-text h1 span { color: var(--purple); }
.page-header-text p {
  font-size: 1rem; color: var(--muted); line-height: 1.75; max-width: 480px;
}
.page-header-img { position: relative; min-height: 380px; overflow: hidden; }
.page-header-img .img-illustration { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ── CONTENT SECTION ── */
.content-section { padding: 96px 64px; }
.content-section.alt { background: var(--bg-alt); }
.content-narrow { max-width: 760px; }

/* ── ABOUT: VALUES GRID ── */
.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border: 1px solid var(--rule); margin-top: 48px;
}
.value-tile {
  padding: 36px 28px;
  border-right: 1px solid var(--rule);
  transition: background 0.15s;
}
.value-tile:last-child { border-right: none; }
.value-tile:hover { background: var(--purple-light); }
.value-tile .value-num {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--purple); margin-bottom: 16px; display: block;
}
.value-tile h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem; font-weight: 700; color: var(--black); margin-bottom: 10px;
}
.value-tile p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

/* ── ABOUT: LEADERSHIP ── */
.leadership-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px;
}
.leader-card { border: 1px solid var(--rule); }
.leader-img { height: 220px; position: relative; }
.leader-body { padding: 20px; }
.leader-body h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem; font-weight: 700; color: var(--black); margin-bottom: 4px;
}
.leader-role {
  font-size: 0.78rem; color: var(--purple); font-weight: 600; margin-bottom: 10px; display: block;
}
.leader-body p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* ── ABOUT: MILESTONES ── */
.milestones {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 48px;
  border-top: 2px solid var(--purple);
  position: relative;
}
.milestone {
  padding: 28px 20px 0;
  border-right: 1px solid var(--rule);
  position: relative;
}
.milestone:last-child { border-right: none; }
.milestone::before {
  content: '';
  position: absolute; top: -7px; left: 20px;
  width: 12px; height: 12px;
  background: var(--purple); border-radius: 50%;
}
.milestone-year {
  font-family: 'Manrope', sans-serif;
  font-size: 1.6rem; font-weight: 800; color: var(--black); letter-spacing: -1px;
  margin-bottom: 10px;
}
.milestone p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }

/* ── SERVICES PAGE: DETAILED SERVICE BLOCKS ── */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; padding: 72px 0;
  border-bottom: 1px solid var(--rule);
}
.service-detail:first-of-type { padding-top: 0; }
.service-detail:last-of-type { border-bottom: none; padding-bottom: 0; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-img { min-height: 360px; position: relative; }
.service-detail-content .sec-eyebrow { display: flex; align-items: center; gap: 12px; }
.service-detail-content .sec-eyebrow .svc-icon-badge {
  width: 36px; height: 36px;
  background: var(--purple-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.service-detail-content h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800; color: var(--black); letter-spacing: -0.6px;
  margin-bottom: 16px; line-height: 1.2;
}
.service-detail-content > p {
  font-size: 0.95rem; color: var(--muted); line-height: 1.75; margin-bottom: 24px;
}
.service-feature-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.service-feature-list .ed-point { font-size: 0.87rem; }
.service-tech-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── INDUSTRIES PAGE: DETAILED INDUSTRY BLOCKS ── */
.industry-detail {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 460px;
}
.industry-detail.reverse { direction: rtl; }
.industry-detail.reverse > * { direction: ltr; }
.industry-detail-img { position: relative; min-height: 460px; overflow: hidden; }
.industry-detail-img .img-illustration { position: absolute; inset: 0; width: 100%; height: 100%; }
.industry-detail-content {
  padding: 64px; display: flex; flex-direction: column; justify-content: center;
}
.industry-detail-content .sec-eyebrow { display: flex; align-items: center; gap: 12px; }
.industry-icon-badge {
  width: 40px; height: 40px;
  background: var(--purple-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.industry-detail-content h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  font-weight: 800; color: var(--black); letter-spacing: -0.6px;
  margin-bottom: 16px; line-height: 1.2;
}
.industry-detail-content > p {
  font-size: 0.95rem; color: var(--muted); line-height: 1.75; margin-bottom: 28px; max-width: 480px;
}
.industry-stat-row { display: flex; gap: 40px; margin-bottom: 28px; }
.industry-stat .nb-n { color: var(--purple); font-size: 2.2rem; }
.industry-stat .nb-l { color: var(--muted); font-size: 0.82rem; max-width: 160px; }
.industry-capability-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── CONTACT PAGE ── */
.contact-page-grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px;
}
.contact-channels { display: flex; flex-direction: column; gap: 0; }
.channel-item {
  display: flex; gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.channel-item:first-child { padding-top: 0; }
.channel-item:last-child { border-bottom: none; }
.channel-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--purple-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.channel-item h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem; font-weight: 700; color: var(--black); margin-bottom: 6px;
}
.channel-item p { font-size: 0.87rem; color: var(--muted); line-height: 1.6; }
.channel-item a { color: var(--purple); font-weight: 600; text-decoration: none; }

.office-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--rule); margin-top: 48px;
}
.office-card {
  padding: 28px; border-right: 1px solid var(--rule);
}
.office-card:last-child { border-right: none; }
.office-card h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem; font-weight: 700; color: var(--black); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.office-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

/* ── MAP PLACEHOLDER ── */
.map-ph {
  height: 320px; background: var(--bg-alt);
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  margin-top: 48px;
}
.map-ph-label { text-align: center; color: var(--light); }
.map-ph-label .img-ph-icon { font-size: 2rem; margin-bottom: 8px; opacity: 0.4; }
.map-ph-label span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 48px; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); padding: 24px 0; }
.faq-item h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.97rem; font-weight: 700; color: var(--black); margin-bottom: 10px;
  display: flex; align-items: flex-start; gap: 12px;
}
.faq-item h4::before { content: 'Q.'; color: var(--purple); flex-shrink: 0; }
.faq-item p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; padding-left: 26px; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--black); color: #fff;
  padding: 64px 64px; text-align: center;
}
.cta-band h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800;
  letter-spacing: -0.8px; margin-bottom: 16px;
}
.cta-band p { color: rgba(255,255,255,0.6); font-size: 0.97rem; margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-band-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE: SUB-PAGES ── */
@media (max-width: 900px) {
  .page-header { grid-template-columns: 1fr; }
  .page-header-text { padding: 48px 24px; }
  .page-header-img { min-height: 240px; }
  .content-section { padding: 64px 24px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value-tile { border-right: none; border-bottom: 1px solid var(--rule); }
  .value-tile:nth-child(odd) { border-right: 1px solid var(--rule); }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
  .milestones { grid-template-columns: 1fr; border-top: none; border-left: 2px solid var(--purple); }
  .milestone { border-right: none; padding: 20px 0 20px 24px; }
  .milestone::before { left: -7px; top: 20px; }
  .service-detail, .service-detail.reverse { grid-template-columns: 1fr; direction: ltr; gap: 32px; padding: 48px 0; }
  .service-detail-img { min-height: 260px; }
  .industry-detail, .industry-detail.reverse { grid-template-columns: 1fr; direction: ltr; }
  .industry-detail-img { min-height: 260px; }
  .industry-detail-content { padding: 40px 24px; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: 1fr; }
  .office-card { border-right: none; border-bottom: 1px solid var(--rule); }
  .office-card:last-child { border-bottom: none; }
  .cta-band { padding: 48px 24px; }
}
@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
  .values-grid .value-tile { border-right: none !important; }
  .leadership-grid { grid-template-columns: 1fr; }
  .industry-stat-row { gap: 24px; flex-wrap: wrap; }
}

/* ── CONTACT PAGE: STANDALONE FORM BOX ── */
.contact-form-box-standalone {
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  padding: 40px;
}
@media (max-width: 900px) {
  .contact-form-box-standalone { padding: 28px 24px; }
}

/* ── ILLUSTRATION WRAPPER ── */
.img-illustration {
  width: 100%; height: 100%;
  overflow: hidden;
  display: block;
  position: relative;
}
.img-illustration svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

/* ══════════════════════════════════════════
   CASE STUDIES / INSIGHTS / CAREERS / LEGAL
   ══════════════════════════════════════════ */

/* ── CASE STUDIES LISTING ── */
.cs-filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 40px; margin-bottom: 48px;
}
.cs-filter-pill {
  padding: 8px 18px; border: 1px solid var(--rule);
  font-size: 0.82rem; font-weight: 600; color: var(--muted);
  background: var(--white); cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  user-select: none;
}
.cs-filter-pill:hover { border-color: var(--purple); color: var(--purple); }
.cs-filter-pill.active { background: var(--purple); color: #fff; border-color: var(--purple); }

.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cs-card { border: 1px solid var(--rule); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; text-decoration: none; display: block; color: inherit; }
.cs-card:hover { box-shadow: 0 8px 32px rgba(106,13,173,0.12); transform: translateY(-4px); }
.cs-card-img { height: 200px; position: relative; overflow: hidden; }
.cs-card-img .img-illustration { position: absolute; inset: 0; width: 100%; height: 100%; }
.cs-card-body { padding: 24px; }
.cs-card-industry {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 10px; display: block;
}
.cs-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem; font-weight: 700; color: var(--black);
  line-height: 1.4; margin-bottom: 12px;
}
.cs-card-stats { display: flex; gap: 24px; margin-bottom: 12px; }
.cs-card-stat-n {
  font-family: 'Manrope', sans-serif;
  font-size: 1.3rem; font-weight: 800; color: var(--purple); line-height: 1;
}
.cs-card-stat-l { font-size: 0.72rem; color: var(--light); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.06em; }
.cs-card-link {
  font-size: 0.83rem; font-weight: 600; color: var(--purple);
  display: inline-flex; align-items: center; gap: 5px; transition: gap 0.15s;
}
.cs-card-link::after { content: '→'; }
.cs-card:hover .cs-card-link { gap: 9px; }

.cs-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule);
  margin-bottom: 48px;
  text-decoration: none; color: inherit;
  transition: box-shadow 0.2s;
  min-height: 340px;
}
.cs-featured:hover { box-shadow: 0 8px 32px rgba(106,13,173,0.12); }
.cs-featured-img { position: relative; overflow: hidden; }
.cs-featured-img .img-illustration { position: absolute; inset: 0; width: 100%; height: 100%; }
.cs-featured-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.cs-featured-tag {
  display: inline-block; background: var(--purple); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 14px; margin-bottom: 18px; width: fit-content;
}
.cs-featured-body h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 800; color: var(--black);
  letter-spacing: -0.6px; line-height: 1.25; margin-bottom: 16px;
}
.cs-featured-body p { font-size: 0.95rem; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.cs-featured-stats { display: flex; gap: 40px; margin-bottom: 24px; }

/* ── CASE STUDY DETAIL PAGE ── */
.cs-detail-header {
  display: grid; grid-template-columns: 1fr; min-height: 420px; position: relative;
}
.cs-detail-header-img { position: absolute; inset: 0; z-index: 0; }
.cs-detail-header-overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,13,0.3) 0%, rgba(13,13,13,0.85) 100%);
  z-index: 1;
}
.cs-detail-header-content {
  position: relative; z-index: 2;
  padding: 100px 64px 56px;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 420px;
  color: #fff;
}
.cs-detail-header-content .page-breadcrumb a,
.cs-detail-header-content .page-breadcrumb span { color: rgba(255,255,255,0.6); }
.cs-detail-header-content .page-breadcrumb span.current { color: #C8A8FF; }
.cs-detail-tag {
  display: inline-block; background: var(--purple); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 14px; margin-bottom: 20px; width: fit-content;
}
.cs-detail-header-content h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.15;
  letter-spacing: -1px; color: #fff; max-width: 760px; margin-bottom: 20px;
}
.cs-detail-meta { display: flex; gap: 40px; flex-wrap: wrap; }
.cs-detail-meta-item { display: flex; flex-direction: column; gap: 4px; }
.cs-detail-meta-label {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 4px;
}
.cs-detail-meta-val { font-size: 0.95rem; font-weight: 600; color: #fff; }

/* results band */
.cs-results-band {
  background: var(--purple);
  padding: 56px 64px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.cs-results-band .nb-stat:nth-child(n) { border-right: 1px solid rgba(255,255,255,0.2); padding: 0 32px; }
.cs-results-band .nb-stat:first-child { padding-left: 0; }
.cs-results-band .nb-stat:last-child { border-right: none; padding-right: 0; }

.cs-section { padding: 72px 64px; border-bottom: 1px solid var(--rule); }
.cs-section:last-of-type { border-bottom: none; }
.cs-section.alt { background: var(--bg-alt); }
.cs-section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 14px;
}
.cs-section h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 800; color: var(--black);
  letter-spacing: -0.6px; margin-bottom: 20px;
}
.cs-section .content-narrow p { margin-bottom: 18px; font-size: 0.97rem; color: var(--muted); line-height: 1.8; }
.cs-challenge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.cs-challenge-card {
  padding: 28px; border: 1px solid var(--rule); background: var(--white);
}
.cs-challenge-card .ch-num {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; color: var(--purple); margin-bottom: 14px; display: block;
}
.cs-challenge-card h4 { font-family: 'Manrope', sans-serif; font-size: 0.97rem; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.cs-challenge-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

.cs-approach-list { display: flex; flex-direction: column; gap: 0; margin-top: 32px; }
.cs-approach-item { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.cs-approach-item:first-child { padding-top: 0; }
.cs-approach-item:last-child { border-bottom: none; padding-bottom: 0; }
.cs-approach-num {
  font-family: 'Manrope', sans-serif;
  font-size: 1.6rem; font-weight: 800; color: var(--rule); flex-shrink: 0; width: 50px;
}
.cs-approach-item h4 { font-family: 'Manrope', sans-serif; font-size: 1rem; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.cs-approach-item p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

.cs-quote-section {
  padding: 72px 64px; background: var(--black); color: #fff; text-align: center;
}
.cs-quote-section blockquote {
  font-family: 'Manrope', sans-serif; font-weight: 500;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem); line-height: 1.5;
  max-width: 760px; margin: 0 auto 28px; color: #fff;
}
.cs-quote-source { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.cs-quote-source strong { color: #C8A8FF; display: block; font-size: 0.97rem; margin-bottom: 2px; }

.cs-tech-used { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.cs-nav-other {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--rule);
}
.cs-nav-other a {
  padding: 40px 64px; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; transition: background 0.15s;
}
.cs-nav-other a:first-child { border-right: 1px solid var(--rule); }
.cs-nav-other a:hover { background: var(--bg-alt); }
.cs-nav-other-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple); margin-bottom: 10px; }
.cs-nav-other-title { font-family: 'Manrope', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--black); }
.cs-nav-other a:last-child { text-align: right; align-items: flex-end; }

/* ── INSIGHTS LISTING (full) ── */
.insights-filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin: 40px 0 48px; }
.insights-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ── CAREERS ── */
.careers-perks-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--rule); margin-top: 48px;
}
.perk-tile {
  padding: 32px 26px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.perk-tile:nth-child(4n) { border-right: none; }
.perk-tile:nth-last-child(-n+4) { border-bottom: none; }
.perk-icon { font-size: 1.6rem; margin-bottom: 14px; }
.perk-tile h4 { font-family: 'Manrope', sans-serif; font-size: 0.93rem; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.perk-tile p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }

.jobs-list { display: flex; flex-direction: column; gap: 0; margin-top: 48px; border: 1px solid var(--rule); }
.job-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 24px; align-items: center;
  padding: 24px 28px; border-bottom: 1px solid var(--rule); transition: background 0.15s;
}
.job-row:last-child { border-bottom: none; }
.job-row:hover { background: var(--bg-alt); }
.job-title { font-family: 'Manrope', sans-serif; font-size: 0.97rem; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.job-dept { font-size: 0.8rem; color: var(--purple); font-weight: 600; }
.job-meta { font-size: 0.85rem; color: var(--muted); }
.job-apply {
  font-size: 0.83rem; font-weight: 600; color: var(--purple);
  display: inline-flex; align-items: center; gap: 5px; text-decoration: none; transition: gap 0.15s;
  white-space: nowrap;
}
.job-apply::after { content: '→'; }
.job-apply:hover { gap: 9px; }

.life-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.life-card { position: relative; height: 220px; overflow: hidden; }
.life-card .img-illustration { height: 100%; }

/* ── LEGAL PAGES ── */
.legal-content {
  max-width: 1120px; margin: 0 auto; padding: 0 64px;
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px;
  align-items: start;
}
.legal-body { grid-column: 2; grid-row: 1; min-width: 0; }
.legal-content h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.3rem; font-weight: 800; color: var(--black);
  margin-top: 40px; margin-bottom: 14px; letter-spacing: -0.3px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.02rem; font-weight: 700; color: var(--black);
  margin-top: 26px; margin-bottom: 10px;
}
.legal-content p { font-size: 0.93rem; color: var(--muted); line-height: 1.85; margin-bottom: 16px; }
.legal-content ul { margin: 0 0 16px 0; padding-left: 24px; color: var(--muted); font-size: 0.93rem; line-height: 1.85; }
.legal-content li { margin-bottom: 8px; }
.legal-content strong { color: var(--text); }
/* callout boxes (plain-language summaries, notes, complaints) */
.legal-callout {
  background: var(--bg-alt); border-left: 3px solid var(--purple);
  padding: 18px 24px; margin: 22px 0; border-radius: 0 8px 8px 0;
}
.legal-callout p { margin: 0 0 10px; font-size: 0.9rem; }
.legal-callout p:last-child { margin-bottom: 0; }
.legal-callout ul { margin: 0; }
/* data tables (cookie inventory, retention, rights, legal bases) */
.legal-table-wrap { overflow-x: auto; margin: 20px 0; -webkit-overflow-scrolling: touch; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.legal-table th, .legal-table td {
  border: 1px solid var(--rule); padding: 10px 14px;
  text-align: left; vertical-align: top; line-height: 1.55;
}
.legal-table th { background: var(--bg-alt); font-weight: 700; color: var(--black); white-space: nowrap; }
.legal-table td { color: var(--muted); }
.legal-table td strong { color: var(--text); }
.legal-updated {
  font-size: 0.8rem; color: var(--light); margin-bottom: 4px;
  padding-bottom: 20px; border-bottom: 1px solid var(--rule);
}
.legal-toc {
  grid-column: 1; grid-row: 1;
  position: sticky; top: 88px; align-self: start;
  border: 1px solid var(--rule); border-radius: 8px; padding: 20px 22px; background: var(--bg-alt);
  max-height: calc(100vh - 110px); overflow-y: auto;
}
.legal-toc h4 { font-family: 'Manrope', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--black); margin-bottom: 12px; }
.legal-toc ol { padding-left: 18px; }
.legal-toc a { color: var(--purple); text-decoration: none; font-size: 0.82rem; font-weight: 500; line-height: 1.4; }
.legal-toc a:hover { text-decoration: underline; }
.legal-toc li { margin-bottom: 7px; color: var(--muted); }
@media (max-width: 900px) {
  .legal-content { grid-template-columns: 1fr; padding: 0 24px; gap: 0; }
  .legal-toc { position: static; grid-column: 1; grid-row: auto; margin-bottom: 32px; max-height: none; }
  .legal-body { grid-column: 1; grid-row: auto; }
}

/* ── RESPONSIVE: NEW PAGES ── */
@media (max-width: 1024px) {
  .cs-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-featured { grid-template-columns: 1fr; }
  .cs-featured-img { min-height: 260px; }
  .insights-full-grid { grid-template-columns: repeat(2, 1fr); }
  .careers-perks-grid { grid-template-columns: repeat(2, 1fr); }
  .perk-tile:nth-child(4n) { border-right: 1px solid var(--rule); }
  .perk-tile:nth-child(2n) { border-right: none; }
  .life-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-results-band { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .cs-results-band .nb-stat { border-right: none !important; padding: 0 !important; }
  .cs-challenge-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .cs-detail-header-content { padding: 80px 24px 40px; }
  .cs-results-band { padding: 40px 24px; }
  .cs-section { padding: 48px 24px; }
  .cs-quote-section { padding: 48px 24px; }
  .cs-nav-other { grid-template-columns: 1fr; }
  .cs-nav-other a:first-child { border-right: none; border-bottom: 1px solid var(--rule); }
  .cs-nav-other a:last-child { text-align: left; align-items: flex-start; }
  .job-row { grid-template-columns: 1fr; gap: 10px; text-align: left; }
  .job-apply { margin-top: 8px; }
}
@media (max-width: 600px) {
  .cs-grid { grid-template-columns: 1fr; }
  .insights-full-grid { grid-template-columns: 1fr; }
  .careers-perks-grid { grid-template-columns: 1fr; }
  .perk-tile { border-right: none !important; }
  .life-grid { grid-template-columns: 1fr; }
  .cs-results-band { grid-template-columns: 1fr; }
  .cs-detail-meta { gap: 20px; }
}

/* ── SCROLL REVEAL (progressive enhancement) ── */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE NAVIGATION  (hamburger + slide-in accordion panel)
   ═══════════════════════════════════════════════════════════ */
.nav-burger { display: none; }
.nav-acc { display: none; }

@media (max-width: 900px) {
  /* bar: logo + burger only */
  nav { justify-content: flex-start; }
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-left: auto; padding: 0;
    background: none; border: none; cursor: pointer; z-index: 210;
  }
  .nav-burger span {
    display: block; width: 24px; height: 2px; margin: 0 auto; border-radius: 2px;
    background: #fff; transition: transform 0.28s ease, opacity 0.2s ease;
  }
  nav.nav--open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  nav.nav--open .nav-burger span:nth-child(2) { opacity: 0; }
  nav.nav--open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* the slide-in panel = the existing nav-center list */
  .nav-center {
    display: block; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
    height: auto; background: #0f0f0f; overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 6px 0 96px; z-index: 200;
    transform: translateX(100%); visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), visibility 0.3s;
  }
  nav.nav--open .nav-center { transform: translateX(0); visibility: visible; }

  .nav-center > li { display: block; width: 100%; height: auto; border-bottom: 1px solid rgba(255,255,255,0.08); position: relative; }
  .nav-center li.has-megamenu { position: relative; }   /* override desktop static so accordion carets anchor to their own row */
  .nav-center > li > a {
    display: block; height: auto; padding: 16px 24px; margin: 0;
    font-size: 1rem; font-weight: 500; color: #fff; border-bottom: none; white-space: normal;
  }
  .has-dropdown > a::after { content: none; }   /* remove desktop caret glyph */

  /* accordion caret button (injected by JS) */
  .nav-acc {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 4px; right: 8px; width: 46px; height: 46px;
    background: none; border: none; cursor: pointer; padding: 0;
  }
  .nav-acc span {
    display: block; width: 10px; height: 10px;
    border-right: 2px solid rgba(255,255,255,0.6); border-bottom: 2px solid rgba(255,255,255,0.6);
    transform: rotate(45deg); transition: transform 0.25s ease; margin-top: -4px;
  }
  .nav-center > li.open > .nav-acc span { transform: rotate(-135deg); margin-top: 3px; }

  /* the megamenu becomes a collapsible sub-list */
  .nav-megamenu {
    position: static; display: none; opacity: 1; visibility: visible; transform: none;
    width: auto; min-width: 0; max-width: none; max-height: none; padding: 0 0 8px;
    background: rgba(255,255,255,0.03); box-shadow: none; border: none; border-radius: 0;
  }
  .nav-center > li.open > .nav-megamenu { display: block; }
  /* neutralize the desktop card positioning/transform/width (higher specificity than base) */
  .nav-center li.has-megamenu .nav-megamenu.mega-card,
  .nav-center li.has-megamenu .nav-megamenu.mega-card-sm,
  .nav-center li.has-megamenu:hover .nav-megamenu.mega-card,
  .nav-center li.has-megamenu:hover .nav-megamenu.mega-card-sm {
    position: static; left: auto; right: auto; top: auto; bottom: auto;
    transform: none; width: auto; min-width: 0; max-width: none;
    border-radius: 0; padding: 0 0 8px;
  }

  /* flatten every megamenu variant to a single vertical list of section links */
  .nav-megamenu .mega-grid, .nav-megamenu .mega-ind, .nav-megamenu .mega-flat {
    display: block; padding: 0; margin: 0; max-width: none; width: auto; gap: 0; overflow: visible;
  }
  .nav-megamenu .mega-col { display: block; }
  .nav-megamenu .mega-group { margin: 0 !important; padding: 0 !important; border: none !important; }
  .nav-megamenu .mega-ind-item { border: none; position: static; }
  .nav-megamenu .mega-group-head, .nav-megamenu .mega-ind-head, .nav-megamenu .mega-flat > a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 24px 12px 40px; margin: 0; border: none;
    font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.82); text-transform: none; letter-spacing: 0;
  }
  .nav-megamenu .mega-group-head:hover, .nav-megamenu .mega-ind-head:hover, .nav-megamenu .mega-flat > a:hover { color: #fff; padding-left: 40px; background: rgba(255,255,255,0.04); }
  .nav-megamenu .mega-group-head svg, .nav-megamenu .mega-ind-head svg { width: 18px; height: 18px; flex-shrink: 0; }
  /* hide the deep sub-links, plus-toggles and banners on mobile — keep it to one tidy level */
  .nav-megamenu .mega-links, .nav-megamenu .mega-ind-sub, .nav-megamenu .mega-banner, .nav-megamenu .mega-ind-plus { display: none; }

  /* CTA buttons pinned to the bottom of the open panel */
  .nav-right {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 205;
    flex-direction: column; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
    background: #0f0f0f; border-top: 1px solid rgba(255,255,255,0.1);
  }
  nav.nav--open .nav-right { display: flex; }
  .nav-right .btn-nav-ghost, .nav-right .btn-nav-solid { width: 100%; text-align: center; padding: 14px; font-size: 0.9rem; }

  body.nav-locked { overflow: hidden; }
}

/* ── FORMS: submission states ─────────────────────────────────────────── */

/* On success the JS sets hidden on each field row + the submit button's row. Those rows
   carry their own display (grid/flex), which would otherwise beat the [hidden] attribute
   and keep them (and the "Submit Enquiry" button) on screen — so restore hiding here. */
.form-row-2[hidden],
.fg[hidden],
.form-submit-row[hidden] { display: none; }

/* Honeypot: off-screen for humans, irresistible to bots. Never display:none —
   many bots skip hidden inputs, which defeats the point. */
.dmiq-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

.form-error,
.apply-form-error {
  margin: 14px 0 0;
  padding: 11px 14px;
  border: 1px solid rgba(220, 38, 38, 0.28);
  border-left: 3px solid #dc2626;
  border-radius: 4px;
  background: rgba(220, 38, 38, 0.05);
  color: #b91c1c;
  font-size: 0.84rem;
  line-height: 1.55;
}

.btn-form-submit:disabled,
.apply-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-success {
  padding: 40px 0 8px;
  text-align: center;
}
.contact-success h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.3rem; font-weight: 800;
  color: var(--black);
  margin: 18px 0 8px;
}
.contact-success p {
  font-size: 0.9rem; color: var(--muted); line-height: 1.65;
}
