/* ============================================================================
   Cosmonaut Technologies — Enterprise Consulting Homepage
   styles.css  (mobile-first, responsive)
   ============================================================================ */

/* -------------------- Design tokens -------------------- */
:root {
  --navy-900: #0d2f7a;
  --navy-800: #163f9e;
  --navy-700: #2054c2;
  --navy-600: #3a6de0;
  --ink: #0d1430;
  --slate-500: #4c587f;   /* body-muted — 6.2:1 on white */
  --slate-400: #5f6b8c;   /* meta text  — 4.9:1 on white, AA at small sizes */
  --slate-300: #aab3ce;
  --line: #e5e9f2;
  --line-soft: #eef1f8;
  --bg: #ffffff;
  --bg-alt: #f5f7fc;
  --white: #ffffff;

  --cyan: #2946c8;            /* link/interactive blue — AA on white */
  --cyan-bright: #2f56e0;     /* brand blue — icons, accents */
  --purple: #1b09a4;          /* kicker/label indigo */
  --purple-soft: #4b3fd6;

  --brand-tint: #eef2ff;      /* single icon-container tint */
  --brand-tint-line: #dbe4ff;

  /* near-flat, same-hue gradient — no violet swing, no rainbow */
  --grad-brand: linear-gradient(180deg, #3157e6 0%, #2848cf 100%);
  --grad-brand-r: linear-gradient(180deg, #3b61ea 0%, #2848cf 100%);
  --grad-hero: radial-gradient(1200px 600px at 78% -10%, rgba(59,99,245,.30), transparent 60%),
               radial-gradient(900px 500px at 12% 10%, rgba(90,140,255,.22), transparent 55%),
               linear-gradient(180deg, #123a94 0%, #1a4bb5 55%, #16409e 100%);

  --shadow-sm: 0 1px 2px rgba(15,23,46,.05);
  --shadow-md: 0 8px 24px rgba(15,23,46,.08);
  --shadow-lg: 0 24px 60px rgba(15,23,46,.14);
  --shadow-glow: 0 8px 24px rgba(15,23,46,.12);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;

  --maxw: 1240px;
  --header-h: 74px;

  --ff-display: "Sora", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, sans-serif;
}

/* -------------------- Reset / base -------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: clip; }
body {
  overflow-x: clip;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* inline contextual links inside body copy (paragraphs, check-lists) —
   need real link styling since the reset above strips it by default.
   Split by background: light-bg content vs. dark-bg hero/sidebar copy. */
.content-main p a, .check-list li a, .card p a, .outcome-list span a {
  color: var(--cyan-bright); text-decoration: underline;
  text-decoration-color: rgba(59,99,245,.35); text-underline-offset: 3px;
  transition: color .15s, text-decoration-color .15s;
}
.content-main p a:hover, .check-list li a:hover, .card p a:hover, .outcome-list span a:hover {
  color: var(--purple); text-decoration-color: currentColor;
}
.hero-desc a, .sidebar-cta p a, .sidebar-cta li a, .page-hero .fact-row a,
.section-lead.light a, .observeriq p a, .observeriq li a {
  color: #bcd0ff; text-decoration: underline;
  text-decoration-color: rgba(188,208,255,.4); text-underline-offset: 3px;
  transition: color .15s, text-decoration-color .15s;
}
.hero-desc a:hover, .sidebar-cta p a:hover, .sidebar-cta li a:hover,
.section-lead.light a:hover, .observeriq p a:hover, .observeriq li a:hover {
  color: #fff; text-decoration-color: currentColor;
}
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--ff-display); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); font-weight: 700; line-height: 1.06; letter-spacing: -.028em; }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.65rem); font-weight: 700; letter-spacing: -.022em; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.012em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--navy-800); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--cyan-bright); outline-offset: 2px; border-radius: 4px; }

/* -------------------- Buttons --------------------
   Flat, crisp, enterprise. No glow, no levitate, no pills.
   NOTE: no white-space:nowrap — long labels must wrap on small
   viewports instead of forcing the page wider (mobile P0). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--ff-display); font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: 10px; text-align: center;
  transition: box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease, filter .18s ease;
  border: 1px solid transparent; max-width: 100%;
}
.btn-sm { padding: 9px 18px; font-size: .875rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn i { font-size: .9em; }

.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 1px 2px rgba(15,23,46,.16); }
.btn-primary:hover { filter: brightness(.94); box-shadow: 0 2px 8px rgba(15,23,46,.18); }

.btn-ghost { background: transparent; color: var(--navy-800); border-color: rgba(41,70,200,.32); }
.btn-ghost:hover { background: rgba(47,86,224,.06); border-color: rgba(41,70,200,.55); }

.btn-cyan { background: #fff; color: #14265c; }
.btn-cyan:hover { background: #f2f5ff; box-shadow: var(--shadow-sm); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

/* ============================================================
   HEADER / NAV — brand mark (nav itself lives in the Navigation 2.0
   section at the end of this file; legacy navbar CSS removed)
   ============================================================ */
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.brand-logo { display: block; width: auto; height: 36px; }
.footer-brandlink .brand-logo { height: 32px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; color: var(--ink); overflow: hidden; background: linear-gradient(180deg, #f5f8ff 0%, #eef3ff 55%, #ffffff 100%); }
.hero-bg { position: absolute; inset: 0; background-image:
  linear-gradient(rgba(59,99,245,.06) 1px, transparent 1px),
  linear-gradient(90deg, rgba(59,99,245,.06) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(80% 70% at 50% 30%, #000 40%, transparent 100%); opacity: .7; }
/* centered editorial hero — one statement, one pair of actions */
.hero-inner { position: relative; display: block; max-width: 900px; margin-inline: auto; text-align: center; padding: clamp(64px, 9vw, 128px) 0 clamp(64px, 8.5vw, 112px); }
.hero .hero-desc { margin-inline: auto; }
.hero .hero-actions { justify-content: center; }
.eyebrow-plain {
  font-family: var(--ff-display); font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cyan);
}

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff-display); font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--purple); background: rgba(59,99,245,.08); border: 1px solid rgba(59,99,245,.22); padding: 7px 14px; border-radius: 999px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-bright); box-shadow: 0 0 0 4px rgba(59,99,245,.18); }
.hero-copy h1 { margin: 20px 0 18px; color: var(--ink); }
.hero-desc { font-size: 1.1rem; color: var(--slate-500); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; color: var(--slate-500); font-size: .86rem; }
.hero-badges i { color: var(--cyan-bright); margin-right: 7px; }

/* ============================================================
   TRUST
   ============================================================ */
.trust { background: #fff; border-bottom: 1px solid var(--line-soft); padding: 40px 0 48px; }
.trust-text { text-align: center; color: var(--slate-500); font-size: .95rem; margin-bottom: 22px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 40px; max-width: 1040px; margin-inline: auto; }
.logo-row li {
  display: inline-flex; align-items: center;
  color: var(--slate-400); font-family: var(--ff-display); font-weight: 600; font-size: .95rem;
  letter-spacing: -.01em; opacity: .85; transition: opacity .18s, color .18s;
}
.logo-row li:hover { opacity: 1; color: var(--ink); }
.logo-row li.has-logo img { height: 26px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .18s, opacity .18s; }
.logo-row li.has-logo:hover img { filter: grayscale(0); opacity: 1; }

/* Homepage trust carousel — track auto-slides one client at a time (script.js) */
.logo-carousel {
  overflow: hidden; max-width: 1040px; margin-inline: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-carousel .logo-row { flex-wrap: nowrap; justify-content: flex-start; width: max-content; max-width: none; }
.logo-carousel .logo-row li { white-space: nowrap; flex-shrink: 0; }

/* ============================================================
   SECTIONS (generic)
   ============================================================ */
.section { padding: clamp(64px, 8.5vw, 116px) 0; }
.section.alt { background: #fafbfe; }
.section-head { max-width: 760px; margin: 0 auto clamp(34px, 5vw, 54px); text-align: center; }
.kicker { font-family: var(--ff-display); font-weight: 700; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); margin-bottom: 12px; }
.kicker.light { color: var(--cyan-bright); }
.section-lead { color: var(--slate-500); font-size: 1.06rem; margin-top: 14px; }
.section-lead.light { color: #b9c6e8; }
.center { text-align: center; margin-top: 34px; }

/* grids */
.grid { display: grid; gap: 22px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

/* base card */
/* Informational cards are flat — border only, no shadow, no motion.
   Elevation + border shift are reserved for genuinely clickable cards
   (anchors) so hover affordance actually means something. */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px;
  transition: box-shadow .18s ease, border-color .18s ease;
  position: relative; overflow: hidden;
}
a.card:hover, a.card:focus-visible { box-shadow: var(--shadow-md); border-color: #c7d2ef; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--slate-500); font-size: .92rem; }

/* challenge cards */
.c-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 10px; margin-bottom: 16px;
  background: var(--brand-tint);
  color: var(--cyan-bright); font-size: 1.05rem; border: 1px solid var(--brand-tint-line);
}

/* practice cards */
.practice { padding-bottom: 26px; }
.p-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px; color: var(--cyan-bright); font-size: 1.25rem; border: 1px solid var(--brand-tint-line); }
/* One icon treatment. The grad-1..6 hue variants are intentionally
   collapsed into a single brand tint — multicolor icon tiles read as
   template, not enterprise. Classes kept so 74 pages need no HTML edits. */
.grad-1, .grad-2, .grad-3, .grad-4, .grad-5, .grad-6 { background: var(--brand-tint); }
.link-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-family: var(--ff-display); font-weight: 600; font-size: .88rem; color: var(--cyan); transition: color .2s; }
.link-more i { transition: transform .2s; }
.link-more:hover { color: var(--ink); }
.link-more:hover i { transform: translateX(4px); }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

/* image treatment used across About / story sections */
.split-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(10,19,48,.15), rgba(10,19,48,.55)); }
.split-photo-badge {
  position: absolute; bottom: 18px; left: 18px; z-index: 2;
  background: rgba(10,19,48,.72); backdrop-filter: blur(6px);
  color: #fff; padding: 10px 16px; border-radius: 12px; font-family: var(--ff-display); font-weight: 600; font-size: .84rem;
  display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.14);
}
.split-photo-badge i { color: var(--cyan-bright); }

/* hero split (used on About page hero) */
.hero-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 46px; align-items: center; }
.hero-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.4); aspect-ratio: 5/4; border: 1px solid rgba(255,255,255,.14); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(6,10,30,.05), rgba(6,10,30,.6)); }

/* stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-item { text-align: center; padding: 24px 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }

.stat-item .stat-num { display: block; font-family: var(--ff-display); font-weight: 700; font-size: 2.1rem; color: var(--cyan-bright); margin-bottom: 6px; letter-spacing: -.02em; }
.stat-item .stat-label { font-size: .84rem; color: var(--slate-500); font-weight: 500; }

/* office cards with photos */
.office-photo-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; transition: transform .2s, box-shadow .2s; }
.office-photo-card:hover { box-shadow: var(--shadow-md); border-color: #c7d2ef; }
.office-photo-card .office-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.office-photo-card .office-img img { width: 100%; height: 100%; object-fit: cover; }
.office-photo-card .office-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,19,48,.5)); }
.office-photo-card .office-body { padding: 20px 22px 24px; }
.office-photo-card h3 { margin-bottom: 4px; }
.office-photo-card p { font-size: .86rem; color: var(--slate-500); }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 22px 0 28px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: #33406a; }
.check-list i { margin-top: 3px; width: 20px; height: 20px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand-tint); color: var(--cyan-bright); font-size: .75rem; }

/* outcome cards (featured apm) */
.outcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.outcome-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm); text-align: left;
  background-image: linear-gradient(180deg, rgba(59,99,245,.05), transparent);
}
.o-stat { display: block; font-family: var(--ff-display); font-weight: 700; font-size: 2rem; color: var(--cyan-bright); margin-bottom: 8px; letter-spacing: -.02em; }
.o-label { color: var(--slate-500); font-size: .9rem; }
.disclaimer { margin-top: 18px; font-size: .78rem; color: var(--slate-400); display: flex; gap: 8px; align-items: flex-start; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-embed iframe { display: block; }
.disclaimer i { color: var(--cyan); margin-top: 3px; }

/* pills (appdynamics) */
.pill-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .9rem; font-weight: 500; color: #33406a; transition: transform .18s, border-color .18s, box-shadow .18s; }
.pill i { color: var(--cyan); }


/* ============================================================
   OBSERVERIQ
   ============================================================ */
.observeriq { position: relative; overflow: hidden; padding: clamp(60px, 9vw, 110px) 0; color: #eaf0ff;
  background: radial-gradient(900px 500px at 85% 0%, rgba(90,140,255,.35), transparent 55%),
              radial-gradient(700px 500px at 5% 100%, rgba(59,99,245,.24), transparent 55%),
              linear-gradient(160deg, #123a94 0%, #1a4bb5 60%, #16409e 100%); }
.observeriq .split { align-items: center; }
/* the band is dark navy — global h2/kicker colors are tuned for light
   backgrounds, so force light text here */
.observeriq h2 { color: #fff; }
.observeriq .kicker.light { color: #a9c0ff; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 24px 0 30px; }
.feature-list li { display: flex; align-items: center; gap: 11px; font-size: .93rem; color: #d3ddf5; }
.feature-list i { width: 34px; height: 34px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #a9c0ff; }

/* product ui mock */
.ui-mock { background: linear-gradient(180deg,#0e1740,#0b1233); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.5); overflow: hidden; }
.ui-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.ui-dots { display: inline-flex; gap: 6px; }
.ui-dots i { width: 10px; height: 10px; border-radius: 50%; background: #38456f; display: block; }
.ui-dots i:nth-child(1){background:#ff5f57;} .ui-dots i:nth-child(2){background:#febc2e;} .ui-dots i:nth-child(3){background:#28c840;}
.ui-title { font-size: .78rem; color: #9fb0d8; font-family: var(--ff-display); }
.ui-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.ui-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: #8394bd; font-family: var(--ff-display); font-weight: 600; }
.ui-timeline .spark { display: flex; align-items: flex-end; gap: 6px; height: 68px; margin-top: 10px; }
.spark span { flex: 1; height: var(--h); background: linear-gradient(180deg, rgba(59,99,245,.9), rgba(59,99,245,.25)); border-radius: 4px 4px 0 0; }
.spark span.peak { background: linear-gradient(180deg, #ff7a7a, rgba(255,122,122,.3)); }
.ui-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ui-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.ui-card.risk { border-left: 3px solid #ff7a7a; }
.ui-card.action { border-left: 3px solid #3b63f5; }
.uc-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: #8394bd; }
.uc-value { font-family: var(--ff-display); font-weight: 700; font-size: 1.05rem; color: #fff; }
.uc-meta { font-size: .78rem; color: #9fb0d8; }
.ui-rca { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px; }
.rca-chain { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.rca-chain span { padding: 6px 12px; border-radius: 8px; background: rgba(59,99,245,.12); border: 1px solid rgba(59,99,245,.28); font-size: .78rem; color: #dbe7ff; }
.rca-chain i { color: #6a789e; font-size: .7rem; }
.rca-chain .rca-hot { background: rgba(255,122,122,.14); border-color: rgba(255,122,122,.4); color: #ffd6d6; }
.forecast-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.08); margin: 10px 0 6px; overflow: hidden; }
.forecast-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg,#3b63f5,#1b09a4); }
.ui-meta { font-size: .78rem; color: #9fb0d8; }

/* ============================================================
   BANKING
   ============================================================ */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 28px; }
.tag-cloud span { padding: 8px 14px; border-radius: 8px; background: var(--bg-alt); border: 1px solid var(--line); font-size: .82rem; color: #445081; font-weight: 500; }
.outcome-list { display: flex; flex-direction: column; gap: 6px; }
.outcome-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }

.outcome-list i { color: var(--cyan-bright); font-size: 1.15rem; margin-top: 3px; }
.outcome-list strong { display: block; font-family: var(--ff-display); font-size: .96rem; color: var(--ink); }
.outcome-list span { font-size: .85rem; color: var(--slate-500); }

/* ============================================================
   DIGITAL EXPERIENCE
   ============================================================ */
.dx .mini-list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.dx .mini-list li { position: relative; padding-left: 22px; font-size: .88rem; color: #445081; }
.dx .mini-list li::before { content: "\e226"; font-family: "lucide"; position: absolute; left: 0; color: var(--cyan); font-size: .85rem; top: 2px; }

/* ============================================================
   LEADERSHIP
   ============================================================ */
.leader-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 22px 28px; }
.leader-avatar {
  position: relative; width: 100px; height: 100px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-family: var(--ff-display); font-weight: 700; font-size: 1.7rem; color: #fff;
  margin-bottom: 18px; overflow: hidden;
  /* one avatar treatment — overrides the collapsed grad-* tint so white
     initials stay readable until real headshots replace them */
  background: var(--grad-brand);
}
.leader-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.leader-name { font-size: 1.08rem; margin-bottom: 3px; }
.leader-title { font-family: var(--ff-display); font-weight: 700; font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; color: var(--purple); margin-bottom: 12px; }
.leader-bio { font-size: .86rem; color: var(--slate-500); margin-bottom: 18px; }
.leader-linkedin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-alt); border: 1px solid var(--line); color: var(--navy-800);
  transition: background .18s, color .18s, transform .18s;
}
.leader-linkedin:hover { background: #0a66c2; border-color: #0a66c2; color: #fff; transform: translateY(-2px); }
.leader-linkedin-placeholder {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-alt); border: 1px dashed var(--line); color: var(--slate-400); font-size: .78rem;
}

/* ============================================================
   METHODOLOGY
   ============================================================ */
.method-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s; }

.step-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad-brand); color: #fff; font-family: var(--ff-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; box-shadow: var(--shadow-glow); }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .86rem; color: var(--slate-500); }
.method-steps .step:not(:last-child)::after { content: "\e049"; font-family: "lucide"; position: absolute; right: -14px; top: 44px; color: var(--cyan); font-size: .85rem; z-index: 2; }

/* ============================================================
   OUTCOMES (business)
   ============================================================ */
.outcome-b { text-align: left; }
.outcome-b > i { font-size: 1.6rem; color: var(--cyan); background: linear-gradient(135deg, rgba(59,99,245,.14), rgba(27,9,164,.14)); width: 54px; height: 54px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; border: 1px solid rgba(59,99,245,.2); }

/* ============================================================
   ENGAGEMENTS
   ============================================================ */
.engage { display: flex; flex-direction: column; }
.engage h3 { margin-bottom: 10px; }
.e-tag { align-self: flex-start; font-family: var(--ff-display); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--grad-brand); padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.e-tag.alt { background: linear-gradient(135deg,#8a3cff,#c86bff); color: #fff; }
.engage.wide { grid-column: span 3; background: linear-gradient(120deg, #163f9e, #3a6de0); color: #eaf0ff; border-color: rgba(255,255,255,.1); }
.engage.wide h3 { color: #fff; }
.engage.wide p { color: #b9c6e8; }

/* ============================================================
   CASE STUDIES
   ============================================================ */
.case { display: flex; flex-direction: column; gap: 8px; }
.case-badge { position: absolute; top: 16px; right: 16px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--purple); background: rgba(27,9,164,.08); border: 1px solid rgba(27,9,164,.22); padding: 4px 10px; border-radius: 6px; }
.case-industry { font-family: var(--ff-display); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.case h3 { margin: 2px 0 8px; }
.case-line { font-size: .86rem; color: var(--slate-500); }
.case-line strong { color: var(--ink); }
.case .link-more { margin-top: auto; padding-top: 12px; }

/* ============================================================
   INSIGHTS
   ============================================================ */
.article { display: flex; flex-direction: column; gap: 12px; }
.a-cat { font-family: var(--ff-display); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--purple); }
.article h3 { font-size: 1.02rem; flex: 1; }
.a-read { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-display); font-weight: 600; font-size: .84rem; color: var(--cyan); transition: gap .2s; }
.article:hover .a-read { gap: 12px; color: var(--purple); }

.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.blog-filter {
  font-family: var(--ff-display); font-weight: 600; font-size: .86rem;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--slate-500); transition: all .18s;
}
.blog-filter:hover { border-color: rgba(59,99,245,.4); color: var(--navy-800); }
.blog-filter.active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }
.blog-empty-state { text-align: center; color: var(--slate-400); font-size: .95rem; padding: 40px 0; }

.video-placeholder-card { text-align: center; }
.video-placeholder-thumb {
  width: 100%; aspect-ratio: 16/9; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(160deg, #123a94, #1c4bb0);
  display: flex; align-items: center; justify-content: center;
}
.video-placeholder-thumb i {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.16); color: #fff; font-size: 1.2rem; padding-left: 4px;
}

.video-embed-wrap { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; margin-bottom: 16px; background: #0b1730; }
.video-embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

.video-thumb-btn {
  position: relative; display: block; width: 100%; aspect-ratio: 9/16; max-height: 320px; margin: 0 auto 16px;
  border-radius: 12px; overflow: hidden; background: #0b1730; border: 0; padding: 0; cursor: pointer;
}
.video-thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.video-thumb-btn:hover img { transform: scale(1.04); }
.video-thumb-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,10,30,0) 55%, rgba(6,10,30,.55) 100%); }
.video-thumb-btn .video-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.7); color: #fff; font-size: 1.2rem; padding-left: 4px;
  backdrop-filter: blur(2px); transition: background .18s, transform .18s;
}
.video-thumb-btn:hover .video-icon { background: var(--cyan-bright, #2fd0e6); transform: translate(-50%, -50%) scale(1.08); }

.video-modal-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(6,10,30,.82); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.video-modal-overlay.open { opacity: 1; visibility: visible; }
.video-modal-box {
  position: relative; width: 100%; max-width: 480px; aspect-ratio: 9/16;
  border-radius: var(--radius-lg); overflow: hidden; background: #000;
  transform: translateY(24px) scale(.98); transition: transform .28s ease;
}
.video-modal-overlay.open .video-modal-box { transform: translateY(0) scale(1); }
.video-modal-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video-modal-close {
  position: absolute; top: -46px; right: 0; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); color: #fff; font-size: 1rem;
  transition: background .18s, transform .18s;
}
.video-modal-close:hover { background: rgba(255,255,255,.28); transform: rotate(90deg); }

.video-carousel { position: relative; display: flex; align-items: center; gap: 12px; }
.vc-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 4px 12px; scrollbar-width: none; -ms-overflow-style: none;
}
.vc-track::-webkit-scrollbar { display: none; }
.vc-slide { flex: 0 0 260px; scroll-snap-align: start; }
.vc-nav {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); color: var(--navy-800); box-shadow: 0 6px 18px rgba(16,24,64,.1);
  transition: background .18s, transform .18s, opacity .18s; z-index: 2;
}
.vc-nav:hover { background: var(--bg-alt); }
.vc-nav:disabled { opacity: .35; cursor: default; pointer-events: none; }
.vc-dots { display: flex; justify-content: center; gap: 7px; margin-top: 18px; }
.vc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .18s, transform .18s; padding: 0; }
.vc-dot.active { background: var(--cyan-bright, #2fd0e6); transform: scale(1.3); }

@media (max-width: 640px) {
  .vc-nav { width: 36px; height: 36px; }
  .vc-slide { flex-basis: 220px; }
}

.gallery-placeholder { text-align: center; }
.gallery-placeholder-tile {
  width: 100%; aspect-ratio: 4/3; border-radius: 12px; margin-bottom: 14px;
  background: repeating-linear-gradient(135deg, var(--bg-alt), var(--bg-alt) 10px, #eef1f8 10px, #eef1f8 20px);
  border: 1px dashed var(--line); display: flex; align-items: center; justify-content: center;
}
.gallery-placeholder-tile i { font-size: 1.6rem; color: var(--slate-400); }
.gallery-placeholder p { color: var(--slate-400); font-size: .82rem; }
.gallery-placeholder-tile.has-photo { background: none; border: none; overflow: hidden; }
.gallery-placeholder-tile.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px; transition: transform .3s ease; }
.gallery-placeholder:hover .gallery-placeholder-tile.has-photo img { transform: scale(1.05); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { position: relative; overflow: hidden; padding: clamp(60px, 9vw, 108px) 0; color: var(--ink); text-align: center;
  background: radial-gradient(800px 400px at 50% -20%, rgba(59,99,245,.14), transparent 60%),
              linear-gradient(180deg, #f5f8ff 0%, #eef3ff 100%); }
.final-cta::before { content: ""; position: absolute; inset: 0; background-image:
  linear-gradient(rgba(59,99,245,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(59,99,245,.05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent); }
.final-cta-inner { position: relative; max-width: 780px; margin-inline: auto; }
.final-cta h2 { color: var(--ink); margin-bottom: 16px; }
.final-cta p { color: var(--slate-500); font-size: 1.08rem; max-width: 620px; margin: 0 auto; }
.center-actions { justify-content: center; }
/* final-cta now sits on a light background, so its secondary button needs
   dark-on-light styling — .btn-outline-light itself stays as-is since it's
   still used in the dark ObserverIQ section. */
.final-cta .btn-outline-light { background: transparent; color: var(--navy-800); border-color: rgba(59,99,245,.35); }
.final-cta .btn-outline-light:hover { background: rgba(59,99,245,.08); border-color: rgba(59,99,245,.5); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-alt); color: var(--slate-500); padding-top: 60px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 44px; }
.footer-brandlink { margin-bottom: 16px; }
.footer-desc { font-size: .88rem; color: var(--slate-500); max-width: 320px; margin-bottom: 16px; }
.footer-contact { font-size: .86rem; color: var(--slate-500); display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.footer-contact i { color: var(--cyan-bright); }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); color: var(--navy-800); transition: background .18s, transform .18s; }
.social a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-2px); }
.footer-col h4 { color: var(--ink); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col h4.mt { margin-top: 24px; }
.footer-col a { display: block; font-size: .88rem; color: var(--slate-500); padding: 8px 0; transition: color .16s, padding-left .16s; }
.footer-col a:hover { color: var(--cyan-bright); padding-left: 4px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: .82rem; color: var(--slate-400); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: .82rem; color: var(--slate-500); transition: color .16s; }
.footer-legal a:hover { color: var(--cyan-bright); }

/* back to top */
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 48px; height: 48px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-glow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { filter: brightness(.94); }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s ease-out, transform .45s ease-out; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .method-steps .step::after { display: none; }
  .engage.wide { grid-column: span 2; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .observeriq .split { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .cards-4, .cards-3 { grid-template-columns: 1fr; }
  .method-steps { grid-template-columns: 1fr; }
  .engage.wide { grid-column: span 1; }
  .check-list, .feature-list, .outcome-grid, .ui-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-actions .btn, .center-actions .btn { width: 100%; justify-content: center; }
  .diagram { max-width: 340px; }
  .onode { width: 82px; font-size: .66rem; }
}

@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ASSESSMENT MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(6,10,30,.72); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  position: relative; width: 100%; max-width: 920px; max-height: 94vh; overflow-y: auto;
  background: #fff; border-radius: var(--radius-lg); box-shadow: 0 40px 100px rgba(0,0,0,.45);
  transform: translateY(24px) scale(.98); transition: transform .28s ease;
  scrollbar-width: none; -ms-overflow-style: none; /* hide scrollbar visually; still scrolls if content overflows */
}
.modal-box::-webkit-scrollbar { display: none; }
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border: 1px solid var(--line); color: var(--navy-800); font-size: 1rem;
  transition: background .18s, transform .18s;
}
.modal-close:hover { background: var(--line); transform: rotate(90deg); }
.modal-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; }

/* left: reviews */
.modal-reviews {
  background: linear-gradient(160deg, #123a94, #1c4bb0 70%, #3a6de0);
  color: #fff; padding: 32px 30px; border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  display: flex; flex-direction: column; min-height: 100%;
}
.modal-reviews .modal-kicker { color: #a9c0ff; }
.modal-reviews-note { font-size: .78rem; color: #9fb0d8; margin-bottom: 24px; }
.review-carousel { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.review-track { position: relative; min-height: 180px; }
.review-slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none; transform: translateX(12px);
  transition: opacity .3s ease, transform .3s ease;
}
.review-slide.active { opacity: 1; pointer-events: auto; transform: translateX(0); position: relative; }
.review-stars { color: #ffc94d; font-size: .82rem; letter-spacing: 2px; margin-bottom: 14px; }
.review-quote { font-size: 1.02rem; line-height: 1.55; color: #eaf0ff; margin-bottom: 18px; }
.review-author { font-family: var(--ff-display); font-weight: 700; font-size: .88rem; color: #fff; }
.review-author span { display: block; font-family: var(--ff-body); font-weight: 400; font-size: .78rem; color: #9fb0d8; margin-top: 2px; }
.review-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.review-nav {
  width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; transition: background .18s;
}
.review-nav:hover { background: rgba(59,99,245,.35); }
.review-dots { display: flex; gap: 7px; }
.review-dot { width: 24px; height: 24px; padding: 7px; border-radius: 50%; background: rgba(255,255,255,.25); background-clip: content-box; transition: background .18s, transform .18s; }
.review-dot.active { background: #a9c0ff; transform: scale(1.3); }

/* right: form */
.modal-form { padding: 32px 30px; }
.modal-form h3 { margin: 4px 0 6px; }
.modal-form-desc { font-size: .86rem; color: var(--slate-500); margin-bottom: 16px; }
.modal-form form { display: flex; flex-direction: column; gap: 11px; }
.modal-form label { display: flex; flex-direction: column; gap: 6px; font-family: var(--ff-display); font-weight: 600; font-size: .82rem; color: var(--navy-800); }
.modal-form label span { font-family: var(--ff-body); font-weight: 400; color: var(--slate-400); }
.modal-form input, .modal-form textarea {
  font-family: var(--ff-body); font-size: .92rem; color: var(--ink); padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt); resize: vertical;
  transition: border-color .18s, background .18s;
}
.modal-form input:focus, .modal-form textarea:focus { outline: none; border-color: var(--cyan-bright); background: #fff; }
.modal-form button[type="submit"] { margin-top: 6px; justify-content: center; }
.modal-form-note { font-size: .78rem; color: var(--slate-400); display: flex; gap: 7px; align-items: flex-start; margin-top: 4px; }
.modal-form-success { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 10px; }
/* display:flex above beats the [hidden] UA default — restore it so the
   thank-you panel only appears after submission (and the form can hide) */
.modal-form form[hidden], .modal-form-success[hidden] { display: none; }
.modal-form-success i { font-size: 2.4rem; color: #12b981; margin-bottom: 14px; }
.modal-form-success p { color: var(--slate-500); font-size: .92rem; margin-top: 6px; }

@media (max-width: 760px) {
  .modal-grid { grid-template-columns: 1fr; }
  .modal-reviews { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .modal-box { max-height: 92vh; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   HERO TEXT ANIMATION — staggered entrance + rotating phrase
   ============================================================ */
.hero-rotate {
  display: inline-block;
  background: linear-gradient(100deg, #3b63f5 0%, #7c5cff 55%, #3b63f5 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  transition: opacity .45s ease, transform .45s ease;
}
.hero-rotate.is-out { opacity: 0; transform: translateY(14px); }

@media (prefers-reduced-motion: no-preference) {
  .hero-entrance > * { opacity: 0; animation: heroRise .7s cubic-bezier(.22,.7,.3,1) forwards; }
  .hero-entrance > .eyebrow-plain { animation-delay: .05s; }
  .hero-entrance > h1 { animation-delay: .18s; }
  .hero-entrance > .hero-desc { animation-delay: .34s; }
  .hero-entrance > .hero-actions { animation-delay: .5s; }
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-rotate { transition: none; }
}

/* ============================================================
   SECTION TEXT ANIMATION — word-staggered headings + kickers
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .h2-split .w {
    display: inline-block; opacity: 0; transform: translateY(16px);
    transition: opacity .55s cubic-bezier(.22,.7,.3,1), transform .55s cubic-bezier(.22,.7,.3,1);
  }
  .h2-split.in .w { opacity: 1; transform: none; }
  .reveal .kicker {
    opacity: 0; transform: translateX(-14px);
    transition: opacity .5s ease .08s, transform .5s ease .08s;
  }
  .reveal.in .kicker { opacity: 1; transform: none; }
}

/* ============================================================
   HOMEPAGE ADDITIONS — industry links, client voice band
   ============================================================ */
.tag-cloud a {
  padding: 8px 14px; border-radius: 8px; background: var(--bg-alt);
  border: 1px solid var(--line); font-size: .82rem; color: #445081; font-weight: 500;
  transition: border-color .18s, color .18s, background .18s;
}
.tag-cloud a:hover { border-color: rgba(47,86,224,.45); color: var(--navy-800); background: #fff; }
.industries-row { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.industries-label {
  font-family: var(--ff-display); font-weight: 700; font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 4px;
}
.quote-band { max-width: 820px; margin-inline: auto; text-align: center; }
.quote-band blockquote {
  font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.45; letter-spacing: -.015em; color: var(--ink);
}
.quote-band blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: 1; color: var(--cyan-bright); margin-bottom: 6px; }
.quote-band figcaption { margin-top: 18px; font-size: .84rem; color: var(--slate-400); }
.quote-band figcaption a { color: var(--cyan-bright); font-weight: 600; }
.quote-band figcaption a:hover { text-decoration: underline; }

/* ============================================================================
   NAVIGATION 2.0 — floating command bar + stages + spotlight + mobile sheet
   (the only navigation CSS — the legacy navbar system has been removed)
   ============================================================================ */
:root { --header-h: 96px; }
body { padding-top: 96px; }

header.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent; border-bottom: 0; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  pointer-events: none;
}
header.site-header.scrolled { background: transparent; box-shadow: none; }

.cbar-shell { position: relative; z-index: 2; width: min(1180px, calc(100vw - 28px)); margin-inline: auto; padding-top: 14px; }

/* ---- the floating glass pill ---- */
.cbar {
  pointer-events: auto; position: relative; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 10px 9px 20px; border-radius: 999px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px) saturate(1.7); -webkit-backdrop-filter: blur(18px) saturate(1.7);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 1px 2px rgba(13,20,48,.06), 0 12px 40px rgba(18,38,92,.13),
              inset 0 1px 0 rgba(255,255,255,.85);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled .cbar {
  background: rgba(255,255,255,.94);
  box-shadow: 0 1px 2px rgba(13,20,48,.07), 0 18px 50px rgba(18,38,92,.18),
              inset 0 1px 0 rgba(255,255,255,.9);
}
.cbar .brand { flex-shrink: 0; margin-right: 6px; }
.cbar .brand-logo { height: 30px; width: auto; }

/* ---- primary intents ---- */
.cnav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.cnav-btn {
  position: relative; font-family: var(--ff-display); font-weight: 600; font-size: .9rem;
  color: #33406a; padding: 10px 14px; border-radius: 10px;
  transition: color .18s;
}
.cnav-btn::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  border-radius: 2px; background: var(--cyan-bright);
  transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.22,.7,.3,1);
}
.cnav-btn:hover, .cnav-btn[aria-expanded="true"] { color: var(--navy-800); }
.cnav-btn:hover::after, .cnav-btn[aria-expanded="true"]::after { transform: scaleX(1); }

/* ---- right actions ---- */
.cbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.cbar-cta { border-radius: 999px; }
.cburger { display: none; }

/* ---- stage sheet ---- */
.stage-sheet {
  pointer-events: auto; position: relative; z-index: 1;
  margin-top: 10px; border-radius: 22px; overflow: hidden;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 30px 80px rgba(13,20,48,.22), 0 2px 8px rgba(13,20,48,.06);
  opacity: 0; transform: translateY(-10px) scale(.985); transform-origin: top center;
  transition: opacity .28s cubic-bezier(.22,.7,.3,1), transform .28s cubic-bezier(.22,.7,.3,1);
}
.stage-sheet.open { opacity: 1; transform: none; }
.stage { padding: 30px 34px 32px; }
.stage[hidden] { display: none; }
.stage-eyebrow {
  font-family: var(--ff-display); font-weight: 700; font-size: .72rem;
  letter-spacing: .11em; text-transform: uppercase; color: var(--cyan-bright); margin-bottom: 12px;
}
.stage-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 18px; }
.stage-head .stage-eyebrow { margin-bottom: 0; }
.stage-lede { font-size: .84rem; color: var(--slate-400); }
@media (prefers-reduced-motion: no-preference) {
  .stage-sheet.open .stage > * { animation: stageIn .4s cubic-bezier(.22,.7,.3,1) backwards; }
  .stage-sheet.open .stage > *:nth-child(2) { animation-delay: .05s; }
  .stage-sheet.open .stage > *:nth-child(3) { animation-delay: .1s; }
}
@keyframes stageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- scrim behind open stage ---- */
.cbar-scrim {
  position: fixed; inset: 0; z-index: 1;
  background: rgba(10,16,40,.32);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s ease;
}
.cbar-scrim.show { opacity: 1; }

/* ---- stage: What we do (practice switcher) ---- */
.wgrid { display: grid; grid-template-columns: 340px 1fr; gap: 26px; }
.wtabs { display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line-soft); padding-right: 22px; }
.wtab {
  display: grid; grid-template-columns: 38px 1fr 16px; align-items: center; gap: 10px;
  text-align: left; padding: 11px 12px; border-radius: 14px; transition: background .16s;
}
.wtab > i:first-child {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px; background: var(--brand-tint); border: 1px solid var(--brand-tint-line);
  color: var(--cyan-bright); font-size: 1.05rem; transition: background .16s, color .16s;
}
.wtab-txt strong { display: block; font-family: var(--ff-display); font-size: .88rem; font-weight: 600; color: var(--ink); }
.wtab-txt em { font-style: normal; font-size: .74rem; color: var(--slate-400); }
.wtab-go { color: var(--slate-300); opacity: 0; transform: translateX(-4px); transition: opacity .16s, transform .16s; }
.wtab:hover, .wtab.is-active { background: var(--bg-alt); }
.wtab.is-active > i:first-child { background: var(--grad-brand); border-color: transparent; color: #fff; }
.wtab.is-active .wtab-go, .wtab:hover .wtab-go { opacity: 1; transform: none; color: var(--cyan-bright); }
.wpanels { position: relative; }
.wpanel { display: none; grid-template-columns: 1fr 260px; gap: 26px; }
.wpanel.is-active { display: grid; }
@media (prefers-reduced-motion: no-preference) {
  .wpanel.is-active { animation: stageIn .3s cubic-bezier(.22,.7,.3,1); }
}
.wpanel-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; align-content: start; }
.wpanel-links a {
  font-size: .88rem; color: #33406a; padding: 9px 12px; border-radius: 9px;
  transition: background .15s, color .15s;
}
.wpanel-links a:hover { background: var(--bg-alt); color: var(--navy-800); }

/* featured card (shared across stages) */
.stage-feat {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px;
  border-radius: 16px; background: linear-gradient(150deg, #f0f4ff 0%, #e6edff 100%);
  border: 1px solid var(--brand-tint-line);
  transition: transform .2s, box-shadow .2s;
}
.stage-feat:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(18,38,92,.12); }
.sf-kicker {
  font-family: var(--ff-display); font-weight: 700; font-size: .66rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-bright);
}
.stage-feat strong { font-family: var(--ff-display); font-size: .98rem; font-weight: 700; color: var(--ink); }
.stage-feat p { font-size: .8rem; color: var(--slate-500); }
.sf-go { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--cyan-bright); margin-top: 4px; }

/* ---- stage: Who we help ---- */
.hgrid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; }
.hind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 16px; }
.hind {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px;
  font-size: .85rem; font-weight: 500; color: #33406a; transition: background .15s, color .15s;
}
.hind i { color: var(--cyan-bright); font-size: 1rem; }
.hind:hover { background: var(--bg-alt); color: var(--navy-800); }
.feat-wide { flex-direction: column; }
.hchal-list { display: flex; flex-direction: column; }
.hchal {
  display: flex; align-items: center; gap: 14px; padding: 11px 10px;
  border-bottom: 1px solid var(--line-soft); font-family: var(--ff-display);
  font-weight: 600; font-size: .89rem; color: var(--ink); transition: color .15s, padding-left .2s;
}
.hchal:hover { color: var(--cyan-bright); padding-left: 16px; }
.hchal-n { font-size: .72rem; font-weight: 700; color: var(--cyan-bright); }
.hchal i { margin-left: auto; color: var(--slate-300); }
.hchal:hover i { color: var(--cyan-bright); }
.hmore-label { margin: 14px 0 8px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-400); font-family: var(--ff-display); }
.hmore { display: flex; flex-wrap: wrap; gap: 6px; }
.hmore a {
  font-size: .76rem; color: #445081; padding: 6px 11px; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--line); transition: border-color .15s, color .15s;
}
.hmore a:hover { border-color: rgba(47,86,224,.4); color: var(--navy-800); }

/* ---- stage: ObserverIQ ---- */
.pgrid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
.pname { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin-bottom: 6px; }
.plede { font-size: .88rem; color: var(--slate-500); max-width: 420px; margin-bottom: 16px; }
.plinks { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 16px; margin-bottom: 18px; }
.plinks a {
  display: flex; align-items: center; gap: 9px; font-size: .85rem; color: #33406a;
  padding: 8px 10px; border-radius: 9px; transition: background .15s, color .15s;
}
.plinks i { color: var(--cyan-bright); font-size: .95rem; }
.plinks a:hover { background: var(--bg-alt); color: var(--navy-800); }
.pactions { display: flex; gap: 10px; }
.pmock {
  border-radius: 16px; overflow: hidden; background: linear-gradient(165deg, #0e1740, #0b1233);
  border: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 60px rgba(13,20,48,.35);
  color: #dbe4ff; font-size: .8rem;
}
.pmock-top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.pmock-top span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.22); }
.pmock-top em { font-style: normal; margin-left: 8px; font-size: .74rem; color: #9fb0d8; }
.pmock-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 9px; }
.pmock-row { display: flex; justify-content: space-between; gap: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 9px; padding: 8px 12px; }
.pmock-row b { font-weight: 600; color: #b9c6e8; font-size: .74rem; }
.pmock-row i { font-style: normal; font-weight: 600; }
.pm-hot { color: #ff8f8f; }
.pmock-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: .74rem; }
.pmock-chain span:not(.pm-arrow) { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 3px 10px; }
.pm-arrow { color: #7387c4; }
.pmock-bar { height: 8px; border-radius: 5px; background: rgba(255,255,255,.12); overflow: hidden; }
.pmock-bar span { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #3b63f5, #7c5cff); }
.pmock-body p { font-size: .7rem; color: #9fb0d8; }

/* ---- stage: Insights ---- */
.igrid { display: grid; grid-template-columns: 1.15fr 1fr .9fr; gap: 26px; }
.ifeat {
  display: flex; flex-direction: column; gap: 8px; padding: 22px;
  border-radius: 16px; background: linear-gradient(160deg, #123a94, #1a4bb5);
  color: #eaf0ff; transition: transform .2s, box-shadow .2s;
}
.ifeat:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(18,38,92,.3); }
.ifeat .sf-kicker { color: #a9c0ff; }
.ifeat strong { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 700; color: #fff; line-height: 1.3; }
.ifeat p { font-size: .8rem; color: #b9c6e8; }
.ifeat .sf-go { color: #fff; }
.ilist { display: flex; flex-direction: column; justify-content: center; }
.ilist a {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 10px;
  border-bottom: 1px solid var(--line-soft); font-family: var(--ff-display);
  font-weight: 600; font-size: .87rem; color: var(--ink); transition: color .15s;
}
.ilist a:hover { color: var(--cyan-bright); }
.ilist em { font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-bright); }
.itypes { display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line-soft); padding-left: 22px; }
.itypes a {
  display: flex; align-items: center; gap: 10px; font-size: .84rem; color: #33406a;
  padding: 7px 10px; border-radius: 8px; transition: background .15s, color .15s;
}
.itypes i { color: var(--cyan-bright); font-size: .92rem; }
.itypes a:hover { background: var(--bg-alt); color: var(--navy-800); }

/* ---- stage: Company ---- */
.cgrid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; }
.clinks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: start; }
.clinks a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; transition: background .15s; }
.clinks a:hover { background: var(--bg-alt); }
.clinks strong { font-family: var(--ff-display); font-size: .89rem; font-weight: 600; color: var(--ink); }
.clinks span { font-size: .76rem; color: var(--slate-400); }
.cglobe { border-left: 1px solid var(--line-soft); padding-left: 26px; }
.coffice { display: flex; gap: 11px; align-items: flex-start; padding: 8px 0; }
.coffice i { color: var(--cyan-bright); margin-top: 3px; }
.coffice strong { display: block; font-family: var(--ff-display); font-size: .85rem; font-weight: 600; color: var(--ink); }
.coffice span { font-size: .76rem; color: var(--slate-400); }
.cstats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.cstats span { font-size: .72rem; font-weight: 600; color: #445081; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }

/* ---- mobile sheet ---- */
.msheet { position: fixed; inset: 0; z-index: 1200; display: flex; flex-direction: column; background: rgba(248,250,255,.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.msheet[hidden] { display: none; }
.msheet-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 10px; }
.msheet-top img { height: 28px; width: auto; }
.msheet-close { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); font-size: 1.1rem; color: var(--ink); }
.msheet-scroll { flex: 1; overflow-y: auto; padding: 8px 20px 110px; -webkit-overflow-scrolling: touch; }
.mquick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 16px; }
.mquick a {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 13px 8px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  font-size: .76rem; font-weight: 600; color: #33406a;
}
.mquick i { color: var(--cyan-bright); font-size: 1.15rem; }
.macc { border-bottom: 1px solid var(--line); }
.macc summary {
  display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer;
  font-family: var(--ff-display); font-weight: 700; font-size: 1.02rem; color: var(--ink); padding: 16px 4px;
}
.macc summary::-webkit-details-marker { display: none; }
.macc summary i { color: var(--slate-400); transition: transform .25s; }
.macc[open] summary i { transform: rotate(180deg); }
.macc-body { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 0 4px 14px; }
.macc-body a { display: flex; align-items: center; gap: 11px; padding: 11px 10px; border-radius: 10px; font-size: .93rem; color: #33406a; }
.macc-body a:active { background: var(--bg-alt); }
.macc-body i { color: var(--cyan-bright); }
.msheet-offices { margin: 18px 4px; font-size: .8rem; color: var(--slate-400); }
.msheet-cta {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(248,250,255,0), rgba(248,250,255,.96) 40%);
}
.msheet-cta .btn { width: 100%; }

/* ---- responsive ---- */
@media (max-width: 1020px) {
  .cnav, .cbar-cta { display: none; }
  .cburger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; border-radius: 999px; align-items: center;
    background: var(--grad-brand);
  }
  .cburger span { display: block; width: 16px; height: 2px; border-radius: 2px; background: #fff; }
  .cbar { padding: 8px 8px 8px 16px; }
  body { padding-top: 84px; }
  :root { --header-h: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .stage-sheet, .cbar-scrim, .cnav-btn::after { transition: none; }
}

/* ---- modal review avatars (photo drops into assets/clients/review-N.jpg) ---- */
.review-foot { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  position: relative; overflow: hidden; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-weight: 700; font-size: .82rem; color: #fff;
  border: 2px solid rgba(255,255,255,.25);
}
.review-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.review-avatar.grad-1 { background: linear-gradient(135deg, #3b63f5, #1b09a4); }
.review-avatar.grad-2 { background: linear-gradient(135deg, #4338ca, #1e1b6e); }
.review-avatar.grad-3 { background: linear-gradient(135deg, #2054c2, #0f2b73); }
.review-avatar.grad-4 { background: linear-gradient(135deg, #7c5cff, #3730a3); }
.review-avatar.grad-5 { background: linear-gradient(135deg, #3a6de0, #14104f); }

/* homepage "where we engage" list — engagement link inside each numbered item */
.challenge-list .link-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-weight: 600; font-size: .87rem; color: var(--cyan-bright); }
.challenge-list .link-more:hover { text-decoration: underline; }

/* review stars: dim unfilled stars for sub-5 ratings; Clutch link on dark panel */
.review-stars .dim { opacity: .35; }
.modal-reviews-note a { color: #a9c0ff; text-decoration: underline; }
.modal-reviews-note a:hover { color: #fff; }
