/* ============================================================
   DIGITRANIX — MASTER STYLESHEET
   Design System v5.0 · Lexend · 7-Stop Blue Scale · Square
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&family=Lexend+Deca:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* 7-Stop Blue Scale */
  --blue-100: #A8C4F0;
  --blue-200: #6B9FE4;
  --blue-300: #3D7DD4;
  --blue-400: #1A52CC;
  --blue-500: #1A3A7A;
  --blue-600: #0D1F3C;
  --blue-700: #050A12;

  /* Derived */
  --page-bg:  #F5F8FE;
  --card-bg:  #FFFFFF;
  --alt-bg:   #EBF2FC;
  --border:   #C8DAFA;

  /* Gradient */
  --grad:      linear-gradient(90deg, #3D7DD4 0%, #1A52CC 100%);
  --grad-diag: linear-gradient(135deg, #3D7DD4 0%, #1A52CC 100%);
  --grad-hero: linear-gradient(135deg, #EBF2FC 0%, #D5E6FA 100%);

  /* Tile colors for marquee */
  --tile-dark:  #1A3A7A;
  --tile-light: #A8C4F0;

  /* Fonts */
  --font-head: 'Lexend', sans-serif;
  --font-body: 'Lexend Deca', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Geometry — square */
  --radius:    4px;
  --radius-sm: 2px;

  /* Spacing scale (8px base) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 96px;
  --sp-8: 128px;

  /* Transitions */
  --transition: 0.2s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--blue-600);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--blue-400); text-decoration: none; }
a:hover { color: var(--blue-500); }
ul, ol { list-style: none; }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-4);
}
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 var(--sp-4); }

/* ── Section Padding ── */
.section     { padding: var(--sp-7) 0; }
.section-sm  { padding: var(--sp-6) 0; }
.section-dark { background: var(--blue-700); }
.section-alt  { background: var(--alt-bg); }
.section-ink  { background: var(--blue-600); }

/* ── Typography ── */
.display {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--blue-700);
}
h1, .h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: var(--blue-700);
}
h2, .h2 {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--blue-700);
}
h3, .h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--blue-700);
}
h4, .h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-600);
}
p { margin-bottom: var(--sp-2); color: var(--blue-500); }
p:last-child { margin-bottom: 0; }

.lead {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--blue-500);
}
.body-sm { font-size: 13px; color: var(--blue-500); line-height: 1.6; }

/* Gradient text utility */
.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-white  { color: #fff !important; }
.text-muted  { color: var(--blue-300) !important; }
.text-center { text-align: center; }

/* Section label (mono) */
.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-400);
  display: block;
  margin-bottom: var(--sp-1);
}
.section-label-light {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-200);
  display: block;
  margin-bottom: var(--sp-1);
}

/* ── NAVIGATION ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 68px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), border-bottom var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: 40px;
  text-decoration: none;
}
.nav-logomark {
  width: 36px;
  height: 36px;
  background: var(--grad);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}
.nav-wordmark {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.3px;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 2px;
  flex: 1;
  align-items: center;
}
.nav-link {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-500);
  padding: 6px 11px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--blue-400);
  background: var(--alt-bg);
}
.nav-link-has-dropdown::after {
  content: '▾';
  font-size: 10px;
  margin-left: 4px;
  opacity: 0.6;
}

/* CTA button in nav */
.nav-cta {
  margin-left: 16px;
  flex-shrink: 0;
}

/* Mega menu */
.nav-item { position: relative; }
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  width: 680px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3);
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
  box-shadow: 0 8px 32px rgba(26,82,204,0.12);
  z-index: 100;
}
.nav-item:hover .mega-menu { display: grid; }
.mega-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  display: block;
}
.mega-link {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--blue-500);
  display: block;
  padding: 3px 0;
  text-decoration: none;
  transition: color var(--transition);
}
.mega-link:hover { color: var(--blue-400); }
.mega-link-strong {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-600);
  display: block;
  padding: 3px 0;
  text-decoration: none;
}
.mega-link-sub {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--blue-300);
  display: block;
  padding: 2px 0 2px 10px;
  text-decoration: none;
  transition: color var(--transition);
}
.mega-link-sub:hover { color: var(--blue-400); }
.mega-link-cta {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-400);
  display: block;
  margin-top: 6px;
  text-decoration: none;
}
.mega-link-cleared {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  color: #16a34a;
  display: block;
  padding: 2px 0;
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-600);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-3);
  box-shadow: 0 8px 24px rgba(26,82,204,0.1);
  z-index: 999;
}
.nav-mobile.open { display: block; }
.nav-mobile-link {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-600);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.nav-mobile-link:last-child { border-bottom: none; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(90deg, #3370C0 0%, #1645B5 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,82,204,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--blue-400);
  border: 1.5px solid var(--blue-400);
}
.btn-outline:hover {
  background: var(--alt-bg);
  color: var(--blue-500);
  border-color: var(--blue-500);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--blue-500);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--alt-bg);
  border-color: var(--blue-200);
}
.btn-dark {
  background: var(--blue-600);
  color: #fff;
}
.btn-dark:hover {
  background: var(--blue-700);
  color: #fff;
}
.btn-lg { padding: 14px 30px; font-size: 15px; }
.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-full { width: 100%; justify-content: center; }

/* ── BADGES ── */
.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge-primary { background: var(--alt-bg); color: var(--blue-400); border-color: var(--blue-100); }
.badge-navy    { background: var(--blue-500); color: var(--blue-100); border-color: var(--blue-500); }
.badge-dark    { background: var(--blue-600); color: var(--blue-200); }
.badge-grad    { background: var(--grad); color: #fff; }
.badge-green   { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.badge-light   { background: #EBF2FC; color: var(--blue-500); border-color: var(--blue-100); }

/* ── CARDS ── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  border-color: var(--blue-400);
  box-shadow: 0 4px 20px rgba(26,82,204,0.1);
  transform: translateY(-2px);
}
.card-lined {
  border-top: 3px solid var(--blue-300);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-2);
  flex-shrink: 0;
}
.ci-100 { background: #EBF2FC; }
.ci-200 { background: #D5E6FA; }
.ci-300 { background: #C0D8F7; }
.ci-400 { background: var(--alt-bg); }
.ci-dark { background: var(--blue-600); }
.ci-green { background: #f0fdf4; }

.card-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-700);
  margin-bottom: 8px;
}
.card-body {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--blue-500);
  line-height: 1.6;
}

/* ── HERO SECTION ── */
.hero {
  padding-top: 140px;
  padding-bottom: var(--sp-7);
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 44%;
  height: 100%;
  background: var(--grad-hero);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--alt-bg);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: var(--sp-3);
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--grad);
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--blue-700);
  margin-bottom: var(--sp-2);
}
.hero-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--blue-500);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
  max-width: 480px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: var(--sp-4);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
}
.trust-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-500);
}
.trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--grad);
  flex-shrink: 0;
}

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  padding-top: 120px;
  padding-bottom: var(--sp-6);
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
}
.page-header-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: var(--sp-1);
}
.page-header h1 { margin-bottom: var(--sp-2); }
.page-header .lead { max-width: 600px; }

/* ── CLIENT MARQUEE ── */
.marquee-section {
  background: var(--alt-bg);
  padding: 28px 0;
  overflow: hidden;
}
.marquee-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-300);
  text-align: center;
  margin-bottom: 14px;
  display: block;
}
.marquee-track-wrap {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.marquee-track {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: marquee-left 35s linear infinite;
}
.marquee-track-reverse {
  animation-direction: reverse;
}
@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-track:hover,
.marquee-track-reverse:hover {
  animation-play-state: paused;
}
.marquee-tile {
  display: flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.tile-dark  { background: var(--tile-dark);  color: var(--blue-100); }
.tile-light { background: var(--tile-light); color: var(--blue-600); }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--blue-700);
  padding: var(--sp-6) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-3);
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
}
.stat-num-sm {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-200);
  line-height: 1.3;
  padding-top: 6px;
  display: block;
}
.stat-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  color: var(--blue-200);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

/* ── CAPABILITY CARDS GRID ── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.pillar-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue-200);
  border-radius: var(--radius);
  padding: var(--sp-3);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.pillar-card:nth-child(2) { border-top-color: var(--blue-300); }
.pillar-card:nth-child(3) { border-top-color: var(--blue-400); }
.pillar-card:nth-child(4) { border-top-color: var(--blue-500); }
.pillar-card:hover {
  border-color: var(--blue-400);
  border-top-color: var(--blue-400);
  box-shadow: 0 6px 24px rgba(26,82,204,0.12);
  transform: translateY(-3px);
}

/* ── SECTION HEADER CENTER ── */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-5);
}
.section-header h2 { margin-bottom: var(--sp-2); }
.section-header .lead { max-width: 560px; margin: 0 auto; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--grad);
  padding: var(--sp-6) 0;
  text-align: center;
}
.cta-band h2 {
  color: #fff;
  margin-bottom: var(--sp-2);
}
.cta-band p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  margin-bottom: var(--sp-3);
}
.cta-band-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
.footer {
  background: var(--blue-700);
  padding: var(--sp-6) 0 var(--sp-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.footer-brand-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 6px;
}
.footer-tagline {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--blue-300);
  line-height: 1.6;
  margin-bottom: var(--sp-2);
}
.footer-clearance {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26,82,204,0.2);
  border: 1px solid rgba(26,82,204,0.35);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--blue-200);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-col-title {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 12px;
}
.footer-link {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--blue-200);
  display: block;
  margin-bottom: 6px;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--blue-100); }
.footer-bottom {
  border-top: 1px solid var(--blue-600);
  padding-top: var(--sp-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--blue-300);
}
.footer-legal {
  display: flex;
  gap: 16px;
}
.footer-legal a {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--blue-300);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--blue-100); }

/* ── TABS ── */
.tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: var(--sp-5);
  overflow-x: auto;
}
.tab-btn {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-400);
  padding: 10px 18px;
  border-radius: var(--radius) var(--radius) 0 0;
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all var(--transition);
}
.tab-btn:hover { color: var(--blue-500); background: var(--alt-bg); }
.tab-btn.active {
  color: var(--blue-500);
  border-bottom-color: var(--blue-400);
  background: var(--alt-bg);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── MODULE MATRIX ── */
.module-group { margin-bottom: var(--sp-4); }
.module-group-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  display: block;
}
.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.module-tag {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--blue-600);
  transition: all var(--transition);
}
.module-tag:hover {
  background: var(--alt-bg);
  border-color: var(--blue-300);
  color: var(--blue-500);
}

/* ── ENGAGEMENT CARDS ── */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.engagement-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3);
  transition: all var(--transition);
}
.engagement-card:hover {
  border-color: var(--blue-300);
  box-shadow: 0 4px 16px rgba(26,82,204,0.08);
  transform: translateY(-2px);
}
.engagement-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.engagement-client {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-700);
}
.engagement-timeframe {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--blue-300);
  white-space: nowrap;
}
.engagement-outcome {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--blue-500);
  line-height: 1.55;
  margin-bottom: 10px;
}
.engagement-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.eng-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: var(--alt-bg);
  color: var(--blue-400);
  border: 1px solid var(--blue-100);
}

/* ── FILTER BAR ── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--sp-4);
  align-items: center;
}
.filter-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--blue-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 4px;
}
.filter-btn {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--blue-500);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--alt-bg);
  border-color: var(--blue-400);
  color: var(--blue-400);
}

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: var(--sp-4);
}
.timeline-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--grad);
  flex-shrink: 0;
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--blue-400);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}
.timeline-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-700);
  margin-bottom: 4px;
}
.timeline-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--blue-400);
  line-height: 1.5;
}

/* ── CLEARANCE BADGE ── */
.clearance-badge {
  background: var(--alt-bg);
  border: 2px solid var(--blue-400);
  border-radius: var(--radius);
  padding: var(--sp-3);
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
}
.clearance-icon {
  width: 44px;
  height: 44px;
  background: var(--grad);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 20px;
}
.clearance-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-700);
  margin-bottom: 6px;
}
.clearance-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--blue-500);
  line-height: 1.6;
}

/* ── INDUSTRY CARDS ── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.industry-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3);
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}
.industry-card:hover {
  border-color: var(--blue-400);
  box-shadow: 0 4px 20px rgba(26,82,204,0.1);
  transform: translateY(-2px);
}
.industry-icon {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
}
.industry-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-700);
  margin-bottom: 8px;
}
.industry-regs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* ── VENTURE CARDS ── */
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.venture-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3);
  transition: all var(--transition);
}
.venture-card:hover {
  border-color: var(--blue-300);
  box-shadow: 0 4px 16px rgba(26,82,204,0.1);
}
.venture-type {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  color: var(--blue-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.venture-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-700);
  margin-bottom: 8px;
}
.venture-desc {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--blue-500);
  line-height: 1.55;
  margin-bottom: 12px;
}

/* ── PERSPECTIVES ── */
.perspectives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.perspective-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3);
  transition: all var(--transition);
}
.perspective-card:hover {
  border-color: var(--blue-300);
  box-shadow: 0 4px 16px rgba(26,82,204,0.08);
}
.perspective-card.featured {
  border-left: 4px solid var(--blue-400);
}
.perspective-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.perspective-date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--blue-300);
}
.perspective-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-700);
  margin-bottom: 8px;
  line-height: 1.3;
}
.perspective-summary {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--blue-500);
  line-height: 1.6;
  margin-bottom: 14px;
}
.perspective-read {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-400);
  text-decoration: none;
  transition: color var(--transition);
}
.perspective-read:hover { color: var(--blue-500); }

/* ── CONTACT FORM ── */
.contact-form { max-width: 680px; }
.form-group { margin-bottom: var(--sp-3); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}
.form-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-600);
  display: block;
  margin-bottom: 6px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--blue-700);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(26,82,204,0.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { 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 d='M1 1l5 5 5-5' stroke='%231A3A7A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }

.form-checkboxes { display: flex; flex-direction: column; gap: 8px; }
.form-checkbox-item { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-checkbox-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--blue-400); border-radius: 2px; cursor: pointer; flex-shrink: 0; }
.form-checkbox-label { font-family: var(--font-body); font-size: 13px; color: var(--blue-600); cursor: pointer; }

/* ── DIVIDERS & HELPERS ── */
.divider { border: none; border-top: 1px solid var(--border); margin: var(--sp-5) 0; }
.divider-dark { border-top-color: var(--blue-600); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.mt-1 { margin-top: var(--sp-1); }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mb-1 { margin-bottom: var(--sp-1); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }

/* ── SCROLL REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pillars-grid    { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .ventures-grid   { grid-template-columns: repeat(2, 1fr); }
  .engagement-grid { grid-template-columns: repeat(2, 1fr); }
  .perspectives-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .stats-grid      { grid-template-columns: repeat(3, 1fr); }
  .mega-menu       { width: 560px; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links      { display: none; }
  .nav-cta        { display: none; }
  .nav-hamburger  { display: flex; }

  .hero::after    { display: none; }
  .hero           { padding-top: 100px; }

  .pillars-grid    { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .ventures-grid   { grid-template-columns: 1fr 1fr; }
  .engagement-grid { grid-template-columns: 1fr; }
  .perspectives-grid { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; gap: var(--sp-4); }
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }
  .form-row        { grid-template-columns: 1fr; }
  .cta-band-btns   { flex-direction: column; align-items: center; }
  .hero-ctas       { flex-direction: column; }
  .tab-nav         { gap: 2px; }
  .tab-btn         { padding: 8px 12px; font-size: 12px; }
}

@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
  .ventures-grid   { grid-template-columns: 1fr; }
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }
  .container       { padding: 0 var(--sp-2); }
}


/* ââ DROPDOWN HOVER BRIDGE (Phase 11a) ââ */
/* Invisible pseudo-element fills the gap so .nav-item:hover stays true */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: -24px;
  right: -24px;
  height: 14px;
  background: transparent;
}

/* ââ HERO GRADIENT WORD COLORS (Phase 11a) ââ */
.hero-word-lt {
  color: var(--blue-200);
  -webkit-text-fill-color: var(--blue-200);
}
.hero-word-md {
  background: linear-gradient(90deg, var(--blue-400) 0%, var(--blue-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-word-dk {
  color: var(--blue-700);
  -webkit-text-fill-color: var(--blue-700);
}

/* ââ GRADIENT CARD ICON BACKGROUNDS (Phase 11a) ââ */
.card-icon.ci-100 { background: linear-gradient(135deg, var(--blue-100) 0%, var(--blue-200) 100%); }
.card-icon.ci-200 { background: linear-gradient(135deg, var(--blue-200) 0%, var(--blue-300) 100%); }
.card-icon.ci-300 { background: linear-gradient(135deg, var(--blue-300) 0%, var(--blue-400) 100%); }
.card-icon.ci-400 { background: linear-gradient(135deg, var(--blue-400) 0%, var(--blue-500) 100%); }

/* ââ LOGO TICKER v2 (Phase 11a â single row, grayscale) ââ */
.logo-ticker {
  background: var(--card-bg);
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.logo-ticker-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-300);
  text-align: center;
  margin-bottom: 20px;
  display: block;
}
.logo-strip {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.logo-strip-track {
  display: flex;
  align-items: center;
  gap: 52px;
  width: max-content;
  animation: logo-rtl 50s linear infinite;
}
.logo-strip-track:hover { animation-play-state: paused; }
@keyframes logo-rtl {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  flex-shrink: 0;
  opacity: 0.52;
  transition: opacity 0.25s ease;
  padding: 0 6px;
}
.logo-item:hover { opacity: 0.88; }
.logo-item img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%) contrast(0.75) brightness(0.85);
  display: block;
}
.logo-text-tile {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-500);
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-transform: uppercase;
}

/* ââ INDUSTRY CARD ICON WRAP (Phase 11a) ââ */
.industry-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-300) 0%, var(--blue-500) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.industry-icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

