:root {
  --kpi-navy: #071127;
  --kpi-navy-2: #0d1b36;
  --kpi-blue: #173e75;
  --kpi-red: #d71910;
  --kpi-yellow: #e3bd08;
  --kpi-paper: #f3f1eb;
  --kpi-white: #ffffff;
  --kpi-text: #1d2533;
  --kpi-muted: #667085;
  --kpi-line: rgba(7, 17, 39, .12);
  --kpi-shadow: 0 28px 80px rgba(7, 17, 39, .10);
  --font-heading: "IBM Plex Sans", sans-serif;
  --font-body: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--kpi-text);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -.035em;
}

a {
  text-decoration: none;
}

.container-xxl {
  max-width: 1320px;
}

.site-header {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(7,17,39,.08);
  transition: .25s ease;
}

.site-header .navbar {
  min-height: 78px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--kpi-navy);
}

.brand-copy small {
  margin-top: 5px;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--kpi-muted);
}

.nav-link {
  color: var(--kpi-navy) !important;
  font-size: .9rem;
  font-weight: 500;
  padding: .7rem .85rem !important;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .45rem;
  height: 1px;
  background: var(--kpi-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.btn-kpi {
  background: var(--kpi-red);
  border: 1px solid var(--kpi-red);
  color: #fff;
  border-radius: 0;
  font-weight: 600;
  padding: .9rem 1.25rem;
  box-shadow: none;
}

.btn-kpi:hover {
  background: #b9130c;
  border-color: #b9130c;
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-kpi {
  border: 1px solid rgba(7,17,39,.35);
  color: var(--kpi-navy);
  border-radius: 0;
  font-weight: 600;
  padding: .9rem 1.25rem;
}

.btn-outline-kpi:hover {
  background: var(--kpi-navy);
  border-color: var(--kpi-navy);
  color: #fff;
}

.hero-section {
  min-height: 100vh;
  padding-top: 78px;
  position: relative;
  background:
    linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.98) 55%, rgba(243,241,235,.82) 100%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7,17,39,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,17,39,.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  pointer-events: none;
}

.hero-copy {
  padding-top: 2rem;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--kpi-blue);
}

.eyebrow span {
  width: 30px;
  height: 2px;
  background: var(--kpi-red);
}

.hero-copy h1 {
  margin-top: 1.5rem;
  max-width: 850px;
  font-size: clamp(3.6rem, 6.2vw, 7.2rem);
  line-height: .94;
  font-weight: 600;
  color: var(--kpi-navy);
}

.hero-copy h1 span {
  color: var(--kpi-blue);
  position: relative;
}

.hero-copy h1 span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 12%;
  bottom: -.05em;
  height: .08em;
  background: var(--kpi-yellow);
  opacity: .75;
}

.hero-lead {
  max-width: 720px;
  margin-top: 2rem;
  font-size: 1.12rem;
  line-height: 1.8;
  color: #4d5868;
}

.hero-facts {
  max-width: 760px;
  border-top: 1px solid var(--kpi-line);
  border-bottom: 1px solid var(--kpi-line);
}

.fact-cell {
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--kpi-line);
}

.fact-cell:last-child {
  border-right: 0;
}

.fact-value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--kpi-navy);
}

.fact-label {
  margin-top: .35rem;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--kpi-muted);
}

.hero-panel {
  background: var(--kpi-navy);
  color: #fff;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--kpi-shadow);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 380px;
  height: 380px;
  border: 80px solid rgba(227,189,8,.06);
  border-radius: 50%;
}

.hero-panel-top,
.hero-panel-bottom {
  position: relative;
  z-index: 2;
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-panel-top {
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: rgba(255,255,255,.7);
}

.signal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--kpi-yellow);
  box-shadow: 0 0 0 6px rgba(227,189,8,.13);
}

.risk-map {
  flex: 1;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
}

.risk-ring {
  position: absolute;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
}

.ring-a { width: 110px; height: 110px; }
.ring-b { width: 235px; height: 235px; }
.ring-c { width: 360px; height: 360px; border-style: dashed; }

.risk-core {
  width: 126px;
  height: 126px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--kpi-red);
  box-shadow: 0 0 0 10px rgba(215,25,16,.13);
  z-index: 3;
}

.risk-core small {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .62rem;
}

.risk-core strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.1;
}

.risk-node {
  position: absolute;
  z-index: 4;
  min-width: 72px;
  text-align: center;
  padding: .45rem .65rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  font-size: .68rem;
  letter-spacing: .06em;
  backdrop-filter: blur(8px);
}

.node-1 { top: 18%; left: 12%; }
.node-2 { top: 23%; right: 12%; }
.node-3 { bottom: 18%; left: 13%; }
.node-4 { bottom: 24%; right: 10%; }

.hero-panel-bottom {
  align-items: end;
  border-top: 1px solid rgba(255,255,255,.12);
}

.hero-panel-bottom p {
  margin: 0;
  width: 55%;
  font-size: .78rem;
  line-height: 1.5;
  color: rgba(255,255,255,.55);
}

.hero-panel-bottom a {
  color: #fff;
  font-size: .82rem;
}

.intro-strip {
  padding: 5.5rem 0;
  background: var(--kpi-paper);
  border-top: 1px solid rgba(7,17,39,.06);
  border-bottom: 1px solid rgba(7,17,39,.06);
}

.section-space {
  padding: 8rem 0;
}

.section-kicker {
  margin-bottom: 1rem;
}

.section-kicker.light {
  color: var(--kpi-yellow);
}

.section-title {
  max-width: 820px;
  font-size: clamp(2.35rem, 4vw, 4.25rem);
  line-height: 1.05;
  font-weight: 600;
  color: var(--kpi-navy);
}

.section-copy {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--kpi-muted);
}

.text-link {
  display: inline-flex;
  gap: .65rem;
  align-items: center;
  color: var(--kpi-navy);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.text-link span {
  transition: transform .2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.services-section {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--kpi-line);
  border-left: 1px solid var(--kpi-line);
}

.service-card {
  min-height: 305px;
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--kpi-line);
  border-bottom: 1px solid var(--kpi-line);
  background: #fff;
  transition: .25s ease;
  position: relative;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 45%, rgba(23,62,117,.04));
  opacity: 0;
  transition: .25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(7,17,39,.08);
  z-index: 2;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card.featured {
  background: var(--kpi-navy);
  color: #fff;
}

.service-card.featured .service-index,
.service-card.featured p {
  color: rgba(255,255,255,.56);
}

.service-card.featured h3,
.service-card.featured a {
  color: #fff;
}

.service-index {
  font-family: var(--font-heading);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--kpi-muted);
}

.service-card h3 {
  margin-bottom: .85rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--kpi-navy);
}

.service-card p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--kpi-muted);
}

.service-card a {
  color: var(--kpi-navy);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  z-index: 1;
}

.capability-section {
  padding-bottom: 8rem;
}

.capability-shell {
  background: var(--kpi-navy);
  padding: 5rem;
  position: relative;
  overflow: hidden;
}

.capability-shell::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -260px;
  top: -280px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(255,255,255,.025),
    0 0 0 160px rgba(255,255,255,.015);
}

.topic-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  position: relative;
  z-index: 2;
}

.topic-cloud a {
  padding: .9rem 1.1rem;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.78);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: .2s ease;
}

.topic-cloud a.large {
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 700;
}

.topic-cloud a:hover {
  border-color: var(--kpi-yellow);
  color: var(--kpi-yellow);
  transform: translateY(-2px);
}

.training-section {
  background: var(--kpi-paper);
}

.training-list {
  border-top: 1px solid var(--kpi-line);
}

.training-item {
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--kpi-line);
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 1.5rem;
}

.training-meta {
  grid-column: 1 / -1;
  margin-bottom: .7rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--kpi-red);
}

.training-item h3 {
  margin-bottom: .65rem;
  font-size: 1.55rem;
  color: var(--kpi-navy);
}

.training-item p {
  max-width: 560px;
  margin: 0;
  line-height: 1.7;
  color: var(--kpi-muted);
}

.training-item a {
  grid-row: 2 / 4;
  grid-column: 2;
  align-self: center;
  color: var(--kpi-navy);
  font-size: .78rem;
  font-weight: 700;
}

.projects-section {
  background: #fff;
}

.project-card {
  height: 100%;
  border: 1px solid var(--kpi-line);
  background: #fff;
  transition: .25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--kpi-shadow);
}

.project-visual {
  height: 230px;
  display: flex;
  align-items: end;
  padding: 1.3rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.project-visual::before,
.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
}

.project-visual::before {
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 45%),
    repeating-linear-gradient(90deg, transparent 0 48px, rgba(255,255,255,.08) 49px 50px);
}

.project-visual::after {
  width: 180px;
  height: 180px;
  border: 22px solid rgba(255,255,255,.12);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}

.visual-1 { background: linear-gradient(135deg, #173e75, #071127); }
.visual-2 { background: linear-gradient(135deg, #0b4a45, #071127); }
.visual-3 { background: linear-gradient(135deg, #66320e, #071127); }

.project-visual span {
  position: relative;
  z-index: 2;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.project-body {
  padding: 1.7rem;
}

.project-meta {
  margin-bottom: .8rem;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--kpi-red);
}

.project-body h3 {
  font-size: 1.45rem;
  color: var(--kpi-navy);
}

.project-body p {
  margin: .85rem 0 1.2rem;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--kpi-muted);
}

.project-body a {
  color: var(--kpi-navy);
  font-size: .78rem;
  font-weight: 700;
}

.insights-section {
  background: #f8f8f6;
}

.insight-list {
  border-top: 1px solid var(--kpi-line);
}

.insight-row {
  display: grid;
  grid-template-columns: 170px 1fr 90px 40px;
  gap: 1.5rem;
  align-items: center;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--kpi-line);
  transition: .2s ease;
}

.insight-row:hover {
  padding-left: .8rem;
}

.insight-type,
.insight-date {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--kpi-muted);
}

.insight-row h3 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--kpi-navy);
}

.insight-row > a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--kpi-line);
  color: var(--kpi-navy);
}

.contact-section {
  padding: 7rem 0;
  background: #fff;
}

.contact-shell {
  padding: 4rem;
  background:
    linear-gradient(135deg, rgba(23,62,117,.25), transparent 55%),
    var(--kpi-navy);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.contact-shell::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  border: 70px solid rgba(227,189,8,.08);
  border-radius: 50%;
}

.contact-shell h2 {
  max-width: 780px;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 1;
  color: #fff;
  position: relative;
  z-index: 2;
}

.contact-shell .btn {
  border-radius: 0;
  font-weight: 700;
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

.site-footer {
  padding: 4.5rem 0;
  background: #050b18;
  color: rgba(255,255,255,.62);
}

.footer-brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  color: #fff;
  font-family: var(--font-heading);
}

.footer-brand span {
  margin-top: .3rem;
  font-size: .74rem;
}

.site-footer p,
.site-footer small {
  font-size: .75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.footer-links a {
  color: rgba(255,255,255,.72);
  font-size: .8rem;
}

.footer-links a:hover {
  color: var(--kpi-yellow);
}

@media (max-width: 1199.98px) {
  .hero-copy h1 {
    font-size: 4.6rem;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    padding: 1rem 0 1.3rem;
  }
  .hero-section {
    padding-top: 88px;
  }
  .hero-copy h1 {
    font-size: clamp(3rem, 10vw, 5rem);
  }
  .hero-panel {
    min-height: 520px;
  }
  .section-space {
    padding: 6rem 0;
  }
  .capability-shell {
    padding: 3rem;
  }
  .contact-shell {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 767.98px) {
  .brand-copy small {
    display: none;
  }
  .hero-copy h1 {
    font-size: 3.25rem;
  }
  .hero-facts {
    border-bottom: 0;
  }
  .fact-cell {
    border-right: 0;
    border-bottom: 1px solid var(--kpi-line);
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 245px;
  }
  .capability-shell {
    padding: 2.2rem 1.4rem;
  }
  .topic-cloud a {
    padding: .75rem .85rem;
    font-size: .68rem;
  }
  .training-item {
    grid-template-columns: 1fr;
  }
  .training-item a {
    grid-column: 1;
    grid-row: auto;
    margin-top: 1rem;
  }
  .insight-row {
    grid-template-columns: 1fr 42px;
    gap: .65rem 1rem;
  }
  .insight-type,
  .insight-date {
    grid-column: 1;
  }
  .insight-row h3 {
    grid-column: 1;
    font-size: 1.1rem;
  }
  .insight-row > a {
    grid-column: 2;
    grid-row: 1 / span 3;
  }
  .contact-shell {
    padding: 2.4rem 1.5rem;
  }
}
