@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ============================================================
   1. DESIGN TOKENS - Fable5-inspired
   ============================================================ */
:root {
  /* Core palette */
  --navy:        #0B1D3A;
  --deep-blue:   #132B4F;
  --signal:      #2E7CF6;
  --teal:        #00C9A7;
  --steel:       #4A6FA5;
  --midgray:     #8A9BB5;
  --cloud:       #F4F6F9;
  --white:       #FFFFFF;
  --ink:         #333333;
  --hairline:    #dfe5ee;

  /* Text */
  --text-white:     #FFFFFF;
  --text-heading:   #0B1D3A;
  --text-body:      #333333;
  --text-secondary: #4A6FA5;
  --text-muted:     #8A9BB5;

  /* For dark sections */
  --text-on-dark:       #FFFFFF;
  --text-on-dark-muted: #8A9BB5;

  /* Typography */
  --font-display: 'Sora', sans-serif;
  --font-body:    'IBM Plex Sans', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;
  --font-ui:      'DM Sans', sans-serif;

  /* Spacing */
  --max: 1080px;
  --section-v: 92px;

  /* Legacy aliases (referenced in inline template styles) */
  --blue: var(--signal);
  --blue-light: var(--signal);
  --border-light: var(--hairline);
  --border-faint: var(--hairline);
  --gap-sm: 12px;
  --gap-md: 24px;
  --gap-lg: 40px;
  --r-sm: 3px;
  --r-md: 4px;
  --r-lg: 4px;
  --r-xl: 4px;
  --radius-md: 4px;
  --text-primary: var(--text-heading);
  --text-faint: var(--midgray);
  --panel: var(--cloud);
  --ink: #333333;
  --r-sm: 3px;
  --r-md: 4px;
  --r-lg: 4px;
  --r-xl: 4px;

  /* Easing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 0.18s var(--ease);
  --med:  0.32s var(--ease);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--signal); text-decoration: none; transition: color var(--fast); }
a:hover { color: #4a90f8; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
}

*:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   3. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-v) 0;
  position: relative;
}

/* Alternating section backgrounds */
.section--cloud { background: var(--cloud); }
.section--dark {
  background: var(--navy);
  color: var(--text-on-dark);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--text-white); }
.section--dark .section-body,
.section--dark .card-text { color: var(--text-on-dark-muted); }
.section--dark .eyebrow,
.section--dark .section-label { color: var(--teal); }

.section--darker {
  background: var(--deep-blue);
  color: var(--text-on-dark);
}
.section--darker h2,
.section--darker h3 { color: var(--text-white); }

/* ============================================================
   4. LABELS & EYEBROW TEXT
   ============================================================ */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 18px;
}

.section-label {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--steel);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  max-width: 26ch;
}

.section-body {
  font-size: 0.95rem;
  color: var(--text-body);
  max-width: 58ch;
  line-height: 1.65;
}

.rule {
  width: 48px;
  height: 2px;
  background: var(--signal);
  border-radius: 0;
  margin: 18px 0 20px;
}

/* ============================================================
   5. NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 56px;
  display: flex;
  align-items: center;
  background: var(--navy);
  border-bottom: 1px solid rgba(74,111,165,0.45);
  transition: none;
}

.navbar.scrolled {
  background: rgba(8, 22, 44, 0.98);
  border-bottom-color: rgba(74,111,165,0.25);
  box-shadow: 0 1px 8px rgba(0,0,0,0.18);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img { height: 48px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color var(--fast);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--text-white);
  border-bottom-color: var(--signal);
}

.nav-cta {
  font-family: var(--font-ui) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  color: var(--text-white) !important;
  background: var(--signal) !important;
  padding: 8px 20px !important;
  border-radius: var(--r-sm) !important;
  letter-spacing: 0.03em !important;
  text-transform: none !important;
  border-bottom: none !important;
  transition: background var(--fast) !important;
}

.nav-cta:hover {
  background: #4a90f8 !important;
  color: var(--text-white) !important;
  border-bottom: none !important;
  transform: none;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-white);
  border-radius: 1px;
  transition: transform var(--fast), opacity var(--fast);
}

.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links a.active {
  color: var(--text-white);
  border-bottom-color: var(--signal);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color var(--fast);
}

.nav-mobile a:hover { color: var(--signal); }

/* ============================================================
   6. HERO - HOMEPAGE
   ============================================================ */
.hero {
  min-height: calc(100vh - 96px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
  background-image: url('/static/images/hero-main.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .hero {
    min-height: 85vh;
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(11, 29, 58, 0.92) 0%,
    rgba(19, 43, 79, 0.80) 50%,
    rgba(11, 29, 58, 0.70) 100%
  );
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(11, 29, 58, 0.95));
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-content {
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--signal);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  max-width: 17ch;
}

.hero-title em {
  font-style: normal;
  color: var(--signal);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--cloud);
  line-height: 1.65;
  max-width: 56ch;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-on-dark-muted);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  animation: scrollBounce 2.2s ease-in-out infinite;
}

.hero-scroll svg { opacity: 0.4; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   7. PAGE HERO BANNER - inner pages
   ============================================================ */
.page-hero {
  position: relative;
  padding: 130px 0 72px;
  overflow: hidden;
  background-color: var(--navy);
  background-image: url('/static/images/hero-interior.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  text-align: left;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(11, 29, 58, 0.93) 0%,
    rgba(19, 43, 79, 0.78) 60%,
    rgba(11, 29, 58, 0.65) 100%
  );
  z-index: 1;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--white));
  z-index: 2;
}

.page-hero .container {
  position: relative;
  z-index: 3;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 300;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.page-hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--signal);
  flex-shrink: 0;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.01em;
  line-height: 1.14;
  margin-bottom: 16px;
  max-width: 20ch;
}

.page-hero p {
  font-size: 0.95rem;
  color: var(--cloud);
  max-width: 56ch;
  line-height: 1.65;
}

/* Cloud fade for pages that start with cloud section */
.page-hero.fade-to-cloud::after {
  background: linear-gradient(to bottom, transparent, var(--cloud));
}

/* ============================================================
   8. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 14px 26px;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: background var(--fast), color var(--fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--signal);
  color: var(--text-white);
}

.btn-primary:hover {
  background: #4a90f8;
  color: var(--text-white);
}

.btn-outline {
  background: transparent;
  color: var(--text-heading);
  border: 1px solid var(--hairline);
}

.btn-outline:hover {
  border-color: var(--signal);
  color: var(--signal);
}

/* On dark backgrounds */
.section--dark .btn-outline,
.hero .btn-outline,
.page-hero .btn-outline,
.cta-band .btn-outline {
  color: var(--text-white);
  border-color: rgba(74,111,165,0.45);
}
.section--dark .btn-outline:hover,
.hero .btn-outline:hover,
.page-hero .btn-outline:hover,
.cta-band .btn-outline:hover {
  border-color: var(--signal);
  color: var(--signal);
}

.btn-ghost {
  background: transparent;
  color: var(--signal);
  padding-left: 0;
  padding-right: 0;
}

.btn-ghost:hover { color: #4a90f8; }

.btn-ghost .arrow {
  transition: transform var(--fast);
  display: inline-block;
}

.btn-ghost:hover .arrow { transform: translateX(4px); }

.btn-secondary {
  background: var(--cloud);
  color: var(--text-heading);
  border: 1px solid var(--hairline);
}

.btn-secondary:hover {
  background: var(--signal);
  color: var(--text-white);
  border-color: var(--signal);
}

/* ============================================================
   9. CARDS
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: border-color var(--fast);
  position: relative;
}

.card::after { display: none; }

.card:hover {
  border-color: var(--signal);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgba(46,124,246,0.08);
  border: 1px solid rgba(46,124,246,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--signal);
  flex-shrink: 0;
}

.card-icon svg { width: 20px; height: 20px; }

.card-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* Cards on cloud bg */
.section--cloud .card { background: var(--white); }

/* Cards on dark bg */
.section--dark .card {
  background: transparent;
  border-color: rgba(74,111,165,0.45);
}
.section--dark .card:hover { border-color: var(--signal); }
.section--dark .card-title { color: var(--text-white); }
.section--dark .card-text { color: var(--text-on-dark-muted); }
.section--dark .card-icon {
  background: rgba(0,201,167,0.1);
  border-color: rgba(0,201,167,0.2);
  color: var(--teal);
}

/* ============================================================
   10. TRUST / CREDENTIAL BAR
   ============================================================ */
.credential-bar {
  background: var(--navy);
  border-top: 1px solid rgba(74,111,165,0.45);
  border-bottom: none;
  padding: 0;
}

.credential-bar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px;
}

.credential-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  border-right: none;
  flex: none;
  max-width: none;
}

.credential-item:last-child { border-right: none; }

.credential-icon { display: none; }

.credential-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 2px;
  letter-spacing: 0;
}

.credential-text span {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 300;
  color: var(--teal);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ============================================================
   11. CAPABILITY CARDS - homepage grid
   ============================================================ */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: none;
  border: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
  border-radius: 0;
  overflow: hidden;
}

.cap-item {
  background: var(--white);
  padding: 28px 24px;
  transition: background var(--fast);
  position: relative;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.cap-item::before {
  content: '';
  display: block;
  width: 2px;
  height: 16px;
  background: var(--teal);
  margin-bottom: 16px;
}

.cap-item:hover { background: var(--cloud); }

.cap-num {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
}

.cap-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.cap-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
  max-width: 380px;
}

.cap-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  color: var(--midgray);
  transition: color var(--fast);
}

.cap-item:hover .cap-arrow {
  color: var(--signal);
}

/* ============================================================
   12. ACCORDION - capabilities page
   ============================================================ */
.accordion-item {
  border: none;
  border-top: 1px solid var(--hairline);
  border-radius: 0;
  margin-bottom: 0;
  overflow: hidden;
  background: transparent;
  transition: none;
}

.accordion-item:last-child {
  border-bottom: 1px solid var(--hairline);
}

.accordion-item.open { border-color: var(--hairline); }
.accordion-item:hover { border-color: var(--hairline); }

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.01em;
  transition: color var(--fast);
}

.accordion-header:hover { color: var(--signal); }

.capability-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.capability-header .card-icon { margin-bottom: 0; }

.capability-header > div > div:first-child {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-heading);
}

.accordion-chevron {
  width: 18px;
  height: 18px;
  color: var(--midgray);
  transition: transform var(--fast);
  flex-shrink: 0;
}

.accordion-item.open .accordion-chevron { transform: rotate(180deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.accordion-item.open .accordion-body { max-height: 700px; }

.accordion-content {
  padding: 0 0 28px;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ============================================================
   13. BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(74, 111, 165, 0.08);
  color: var(--steel);
  border: 1px solid rgba(74, 111, 165, 0.15);
}

.badge.green {
  background: rgba(46, 124, 246, 0.08);
  color: var(--signal);
  border-color: rgba(46, 124, 246, 0.15);
}

.badge.amber {
  background: rgba(138, 155, 181, 0.1);
  color: var(--steel);
  border-color: rgba(138, 155, 181, 0.2);
}

/* ============================================================
   14a. CONTACT - ENGAGE ROWS (Fable5-inspired)
   ============================================================ */
.engage-list {
  border-top: 1px solid var(--hairline);
}

.engage-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--hairline);
}

.engage-content { flex: 1; }

.engage-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.engage-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 580px;
}

.engage-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--signal);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 4px;
  transition: color 0.2s;
}

.engage-link:hover { color: var(--navy); }

.engage-poc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--hairline);
}

.engage-poc-info {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-heading);
}

.engage-poc-info strong { font-weight: 600; }

.engage-poc-sep {
  color: var(--midgray);
  margin: 0 4px;
}

.engage-poc a {
  font-size: 0.9rem;
  color: var(--signal);
  text-decoration: none;
}

.engage-poc a:hover { text-decoration: underline; }

/* ============================================================
   14b. LEADERSHIP BIOS (Fable5-inspired)
   ============================================================ */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 48px;
  border-top: 1px solid var(--hairline);
}

.leader-bio {
  padding-top: 40px;
}

.leader-role {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--midgray);
  margin-bottom: 12px;
}

.leader-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.leader-rule {
  width: 32px;
  height: 2px;
  background: var(--navy);
  margin-bottom: 24px;
}

.leader-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.leader-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--signal);
  line-height: 1.8;
}

.leader-tags span::after {
  content: '\00B7';
  margin-left: 8px;
  color: var(--midgray);
}

.leader-tags span:last-child::after { content: ''; }

@media (max-width: 768px) {
  .engage-row {
    flex-direction: column;
    gap: 12px;
  }
  .engage-poc {
    flex-direction: column;
    align-items: flex-start;
  }
  .leader-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================================
   14c. NAICS REFERENCE BAR
   ============================================================ */
.naics-bar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 24px;
  background: var(--cloud);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  margin-bottom: 36px;
  font-size: 0.85rem;
  color: var(--text-body);
}

.naics-bar strong { color: var(--text-heading); }

/* ============================================================
   15. CTA BANNER
   ============================================================ */
.cta-band {
  background: var(--navy);
  border: none;
  border-radius: 0;
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before { display: none; }

.cta-band-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  position: relative;
}

.cta-band-sub {
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
  max-width: 56ch;
  margin: 0 auto 36px;
  line-height: 1.65;
  position: relative;
}

.cta-band-actions {
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.cta-box { text-align: center; }
.cta-content { text-align: center; }

.cta-banner {
  background: var(--navy);
  border: none;
  border-radius: 0;
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner .section-title { color: var(--text-white); }
.cta-banner .section-subtitle { color: var(--text-on-dark-muted); max-width: 56ch; margin: 0 auto 36px; }
.cta-banner .hero-actions { justify-content: center; }

/* ============================================================
   16. ABOUT - value cards
   ============================================================ */
.value-card {
  text-align: center;
  padding: 28px 20px;
}

.value-card .card-icon { margin: 0 auto 16px; }

/* ============================================================
   17. TABLES
   ============================================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--teal);
}

.data-table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.92rem;
  color: var(--text-body);
}

.data-table td:first-child {
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--steel);
  width: 130px;
  white-space: nowrap;
  padding-right: 16px;
}

.data-table tr:last-child td { border-bottom: none; }

/* Dark section variant */
.section--dark .data-table { border-top-color: var(--teal); }
.section--dark .data-table td { 
  border-bottom-color: rgba(74,111,165,0.3);
  color: var(--text-white);
}
.section--dark .data-table td:first-child { color: var(--teal); }

/* ============================================================
   18. FORMS
   ============================================================ */
.form-group { margin-bottom: 22px; }

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--steel);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-body);
  transition: border-color var(--fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--signal);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--midgray); }

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A9BB5' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-select option {
  background: var(--white);
  color: var(--text-body);
}

/* Teaming form */
.teaming-form {
  background: var(--cloud);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 40px;
}

/* ============================================================
   19. FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  border-top: 2px solid var(--signal);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--midgray);
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.65;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--teal);
  margin-bottom: 16px;
}

.footer-links { display: flex; flex-direction: column; gap: 0; }

.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: var(--midgray);
  padding: 5px 0;
  transition: color var(--fast);
}

.footer-links a:hover { color: var(--text-white); }

.footer-links span {
  display: block;
  font-size: 0.85rem;
  color: var(--midgray);
  padding: 5px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(74,111,165,0.3);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--midgray);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.78rem;
  color: var(--midgray);
}

.footer-legal a:hover { color: var(--text-white); }

/* ============================================================
   20. SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.active,
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ============================================================
   21. TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--signal);
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--signal);
  border: 2px solid var(--white);
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 0.85rem;
  color: var(--text-body);
}

/* ============================================================
   22. JOB CARDS
   ============================================================ */
.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}

.job-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.job-tag {
  font-size: 0.78rem;
  color: var(--midgray);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============================================================
   23. CONTACT GRID
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* ============================================================
   24. LEADERSHIP - bio cards
   ============================================================ */
.leader-card {
  padding: 0;
  border: none;
  border-radius: 0;
}

.leader-card .rule {
  width: 48px;
  height: 2px;
  background: var(--signal);
  margin: 18px 0 20px;
}

/* ============================================================
   25. SECTION SUBTITLE
   ============================================================ */
.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-body);
  max-width: 58ch;
  line-height: 1.65;
}

/* ============================================================
   26. UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-left   { text-align: left; }

.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.mt-xl { margin-top: 64px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-20 { margin-top: 20px; }

.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 24px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-4 { gap: 4px; }
.gap-5 { gap: 5px; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }

.text-primary    { color: var(--text-heading); }
.text-secondary  { color: var(--text-secondary); }
.text-muted      { color: var(--text-muted); }
.text-faint      { color: var(--midgray); }
.signal-blue     { color: var(--signal); }

/* Divider */
.section-divider {
  width: 48px;
  height: 2px;
  background: var(--signal);
  border-radius: 0;
  margin: 18px 0 20px;
}

/* bg aliases */
.bg-navy { background: var(--navy) !important; }
.bg-cloud { background: var(--cloud) !important; }

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================================
   27. BROADER SERVICES GRID (Fable5-style)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}

.services-grid .service-cell {
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--white);
  padding: 20px 18px;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-heading);
  position: relative;
}

.services-grid .service-cell::before {
  content: '';
  display: block;
  width: 2px;
  height: 16px;
  background: var(--teal);
  margin-bottom: 12px;
}

/* ============================================================
   28. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-v: 64px; }

  .container { padding: 0 24px; }
  .navbar .container { padding: 0 24px; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-inner { padding: 0 24px; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hero-sub { font-size: 0.95rem; }

  .page-hero { padding: 110px 0 56px; }
  .page-hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  .cap-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .credential-bar-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .credential-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(74,111,165,0.2);
  }
  .credential-item:last-child { border-bottom: none; }

  .cta-band { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .contact-grid { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .teaming-form { padding: 24px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .data-table td:first-child { width: auto; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-band-actions { flex-direction: column; align-items: center; }
}

/* ============================================================
   29. CAREERS - value cards
   ============================================================ */
.value-card {
  text-align: center;
  padding: 28px 20px;
}

.value-card .card-icon { margin: 0 auto 16px; }



