:root {
  --blue: #075dac;
  --blue-dark: #05468a;
  --blue-2: #3e8dd1;
  --cyan: #13abdc;
  --cyan-soft: #8ecae8;
  --ink: #181818;
  --muted: #5a6472;
  --line: #e3e3e3;
  --line-soft: #eef1f4;
  --lightblue: #f0f4f6;
  --offwhite: #f9f9f9;
  --white: #ffffff;
  --navy: #0a2540;
  --navy-2: #0e2e52;
  --navy-3: #123765;
  --blue-soft: #eaf2fb;
  --red: #ef4444;
  --red-soft: #fceeee;
  --cta: #f04438;
  --kp-navy: #0b1220;
  --kp-cyan: #22d3ee;
  --shadow: 0 18px 50px rgba(10, 37, 64, 0.13);
  --shadow-sm: 0 4px 16px rgba(10, 37, 64, 0.07);
  --radius: 16px;
  --maxw: 1440px;
}

:where(.hero, .sec, .cta, .lb-overlay),
:where(.hero, .sec, .cta, .lb-overlay) * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Public Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

:where(.hero, .sec, .cta, .lb-overlay) a {
  color: inherit;
  text-decoration: none;
}

:where(.hero, .sec, .cta, .lb-overlay) img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.sec {
  padding: 54px 0;
}

.sec-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 24px;
  position: relative;
}

.sec-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  border: 0;
  transition:
    transform 0.16s ease,
    filter 0.16s ease,
    background 0.16s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn .arw {
  transition: transform 0.15s;
}

.btn:hover .arw {
  transform: translateX(3px);
}

.btn-blue {
  background: #0057b7;
  color: #fff;
}

.btn-blue:hover {
  background: #00489a;
}

.btn-cta {
  background: var(--cta);
  color: #fff;
}

.btn-cta:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
}

.btn-outline-dark {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

.btn-outline-dark:hover {
  background: var(--ink);
  color: #fff;
}

.link-more {
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
}

.brand .logo {
  height: 36px;
  width: auto;
  display: block;
}

.menu {
  display: flex;
  gap: 30px;
  font-size: 15px;
  font-weight: 500;
  color: #2b3542;
}

.menu a {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.menu a:hover {
  color: var(--blue);
}

.menu a.on {
  color: var(--ink);
  font-weight: 600;
}

.btn-dark {
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 700;
}

.btn-dark:hover {
  background: #000;
}

@media (max-width: 940px) {
  .menu {
    display: none;
  }
}

/* HERO */
.hero {
  background: linear-gradient(100deg, #08213c 0%, #0c2f56 45%, #123765 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 22px 0 46px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 40px;
  align-items: center;
}

.crumb {
  font-size: 12px;
  color: #9fb4cc;
  margin-bottom: 16px;
}

.crumb a {
  color: #9fb4cc;
}

.crumb a:hover {
  color: #fff;
}

.tagchip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #bfe6f5;
  border: 1px solid rgba(142, 202, 232, 0.45);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 16px;
}

.kp-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.kp-mark {
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  border-radius: 18px;
  background: var(--kp-navy);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.kp-mark svg {
  width: 44px;
  height: 44px;
}

.kp-word {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}

.hero h1.sub {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.28;
  color: #fff;
  margin: 6px 0 12px;
  max-width: 520px;
}

.hero p.lede {
  color: #cdddec;
  font-size: 14.5px;
  max-width: 490px;
  margin-bottom: 22px;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 540px;
}

.htag {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  transition: 0.2s;
}

.htag {
  border-color: rgba(255, 255, 255, 0.18);
}

.htag:hover {
  border-color: rgba(255, 255, 255, 0.38);
}

.htag .g {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: block;
}

.hero-dash-wrap {
  position: relative;
  min-height: 440px;
}

.hero-dash-a {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-dash-b {
  position: absolute;
  bottom: 0;
  right: 10%;
  width: 74%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 2;
}

.hero-dash-a img,
.hero-dash-b img {
  width: 100%;
  display: block;
}

@media (max-width: 980px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero-dash-b {
    position: static;
    width: 100%;
    margin-top: -30px;
  }

  .hero-dash-a {
    position: relative;
  }

  .hero-dash-wrap {
    min-height: 0;
  }

  .kp-word {
    font-size: 36px;
  }

  .kp-mark {
    width: 64px;
    height: 64px;
  }
}

.hero-copy,
.hero-dash-wrap {
  min-width: 0;
}

@media (max-width: 600px) {
  .hero-tags {
    grid-template-columns: repeat(2, 1fr);
  }

  .htag {
    padding: 10px 12px;
    font-size: 13.5px;
    gap: 10px;
  }

  .htag .g {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }
}

/* PROJECT AT A GLANCE */
.glance-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.glance-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.glance-grid .g {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.glance-grid .g:last-child {
  border-right: 0;
}

.glance-grid .g:hover {
  background: var(--offwhite);
}

.glance-grid .ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue-soft);
  display: grid;
  place-items: center;
  margin-bottom: 13px;
  color: var(--blue);
}

.glance-grid .ic svg {
  width: 19px;
  height: 19px;
}

.glance-grid .k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

.glance-grid .v {
  font-size: 14px;
  font-weight: 600;
  color: #26303c;
  line-height: 1.4;
}

@media (max-width: 1000px) {
  .glance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .glance-grid .g {
    border-bottom: 1px solid var(--line);
  }

  .glance-grid .g:nth-child(2n) {
    border-right: 0;
  }

  .glance-grid .g:last-child {
    border-bottom: 0;
  }
}

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

  .glance-grid .g {
    border-right: 0;
  }
}

.glance-grid.five {
  grid-template-columns: repeat(5, 1fr);
}

.glance-grid.five .g {
  border-bottom: 1px solid var(--line);
}

.glance-grid.five .g:nth-child(5n) {
  border-right: 0;
}

.glance-grid.five .g:nth-last-child(-n + 5) {
  border-bottom: 0;
}

@media (max-width: 1000px) {
  .glance-grid.five {
    grid-template-columns: repeat(2, 1fr);
  }

  .glance-grid.five .g:nth-child(n) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .glance-grid.five .g:nth-child(2n) {
    border-right: 0;
  }

  .glance-grid.five .g:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .glance-grid.five {
    grid-template-columns: 1fr;
  }

  .glance-grid.five .g:nth-child(n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .glance-grid.five .g:last-child {
    border-bottom: 0;
  }
}

/* CHALLENGE / SOLUTION */
.cs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.cs-col {
  padding: 34px 42px;
}

.cs-col.ch {
  border-right: 1px solid var(--line);
}

.cs-col h3 {
  font-size: 23px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}

.cs-col p {
  font-size: 14.5px;
  color: #3a4652;
  margin-bottom: 22px;
  line-height: 1.55;
}

.cs-col ul {
  list-style: none;
  display: grid;
  gap: 15px;
}

.cs-col li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  color: #26303c;
  line-height: 1.4;
}

.cs-col li .mk {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 1px;
}

.cs-col.ch li .mk {
  background: #fff;
  border: 1.6px solid var(--red);
  color: var(--red);
}

.cs-col.so li .mk {
  background: var(--blue);
  color: #fff;
}

.cs-col li b {
  display: block;
  font-weight: 800;
  margin-bottom: 3px;
}

.cs-col li small {
  display: block;
  font-size: 14px;
  color: #3a4652;
  line-height: 1.5;
}

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

  .cs-col.ch {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* Challenge/Solution: shared row grid so item n on the left lines up with item n on the right */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 821px) {
    .cs {
      grid-template-rows: repeat(6, auto);
      row-gap: 0;
    }

    .cs-col {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: 1 / span 6;
      align-content: start;
    }

    .cs-col ul {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 4;
      gap: 0;
    }

    .cs-col li {
      padding-bottom: 15px;
    }

    .cs-col li:last-child {
      padding-bottom: 0;
    }
  }
}

@media (max-width: 560px) {
  .cs-col {
    padding: 28px 22px;
  }
}

/* HOW IT WORKS */
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  align-items: stretch;
}

.hiw-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.hiw-col {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  position: relative;
}

.hiw-col h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 18px;
  min-height: 34px;
}

.hiw-col ul {
  list-style: none;
  display: grid;
  gap: 14px;
}

.hiw-col li {
  font-size: 13.5px;
  color: #2b3542;
  line-height: 1.4;
}

.hiw-col p {
  font-size: 13.5px;
  color: #2b3542;
  line-height: 1.45;
}

.hiw-col li small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 1px;
}

.hiw-col:not(:last-child):after {
  content: '→';
  position: absolute;
  right: -27px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-weight: 900;
  z-index: 2;
  font-size: 36px;
  line-height: 1;
}

.hiw-col .n {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
  font-size: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
}

.hiw-grid.four .hiw-col h4 {
  min-height: 0;
  margin-bottom: 8px;
  color: var(--ink);
}

@media (max-width: 1000px) {
  .hiw-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hiw-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .hiw-col:after {
    display: none;
  }
}

@media (max-width: 600px) {
  .hiw-grid,
  .hiw-grid.four {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 420px) {
  .hiw-grid.four {
    grid-template-columns: 1fr;
  }
}

.seclayer {
  margin-top: 36px;
  text-align: center;
}

.seclayer .connector {
  position: relative;
  height: 20px;
  margin: 0 7%;
}

.seclayer .connector .line {
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 2px;
  background: var(--line);
}

.seclayer .connector .up {
  position: absolute;
  top: 0;
  color: var(--blue);
  font-size: 11px;
  line-height: 1;
}

.seclayer .connector .up.l {
  left: -2px;
}

.seclayer .connector .up.r {
  right: -2px;
}

.seclayer .lab {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin: 6px 0 10px;
}

.seclayer .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
  font-size: 13px;
  color: #3a4652;
}

.seclayer .pills span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.seclayer .pills span:before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

/* PRODUCT EXPERIENCE */
.pe-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.pe-head .sec-title {
  margin-bottom: 0;
}

.pe-head .link-more {
  font-size: 15px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.pe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}

.pe-item .frame {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--kp-navy);
  cursor: pointer;
}

.pe-item .frame img {
  width: 100%;
  height: auto;
  display: block;
}

.pe-item .cap {
  font-weight: 700;
  font-size: 15px;
  margin-top: 12px;
}

.pe-item .sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

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

/* LIGHTBOX */
.lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 20, 0.94);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.lb-overlay.open {
  display: flex;
}

.lb-stage {
  position: relative;
  max-width: 1040px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lb-img-wrap {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  background: var(--kp-navy);
}

.lb-img-wrap img {
  width: 100%;
  display: block;
}

.lb-cap {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
}

.lb-count {
  color: #8ea0b8;
  font-size: 13px;
  font-weight: 600;
  margin-top: -10px;
}

.lb-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.2s;
}

.lb-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lb-arrow.prev {
  left: -62px;
}

.lb-arrow.next {
  right: -62px;
}

@media (max-width: 1200px) {
  .lb-arrow.prev {
    left: 6px;
  }

  .lb-arrow.next {
    right: 6px;
  }

  .lb-stage {
    gap: 12px;
  }
}

.lb-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 4px;
}

.lb-thumbs img {
  width: 60px;
  height: 38px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.5;
  transition:
    opacity 0.2s,
    border-color 0.2s;
  border: 2px solid transparent;
  flex: 0 0 auto;
}

.lb-thumbs img.active {
  opacity: 1;
  border-color: var(--kp-cyan);
}

/* MEASURABLE RESULTS */
.mr-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.mr .m {
  flex: 0 1 calc(25% - 12px);
  min-width: 0;
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
}

.mr .v {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mr .l {
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
}

.mr .s {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .mr .m {
    flex-basis: calc(50% - 8px);
  }
}

/* CLIENT VALIDATION */
.cv {
  background: var(--blue-soft);
}

.cv .card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  max-width: 960px;
}

.cv .av {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 88px;
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
}

.cv .qm {
  font-family: Georgia, serif;
  font-size: 44px;
  color: var(--blue);
  line-height: 0.5;
  vertical-align: -8px;
  margin-right: 6px;
}

.cv blockquote {
  font-size: 16.5px;
  line-height: 1.55;
  color: #26303c;
  font-weight: 500;
  margin-bottom: 14px;
}

.cv .nm {
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cv .li {
  width: 20px;
  height: 20px;
  background: #0a66c2;
  border-radius: 4px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.cv .ro {
  font-size: 13px;
  color: var(--muted);
}

.cv .carousel {
  position: relative;
  max-width: 1000px;
  margin: 8px auto 0;
}

.cv .viewport {
  overflow: hidden;
}

.cv .track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.cv .slide {
  min-width: 100%;
  padding: 8px 6px;
}

.cv .slide .card {
  max-width: 900px;
  height: 100%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 26px 30px;
}

.cv .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--blue);
  font-size: 20px;
  font-family: inherit;
  z-index: 2;
}

.cv .arrow.prev {
  left: -14px;
}

.cv .arrow.next {
  right: -14px;
}

.cv .arrow:hover {
  background: var(--blue);
  color: #fff;
}

.cv .dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.cv .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c3d4e6;
  border: 0;
  cursor: pointer;
  transition: 0.25s;
  padding: 0;
}

.cv .dot.on {
  background: var(--blue);
  width: 24px;
  border-radius: 999px;
}

@media (max-width: 640px) {
  .cv .card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .cv .card .nm {
    justify-content: center;
  }

  .cv .arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cv .track {
    transition: none;
  }
}

/* TECH */
.tech .row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech .chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14px;
  background: #fff;
}

.tech .chip img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.tech .chip small {
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
}

/* TRUST & SECURITY */
.ts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ts {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
}

.ts .ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue-soft);
  display: grid;
  place-items: center;
  margin-bottom: 13px;
  color: var(--blue);
}

.ts .ic svg {
  width: 19px;
  height: 19px;
}

.ts h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.ts p {
  font-size: 13.5px;
  color: #2b3542;
  line-height: 1.45;
}

@media (max-width: 1000px) {
  .ts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

details.qa {
  border-bottom: 1px solid var(--line);
}

details.qa summary {
  list-style: none;
  cursor: pointer;
  font-size: 14.5px;
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

details.qa summary::-webkit-details-marker {
  display: none;
}

details.qa summary .num {
  color: var(--muted);
  margin-right: 4px;
}

details.qa summary .c {
  color: var(--muted);
  font-size: 16px;
  transition: 0.2s;
}

details.qa[open] summary .c {
  transform: rotate(180deg);
  color: var(--blue);
}

details.qa .a {
  color: var(--muted);
  font-size: 13.5px;
  padding: 0 0 15px;
}

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

/* MORE CASE STUDIES */
.mcs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mcs {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: center;
}

.mcs .thumb {
  height: 118px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}

.mcs .thumb.ai svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mcs.one .thumb {
  background: url('<?php echo $kp_img_uri; ?>/mcs-ecoyield.jpg');
  background-size: cover;
  background-position: center;
}

.mcs h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.mcs p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

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

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

/* CTA */
.cta {
  background: linear-gradient(100deg, #08213c 0%, #0c2f56 45%, #123765 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta:before {
  content: '';
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  width: 560px;
  height: 560px;
  background: radial-gradient(closest-side, rgba(19, 171, 220, 0.28), transparent);
  border-radius: 50%;
}

.cta .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: center;
  padding: 60px 24px;
}

.cta .cta-action {
  justify-self: end;
  position: relative;
}

.cta .cta-action .btn {
  margin-top: 0;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .cta .wrap {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 44px 24px;
  }

  .cta .cta-action {
    justify-self: start;
  }
}

.cta .cta-main .btn {
  margin-top: 18px;
}

.cta h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 14px;
  text-wrap: balance;
}

.cta p {
  color: #cdddec;
  font-size: 15px;
  max-width: 600px;
  text-wrap: pretty;
}

.cta .tags {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.cta .tags span {
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 5px 13px;
  color: #dceaf6;
}

/* FOOTER */
.foot {
  background: #0a2e52;
  color: #c7d4e3;
  font-size: 14px;
}

.foot .wrap {
  padding: 56px 24px 0;
  display: block;
  max-width: 1180px;
}

.foot .brand {
  color: #fff;
}

.foot .cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px 24px;
}

.foot .cols.row2 {
  margin-top: 44px;
}

.foot h5 {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 16px;
}

.foot ul {
  list-style: none;
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 0;
}

.foot a {
  color: #c7d4e3;
}

.foot a:hover {
  color: #fff;
}

.foot .contact div {
  margin-bottom: 11px;
  line-height: 1.4;
}

.foot .social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.foot .social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
}

.foot .social a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.foot .social img {
  width: 16px;
  height: 16px;
}

.foot .bottom {
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #9fb4cc;
}

.foot .dmca {
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

@media (max-width: 1000px) {
  .foot .cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .foot .cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* PREMIUM polish */
.hiw-col,
.ts,
.mcs .thumb,
.pe-item .frame,
.mr .m,
.tech .chip {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.hiw-col:hover,
.ts:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.mr .m:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cfe0f2;
}

.pe-item .frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(10, 37, 64, 0.18);
}

.mcs:hover .thumb {
  transform: scale(1.04);
}

.tech .chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: #cfe0f2;
}

/* MOTION — only hide when JS has activated the observer */
@media (prefers-reduced-motion: no-preference) {
  .js-motion .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.75s ease,
      transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .js-motion .reveal.in {
    opacity: 1;
    transform: none;
  }
}

/* kp-parity-pass: EcoYield hero */
.hero {
  padding: 0;
}

.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #08213c 8%, rgba(8, 33, 60, 0.15) 60%, transparent);
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.28fr;
  gap: 40px;
  align-items: center;
  padding: 34px 24px 44px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 16px;
  color: #fff;
}

.hero p.lede {
  color: #cdddec;
  font-size: 15.5px;
  max-width: 470px;
  margin-bottom: 22px;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.hero-stats > div {
  padding-right: 12px;
}

.hero-stats.six {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 0;
}

.hero-stats .n {
  font-size: 22px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.hero-stats .l {
  font-size: 11px;
  color: #a9bccf;
  line-height: 1.25;
  margin-top: 4px;
}

.hero-dash-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 980px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }
}

/* kp-parity-pass: lightbox single-image mode */
.lb-overlay.single .lb-arrow,
.lb-overlay.single .lb-thumbs,
.lb-overlay.single .lb-count {
  display: none;
}

/* kp-parity-pass: results like EcoYield */
.mr-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.mr .m {
  flex: none;
}

.mr .v {
  font-size: 32px;
}

@media (max-width: 900px) {
  .mr-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* kp-parity-pass: testimonials left-aligned like EcoYield */
.cv .carousel {
  max-width: 960px;
  margin: -8px 0 0;
}

.cv .slide {
  padding: 8px 0;
}

.cv .slide .card {
  max-width: 960px;
  margin: 0;
}

.cv .dots {
  justify-content: flex-start;
  padding-left: 4px;
}
