:root {
  --ink: #11151a;
  --indigo: #2527c9;
  --navy: #2b3990;
  --grey: #66717c;
  --line: #e4e8ec;
  --card-line: #d5d5d5;
  --lav: #e5e7ff;
  --lav2: #DBDCFA;
  --page: #F7F7F7;
  --cta-blue: #0037a3;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  /* fallback if JS is off - the script takes over below */
  scroll-padding-top: 110px;
  font-size: 18px
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--page);
  margin: 0;
  overflow-x: hidden
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0
}

a {
  text-decoration: none
}

.muted {
  color: var(--grey)
}

.grad {
  color: var(--indigo)
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  /* background: var(--lav); */
  background: #e5e7ff;
  border: .5px solid rgba(37, 39, 201, .29);
  color: #000;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem .9rem;
  border-radius: 26px;
  margin-bottom: 1.1rem
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--indigo);
  display: inline-block;
  box-shadow: 0 0 0 4px #9c99e9;
}

.eyebrow-light {
  background: rgba(229, 231, 255, .7);
  color: #24113f;
  border-color: rgba(37, 39, 201, .29);
  margin-bottom: 1.6rem
}

.eyebrow-light::before {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200, 195, 240, .9)
}

.btn-cygnus {
  /* background: linear-gradient(90deg, var(--indigo), #4A4DE0); */
  background: #2527c9;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: .85rem 2.5rem;
  font-weight: 500;
  font-size: .95rem;
  transition: .2s;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn-outline-cygnus {
  border: 1.5px solid #cfcfd6;
  color: var(--ink);
  border-radius: 8px;
  padding: .8rem 1.6rem;
  font-weight: 600;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: .2s;
}

.btn-outline-cygnus:hover {
  border-color: var(--ink);
}

.btn-pill {
  background: var(--cta-blue);
  color: #fff;
  border-radius: 50px;
  padding: 1rem 2.2rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  box-shadow: 0 20px 25px -5px rgba(0, 55, 163, .25), 0 8px 10px -6px rgba(0, 55, 163, .25);
}

.link-arrow {
  color: var(--indigo);
  font-weight: 600;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem
}

/* NAV - sticky, glass on scroll */
.navwrap {
  padding: 1.2rem 0;
  position: sticky;
  top: -.6rem;
  z-index: 1050;
  --dd-gap: 34px
}

.navwrap.scrolled {
  --dd-gap: 20px
}

.navbar {
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(37, 39, 201, .05);
  border-radius: 20px;
  padding: .5rem 1.2rem;
  box-shadow: 0 12px 30px -18px rgba(30, 20, 80, .25);
  transition: padding .45s var(--ease), background .45s ease, box-shadow .45s ease, border-color .45s ease;
  animation: navDrop .9s var(--ease) both
}

.navwrap.scrolled .navbar {
  padding: .22rem 1.1rem;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  border-color: rgba(37, 39, 201, .1);
  box-shadow: 0 20px 44px -20px rgba(30, 20, 80, .45), inset 0 1px 0 rgba(255, 255, 255, .8)
}

.brand-logo {
  height: 72px;
  width: auto;
  transition: height .45s var(--ease)
}

.navwrap.scrolled .brand-logo {
  height: 50px
}

.footer-logo {
  height: 96px
}

.nav-link {
  position: relative;
  color: var(--ink) !important;
  font-weight: 500;
  font-size: .92rem;
  margin: 0 .55rem;
  transition: color .25s ease
}

.nav-link:hover,
.nav-link.show,
.nav-link.active {
  color: var(--indigo) !important
}

/* animated underline */
.navbar .nav-link::before {
  content: "";
  position: absolute;
  left: .5rem;
  right: .5rem;
  bottom: .15rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--indigo), #8b8df0);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease)
}

.navbar .nav-link:hover::before,
.navbar .nav-link.active::before,
.navbar .dropdown:hover>.nav-link::before {
  transform: scaleX(1);
  transform-origin: left
}

/* chevron replaces bootstrap's triangle, rotates when open */
.navbar .dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: .4em;
  height: .4em;
  margin-left: .5em;
  vertical-align: .14em;
  border: 0;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform .4s var(--ease)
}

.navbar .dropdown:hover>.dropdown-toggle::after,
.navbar .dropdown-toggle.show::after {
  transform: rotate(225deg) translate(-1px, -1px)
}

/* ---- premium dropdown ---- */
.navbar .dropdown-menu,
.navbar .submenu {
  border: 1px solid rgba(37, 39, 201, .09);
  border-radius: 18px;
  padding: .55rem;
  min-width: 330px;
  background: #fff;
  font-size: .9rem;
  box-shadow: 0 2px 4px rgba(20, 16, 70, .04), 0 22px 44px -14px rgba(37, 39, 201, .28), 0 44px 80px -34px rgba(20, 16, 70, .4)
}

.navbar .dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  font-weight: 500;
  color: var(--ink);
  border-radius: 12px;
  padding: .7rem .95rem;
  white-space: normal;
  transition: background .25s ease, color .25s ease, padding .35s var(--ease), box-shadow .25s ease
}

.navbar .dropdown-item::after {
  content: "\2192";
  flex: none;
  color: var(--indigo);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s ease, transform .35s var(--ease)
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: linear-gradient(90deg, rgba(37, 39, 201, .09), rgba(37, 39, 201, .02));
  color: var(--indigo);
  padding-left: 1.25rem;
  box-shadow: inset 3px 0 0 var(--indigo)
}

.navbar .dropdown-item:hover::after,
.navbar .dropdown-item:focus::after {
  opacity: 1;
  transform: none
}

@media (min-width:1200px) {
  .navbar .dropdown {
    position: relative
  }

  .navbar .dropdown-menu {
    display: block;
    position: absolute;
    top: calc(100% + var(--dd-gap));
    left: 50%;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 14px) scale(.96);
    transform-origin: 50% 0;
    transition: opacity .28s ease, transform .4s var(--ease), visibility 0s linear .4s
  }

  /* invisible bridge so hover isn't lost crossing the gap */
  .navbar .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(-1 * var(--dd-gap));
    height: var(--dd-gap)
  }

  /* caret */
  .navbar .dropdown-menu::after {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 13px;
    height: 13px;
    background: #fff;
    border-left: 1px solid rgba(37, 39, 201, .09);
    border-top: 1px solid rgba(37, 39, 201, .09);
    border-top-left-radius: 4px;
    transform: translateX(-50%) rotate(45deg)
  }

  .navbar .dropdown:hover>.dropdown-menu,
  .navbar .dropdown:focus-within>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
    transition: opacity .28s ease, transform .4s var(--ease), visibility 0s
  }

  /* items rise in one after another */
  .navbar .dropdown-menu>li {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .3s ease
  }

  .navbar .dropdown:hover>.dropdown-menu>li,
  .navbar .dropdown:focus-within>.dropdown-menu>li {
    opacity: 1;
    transform: none;
    transition: opacity .4s ease, transform .5s var(--ease)
  }

  .navbar .dropdown:hover>.dropdown-menu>li:nth-child(1) {
    transition-delay: .06s
  }

  .navbar .dropdown:hover>.dropdown-menu>li:nth-child(2) {
    transition-delay: .11s
  }

  .navbar .dropdown:hover>.dropdown-menu>li:nth-child(3) {
    transition-delay: .16s
  }

  .navbar .dropdown:hover>.dropdown-menu>li:nth-child(4) {
    transition-delay: .21s
  }
}

@media (max-width:1199px) {
  .navbar .dropdown-menu {
    border: none;
    box-shadow: none;
    background: #f5f5ff;
    border-radius: 14px
  }

  .navbar-collapse {
    padding: .6rem 0 .4rem
  }
}

/* ---- nested flyout: IBM -> Implementation of BOB ---- */
.navbar .submenu {
  list-style: none;
  margin: 0
}

.navbar .submenu .dropdown-item {
  white-space: nowrap
}

.navbar .has-sub>.dropdown-item::after {
  content: "\203A";
  font-size: 1.4em;
  line-height: 1;
  opacity: .5;
  transform: none
}

.navbar .has-sub:hover>.dropdown-item,
.navbar .has-sub:focus-within>.dropdown-item {
  background: linear-gradient(90deg, rgba(37, 39, 201, .09), rgba(37, 39, 201, .02));
  color: var(--indigo);
  padding-left: 1.25rem;
  box-shadow: inset 3px 0 0 var(--indigo)
}

.navbar .has-sub:hover>.dropdown-item::after,
.navbar .has-sub:focus-within>.dropdown-item::after {
  opacity: 1;
  transform: translateX(3px)
}

@media (min-width:1200px) {
  .navbar .has-sub {
    position: relative
  }

  .navbar .submenu {
    position: absolute;
    top: -.55rem;
    left: calc(100% + 16px);
    min-width: 270px;
    padding: .55rem;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-12px) scale(.96);
    transform-origin: 0 24px;
    transition: opacity .25s ease, transform .4s var(--ease), visibility 0s linear .4s
  }

  /* bridge so hover isn't lost crossing the gap */
  .navbar .submenu::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -18px;
    width: 18px
  }

  /* caret pointing back at the parent item */
  .navbar .submenu::after {
    content: "";
    position: absolute;
    top: 20px;
    left: -7px;
    width: 13px;
    height: 13px;
    background: #fff;
    border-left: 1px solid rgba(37, 39, 201, .09);
    border-bottom: 1px solid rgba(37, 39, 201, .09);
    border-bottom-left-radius: 4px;
    transform: rotate(45deg)
  }

  .navbar .has-sub:hover>.submenu,
  .navbar .has-sub:focus-within>.submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: opacity .25s ease, transform .4s var(--ease), visibility 0s
  }

  /* opens to the left instead when there's no room on the right (set by script) */
  .navbar .has-sub.flip>.submenu {
    left: auto;
    right: calc(100% + 16px);
    transform: translateX(12px) scale(.96);
    transform-origin: 100% 24px
  }

  .navbar .has-sub.flip:hover>.submenu,
  .navbar .has-sub.flip:focus-within>.submenu {
    transform: none
  }

  .navbar .has-sub.flip>.submenu::before {
    left: auto;
    right: -18px
  }

  .navbar .has-sub.flip>.submenu::after {
    left: auto;
    right: -7px;
    border-left: 0;
    border-bottom: 0;
    border-right: 1px solid rgba(37, 39, 201, .09);
    border-top: 1px solid rgba(37, 39, 201, .09);
    border-bottom-left-radius: 0;
    border-top-right-radius: 4px
  }
}

/* phones / tablets: tap the item to expand the sub-list inline */
@media (max-width:1199px) {
  .navbar .submenu {
    position: static;
    display: none;
    min-width: 0;
    border: 0;
    border-left: 1.5px solid rgba(37, 39, 201, .3);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 .3rem 1rem;
    margin: 0 0 0 .9rem
  }

  .navbar .has-sub.sub-open>.submenu {
    display: block
  }

  .navbar .has-sub>.dropdown-item::after {
    transition: transform .3s ease, opacity .3s ease
  }

  .navbar .has-sub.sub-open>.dropdown-item::after {
    transform: rotate(90deg);
    opacity: 1
  }
}

/* scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 2000;
  background: linear-gradient(90deg, var(--indigo), #8b8df0 70%, #c6b3ee);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none
}

/* HERO */
.hero {
  padding: 3.5rem 0 4rem;
  text-align: center;
  position: relative
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 110px 110px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 70%, transparent);
  opacity: .6
}

.hero .container {
  position: relative
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.15;
  max-width: 980px;
  margin: 0 auto;
  font-weight: 600;
  text-transform: capitalize
}

.hero h1 .grad {
  background: linear-gradient(90deg, var(--indigo), #b9b6f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero p {
  color: #3f3f3f;
  max-width: 600px;
  margin: 1.1rem auto 2rem;
  font-size: 1.15rem;
  text-transform: capitalize
}

.stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 2.2rem 0
}

.stats>div {
  padding: 0 2.4rem;
  border-left: 2px solid #bcd8ea;
}

.stats>div:first-child {
  border-left: none
}

.stats .num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--indigo);
  font-family: 'Manrope', sans-serif
}

.stats .lbl {
  color: var(--grey);
  font-size: .95rem
}

.hero-actions {
  display: flex;
  gap: .9rem;
  justify-content: center;
  flex-wrap: wrap
}

.section {
  padding: 4rem 0
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem)
}

.section-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 2px solid #b6b7e9;
  margin-bottom: 2.5rem
}

.section-flex h2 {
  font-size: 55px;
  line-height: 3.2rem;
  font-weight: 400;
}

.section-flex {
  align-items: flex-end
}

.section-flex .lead-copy {
  max-width: 420px;
  padding-top: 0
}

.section-flex .lead-copy p {
  margin-bottom: .9rem
}

.section-flex .lead-copy .link-arrow {
  line-height: 1
}

/* CARDS */
.svc-card {
  border: 1px solid var(--card-line);
  border-radius: 16px;
  padding: 1.8rem;
  height: 100%;
  transition: .25s ease;
  background: #fff;
  display: flex;
  flex-direction: column
}

/* .svc-card.active {
  border-top: 2px solid var(--indigo);
  box-shadow: 0 8px 22px -6px rgba(37, 39, 201, .15);
} */

.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px -22px rgba(37, 39, 201, .3);
  border-top: 2px solid var(--indigo);
}

.svc-card h3 {
  font-size: 1.25rem;
  margin-bottom: .6rem;
  font-weight: 600
}

.svc-card p {
  color: var(--grey);
  font-size: 1rem;
  margin-bottom: 1.4rem;
  flex: 1 0 auto
}

.svc-btn {
  align-self: flex-start;
  margin-top: auto;
  background: var(--indigo);
  color: #fff;
  border-radius: 4px;
  padding: .65rem 1.3rem;
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: none
}

.svc-btn:hover {
  background: linear-gradient(90deg, var(--indigo), rgba(37, 39, 201, .52));
}

/* WHY CYGNUS */
.why-panel {
  background: linear-gradient(120deg, #d7d8f8 0%, #eef0fd 55%, #f8f8fc 100%);
  border-radius: 22px;
  padding: 3rem 2.6rem;
  position: relative;
  overflow: hidden
}

.why-panel h2 {
  font-size: 55px;
  line-height: 3.2rem;
  font-weight: 400;
  padding-bottom: 3rem;
}

.why-grid-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 52%;
  object-fit: cover;
  object-position: top right;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 45%);
  mask-image: linear-gradient(to right, transparent, #000 45%)
}

.why-panel .row {
  position: relative;
  z-index: 1;
  align-items: flex-end
}

.why-row {
  padding: 1.1rem 0
}

.why-row .rn {
  font-family: 'Manrope', sans-serif;
  color: var(--indigo);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .15em;
}

.why-row h4 {
  font-size: 1.25rem;
  margin: .3rem 0 .35rem
}

.why-row p {
  color: var(--grey);
  font-size: 1rem;
  margin: 0
}

.why-divider {
  border-bottom: 1px solid rgba(90, 80, 180, .25);
  margin-top: 1rem
}

.node-col {
  padding-left: 2rem;
}

.node-box {
  position: relative;
  background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .55) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--indigo);
  border-radius: 10px;
  padding: .95rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 0;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 2px 6px rgba(20, 20, 60, .04)
}

.node-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -8px rgba(37, 39, 201, .3)
}

.node-box .nchip {
  background: #f0f3ff;
  color: var(--navy);
  border-radius: 4px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: .78rem;
  flex: none;
}

.node-box .tag {
  color: #0f172a;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: .85rem;
  letter-spacing: .02em;
}

.node-box .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--navy);
  margin-left: auto;
  flex: none;
}

.node-box .dot.green {
  background: #10b981
}

.node-box.active {
  border: 1.7px solid rgba(59, 73, 223, .98);
  background: linear-gradient(90deg, rgba(240, 243, 255, .5) 0%, rgba(255, 255, 255, .75) 100%)
}

.node-box.active .nchip {
  background: var(--navy);
  color: #fff
}

.node-box.active .tag {
  color: var(--navy);
  font-weight: 700
}

.node-box .active-core {
  background: #3b49df;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .03em;
  border-radius: 4px;
  padding: .28rem .6rem;
  margin-left: auto;
  flex: none
}

.node-connector {
  width: 1px;
  height: 22px;
  border-left: 1.5px dashed var(--navy);
  margin: 10px auto;
}

/* AGENTIC dark panel */
.dark-panel {
  position: relative;
  border-radius: 22px;
  color: #fff;
  overflow: hidden;
  isolation: isolate
}

.panel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .5
}

.dark-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 14, 55, .94), rgba(60, 40, 150, .92) 55%, rgba(130, 75, 225, .88));
  z-index: 1
}

.panel-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2.6rem
}

.dark-panel h2 {
  color: #fff
}

.dark-panel p {
  color: #d8d3f5
}

.steps4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #e4e8ec;
  margin-top: 0
}

.step-col {
  padding: 1.6rem 1.4rem 0;
  border-left: 1px solid #b6b7e9;
  border-top: 1.5px solid #e4e8ec;
  margin-top: -1.5px
}

.step-col:first-child {
  border-left: none;
  padding-left: 0
}

.step-col .sd {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo);
  display: inline-block;
  margin-right: .5rem
}

.step-col .snum {
  color: var(--grey);
  font-size: .78rem;
  letter-spacing: .15em;
  font-weight: 500;
  font-family: 'IBM Plex Mono', monospace
}

.step-col h5 {
  font-size: 1.6rem;
  margin: .7rem 0 .5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400
}

.step-col p {
  font-size: 1.05rem;
  color: var(--grey);
  margin: 0 0 1rem
}

.step-col .step-icon {
  width: 100%;
  max-width: 190px;
  height: auto;
  display: block;
  margin-top: 1.4rem
}

/* Photo panel (life sciences / software dev) */
.photo-panel {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 2/1;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  isolation: isolate
}

.photo-panel img.bgphoto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0
}

.photo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 100% at 0% 100%, rgba(15, 8, 35, .8) 0%, rgba(15, 8, 35, .55) 35%, transparent 65%),
    linear-gradient(0deg, rgba(20, 10, 45, .7) 0%, rgba(20, 10, 45, .15) 55%, transparent 78%);
  z-index: 1
}

.photo-panel .pcontent {
  position: relative;
  z-index: 2;
  padding: 2.6rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap
}

.photo-panel .panel-text {
  max-width: 620px
}

.photo-panel .cta-row {
  flex: none
}

.photo-panel .panel-badge-top {
  position: absolute;
  top: 2.4rem;
  left: 2.6rem;
  z-index: 3;
  margin-bottom: 0
}

.photo-panel h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: .9rem
}

.photo-panel .sub {
  color: #ddd8fa;
  opacity: .75
}

.photo-panel p.desc {
  color: #e7e3f7;
  max-width: 560px;
  font-size: 1.05rem
}

.photo-panel .tag-row {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin: 1.1rem 0
}

.photo-panel .tag-pill {
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: .5rem .9rem;
  border-radius: 8px;
  text-align: center
}

.photo-panel .cta-btn {
  background: #fff;
  color: var(--indigo);
  border-radius: 3px;
  padding: .8rem 1.5rem;
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem
}

.photo-panel .cta-row {
  flex: none;
  display: flex
}

/* ===== Software Development panel (matches approved design) ===== */
#software .photo-panel {
  aspect-ratio: 1.9/1;
  min-height: 360px;
  box-shadow: 0 24px 48px -16px rgba(37, 39, 201, .35), 0 8px 20px -8px rgba(37, 39, 201, .18);
}

/* tint overlay: dark plum on the left fading to the bright artwork on the right */
#software .photo-panel::before {
  background:
    linear-gradient(90deg, rgba(56, 34, 90, .74) 0%, rgba(86, 56, 130, .52) 36%, rgba(140, 100, 190, .16) 68%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(0deg, rgba(40, 24, 76, .38) 0%, rgba(40, 24, 76, 0) 45%);
}

#life-sciences .photo-panel::before {
  background:
    linear-gradient(90deg, rgba(56, 34, 90, .74) 0%, rgba(86, 56, 130, .52) 36%, rgba(140, 100, 190, .16) 68%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(0deg, rgba(40, 24, 76, .38) 0%, rgba(40, 24, 76, 0) 45%);
}

#software .photo-panel .pcontent {
  padding: 2.4rem;
  align-items: flex-end;
  flex-wrap: nowrap
}

#software .photo-panel .panel-text {
  max-width: 28rem;
  font-family: 'Manrope', sans-serif
}

#software .photo-panel .panel-badge-top {
  top: 2.2rem;
  left: 2.4rem;
  margin: 0;
  color: #1a1240;
  background: rgba(255, 255, 255, .28);
  border: 1px solid rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

#software .photo-panel .panel-badge-top::before {
  background: #7c7ce8;
  box-shadow: 0 0 0 3px #fff;
}

.diff .panel-badge-top {
  top: 2.2rem;
  left: 2.4rem;
  margin: 0;
  color: #1a1240;
  background: rgba(255, 255, 255, .28);
  border: 1px solid rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.diff .panel-badge-top::before {
  background: #7c7ce8;
  box-shadow: 0 0 0 3px #fff;
}

#software .photo-panel h2 {
  font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 1rem
}

#software .photo-panel .sub {
  color: #c6b3ee;
  opacity: 1
}

#software .photo-panel p.desc {
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: .95rem;
  line-height: 1.55;
  max-width: none;
  margin: 0 0 1.1rem;
}

/* zero bottom margins so the pills' bottom edge == the button's bottom edge */
#software .photo-panel .tag-row {
  margin: 0;
  gap: .75rem;
  flex-wrap: wrap
}

#software .photo-panel .tag-pill {
  width: 7.8rem;
  height: 2.3rem;
  padding: 0 .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: .62rem;
  line-height: 1.2;
  font-weight: 600;
  border-radius: 4px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .32);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

#software .photo-panel .cta-row {
  align-self: flex-end;
  flex: none
}

#software .photo-panel .cta-btn {
  height: 3.1rem;
  padding: 0 1.5rem;
  border-radius: 3px;
  gap: .9rem;
  line-height: 1;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  color: var(--indigo);
  box-shadow: 0 6px 16px -6px rgba(20, 10, 60, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}

#software .photo-panel .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -6px rgba(20, 10, 60, .4)
}

#software .photo-panel .cta-btn .arr {
  font-size: 1.1em;
  transition: transform .2s ease
}

#software .photo-panel .cta-btn:hover .arr {
  transform: translateX(3px)
}

@media (max-width:767px) {
  #software .photo-panel .pcontent {
    flex-wrap: wrap
  }

  #software .photo-panel .cta-row {
    width: 100%;
    margin-top: 1.4rem
  }

  #software .photo-panel .cta-btn {
    width: 100%;
    justify-content: center
  }
}

@media (max-width:576px) {
  #software .photo-panel {
    aspect-ratio: auto;
    min-height: 520px
  }

  #software .photo-panel::before {
    background: linear-gradient(0deg, rgba(40, 24, 76, .85) 0%, rgba(56, 34, 90, .6) 55%, rgba(86, 56, 130, .3) 100%)
  }

  #software .photo-panel .pcontent {
    padding: 1.6rem
  }

  #software .photo-panel .panel-badge-top {
    top: 1.6rem;
    left: 1.6rem
  }

  #software .photo-panel .tag-pill {
    width: auto;
    flex: 1 1 30%
  }
}

/* numbered consulting cols */
.numrow {
  border-top: 1px solid var(--line)
}

.num-col {
  padding: 2rem 1.6rem 0;
  border-left: 1px solid rgba(37, 39, 201, .31);
  display: flex;
  flex-direction: column
}

.num-col:first-child {
  border-left: none;
  padding-left: 0
}

.num-col .n {
  color: var(--indigo);
  font-weight: 700;
  font-size: 2.6rem;
  font-family: 'Manrope', sans-serif
}

.num-col h4 {
  font-size: 1.35rem;
  margin: 1rem 0 .4rem
}

.num-col p {
  color: var(--grey);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.num-col p {
  flex: 1 0 auto
}

/* photos share one height and sit on the same bottom line, whatever the text above wraps to */
.num-photo {
  width: 100%;
  height: 150px;
  margin-top: auto;
  object-fit: cover;
  border-radius: 12px
}

/* partners */
.partner-row {
  /* border-top: 1px solid var(--line); */
  padding-top: 2.2rem
}

.partner-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  border-left: 1px solid rgba(37, 39, 201, .31)
}

.partner-col:first-child {
  border-left: none
}

.partner-logo {
  /* height: 52px; */
  width: 80%;
  margin-bottom: 1.1rem
}

.partner-col .pname {
  color: var(--indigo);
  font-weight: 900;
  font-size: 2.2rem;
  font-family: 'Manrope', sans-serif
}

.partner-col .ptag {
  color: var(--ink);
  opacity: .7;
  font-size: 1.5rem
}

/* case study - light */
.case-img {
  width: 100%;
  border-radius: 18px;
  display: block
}

.case-label {
  color: var(--indigo);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .12em;
  margin-bottom: .4rem
}

.case-block {
  padding: 1.2rem 0;
  border-bottom: 2px solid var(--line)
}

.case-block:last-of-type {
  border-bottom: none
}

.case-block p {
  color: #37363f;
  font-size: 1.05rem;
  margin: 0
}

/* CTA - full-bleed band with perspective floor grid */
.cta-section {
  position: relative;
  overflow: hidden;
  background: #e9ebfb;
  margin-top: 3rem;
  padding: 6rem 0 6.5rem;
  text-align: center;
  isolation: isolate
}

.cta-grid {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 78%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
  z-index: 0;
  /* lines dissolve into the horizon */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 55%)
}

.cta-inner {
  position: relative;
  z-index: 1
}

.cta-section h2 {
  margin-bottom: .8rem;
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: #11172b;
  font-weight: 800;
  letter-spacing: -.02em
}

.cta-section p {
  color: #3d465a;
  font-size: 1.05rem;
  margin-bottom: 2.2rem
}

/* footer */
footer {
  background: #fff;
  padding: 3.5rem 0 1.5rem;
  margin-top: 1rem;
  border-top: 1px solid var(--line)
}

footer h6 {
  color: #0a142f;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 1.1rem
}

footer a {
  color: #0a142f;
  opacity: .5;
  display: block;
  margin-bottom: .65rem;
  font-size: 1rem
}

footer a:hover {
  color: var(--indigo)
}

.fmuted {
  color: #0a142f;
  opacity: .5;
  font-size: .9rem;
  max-width: 260px
}

.fsearch {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .6rem .9rem;
  font-size: .85rem;
  width: 100%;
  max-width: 260px;
  margin: 1rem 0
}

.fsocial a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  margin-right: .5rem;
  color: var(--ink)
}

.fbottom {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: .8rem;
  color: var(--grey)
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .9s var(--ease) var(--rd, 0s), transform 1s var(--ease) var(--rd, 0s)
}

.reveal.in {
  opacity: 1;
  transform: none
}

@media (prefers-reduced-motion:reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }
}

@media (prefers-reduced-motion:reduce) {

  .step-icon animateMotion,
  .step-icon animate {
    display: none
  }
}

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

  .step-col:nth-child(3) {
    border-left: none
  }

  .numrow .num-col:nth-child(2) {
    border-left: none
  }

  .stats>div {
    padding: 0 1.2rem
  }
}

@media (max-width:767px) {
  .node-col {
    padding-left: 0;
    margin-top: 2rem
  }

  .partner-row .row>div {
    border-left: none !important;
    margin-bottom: 2rem
  }

  .steps4 {
    grid-template-columns: 1fr
  }

  .step-col {
    border-left: none;
    padding-left: 0
  }

  .numrow .row>div {
    border-left: none !important;
    padding-left: 0 !important
  }

  .why-grid-bg {
    display: none
  }
}

@media (max-width:576px) {

  .why-panel,
  .panel-content,
  .photo-panel .pcontent {
    padding: 1.6rem
  }

  .stats {
    flex-wrap: wrap;
    gap: 1rem 0
  }

  .stats>div {
    border-left: none;
    padding: 0 1rem
  }

  .photo-panel {
    aspect-ratio: auto;
    min-height: 480px
  }

  .photo-panel .panel-badge-top {
    top: 1.6rem;
    left: 1.6rem
  }
}


/* Life Science Pharma panel - shorter than the default 2:1 photo panel */
#life-sciences .photo-panel {
  aspect-ratio: auto;
  height: 550px;
  /* <-- set any height you want */
  min-height: 0;
}

#life-sciences .photo-panel .pcontent {
  padding: 2rem 2.4rem
}

#life-sciences .photo-panel .panel-text {
  max-width: 700px
}

#life-sciences .photo-panel h2 {
  margin-bottom: .6rem
}

#life-sciences .photo-panel .bgphoto {
  object-position: center 40%
}

@media (max-width:576px) {
  #life-sciences .photo-panel {
    aspect-ratio: auto;
    min-height: 460px
  }
}


/* =====================================================
   PREMIUM MOTION
   ===================================================== */
@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-28px)
  }
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px)
  }
}

@keyframes gridDrift {
  to {
    background-position: 110px 110px
  }
}

@keyframes shimmer {
  to {
    background-position: 100% 0
  }
}

@keyframes orbA {
  to {
    transform: translate(140px, 80px) scale(1.18)
  }
}

@keyframes orbB {
  to {
    transform: translate(-120px, 60px) scale(1.12)
  }
}

@keyframes tick {
  to {
    transform: translateX(-50%)
  }
}

@keyframes kenburns {
  to {
    scale: 1.18
  }
}

@keyframes ring {
  0% {
    transform: scale(.6);
    opacity: .7
  }

  100% {
    transform: scale(2.6);
    opacity: 0
  }
}

@keyframes stepSweep {
  0% {
    transform: scaleX(0);
    opacity: 1
  }

  65% {
    transform: scaleX(1);
    opacity: 1
  }

  100% {
    transform: scaleX(1);
    opacity: 0
  }
}

@keyframes dashFlow {
  to {
    background-position: 0 10px
  }
}

@keyframes nodeIn {
  from {
    opacity: 0;
    transform: translateX(28px)
  }
}

@keyframes nodeGlow {

  0%,
  24%,
  100% {
    box-shadow: 0 2px 6px rgba(20, 20, 60, .04)
  }

  8% {
    box-shadow: 0 0 0 5px rgba(37, 39, 201, .14), 0 14px 30px -8px rgba(37, 39, 201, .5)
  }
}

@keyframes dotTravel {
  0% {
    top: -5px;
    opacity: 0
  }

  4% {
    opacity: 1
  }

  22% {
    top: calc(100% - 5px);
    opacity: 1
  }

  26%,
  100% {
    top: calc(100% - 5px);
    opacity: 0
  }
}

@keyframes ctaSweep {

  0%,
  30% {
    transform: translateX(-100%)
  }

  75%,
  100% {
    transform: translateX(100%)
  }
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 20px 25px -5px rgba(0, 55, 163, .25), 0 0 0 0 rgba(0, 55, 163, .35)
  }

  70%,
  100% {
    box-shadow: 0 20px 25px -5px rgba(0, 55, 163, .25), 0 0 0 18px rgba(0, 55, 163, 0)
  }
}

/* ---- hero ---- */
.hero {
  overflow: hidden
}

.hero::before {
  animation: gridDrift 40s linear infinite
}

.hero .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0
}

.hero .o1 {
  width: 420px;
  height: 420px;
  left: 4%;
  top: 90px;
  background: radial-gradient(circle, rgba(37, 39, 201, .22), transparent 70%);
  animation: orbA 16s ease-in-out infinite alternate
}

.hero .o2 {
  width: 380px;
  height: 380px;
  right: 4%;
  top: 170px;
  background: radial-gradient(circle, rgba(150, 120, 240, .28), transparent 70%);
  animation: orbB 19s ease-in-out infinite alternate
}

.hero-inner>* {
  animation: heroIn 1s var(--ease) backwards
}

.hero-inner> :nth-child(1) {
  animation-delay: .10s
}

.hero-inner> :nth-child(2) {
  animation-delay: .25s
}

.hero-inner> :nth-child(3) {
  animation-delay: .42s
}

.hero-inner> :nth-child(4) {
  animation-delay: .58s
}

.hero-inner> :nth-child(5) {
  animation-delay: .74s
}

.hero h1 .grad {
  background: linear-gradient(90deg, var(--indigo) 0%, #a9a6f5 40%, var(--indigo) 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite alternate
}

/* ---- ticker strip ---- */
.ticker {
  overflow: hidden;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent)
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tick 40s linear infinite
}

.ticker:hover .ticker-track {
  animation-play-state: paused
}

.ticker span {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 0 1.6rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey);
  white-space: nowrap
}

.ticker span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--indigo);
  opacity: .45
}

/* ---- buttons ---- */
.arr {
  display: inline-block;
  transition: transform .35s var(--ease)
}

a:hover .arr {
  transform: translateX(5px)
}

.btn-cygnus,
.btn-pill {
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s ease
}

.btn-cygnus::after,
.btn-pill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-20deg);
  transition: left .8s var(--ease)
}

.btn-cygnus:hover::after,
.btn-pill:hover::after {
  left: 130%
}

.btn-cygnus:hover,
.btn-pill:hover,
.btn-outline-cygnus:hover {
  transform: translateY(-3px)
}

.btn-outline-cygnus {
  transition: transform .3s var(--ease), border-color .2s
}

.btn-pill {
  animation: pulseRing 2.8s ease-out infinite
}

/* ---- section headers: slide in from both sides, divider draws itself ---- */
.section-flex {
  position: relative;
  border-bottom: 0
}

.section-flex.reveal {
  opacity: 1;
  transform: none
}

.section-flex>div {
  opacity: 0;
  transition: opacity .9s var(--ease), transform 1s var(--ease)
}

.section-flex>div:first-child {
  transform: translateX(-46px)
}

.section-flex>.lead-copy {
  transform: translateX(46px);
  transition-delay: .15s
}

.section-flex.in>div {
  opacity: 1;
  transform: none
}

.section-flex::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #b6b7e9, #b6b7e9 60%, rgba(182, 183, 233, .35));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s var(--ease) .25s
}

.section-flex.in::after {
  transform: scaleX(1)
}

/* ---- big panels rise + settle ---- */
.photo-panel.reveal,
.why-panel.reveal,
.steps4.reveal {
  transform: translateY(46px) scale(.97)
}

.photo-panel.reveal.in,
.why-panel.reveal.in,
.steps4.reveal.in {
  transform: none
}

/* ---- service cards: cursor spotlight ---- */
.svc-card {
  position: relative;
  overflow: hidden
}

.svc-card>* {
  position: relative
}

.svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(37, 39, 201, .1), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none
}

.svc-card:hover::before {
  opacity: 1
}

/* ---- why cygnus: rows in, dividers draw, node travels between the 4 boxes ---- */
.why-row {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .8s var(--ease), transform .9s var(--ease)
}

.why-panel.in .why-row {
  opacity: 1;
  transform: none
}

.why-panel.in .why-row:nth-of-type(1) {
  transition-delay: .25s
}

.why-panel.in .why-row:nth-of-type(2) {
  transition-delay: .5s
}

.why-panel.in .why-row:nth-of-type(3) {
  transition-delay: .75s
}

.why-divider {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease) .7s
}

.why-panel.in .why-divider {
  transform: scaleX(1)
}

.why-panel.in .why-row:nth-of-type(2) .why-divider {
  transition-delay: 1s
}

.node-connector {
  position: relative;
  width: 2px;
  height: 34px;
  margin: 4px auto;
  border: 0;
  background: linear-gradient(to bottom, var(--navy) 50%, transparent 50%) 0 0 / 2px 10px repeat-y;
  animation: dashFlow .9s linear infinite
}

.node-connector::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: 0 0 0 4px rgba(37, 39, 201, .16), 0 0 16px 4px rgba(37, 39, 201, .55);
  opacity: 0
}

.why-panel.in .node-connector::after {
  animation: dotTravel 5.2s linear infinite
}

.why-panel.in .node-col> :nth-child(2)::after {
  animation-delay: 1.8s
}

.why-panel.in .node-col> :nth-child(4)::after {
  animation-delay: 3.15s
}

.why-panel.in .node-col> :nth-child(6)::after {
  animation-delay: 4.5s
}

.why-panel.in .node-box {
  animation: nodeIn .9s var(--ease) backwards, nodeGlow 5.2s ease-in-out infinite
}

.why-panel.in .node-col> :nth-child(1) {
  animation-delay: .35s, 1.6s
}

.why-panel.in .node-col> :nth-child(3) {
  animation-delay: .55s, 2.85s
}

.why-panel.in .node-col> :nth-child(5) {
  animation-delay: .75s, 4.2s
}

.why-panel.in .node-col> :nth-child(7) {
  animation-delay: .95s, 5.55s
}

/* ---- agentic steps: light sweeps along the dividers, dots ping ---- */
.step-col {
  position: relative
}

.step-col::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1.5px;
  height: 2px;
  background: linear-gradient(90deg, var(--indigo), #8b8df0);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0
}

.steps4.in .step-col::before {
  animation: stepSweep 1.5s var(--ease) both
}

.steps4.in .step-col:nth-child(2)::before {
  animation-delay: .5s
}

.steps4.in .step-col:nth-child(3)::before {
  animation-delay: 1s
}

.steps4.in .step-col:nth-child(4)::before {
  animation-delay: 1.5s
}

.step-col .sd {
  position: relative
}

.step-col .sd::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--indigo);
  opacity: 0;
  animation: ring 2.6s ease-out infinite
}

.step-col:nth-child(2) .sd::after {
  animation-delay: .4s
}

.step-col:nth-child(3) .sd::after {
  animation-delay: .8s
}

.step-col:nth-child(4) .sd::after {
  animation-delay: 1.2s
}

/* ---- consulting & strategy: same blue sweep as the Agentic steps ---- */
.num-col {
  position: relative
}

.num-col::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--indigo), #8b8df0);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  pointer-events: none
}

.numrow.in .num-col::before {
  animation: stepSweep 1.5s var(--ease) both
}

.numrow.in .num-col:nth-child(2)::before {
  animation-delay: .5s
}

.numrow.in .num-col:nth-child(3)::before {
  animation-delay: 1s
}

/* ---- photo panels: parallax + slow zoom, content staggers in ---- */
.photo-panel .bgphoto {
  transform: translate3d(0, var(--py, 0px), 0);
  scale: 1.08;
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform
}

.photo-panel .panel-badge-top,
.photo-panel .panel-text>*,
.photo-panel .cta-row {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .9s var(--ease)
}

.photo-panel.in .panel-badge-top,
.photo-panel.in .panel-text>*,
.photo-panel.in .cta-row {
  opacity: 1;
  transform: none
}

.photo-panel.in .panel-badge-top {
  transition-delay: .25s
}

.photo-panel.in .panel-text> :nth-child(1) {
  transition-delay: .4s
}

.photo-panel.in .panel-text> :nth-child(2) {
  transition-delay: .55s
}

.photo-panel.in .panel-text> :nth-child(3) {
  transition-delay: .7s
}

.photo-panel.in .cta-row {
  transition-delay: .85s
}

/* shadow under the Life Science box (matches Software) */
#life-sciences .photo-panel {
  box-shadow: 0 24px 48px -16px rgba(37, 39, 201, .35), 0 8px 20px -8px rgba(37, 39, 201, .18)
}

/* ---- consulting photos zoom inside their frame ---- */
.num-photo-wrap {
  margin-top: auto;
  height: 150px;
  border-radius: 12px;
  overflow: hidden
}

.num-col>.num-photo-wrap>.num-photo {
  margin-top: 0;
  height: 100%;
  border-radius: 0;
  display: block;
  transition: transform 1s var(--ease)
}

.num-col:hover .num-photo {
  transform: scale(1.08)
}

/* ---- case study image wipe, partners, footer ---- */
.case-img {
  clip-path: inset(0 100% 0 0 round 18px);
  transition: clip-path 1.4s var(--ease) .15s
}

.reveal.in .case-img {
  clip-path: inset(0 0 0 0 round 18px)
}

.partner-logo {
  transition: transform .5s var(--ease)
}

.partner-col:hover .partner-logo {
  transform: translateY(-5px) scale(1.03)
}

footer .col-6 a {
  transition: opacity .25s ease, transform .3s var(--ease), color .25s
}

footer .col-6 a:hover {
  opacity: 1;
  transform: translateX(5px)
}

/* ---- CTA light sweep ---- */
.cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: ctaSweep 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 0
}

/* ---- respect reduced motion ---- */
@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important
  }

  .reveal,
  .section-flex>div,
  .why-row,
  .photo-panel .panel-badge-top,
  .photo-panel .panel-text>*,
  .photo-panel .cta-row {
    opacity: 1 !important;
    transform: none !important
  }

  .section-flex::after,
  .why-divider {
    transform: none !important
  }

  .case-img {
    clip-path: none !important
  }
}

/* phones: header blocks rise instead of sliding sideways (avoids horizontal scroll) */
@media (max-width:767px) {

  .section-flex>div:first-child,
  .section-flex>.lead-copy {
    transform: translateY(30px)
  }

  .section-flex.in>div {
    transform: none
  }

  .why-row {
    transform: translateY(20px)
  }

  .why-panel.in .why-row {
    transform: none
  }

  @keyframes nodeIn {
    from {
      opacity: 0;
      transform: translateY(20px)
    }
  }
}


/* custom smooth scrolling (script) takes over from the browser's */
html.js-smooth {
  scroll-behavior: auto
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
}

/* ---- menu toggle button (phones / tablets): hamburger morphs into an X ---- */
.navbar-toggler.nt {
  flex: none;
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--lav);
  transition: background .3s ease, box-shadow .3s ease, transform .3s var(--ease)
}

.navbar-toggler.nt:hover {
  background: var(--lav2)
}

.navbar-toggler.nt:active {
  transform: scale(.94)
}

.navbar-toggler.nt:focus {
  box-shadow: 0 0 0 3px rgba(37, 39, 201, .25)
}

.nt-bar {
  position: absolute;
  left: 13px;
  right: 13px;
  top: calc(50% - 1px);
  height: 2px;
  border-radius: 2px;
  background: var(--indigo);
  transition: transform .45s var(--ease), opacity .25s ease, left .35s var(--ease), right .35s var(--ease)
}

.nt-bar:nth-child(1) {
  transform: translateY(-7px)
}

.nt-bar:nth-child(3) {
  transform: translateY(7px);
  left: 19px
}

.navbar-toggler.nt:hover .nt-bar:nth-child(3) {
  left: 13px
}

.navbar-toggler.nt[aria-expanded="true"] {
  background: var(--indigo)
}

.navbar-toggler.nt[aria-expanded="true"] .nt-bar {
  background: #fff;
  left: 13px
}

.navbar-toggler.nt[aria-expanded="true"] .nt-bar:nth-child(1) {
  transform: rotate(45deg)
}

.navbar-toggler.nt[aria-expanded="true"] .nt-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0)
}

.navbar-toggler.nt[aria-expanded="true"] .nt-bar:nth-child(3) {
  transform: rotate(-45deg)
}

@media (max-width:1199px) {
  .navbar-collapse {
    max-height: calc(100vh - 130px);
    overflow-y: auto
  }

  .navbar-collapse .nav-link {
    margin: 0;
    padding: .85rem .3rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--line)
  }

  .navbar .nav-link::before {
    display: none
  }
}


/* Mobile: remove the left border on the "03 Technology Advisory" column (and the other stacked columns) */
@media (max-width: 767px) {

  .numrow .num-col,
  .numrow .num-col:nth-child(2),
  .numrow .num-col:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }
}

/* Mobile: remove left borders in "Consulting & Strategy" (01/02/03) and "Strategic Partners" (Cygeniq / Veeva) */
@media (max-width: 767px) {

  .numrow>.num-col,
  .partner-row>.partner-col {
    border-left: none !important;
    padding-left: 0 !important;
  }

  .partner-row>.partner-col {
    margin-bottom: 2rem;
  }
}



























/* =====================  FOOTER – refined design  ===================== */
footer {
  position: relative;
  margin-top: 3rem;
  padding: 4rem 0 0;
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(37, 39, 201, .06), transparent 60%),
    radial-gradient(50% 100% at 100% 0%, rgba(122, 68, 220, .06), transparent 60%),
    #fff;
  border-top: 0;
}

footer .else {
  padding: 5rem 3rem 0;
}

footer::before {
  /* gradient accent line on top */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #2527c9, #7a44dc, #2527c9);
  background-size: 200% 100%;
  animation: ftLine 10s linear infinite;
}

@keyframes ftLine {
  to {
    background-position: 200% 0
  }
}

/* brand column */
footer .footer-logo {
  height: 84px;
  width: auto
}

footer .fmuted {
  max-width: 300px;
  opacity: .72;
  font-size: .95rem;
  line-height: 1.65;
  color: #3d465a
}

footer .fsearch {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 1.3rem 0 1.2rem;
  padding: .75rem 1rem .75rem 2.6rem;
  font: 500 .9rem Inter, sans-serif;
  color: var(--ink);
  background: #f5f6ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%232527c9' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 3.5 3.5'/%3E%3C/svg%3E") no-repeat 1rem center;
  border: 1.5px solid transparent;
  border-radius: 999px;
  outline: none;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}

footer .fsearch:focus {
  background-color: #fff;
  border-color: var(--indigo);
  box-shadow: 0 10px 24px -12px rgba(37, 39, 201, .5)
}

footer .fsocial {
  display: flex;
  gap: .6rem
}

footer .fsocial a {
  width: 40px;
  height: 40px;
  margin: 0;
  opacity: 1;
  font-size: .85rem;
  font-weight: 700;
  color: var(--indigo);
  background: #fff;
  border: 1px solid rgba(37, 39, 201, .18);
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s;
}

footer .fsocial a i {
  font-style: normal
}

footer .fsocial a:hover {
  transform: translateY(-4px);
  color: #fff;
  background: linear-gradient(135deg, #2527c9, #7a44dc);
  box-shadow: 0 12px 22px -10px rgba(37, 39, 201, .7)
}

/* link columns */
footer h6 {
  position: relative;
  margin-bottom: 1.4rem;
  padding-bottom: .8rem;
  font: 600 .74rem/1 'IBM Plex Mono', monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #11172b;
}

footer h6::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2527c9, #7a44dc);
  transition: width .4s var(--ease)
}

footer .col-6:hover h6::after {
  width: 52px
}

footer .col-6 a {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-bottom: .8rem;
  padding-left: 0;
  font: 500 .94rem/1.45 Inter, sans-serif;
  color: #3d465a;
  opacity: .85;
  transition: color .25s, padding-left .3s var(--ease), opacity .25s;
}

footer .col-6 a::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--indigo);
  transition: width .3s var(--ease);
}

footer .col-6 a:hover {
  color: var(--indigo);
  opacity: 1;
  padding-left: 1.1rem;
  transform: none
}

footer .col-6 a:hover::before {
  width: 12px
}

/* bottom bar */
footer .fbottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .6rem 1.5rem;
  margin-top: 3rem;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid rgba(37, 39, 201, .12);
  font: 400 .84rem Inter, sans-serif;
  color: #5d6577;
}

/* responsive */
@media (max-width: 991px) {
  footer {
    padding-top: 3rem
  }
}

@media (max-width: 575px) {

  footer .fmuted,
  footer .fsearch {
    max-width: none
  }

  footer .col-6 {
    width: 100%
  }

  /* one link column per row on phones */
  footer .col-6 a {
    font-size: .96rem
  }

  footer .fbottom {
    justify-content: center;
    text-align: center;
    margin-top: 2rem
  }
  footer .else{
  padding: 2rem 1rem 0;
}
}

@media (prefers-reduced-motion: reduce) {
  footer::before {
    animation: none
  }
}

/* =====================  NAV / MENU – top spacing + mobile  ===================== */

/* more space above the menu so the pill sits visually centred in the top area */
.navwrap {
  top: 0;
  padding-top: 1.7rem;
  padding-bottom: 1.2rem;
  transition: padding .45s var(--ease);
}

.navwrap.scrolled {
  /* once you scroll: equal, smaller gap above and below */
  padding-top: .9rem;
  padding-bottom: .9rem;
}

.navbar {
  align-items: center
}

/* tablet + phone: opened menu panel */
@media (max-width: 1199px) {
  .navbar .container-fluid {
    flex-wrap: wrap;
    row-gap: 0
  }

  .navbar-collapse {
    max-height: calc(100vh - 130px);
    max-height: calc(100svh - 130px);
    margin-top: .7rem;
    padding: .7rem 0 .4rem;
    border-top: 1px solid rgba(37, 39, 201, .1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .navbar-nav {
    gap: .15rem
  }

  .navbar .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem .6rem;
    border-radius: 12px;
    font-size: 1rem;
  }

  .navbar .nav-link:hover,
  .navbar .nav-link.active,
  .navbar .nav-link.show {
    background: rgba(37, 39, 201, .06)
  }

  .navbar .nav-link::before {
    display: none
  }

  /* hover underline is a desktop effect */
  .navbar .dropdown-menu {
    margin: .2rem 0 .5rem;
    padding: .35rem;
    background: rgba(37, 39, 201, .04);
    border: 0;
    border-radius: 14px;
    box-shadow: none;
  }

  .navbar .dropdown-item {
    padding: .65rem .8rem;
    border-radius: 10px;
    font-size: .94rem;
    line-height: 1.4;
    white-space: normal;
  }

  .navbar .submenu {
    margin: .2rem 0 .2rem .6rem;
    padding-left: .6rem;
    border-left: 2px solid rgba(37, 39, 201, .15)
  }
}

/* phones */
@media (max-width: 575px) {
  .navwrap {
    padding: 1.1rem 10px .8rem
  }

  .navwrap.scrolled {
    padding: .6rem 10px
  }

  .navbar {
    padding: .45rem .85rem;
    border-radius: 16px
  }

  .brand-logo {
    height: 48px;
    max-height: 48px
  }

  .navwrap.scrolled .brand-logo {
    height: 40px;
    max-height: 40px
  }

  .navbar-toggler.nt {
    margin-left: auto
  }

  .navbar-collapse {
    max-height: calc(100svh - 110px)
  }
}

/* very small phones */
@media (max-width: 360px) {
  .brand-logo {
    height: 42px;
    max-height: 42px
  }

  .navbar .nav-link {
    font-size: .95rem
  }
}

/* clickable partner logos */
.partner-link { display: block; text-decoration: none; color: inherit; }
a.partner-link { cursor: pointer; }
