/* =====================================================================
   BASE: loaded first on every page.
   Colours and fonts, layout helpers, buttons, header + Insights menu, footer, the homepage sections
   and the shared Option-04 look. Built from the former style.css, index2.css and option-04.css (in that
   order, so the cascade is unchanged); each part starts with a "from ..." heading below.
   ===================================================================== */

/* ======================== from style.css ======================== */
/* Modern Informatics homepage. Layout works without JS; main.js adds motion only. */
:root {
  --blue: #2E5EB4;
  --blue-deep: #1F4690;
  --blue-soft: #7EA3E6;
  --red: #EC1E27;
  --ink: #0C1B3A;
  --muted: #54637E;
  --line: #DCE3EF;
  --mist: #F2F5FA;
  --navy: #081A3C;
  --navy-2: #0F2652;
  --navy-line: rgba(160, 190, 240, .2);
  --on-navy: #E9EFFA;
  --on-navy-2: #A9B9D6;
  
  
  
  --gutter: clamp(16px, 3.4vw, 48px);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px; 
  --h1: clamp(2.5rem, 5.4vw, 5.2rem);
  --h2: clamp(1.8rem, 3.2vw, 3rem);
  --h3: clamp(1.25rem, 1.7vw, 1.6rem);
  --pad: clamp(44px, 5.5vw, 76px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased
}

img,
video,
svg {
  display: block;
  max-width: 100%
}

a {
  color: inherit
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0
}

ul,
ol {
  padding: 0;
  list-style: none
}

address {
  font-style: normal
}

button,
input,
select {
  font: inherit;
  color: inherit
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px
}

.on-navy :focus-visible {
  outline-color: #fff
}

.icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  stroke-width: 1.6
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px
}

.skip:focus {
  top: 12px
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap
}

img.failed {
  visibility: hidden
}

.eyebrow {
  
  
  
  
  margin-bottom: 12px
}

.on-navy .eyebrow {
  color: var(--blue-soft)
}

h1 {
  font-size: var(--h1);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 700
}

h2 {
  font-size: var(--h2);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 700;
  text-wrap: balance
}

h3 {
  font-size: var(--h3);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 700
}

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -.01em
}

.lede {
  font-size: clamp(.98rem, 1.15vw, 1.1rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 54ch
}

.on-navy .lede {
  color: var(--on-navy-2)
}

.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .14em;
  margin-bottom: -.14em
}

.wi {
  display: inline-block
}

.section {
  padding: var(--pad) var(--gutter)
}

.wrap {
  
  margin-inline: auto
}

.on-navy {
  background: var(--navy);
  color: var(--on-navy)
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 46px;
  padding: .6em 1.25em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .94rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s
}

.btn .icon {
  transition: transform .25s var(--ease)
}

.btn:hover .icon {
  transform: translateX(3px)
}

.btn-primary {
  background: var(--blue);
  color: #fff
}

.btn-primary:hover {
  background: var(--blue-deep)
}

.btn-glass {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
  backdrop-filter: blur(6px)
}

.btn-glass:hover {
  background: #fff;
  color: var(--ink)
}

/* header */
.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 120;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: 0 50%
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px -22px rgba(12, 27, 58, .45)
}

.site-header.hidden {
  transform: translateY(-130%)
}

.nav-bar {
  position: relative;
  
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px var(--gutter);
  border-radius: 0;
  background: none;
  border: 0;
  box-shadow: none
}

.logo img {
  
  width: auto
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1vw, 16px)
}

.nav-top {
  font-size: .95rem !important
}

.nav-top {
  display: inline-flex;
  align-items: center;
  gap: .25em;
  border: 0;
  background: none;
  padding: 8px 9px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s
}

.nav-top:hover,
.nav-item:hover>.nav-top,
.nav-item.open>.nav-top {
  background: var(--mist);
  color: var(--blue)
}

.nav-top .icon {
  width: 15px;
  height: 15px;
  transition: transform .25s
}

.nav-item:hover .nav-top .icon,
.nav-item.open .nav-top .icon {
  transform: rotate(180deg)
}

.mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr;
  gap: 28px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 30px 60px -30px rgba(12, 27, 58, .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s, transform .22s var(--ease), visibility .22s
}

.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px
}

.nav-item {
  position: relative
}

.mega-sm {
  grid-template-columns: 1fr;
  left: -10px;
  right: auto;
  width: 240px;
  padding: 18px 26px;
  border-radius: 18px
}

.mega-sm .mega-links a {
  padding: 8px 0
}

.nav-mobile-only {
  display: none !important
}

.nav-item:hover .mega,
.nav-item.open .mega,
.nav-item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: none
}

.mega-links small {
  display: block;
  font: 500 .7rem var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px
}

.mega-links a {
  display: block;
  padding: 6px 0;
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none
}

.mega-links a:hover {
  color: var(--blue)
}

.mega-links.two {
  grid-column: span 2;
  columns: 2
}

.nav-cta {
  min-height: 42px;
  font-size: .86rem;
  padding: .4em 1.05em;
  white-space: nowrap
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--mist);
  align-items: center;
  justify-content: center;
  cursor: pointer
}

@media (max-width:1023px) {
  .nav-cta {
    display: none
  }

  .menu-btn {
    display: flex
  }

  .nav-mobile-only {
    display: inline-flex !important
  }

  .nav-bar {
    border-radius: 0
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: 0 20px 40px -20px rgba(12, 27, 58, .4);
    display: none;
    max-height: calc(100svh - 90px);
    overflow: auto
  }

  .nav-links.open {
    display: flex
  }

  .nav-top {
    width: 100%;
    justify-content: space-between;
    padding: 11px 10px;
    font-size: 1rem
  }

  .mega,
  .mega-sm {
    position: static;
    display: none;
    width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 10px 10px;
    grid-template-columns: 1fr
  }

  .nav-item.open .mega {
    display: block
  }

  .mega-links.two {
    columns: 1
  }
}

/* hero: background video */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px var(--gutter) clamp(24px, 4vh, 44px)
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, var(--navy), var(--blue-deep))
}

.bgv {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero-bg .bgv {
  height: 116%;
  top: -8%
}

.hero-copy {
  position: relative;
  
  color: #fff
}

.hero h1 {
  margin-bottom: 16px;
  font-weight: 300;
  letter-spacing: -.02em
}

.hero h1 em {
  font-weight: 600;
  color: #FF1F5A
}

.hero .lede {
  color: #fff
}

.hero .btn-primary {
  background: #FF1F5A;
  color: #fff
}

.hero .btn-primary:hover {
  background: #E0124A
}

.hero .btn-glass {
  background: rgba(8, 26, 60, .35);
  border-color: rgba(255, 255, 255, .85);
  color: #fff
}

.hero .btn-glass:hover {
  background: #fff;
  color: var(--ink)
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px
}

.hero-badges {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  
  margin-top: clamp(20px, 4vh, 36px)
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .5em .9em;
  border-radius: 999px;
  background: rgba(8, 26, 60, .6);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font: 500 .74rem/1.2 var(--mono);
  backdrop-filter: blur(6px)
}

.live {
  position: absolute;
  top: 92px;
  right: var(--gutter);
  display: inline-flex;
  align-items: center;
  gap: .5em;
  color: #fff;
  font: 600 .72rem/1 var(--mono);
  letter-spacing: .14em;
  padding: .55em .85em;
  border-radius: 999px;
  background: rgba(8, 26, 60, .62)
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.8s ease-in-out infinite
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(236, 30, 39, .6)
  }

  60% {
    box-shadow: 0 0 0 7px rgba(236, 30, 39, 0)
  }
}

/* figures strip */
.kpis {
  
  background: #fff
}

.kpi-grid {
  
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center
}

.kpi {
  position: relative;
  padding: 6px clamp(14px, 2.2vw, 32px)
}

.kpi:first-child {
  padding-left: 0
}

.kpi+.kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #C9CFDA;
  transform-origin: 50% 0
}

.kpi-num {
  overflow: hidden;
  padding-bottom: .08em
}

.kpi-in {
  display: inline-block;
  font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: #000;
  font-variant-numeric: tabular-nums
}

.kpi u {
  display: inline-block;
  text-decoration: none;
  color: var(--red)
}

.kpi u.x {
  font-size: .56em;
  margin-inline: .03em;
  font-weight: 600
}

.kpi p {
  color: #55585F;
  font-weight: 500;
  font-size: clamp(.95rem, 1.3vw, 1.2rem);
  line-height: 1.35;
  margin-top: 6px;
  max-width: 26ch
}

/* client logos */
.clients {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 5.5vw, 76px) 0;
  border-top: 1px solid var(--navy-line)
}

.clients-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1100px, 120vw);
  aspect-ratio: 2/1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(46, 94, 180, .42), transparent);
  pointer-events: none
}

.clients-head {
  position: relative;
  text-align: center;
  padding-inline: var(--gutter);
  margin-bottom: clamp(22px, 3vw, 38px)
}

.clients-head .lede {
  width: min(100%, 62ch);
  margin-inline: auto;
  text-align: center;
}

.logo-chip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: clamp(180px, 15vw, 230px);
  height: clamp(96px, 8vw, 120px);
  padding: 14px;
  background: #fff;
  
  border-radius: 14px;
  overflow: hidden;
  
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s
}

.logo-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(126, 163, 230, .7);
  pointer-events: none
}

.logo-chip:hover {
  transform: translateY(-4px);
  
  }

.logo-chip img {
  display: block;
  width: min(100%, 190px);
  height: 72px;
  object-fit: contain
}

.logo-chip img[src$=".svg"] {
  width: 90%
}

.clients .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  text-transform: none;
  letter-spacing: 0;
  font-size: .95rem;
  font-weight: 500;
  color: #fff
}

.clients .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF1F5A
}

.clients-head h2 {
  font-weight: 300;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1.2
}

.clients-head h2 em {
  font-style: normal;
  font-weight: 600;
  color: #fff
}

.logo-name {
  display: none;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-align: center;
  line-height: 1.2
}

.logo-chip img.failed {
  display: none
}

.logo-chip img.failed+.logo-name {
  display: block
}

/* SITC process: pinned, straight progress line, cards rise from the bottom */
.mstory {
  position: relative;
  overflow: hidden
}

.mstory-photo {
  position: absolute;
  
  background: linear-gradient(140deg, var(--navy), var(--blue-deep))
}

.mstory-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.mstory-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 20, 52, .94) 0%, rgba(8, 30, 78, .82) 55%, rgba(12, 44, 110, .55) 100%), linear-gradient(180deg, rgba(6, 20, 52, .2), rgba(6, 20, 52, .7))
}

.mstory .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  text-transform: none;
  letter-spacing: 0;
  font-size: .95rem;
  font-weight: 500;
  color: #fff
}

.mstory .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF1F5A
}

.mstory h2 {
  font-weight: 300;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: #fff
}

.mstory h2 em {
  font-weight: 600;
  color: #FF1F5A
}

.mstory-rail {
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  
  
  }

.mstory-prog {
  position: absolute;
  inset: 0;
  background: #FF1F5A;
  transform-origin: 0 50%
}

.mstory-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 24px)
}

.mstep {
  display: grid;
  justify-items: center;
  gap: clamp(20px, 4vh, 40px);
  align-content: start
}

.mstep-card {
  width: 100%;
  min-height: 100%;
  padding: clamp(18px, 1.9vw, 28px);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .4s, border-color .4s, box-shadow .4s
}

.mstep.is-active .mstep-card {
  background: linear-gradient(160deg, #0D3FB0, #0A2C80);
  border-color: rgba(110, 160, 255, .8);
  box-shadow: 0 20px 50px -20px rgba(20, 80, 220, .7)
}

.mstep-num {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1;
  color: #fff
}

.mstep-card h3 {
  margin: 14px 0 10px;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  font-weight: 600;
  color: #fff
}

.mstep-card p {
  color: #C9D5EC;
  font-size: .9rem;
  line-height: 1.6
}

/* Desktop: all four step cards share the height of the tallest one */
@media (min-width: 1024px) {
  .mstep { grid-template-rows: auto 1fr; align-content: stretch; }
  .mstep-card { height: 100%; }
}

body.motion-desktop .mstory {
  height: 100vh
}

.network .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  text-transform: none;
  letter-spacing: 0;
  font-size: .95rem;
  font-weight: 500;
  color: #fff
}

.network .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF1F5A
}

.network h2 {
  font-weight: 300;
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: #fff
}

.network h2 em {
  font-style: normal;
  font-weight: 700;
  color: #FF1F5A
}

/* case studies: photo uncovers with a camera-scan sweep, text reveals word by word */
.cstudies {
  background: #fff
}

.cs-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 14px clamp(24px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(22px, 3vw, 40px)
}

.cstudies .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  text-transform: none;
  letter-spacing: 0;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted)
}

.cstudies .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF1F5A
}

.cs-head h2 {
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.15
}

.cs-head h2 em {
  font-style: normal;
  font-weight: 600;
  color: #FF1F5A
}

.cs-head .lede {
  max-width: 62ch
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px)
}

.cs-media {
  position: relative;
  aspect-ratio: 3/2;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(140deg, var(--navy-2), var(--blue-deep))
}

.cs-media img {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  transition: transform .9s var(--ease)
}

.cs-card:hover .cs-media img {
  transform: scale(1.06)
}

.cs-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: #FF1F5A;
  box-shadow: 0 0 18px 4px rgba(255, 31, 90, .55);
  opacity: 0;
  pointer-events: none
}

.cs-card h3 {
  margin: clamp(18px, 2vw, 26px) 0 10px;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em
}

.cs-card p {
  color: #3E4656;
  font-size: .97rem;
  line-height: 1.6
}

@media (max-width:1023px) {
  .cs-head {
    grid-template-columns: 1fr
  }

  .cs-grid {
    grid-template-columns: 1fr;
    max-width: 620px
  }
}

/* SITC services: alternating rows */
.services {
  padding: var(--pad) var(--gutter)
}

.services-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(24px, 3.4vw, 44px)
}

.services .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  text-transform: none;
  letter-spacing: 0;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted)
}

.services .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF1F5A
}

.services-head h2 {
  font-weight: 400;
  letter-spacing: -.02em
}

.services-head h2 em {
  color: var(--blue);
  font-weight: 600
}

.services-head .lede {
  justify-self: end;
  max-width: 46ch
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
  padding-block: clamp(24px, 3.4vw, 44px);
  border-top: 1px solid var(--line)
}

.service--flip .service-text {
  order: 2
}

.service-num {
  display: block;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--blue)
}

/* the italic numerals lean past their text box; widen the word mask so the reveal doesn't clip them */
.service-num .w {
  padding-inline: .14em;
  margin-inline: -.14em
}

.service-title {
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -.01em;
  font-weight: 700;
  margin: 14px 0 12px
}

.service-lead {
  color: var(--muted);
  max-width: 52ch
}

.deliverables-title {
  margin: 16px 0 8px;
  font-size: .95rem;
  font-weight: 600
}

.deliverables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 22px;
  margin-top: 20px;
  max-width: 560px
}

.deliverables li {
  position: relative;
  padding: 12px 0 12px 16px;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.4;
  border-bottom: 1px solid var(--line)
}

.deliverables li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.deliverables li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(12px + .5em);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #FF1F5A
}

.link-arrow {
  display: inline-flex;
  gap: .4em;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  min-height: 32px;
  align-items: center
}

.link-arrow {
  transition: gap .25s var(--ease)
}

.link-arrow:hover {
  gap: .7em
}

.service-media {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 585/433;
  max-height: 62vh;
  width: 100%;
  background: linear-gradient(140deg, var(--navy-2), var(--blue-deep))
}

.service-media-inner {
  height: calc(100% + 80px);
  margin-top: -40px
}

.service-media-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* SOC parallax */
.soc {
  position: relative;
  overflow: hidden;
  padding: var(--pad) var(--gutter)
}

.soc-bg {
  position: absolute;
  inset: -16% 0;
  background: var(--navy)
}

.soc-copy .lede {
  margin-top: 14px
}

.caps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  font: 500 .78rem/1.3 var(--mono)
}

.caps li {
  display: flex;
  gap: .5em;
  align-items: center
}

.caps .icon {
  color: var(--blue-soft)
}

.soc-note,
.map-note {
  font: 400 .7rem/1.4 var(--mono);
  color: var(--on-navy-2);
  margin-top: 14px
}

.wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: center
}

.wall-col {
  display: grid;
  gap: 10px;
  will-change: transform
}

.tile {
  position: relative;
  border: 1px solid var(--navy-line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy-2);
  aspect-ratio: 4/3
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.7) contrast(1.08) brightness(.85)
}

/* map */
.network {
  padding: var(--pad) var(--gutter);
  border-top: 1px solid var(--navy-line)
}

.map-note {
  max-width: 340px
}

.map-svg {
  width: 100%;
  height: auto;
  overflow: visible
}

.grid-dots {
  fill: rgba(160, 190, 240, .22)
}

.link {
  fill: none;
  stroke: var(--blue-soft);
  stroke-width: 1.1;
  opacity: .75
}

.mk-dot {
  fill: #fff;
  stroke: var(--blue);
  stroke-width: 2.5
}

.mk-ring {
  fill: none;
  stroke: var(--blue-soft);
  stroke-width: 1.6;
  transform-box: fill-box;
  transform-origin: center
}

.mk {
  cursor: pointer
}

.mk.active .mk-dot {
  fill: var(--red);
  stroke: #fff
}

.mk-name {
  fill: var(--on-navy);
  font: 500 13.5px var(--mono)
}

.mk-tag rect {
  fill: var(--blue)
}

.mk-tag text {
  fill: #fff;
  font: 600 14px var(--mono);
  letter-spacing: .04em
}

.network-live .mk-ring {
  animation: ring 3s ease-out infinite
}

@keyframes ring {
  0% {
    opacity: .8;
    transform: scale(.15)
  }

  80%,
  100% {
    opacity: 0;
    transform: scale(.6)
  }
}

body.motion-desktop .network {
  height: 100vh;
  padding: clamp(70px, 9vh, 86px) var(--gutter) 14px;
  display: flex;
  align-items: center
}

body.motion-desktop .map-svg {
  height: 100%;
  width: auto
}

/* who */
.who {
  background: var(--mist);
  overflow: clip
}

.who-cards {
  display: flex;
  gap: 14px
}

.who-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  height: clamp(380px, 56vh, 500px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: var(--navy);
  transition: flex-grow .6s var(--ease), box-shadow .4s;
  cursor: default
}

.who-card .bg {
  position: absolute;
  inset: -8% 0;
  height: 116%
}

.who-card .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease)
}

.who-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 32, 80, 0) 40%, rgba(10, 32, 80, .75) 70%, rgba(10, 32, 80, .96) 100%)
}

.who .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  text-transform: none;
  letter-spacing: 0;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted)
}

.who .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF1F5A
}

.who-body h3 {
  font-weight: 600;
  line-height: 1.25
}

.who-body {
  position: relative;
  z-index: 1;
  padding: clamp(18px, 2vw, 28px)
}

.who-more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease)
}

.who-more small {
  display: block;
  margin-top: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: #C6D6F3
}

.who-more p {
  margin-top: 4px;
  font-size: .94rem;
  line-height: 1.5;
  color: #DCE5F5
}

.who-card:hover,
.who-card:focus-visible {
  flex-grow: 1.55;
  box-shadow: 0 30px 60px -30px rgba(8, 26, 60, .7)
}

.who-card .bg .bgv {
  transition: transform 1s var(--ease)
}

.who-card:hover .bg img,
.who-card:focus-visible .bg img,
.who-card:hover .bg .bgv,
.who-card:focus-visible .bg .bgv {
  transform: scale(1.06)
}

.who-card:hover .who-more,
.who-card:focus-visible .who-more {
  grid-template-rows: 1fr
}

@media (hover:none),
(max-width:1023px) {
  .who-more {
    grid-template-rows: 1fr
  }

}

/* cases */
.cases {
  padding: var(--pad) var(--gutter)
}

.case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 18px
}

.media-in {
  position: absolute;
  inset: 0;
  overflow: hidden
}

.media-in img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.case-file {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: .84rem;
  line-height: 1.4;
  box-shadow: 0 18px 40px -18px rgba(8, 26, 60, .7);
  max-width: calc(100% - 28px)
}

.case-file b {
  display: block
}

.case-file span {
  font: 400 .72rem/1.5 var(--mono);
  color: var(--muted)
}

.case-type {
  display: inline-flex;
  align-self: flex-start;
  gap: .45em;
  align-items: center;
  font: 600 .74rem/1 var(--mono);
  padding: .5em .8em;
  border-radius: 999px;
  color: var(--red);
  border: 1px solid currentColor
}

.tl {
  position: relative;
  display: grid;
  gap: 9px;
  padding-left: 18px;
  border-left: 2px solid var(--line)
}

.tl-fill {
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--red);
  transform-origin: 50% 0
}

.tl li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  font-size: .92rem;
  line-height: 1.42
}

.tl b {
  font: 600 .74rem/1.7 var(--mono);
  color: var(--blue);
  transform-origin: 0 50%
}

.visual-note {
  font: 400 .68rem/1.4 var(--mono);
  color: var(--muted);
  margin-top: 10px
}

body.motion-desktop .cases {
  height: 100vh;
  padding: clamp(76px, 10vh, 92px) var(--gutter) 20px;
  overflow: hidden
}

body.motion-desktop .case {
  position: absolute;
  inset: 0;
  margin: 0
}

/* industries: hover list with a floating image */
.industries {
  background: var(--mist);
  overflow: clip
}

.ind-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 12px 56px;
  align-items: end;
  margin-bottom: clamp(20px, 3vw, 36px)
}

.hl {
  position: relative
}

.hl-list {
  border-top: 1px solid #C9D3E5
}

.hl-row {
  position: relative;
  display: grid;
  
  gap: 16px;
  align-items: center;
  padding: clamp(11px, 1.5vw, 18px) 8px;
  border-bottom: 1px solid #C9D3E5;
  transition: background .3s, padding .35s var(--ease)
}

.hl-no {
  
  font-size: .9rem;
  color: var(--blue)
}

.hl-name {
  font-size: clamp(1.25rem, 2.2vw, 2.1rem);
  letter-spacing: -.025em;
  transition: color .25s
}

.hl-row p {
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.42;
  max-width: 48ch
}

.hl-thumb {
  display: none
}

.hl-no {
  font-style: italic;
  font-weight: 500
}

.ind-head h2 em {
  color: var(--blue)
}

.hl-float {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: clamp(240px, 23vw, 340px);
  aspect-ratio: 4/3;
  pointer-events: none;
  opacity: 0;
  transform: scale(.8);
  visibility: hidden
}

.hl-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(140deg, var(--navy-2), var(--blue-deep));
  box-shadow: 0 30px 60px -22px rgba(8, 26, 60, .6)
}

.hl-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity .35s, transform .7s var(--ease)
}

.hl-frame img.on {
  opacity: 1;
  transform: none
}

@media (hover:hover) and (min-width:1024px) {
  .hl-row:hover {
    background: #fff;
    padding-left: 18px
  }

  .hl-row:hover .hl-name {
    color: var(--blue)
  }

}

@media (hover:none),
(max-width:1023px) {
  .hl-float {
    display: none
  }

  .hl-row {
    grid-template-columns: 72px minmax(0, 1fr) 30px;
    gap: 4px 12px;
    align-items: start;
    padding-block: 12px
  }

  .hl-thumb {
    display: block;
    grid-column: 1;
    grid-row: 1/4;
    aspect-ratio: 1;
    border-radius: var(--r-sm);
    overflow: hidden;
    background: var(--navy-2)
  }

  .hl-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
  }

  .hl-no {
    grid-column: 2;
    grid-row: 1
  }

  .hl-name {
    grid-column: 2;
    grid-row: 2
  }

  .hl-row p {
    grid-column: 2;
    grid-row: 3;
    font-size: .9rem
  }

  .ind-head {
    grid-template-columns: 1fr
  }
}

/* AI video slider */
.vreel {
  background: #EDF0F4;
  overflow: hidden
}

.vreel .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  text-transform: none;
  letter-spacing: 0;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted)
}

.vreel .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF1F5A
}

.vr-card {
  
  border-top: 3px solid var(--blue)
}

.vr-view {
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory
}

.vr-view::-webkit-scrollbar {
  display: none
}

.vr-rail {
  display: flex;
  gap: clamp(12px, 1.4vw, 26px);
  width: max-content;
  padding-inline: max(var(--gutter), calc((100vw - 1400px)/2))
}

.vr-card {
  position: relative;
  flex: none;
  width: min(74vw, 320px);
  height: min(92vw, 440px);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  scroll-snap-align: center;
  color: #fff;
  display: flex;
  align-items: flex-end
}

.vr-card>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.vr-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 26, 60, .94) 95%);
  pointer-events: none
}

.vr-card h3 {
  position: relative;
  z-index: 1;
  padding: clamp(16px, 1.6vw, 26px);
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  font-weight: 600
}

.vr-bar {
  margin: clamp(10px, 1.8vh, 18px) max(var(--gutter), calc((100vw - 1400px)/2)) 0;
  height: 3px;
  background: #CBD3E0;
  border-radius: 3px;
  overflow: hidden
}

.vr-bar span {
  display: block;
  height: 100%;
  background: var(--blue);
  transform: scaleX(.17);
  transform-origin: 0 50%
}

body.motion-desktop .vreel {
  height: 100vh
}

body.motion-desktop .vr-view {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  scroll-snap-type: none
}

body.motion-desktop .vr-rail {
  height: 100%;
  will-change: transform
}

body.motion-desktop .vr-card {
  height: 100%;
  width: clamp(280px, 22vw, 400px)
}

/* footer */
.footer {
  padding: clamp(36px, 4.5vw, 64px) var(--gutter) 20px;
  font-size: .94rem;
  
  
  overflow: hidden
}

.footer-wrap {
  max-width: 1400px;
  margin: auto
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr .8fr .8fr 1.2fr;
  gap: 28px clamp(20px, 4vw, 64px)
}

.foot-brand img {
  height: 44px;
  width: auto
}

.foot-company {
  margin: 14px 0 8px;
  
  font-weight: 600
}

.foot-brand address {
  line-height: 1.5;
  margin-bottom: 8px
}

.foot-mails {
  display: grid;
  gap: 7px
}

.foot-mails a {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  overflow-wrap: anywhere
}

.foot-social {
  display: flex;
  gap: 8px;
  margin-top: 14px
}

.foot-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  
  }

.footer h2 {
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3
}

.foot-links {
  display: grid;
  gap: 7px
}

.footer a {
  text-decoration: none
}

.foot-mark {
  margin-top: clamp(26px, 3.6vw, 48px);
  
  }

.foot-mark svg {
  width: 100%;
  height: auto;
  font-family: var(--sans)
}

.footer-base {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap
}

.footer-base a {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 600;
  color: var(--ink)
}

/* responsive */
@media (max-width:1023px) {

  .service {
    grid-template-columns: 1fr
  }

  .services-head {
    grid-template-columns: 1fr
  }

  .services-head .lede {
    justify-self: start
  }

  .service--flip .service-text {
    order: 0
  }

  .service-media {
    order: -1
  }

  .mstory-rail {
    left: 27px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto
  }

  .mstory-prog {
    transform-origin: 50% 0
  }

  .mstory-steps {
    grid-template-columns: 1fr
  }

  .mstep {
    grid-template-columns: 56px 1fr;
    justify-items: start;
    gap: 14px
  }

  .kpi-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 20px
  }

  .kpi:nth-child(3) {
    padding-left: 0
  }

  .kpi:nth-child(3)::before {
    display: none
  }

  .who-cards {
    flex-direction: column
  }

  .who-card {
    flex: none;
    height: auto;
    min-height: 330px
  }

  .case {
    grid-template-columns: 1fr
  }

  .footer-top {
    grid-template-columns: 1fr 1fr 1fr
  }

  .foot-brand {
    grid-column: 1/-1
  }

  body.motion-mobile .network {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-block: 70px 14px
  }

  body.motion-mobile .map-note {
    display: none
  }

  body.motion-mobile .map-svg {
    height: 60svh;
    width: auto;
    max-width: 100%
  }

  .mk-name {
    display: none
  }
}

@media (max-width:620px) {

  .wall {
    grid-template-columns: repeat(2, 1fr)
  }

  .wall-col:last-child {
    display: none
  }

  .tl li {
    grid-template-columns: 62px 1fr
  }

  .footer-top {
    grid-template-columns: 1fr 1fr
  }

  .live {
    top: 82px
  }
}

/* short laptop screens, including Windows display scaling at 125% to 150% */
@media (min-width:1024px) and (max-height:680px) {
  :root {
    --h2: clamp(1.5rem, 2.5vw, 2.2rem)
  }

  .lede {
    font-size: .92rem;
    line-height: 1.45
  }

  .eyebrow {
    margin-bottom: 6px;
    font-size: .66rem
  }

  body.motion-desktop .cases {
    padding-top: 60px;
    padding-bottom: 12px
  }

  body.motion-desktop .network {
    padding-top: 56px;
    padding-bottom: 8px
  }

  .mstory-rail {
    top: 20px
  }

  .mstep {
    gap: 10px
  }

  .mstep-card {
    padding: 12px 14px
  }

  .mstep-card h3 {
    font-size: 1.15rem;
    margin: 2px 0 4px
  }

  .mstep-card p {
    font-size: .86rem;
    line-height: 1.38
  }

  .case-type {
    font-size: .68rem
  }

  .tl {
    gap: 4px
  }

  .tl li {
    font-size: .8rem;
    line-height: 1.3;
    grid-template-columns: 62px 1fr;
    gap: 6px
  }

  .tl b {
    font-size: .68rem
  }

  .visual-note {
    margin-top: 4px;
    font-size: .62rem
  }

  .case-file {
    padding: 6px 10px;
    left: 10px;
    bottom: 10px;
    font-size: .76rem
  }

  .map-note {
    margin-top: 6px
  }
}

@media (prefers-reduced-motion:reduce) {
  .dot,
  .network-live .mk-ring {
    animation: none
  }

  * {
    transition-duration: .01ms !important
  }
}

/* the whole map always fits on screen on desktop and laptop */
@media (min-width:1024px) {
  .network {
    min-height: 0
  }

  .map-svg,
  body.motion-desktop .map-svg {
    height: 100%;
    width: auto;
    max-width: 100%
  }

  body.motion-desktop .network {
    padding: 48px var(--gutter) 8px
  }

  .network .mk-name {
    font-size: 15px
  }
}

/* footer: dark navy to match the page's dark sections, pink-red accents */
.footer {
  background: var(--navy);
  color: var(--on-navy-2);
  border-top: 1px solid var(--navy-line)
}

.foot-brand img {
  filter: brightness(0) invert(1)
}

.foot-company,
.footer h2,
.footer-base a {
  color: #fff
}

.foot-mails .icon {
  color: #FF1F5A
}

.foot-links a:hover,
.foot-mails a:hover,
.footer-base a:hover {
  color: #FF1F5A
}

.foot-social a {
  background: #fff;
  border-color: #fff;
  color: var(--blue)
}

.foot-social a:hover {
  background: #FF1F5A;
  border-color: #FF1F5A;
  color: #fff
}

.foot-mark {
  color: var(--blue-soft);
  opacity: .08
}

.footer-base {
  border-top-color: var(--navy-line)
}

.footer :focus-visible {
  outline-color: #fff
}

/* floating Great Place to Work certification badge */
.gptw-badge {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  width: 80px;
}

.gptw-badge img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width:640px) {
  .gptw-badge {
    right: 10px;
    bottom: 10px;
    width: 48px;
  }
}

.foot-company {
  font-size: 37px;
  line-height: 1.25;
  letter-spacing: -.015em;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .45), 0 0 22px rgba(255, 31, 90, .28)
}
/* pink-red accent line under the footer company name */
.foot-company::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 12px;
  border-radius: 3px;
  background: #FF1F5A;
  box-shadow: 0 0 12px rgba(255, 31, 90, .55)
}

/* ---------- India map section (#network) ---------- */
.imap { --bg: #031A45; --bg-2: #0B2C70; --dot: #4C8DF0; --line: #7AAAF7; --red: #FF1F5A; --ink: #FFFFFF; --muted: #A9BCE2; color: var(--ink); }

/* ---------- section ---------- */
.imap { position: relative; height: 230vh; background: var(--bg); }
.imap__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center;
  gap: clamp(24px, 4vw, 72px); padding: clamp(20px, 4vh, 48px) max(20px, 5vw);
  background: radial-gradient(60% 70% at 68% 52%, rgba(46, 104, 214, .32), transparent 70%), var(--bg); }

.imap__bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.2s ease .2s; }
.imap.is-in .imap__bg { opacity: 1; }
.imap__copy, .imap__map { position: relative; z-index: 1; }
.imap__stick { touch-action: pan-y; }
.imap__copy { max-width: 470px; }
.imap__bar { width: 120px; height: 2px; background: rgba(255, 255, 255, .14); border-radius: 2px; overflow: hidden; }
.imap__bar i { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- map ---------- */
.imap__map { position: relative; justify-self: center; touch-action: pan-y; }
.imap__svg { display: block; width: 100%; height: auto; overflow: visible; }

.imap__dots circle { fill: var(--dot); fill-opacity: .62; transition: fill .45s ease; }
.imap__dots circle.is-red { fill: var(--red); fill-opacity: 1; }

/* city pins: outer g = position (attribute), .pa = appear blink, .ps = proximity scale */
.imap__pin { cursor: pointer; }
.imap__pin .pa { opacity: 0; transform-box: fill-box; transform-origin: center; }
.imap__pin.is-on .pa { animation: imapBlinkIn .75s ease-out both; }
.imap__pin .ps { transform-box: fill-box; transform-origin: center; }
.imap__pin .core { fill: var(--red); stroke: #fff; stroke-width: 2.2; }
.imap__pin .ring { fill: none; stroke: var(--red); stroke-width: 1.6; opacity: 0; transform-box: fill-box; transform-origin: center; }
.imap__pin.is-on .ring { animation: imapPing var(--dur, 2.6s) ease-out var(--del, 0s) infinite; }
.imap__pin.is-ping .ring { animation: imapPing 1.1s ease-out 0s 2; }
@keyframes imapBlinkIn {
  0% { opacity: 0; transform: scale(.2); } 18% { opacity: 1; transform: scale(1.35); } 32% { opacity: .15; }
  48% { opacity: 1; transform: scale(1); } 62% { opacity: .35; } 100% { opacity: 1; transform: scale(1); }
}
@keyframes imapPing { 0% { opacity: .85; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }

/* tiny city labels (HTML overlay, positioned over the pin) */
.imap__labels { position: absolute; inset: 0; pointer-events: none; }
.imap__lbl { position: absolute; left: 0; top: 0; display: flex; align-items: baseline; gap: 6px; white-space: nowrap;
  padding: 5px 9px 5px 8px; border-radius: 8px; background: rgba(255, 255, 255, .96); color: #0A1A45;
  box-shadow: 0 8px 24px rgba(0, 8, 30, .4); font-size: 11px; line-height: 1;
  opacity: 0; transform: translate(-50%, calc(-100% - 10px)) scale(.6); transform-origin: 50% 100%; filter: blur(3px);
  transition: opacity .28s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1), filter .3s ease; }
.imap__lbl::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 1px; }
.imap__lbl b { font-weight: 800; letter-spacing: -.01em; }
.imap__lbl span { font: 600 10px/1 var(--sans); color: var(--red); }
.imap__lbl.is-below { transform: translate(-50%, 18px) scale(.6); transform-origin: 50% 0; }
.imap__lbl.is-below::after { bottom: auto; top: -4px; }
.imap__lbl.is-show { opacity: 1; filter: blur(0); transform: translate(-50%, calc(-100% - 16px)) scale(1); }
.imap__lbl.is-below.is-show { transform: translate(-50%, 20px) scale(1); }

/* ---------- small screens: copy on top, map below ---------- */
@media (max-width: 860px) {
  .imap { height: 210vh; }
  .imap__stick { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-content: start; gap: 8px; }
  .imap__copy { max-width: none; }
  .imap h2 { font-size: clamp(1.8rem, 7vw, 2.6rem); margin-top: 12px; }
  .imap__map { align-self: center; }
  .imap__lbl { font-size: 10px; padding: 4px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .imap__dots circle { transition: none; }
  .imap__pin.is-on .pa { animation: none; opacity: 1; }
  .imap__pin.is-on .ring { animation: none; }
  .imap__lbl { transition: opacity .2s ease; }
}

/* fit the page: room for the fixed header, page heading style (same as before the map change) */
.imap__stick { padding-top: calc(var(--header-h, 76px) + clamp(12px, 3vh, 32px)); }
.imap__map { width: min(100%, calc((100svh - var(--header-h, 76px) - 60px) * .88), 700px); }
.imap .eyebrow { display: inline-flex; align-items: center; gap: .6em; text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 500; color: #fff; }
.imap .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #FF1F5A; }
.imap h2 { margin: 14px 0 0; font-weight: 300; font-size: clamp(2.2rem, 3.8vw, 3.6rem); line-height: 1.12; letter-spacing: -.02em; color: #fff; }
.imap h2 em { font-family: var(--sans); font-style: normal; font-weight: 700; letter-spacing: -.02em; color: #FF1F5A; }
.imap .lede { margin-top: clamp(16px, 2.4vh, 28px); color: #C9D5EC; max-width: 52ch; }
@media (max-width: 860px) {
  .imap__stick { padding-top: calc(var(--header-h, 68px) + 16px); }
  .imap__map { width: min(100%, calc((100svh - var(--header-h, 68px) - 280px) * .88)); }
  .imap .lede { display: none; }
}

/* industries: larger arrow buttons */
.hl-row { grid-template-columns: 52px minmax(0, 1.05fr) minmax(0, 1.3fr); }
@media (max-width: 1023px) {
  .hl-row { grid-template-columns: 72px minmax(0, 1fr); }
}

/* industries: lighter names */
.hl-name { font-weight: 500; }

/* =====================================================================
   Shared type scale: every section uses the same four levels.
   Scoped to #main so it wins over the per-section rules above.
   The banner (h1) keeps its own larger size.
   ===================================================================== */
/* 1. small heading (label above the section title) */
#main .eyebrow { display: inline-flex; align-items: center; gap: .6em; margin: 0 0 12px; font: 500 .95rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
#main .eyebrow::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #FF1F5A; }
/* 2. large heading (section title) */
#main h2 { font-family: var(--sans); font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 300; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
#main h2 em { font-family: var(--sans); font-style: normal; font-weight: 600; letter-spacing: -.02em; color: #FF1F5A; }
/* 3. heading (card and item titles) */
#main h3:not(.hl-name) { font-family: var(--sans); font-size: clamp(1.2rem, 1.6vw, 1.5rem); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
/* 4. description (section intro and card text) */
#main .lede, #main .service-lead, #main .mstep-card p, #main .who-more p, #main .cs-card p, #main .hl-row p, #main .deliverables li { font-size: .9rem; line-height: 1.6; color: var(--muted); }
#main .lede { max-width: 56ch; }

/* dark sections: same sizes, light colours */
#main .on-navy .eyebrow, #main .imap .eyebrow { color: #fff; }
#main .on-navy h2, #main .imap h2 { color: #fff; }
#main .on-navy .lede, #main .imap .lede, #main .mstep-card p { color: #C9D5EC; }
#main .who-card h3, #main .vr-card h3, #main .mstep-card h3 { color: #fff; }
#main .who-more p { color: #DCE5F5; }

/* footer: space between logo and address (company name removed) */
.foot-brand > a + address { margin-top: 18px; }
#main .deliverables li { color: var(--ink); }

/* case studies: "View more" link with arrow */
.cs-card { display: flex; flex-direction: column; }
.cs-more { display: inline-flex; align-items: center; gap: .5em; align-self: flex-start; margin-top: auto; padding-top: 16px; font-weight: 600; font-size: .95rem; color: #FF1F5A; text-decoration: none; }
.cs-more .icon { width: 18px; height: 18px; stroke-width: 2; transition: transform .3s var(--ease); }
.cs-more:hover .icon, .cs-more:focus-visible .icon { transform: translateX(3px) rotate(-45deg); }
.cs-more:hover { color: #E0124A; }

/* =====================================================================
   Content update (Nov 2026): new sections and small corrections.
   Reuses the shared type scale above; only layout and colour live here.
   ===================================================================== */
/* figures strip: four figures, all centre aligned */
.kpi-grid--4 { grid-template-columns: repeat(4, 1fr); align-items: start; }
.kpi-grid--4 .kpi { padding-left: clamp(14px, 2.2vw, 32px); padding-right: clamp(14px, 2.2vw, 32px); text-align: center; }
.kpi-grid--4 .kpi:first-child { padding-left: clamp(14px, 2.2vw, 32px); }
.kpi-grid--4 .kpi-num { display: block; }
.kpi-grid--4 .kpi p { margin-inline: auto; }
@media (max-width: 1023px) {
  .kpi-grid--4 { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .kpi-grid--4 .kpi, .kpi-grid--4 .kpi:first-child { padding-left: 0; padding-right: 0; }
  .kpi-grid--4 .kpi::before { display: none; }
}

/* shared section header: title left, intro right (same as case studies) */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 14px clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(22px, 3vw, 40px); }
@media (max-width: 1023px) { .sec-head { grid-template-columns: 1fr; } }

/* Core services entrance animation support */
.core-media { will-change: clip-path; }
.core-media img, .core-media video { backface-visibility: hidden; will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .core-media { clip-path: none !important; will-change: auto; }
  .core-media img, .core-media video { will-change: auto; }
}

/* our core services */
.core { background: var(--mist); }
.core-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.core-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(12px, 1.2vw, 16px) clamp(12px, 1.2vw, 16px) clamp(18px, 2vw, 26px); }
.core-media { position: relative; aspect-ratio: 16/10; border-radius: 16px; overflow: hidden; background: linear-gradient(140deg, var(--navy-2), var(--blue-deep)); }
.core-media img, .core-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.core-card > *:not(.core-media) { padding-inline: clamp(6px, .8vw, 10px); }
#main .core-tag { margin-top: 18px; font-weight: 700; font-size: .85rem; color: #FF1F5A; }
#main .core-card h3 { margin: 4px 0 8px; }
#main .core-card > p:not(.core-tag) { font-size: .9rem; line-height: 1.6; color: var(--muted); }
.core-more { display: inline-flex; align-items: center; gap: .5em; align-self: flex-start; margin-top: auto; padding-top: 16px; font-weight: 600; font-size: .95rem; color: var(--blue); text-decoration: none; min-height: 44px; }
.core-more .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.core-more:hover .icon, .core-more:focus-visible .icon { transform: translateX(4px); }
@media (max-width: 1023px) { .core-grid { grid-template-columns: 1fr; max-width: 620px; } }

/* process flow (SOC and AMC) */
.flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: clamp(22px, 3vw, 36px); }
.flow-line { position: absolute; left: 10%; right: 10%; top: 17px; height: 2px; background: #FF1F5A; transform-origin: 0 50%; }
.flow li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; }
.flow-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); border: 2px solid #FF1F5A; color: #fff; font-weight: 700; font-size: .8rem; }
.flow b { font-weight: 600; font-size: .98rem; color: #fff; }
@media (max-width: 620px) {
  .flow { grid-template-columns: 1fr; gap: 12px; }
  .flow-line { left: 17px; right: auto; top: 18px; bottom: 18px; width: 2px; height: auto; transform-origin: 50% 0; }
  .flow li { grid-template-columns: 36px 1fr; justify-items: start; align-items: center; text-align: left; gap: 14px; }
}

/* SOC: six capabilities in two columns */
.soc .flow { margin-top: 22px; }

/* AI: capability group label on each card */
.vr-tag { position: absolute; z-index: 2; top: 14px; left: 14px; padding: .35em .75em; border-radius: 999px; background: rgba(8, 26, 60, .72); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: .74rem; font-weight: 600; backdrop-filter: blur(6px); }

/* AMC & preventive maintenance */
.amc { background: var(--navy); }
.amc-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.amc-copy .lede { margin-top: 14px; }
.amc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; margin-top: 22px; }
.amc-list li { display: flex; gap: .6em; align-items: flex-start; color: var(--on-navy); font-weight: 500; font-size: .94rem; line-height: 1.4; }
.amc-list .icon { color: #FF1F5A; margin-top: .1em; }
.amc-media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; background: var(--navy-2); }
.amc-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .amc-grid { grid-template-columns: 1fr; } .amc-media { order: -1; max-height: 300px; } }
@media (max-width: 620px) { .amc-list { grid-template-columns: 1fr; } }

/* why choose MIPL: bento grid, each reason carries its own proof */
.whymipl { background: #fff; }
.why-grid { display: grid; grid-auto-rows: minmax(190px, auto); gap: clamp(12px, 1.4vw, 18px); }
.why-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2vw, 28px); background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.why-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #FF1F5A; transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.why-card:hover { border-color: #F5B9C8; transform: translateY(-4px); box-shadow: 0 24px 48px -30px rgba(12, 27, 58, .45); }
.why-card:hover::after, .why-card:focus-within::after { transform: scaleX(1); }
.why-top { display: flex; align-items: center; gap: 12px; }
.why-top .icon { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #fff; color: #FF1F5A; box-shadow: 0 0 0 1px var(--line); }
#main .why-card h3 { margin: 0; font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
#main .why-card p { font-size: .9rem; line-height: 1.6; color: var(--muted); max-width: 46ch; }
/* featured: the lifecycle */
.why-card--hero { grid-column: span 2; grid-row: span 2; background: var(--navy); border-color: var(--navy); justify-content: space-between; }
.why-card--hero::before { content: ""; position: absolute; right: -18%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(46, 94, 180, .45), transparent); pointer-events: none; }
.why-card--hero > * { position: relative; }
.why-card--hero .why-top .icon { background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
#main .why-card--hero h3 { color: #fff; }
#main .why-card--hero p { color: #C9D5EC; font-size: 1rem; }
.why-cycle { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
.why-cycle-line { position: absolute; left: 16.6%; right: 16.6%; top: 27px; height: 2px; background: #FF1F5A; transform-origin: 0 50%; }
.why-cycle li { display: grid; justify-items: center; gap: 4px; text-align: center; }
.why-cycle b { color: #fff; font-size: 1.05rem; font-weight: 700; }
.why-cycle small { color: #A9B9D6; font-size: .85rem; }
/* figure cards */
.why-big { margin: auto 0 0; font-weight: 700; font-size: clamp(2.4rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
#main .why-card .why-big { margin-top: auto; color: var(--ink); font-size: clamp(2.4rem, 3.6vw, 3.4rem); line-height: 1; font-weight: 700; max-width: none; }
.why-big u { text-decoration: none; color: #FF1F5A; }
/* wide card: what you can see */
.why-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.why-chips li { display: inline-flex; align-items: center; gap: .5em; padding: .45em .85em; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink); }
@media (max-width: 1023px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .why-card--hero { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 620px) {
  .why-grid { grid-template-columns: 1fr; }
.why-cycle-line { top: 22px; }
}
@media (prefers-reduced-motion: reduce) { .why-card, .why-card::after { transition: none; } .why-card:hover { transform: none; } }
/* about Modern Informatics */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 18px clamp(24px, 5vw, 72px); align-items: end; }
.about-btn { margin-top: 20px; }
@media (max-width: 1023px) { .about-grid { grid-template-columns: 1fr; } }

/* closing contact CTA */
.cta2 { background: #fff; }
.cta2-box { margin: auto; text-align: center; }
.cta2-box h2 { margin-inline: auto; }
#main .cta2-box .lede { margin: 16px auto 0; }
.cta2-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; margin-top: 26px; }
.cta2-phone { color: var(--on-navy); text-decoration: none; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.cta2-phone:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .core-card:hover .core-media img, .core-card:hover .core-media video { transform: none; }
}

/* SOC EXPERIENCE – immersive operator wall */
.soc-experience { --room: #020B1F; --blue: #2E5EB4; --blue-300: #9CC0FF; --red: #EC1E27; --green: #22C55E; --muted: #9DAACB; }
/* ---------- section + room ---------- */
.seat { position: relative; height: 320vh; background: var(--room); color: #fff; }
.seat__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(70% 55% at 50% 50%, rgba(46, 94, 180, .28), transparent 70%), radial-gradient(120% 60% at 50% 110%, #06153A, transparent 60%), var(--room); }
.seat__view { position: absolute; inset: 0; perspective: var(--persp, 1200px); perspective-origin: 50% var(--wall-y, 52%); }
.seat__rig { position: absolute; left: 50%; top: var(--wall-y, 52%); width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }

/* ---------- screens: .slot = position on the curved wall, .scr = the screen (zooms on hover) ---------- */
.slot { position: absolute; left: 0; top: 0; width: var(--sw); height: var(--sh); margin: calc(var(--sh) / -2) 0 0 calc(var(--sw) / -2);
  transform-style: preserve-3d; backface-visibility: hidden; }
.scr { position: absolute; inset: 0; border-radius: 6px; background: #050E24; border: 2px solid #0F1B36; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 18px 50px rgba(0, 0, 0, .45);
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), border-color .35s, box-shadow .35s, filter .35s; }
.slot:hover { z-index: 2; }
.slot:hover .scr { transform: translateZ(55px) scale(1.10); filter: brightness(1.18); border-color: rgba(156, 192, 255, .7);
  box-shadow: 0 0 0 1px rgba(156, 192, 255, .4), 0 26px 60px rgba(0, 0, 0, .6); }
.scr__feed { position: absolute; inset: 0; }
.scr img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.55) contrast(1.08) brightness(.82) saturate(.8); }
.scr__feed::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(46, 94, 180, .18), rgba(2, 11, 31, .35)), repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px); }
.is-missing { background: radial-gradient(80% 90% at 30% 20%, #1B3772, #071330); }
.is-missing img { display: none; }
.hud { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; justify-content: space-between; gap: 8px; padding: 7px 9px;
  font: 600 clamp(8px, .62vw, 11px)/1 'JetBrains Mono', monospace; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 2px #000; }
.hud > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { position: absolute; left: 9px; bottom: 8px; z-index: 2; padding: 4px 7px; border-radius: 4px; font: 700 clamp(8px, .6vw, 10px)/1 'JetBrains Mono', monospace;
  letter-spacing: .08em; text-transform: uppercase; background: var(--red); color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s, background .3s; }
.scr.is-alert { border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 0 28px rgba(236, 30, 39, .55); animation: alertPulse 1.2s ease-in-out infinite; }
.scr.is-alert .tag { opacity: 1; transform: none; }
.scr.is-ok { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 0 22px rgba(34, 197, 94, .4); }
.scr.is-ok .tag { opacity: 1; transform: none; background: var(--green); }
@keyframes alertPulse { 50% { box-shadow: 0 0 0 1px var(--red), 0 0 10px rgba(236, 30, 39, .25); } }

/* ---------- desk (foreground) ---------- */
.desk { position: absolute; left: -5%; right: -5%; bottom: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, #0B1734 0%, #050C1F 40%, #02060F 100%); border-top: 1px solid rgba(156, 192, 255, .35);
  box-shadow: 0 -1px 24px rgba(46, 94, 180, .35); border-radius: 50% 50% 0 0 / 22px 22px 0 0; }
.desk::before { content: ""; position: absolute; left: 50%; top: 24%; width: min(34vw, 420px); height: 18%; translate: -50% 0; border-radius: 6px;
  background: linear-gradient(180deg, rgba(156, 192, 255, .14), rgba(156, 192, 255, .04)); box-shadow: 0 0 30px rgba(46, 94, 180, .25); }

/* ---------- heading (centred) ---------- */
.seat__head { position: absolute; left: 50%; top: clamp(84px, 11vh, 112px); z-index: 4; translate: -50% 0; width: calc(100% - 40px); 
  text-align: center; pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 'JetBrains Mono', monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(236, 30, 39, .2); }
.seat h2 { margin: 12px 0 0; font-size: clamp(1.9rem, 1rem + 2.6vw, 3.4rem); line-height: 1.02; letter-spacing: -.045em; }
.seat h2 em { font-family: 'Instrument Serif', serif; font-weight: 400; }
.seat__sub { margin: 10px auto 0; color: var(--muted); font-size: clamp(.9rem, .85rem + .2vw, 1rem); line-height: 1.5; }

.bar { position: absolute; left: 50%; bottom: 18px; z-index: 7; width: 120px; height: 2px; translate: -50% 0; background: rgba(255, 255, 255, .14); border-radius: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }

@media (max-width: 760px) {
  .seat { height: 280vh; }
  .desk { height: 8vh; }
  .seat__sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .scr.is-alert { animation: none; }
  .hud i::before { animation: none; }
  .scr { transition: none; }
}

/* MIPL refinement pass: consistent content width and restrained interaction */
:root { --mipl-content: min(90vw, 1400px); }
.wrap { max-width: var(--mipl-content); }
.nav-bar { max-width: var(--mipl-content); }
.hero-copy { width: var(--mipl-content); max-width: var(--mipl-content); margin-inline: auto; }
.hero-badges { width: var(--mipl-content); max-width: var(--mipl-content); margin-inline: auto; }
.kpi-grid { max-width: var(--mipl-content); }
.services > .wrap, .section > .wrap, .core > .wrap { max-width: var(--mipl-content); }
.core-card { position: relative; }
.core-card::before { content:""; position:absolute; left:0; top:0; width:100%; height:3px; background:#FF1F5A; transform:scaleX(0); transform-origin:left; transition:transform .55s cubic-bezier(.2,.8,.2,1); z-index:2; }
.core-card:hover, .core-card:focus-within { transform:translateY(-7px); border-color:rgba(255,31,90,.35); box-shadow:0 22px 48px rgba(8,26,60,.12); }
.core-card:hover::before, .core-card:focus-within::before { transform:scaleX(1); }
@keyframes miplDotDrift { from {background-position:0 0,0 0;} to {background-position:120px 0,0 0;} }
.mstory-photo img { transform:scale(1.08); will-change:transform; }
.seat__head { max-width:min(80vw,760px); }
.seat h2 em { color:#9CC0FF; }
.seat__sub { max-width:58ch; }
@media (max-width:760px) {
  :root { --mipl-content: calc(100vw - 40px); }
  .hero-copy, .hero-badges { width:var(--mipl-content); max-width:var(--mipl-content); }
  .seat__head { max-width:calc(100vw - 32px); }
}
@media (prefers-reduced-motion:reduce) {
  .core-card, .core-card::before, .core-media img { transition:none; }
}

/* ===== V3 refinements from review ===== */
.hero .lede { max-width: 66ch; }
.hero-badges .badge { border: 0; background: transparent; backdrop-filter: none; padding: .35em .15em; border-radius: 0; box-shadow: none; }
.hero-badges { gap: clamp(16px, 2vw, 28px); }
.hero-badges .badge + .badge { position: relative; }
.hero-badges .badge + .badge::before { content:""; position:absolute; left:calc(clamp(8px, 1vw, 14px) * -1); top:18%; height:64%; width:1px; background:rgba(255,255,255,.36); }
@keyframes mouseScroll { 0%{transform:translateY(0);opacity:1} 70%{transform:translateY(11px);opacity:.15} 100%{transform:translateY(0);opacity:0} }
.kpis { scroll-margin-top: 88px; }
.core-card { overflow:hidden; transition:transform .55s cubic-bezier(.2,.8,.2,1), box-shadow .55s; }
.core-card:hover { transform:translateY(-7px); box-shadow:0 24px 54px rgba(8,26,60,.14); }
.core-media { clip-path:inset(0 0 0 0 round 16px); }
.core-media img,.core-media video { transform:scale(1.01); transition:transform .8s cubic-bezier(.2,.8,.2,1); }
.core-card:hover .core-media img,.core-card:hover .core-media video { transform:scale(1.09); }
.seat__head h2 { color:#fff !important; text-shadow:0 2px 20px rgba(0,0,0,.4); }
.seat__head h2 em { color:#FF1F5A !important; }
.seat__head .eyebrow { color:#fff !important; }
.amc .flow { display:none !important; }
.why-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.why-card--image { position:relative; grid-column:span 2; grid-row:span 2; min-height:390px; padding:0; overflow:hidden; border:0; border-radius:var(--r-md); background:#071a3d; }
.why-card--image img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.why-image-shade { position:absolute; inset:0; background:linear-gradient(180deg,rgba(5,18,43,.02),rgba(5,18,43,.28)); }
.why-card--image::after { content:""; position:absolute; inset:14px; border:1px solid rgba(255,255,255,.35); border-radius:calc(var(--r-md) - 6px); pointer-events:none; }
.cta2 { padding:0 var(--gutter) clamp(54px,7vw,100px); }
.cta2-box { position:relative; isolation:isolate; display:flex; min-height:clamp(430px,48vw,620px); flex-direction:column; justify-content:center; align-items:center; overflow:hidden; max-width:100%; padding:clamp(56px,8vw,112px) clamp(24px,8vw,120px); border-radius:var(--r-lg); background:#071a3d; }
.cta2-bg { position:absolute; z-index:-2; inset:0; }
.cta2-box::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,rgba(4,17,43,.88),rgba(4,17,43,.62)),linear-gradient(0deg,rgba(4,17,43,.5),rgba(4,17,43,.15)); }
.cta2-content { position:relative; width:100%; }
.cta2-box h2 { max-width:18ch; font-size:clamp(2.4rem,4.7vw,4.8rem); }
#main .cta2-box .lede { max-width:62ch; font-size:clamp(1.05rem,1.2vw,1.2rem); }
.foot-mark { padding-top:28px; }
@media(max-width:1023px){.why-card--image{grid-column:1/-1;grid-row:auto;min-height:300px}.why-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){.hero-scroll{bottom:16px}.hero-badges{gap:12px}.hero-badges .badge{font-size:.68rem}.why-grid{grid-template-columns:1fr}.why-card--image{min-height:250px}.cta2-box{min-height:430px}.foot-mark img{width:170px}}
@media(prefers-reduced-motion:reduce){.hero-scroll-mouse i{animation:none}.core-card,.core-media img,.core-media video,.why-card--image img{transition:none}}

/* =====================================================================
   v5 refinements
   Fonts: Urbanist for headings and figures, DM Sans for everything else.
   Covers: header, typography, hero, planning rail, SOC wall, CTA, footer.
   ===================================================================== */

/* ---------- fonts: two families only ---------- */
:root {
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Urbanist", "DM Sans", system-ui, sans-serif;
  --serif: var(--display);
  --mono: var(--sans);
}
body { font-family: var(--sans); }
h1, h2, h3, h4, em,
#main h2, #main h2 em, #main h3:not(.hl-name), #main h3 em,
.seat h2, .seat h2 em, .imap h2, .imap h2 em, .cta2-box h2,
.kpi-in, .mstep-num, .why-big { font-family: var(--display); }
.eyebrow, #main .eyebrow, .seat .eyebrow, .hud, .tag, .imap__lbl span {
  font-family: var(--sans);
}
.seat .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; }
.hud { font-weight: 600; letter-spacing: .02em; }

/* ---------- descriptions: DM Sans, larger and easier to read ---------- */
body, p, li { line-height: 1.6; }
#main .lede, #main .service-lead, #main .mstep-card p, #main .who-more p, #main .cs-card p, #main .hl-row p, #main .deliverables li, #main .why-card p, #main .core-card > p:not(.core-tag), #main .amc-copy .lede, .seat__sub, .cta2-box .lede, #main .cta2-box .lede, .services-head .lede, .sec-head .lede, .cs-head .lede, .ind-head .lede, .clients-head .lede, .about .lede {
  font-size: clamp(.98rem, .94rem + .22vw, 1.14rem);
  line-height: 1.65;
}
.hero .lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); line-height: 1.6; }

/* ---------- header: slightly taller ---------- */
.nav-bar { padding-top: 16px; padding-bottom: 16px; }
.logo img { height: 44px; }

/* ---------- hero: larger badges and a clear scroll cue ---------- */
.hero-badges .badge { font-size: 1.05rem; font-weight: 600; gap: .55em; }
.hero-badges .badge .icon { width: 24px; height: 24px; }
@keyframes scrollLine { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 640px) {
  .hero-badges .badge { font-size: .92rem; }
  .hero-badges .badge .icon { width: 20px; height: 20px; }
}

/* ---------- planning section: dotted, animated line between the four steps ---------- */
.mstory-rail {
  height: 3px; top: 26px; background: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .6) 1.3px, transparent 1.9px);
  background-size: 14px 3px; background-repeat: repeat-x;
  animation: railFlow 1.1s linear infinite;
}
.mstory-prog {
  background-image: radial-gradient(circle, #FF1F5A 1.6px, transparent 2.2px);
  background-size: 14px 3px; background-repeat: repeat-x;
  filter: drop-shadow(0 0 6px rgba(255, 31, 90, .55));
}
@keyframes railFlow { to { background-position: 14px 0; } }
/* background photo: taller than its frame so it can drift with scroll (parallax) */
.mstory-photo { inset: -10% 0; }
@media (prefers-reduced-motion: reduce) { .mstory-rail { animation: none; } }

/* ---------- SOC operator wall: heading on one line, wall fills the space above the desk ---------- */
@media (min-width: 1024px) {
  .seat__head h2 { white-space: nowrap; }
}
.desk { height: 9vh; }

/* ---------- call to action: animated background instead of a photo ---------- */
.cta2-bg {
  background-image: radial-gradient(60% 80% at 14% 18%, rgba(46, 94, 180, .6), transparent 70%),
                    radial-gradient(50% 70% at 88% 84%, rgba(255, 31, 90, .22), transparent 72%),
                    linear-gradient(135deg, #061A40, #0A2C6B 55%, #071A3E);
  background-size: 140% 140%, 140% 140%, 100% 100%;
  background-position: 0% 0%, 100% 100%, 0 0;
  transform: none;
  animation: ctaGlow 14s ease-in-out infinite alternate;
}
@keyframes ctaGlow {
  0% { background-position: 0% 0%, 100% 100%, 0 0; }
  100% { background-position: 35% 25%, 65% 75%, 0 0; }
}
.cta2-box::before {
  background-image: radial-gradient(rgba(156, 192, 255, .26) 1px, transparent 1.5px);
  background-size: 24px 24px; background-position: 0 0;
  animation: ctaDots 26s linear infinite;
}
@keyframes ctaDots { to { background-position: 240px 240px; } }
@media (prefers-reduced-motion: reduce) { .cta2-bg, .cta2-box::before { animation: none; } }

/* ---------- footer: large centred logo, interactive links and social icons ---------- */
.foot-brand { flex-direction: column; }
.foot-links a, .footer-base a { position: relative; display: inline-block; transition: transform .3s var(--ease), color .3s; }
.foot-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: #FF1F5A;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.foot-links a:hover { transform: translateX(5px); }
.foot-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.foot-mails a { transition: transform .3s var(--ease); }
.foot-mails a:hover { transform: translateX(5px); }
.foot-social a { transition: transform .35s var(--ease), box-shadow .35s, background .3s; }
.foot-social a:hover { transform: translateY(-4px) scale(1.08); box-shadow: 0 0 0 4px rgba(255, 31, 90, .18), 0 10px 24px rgba(255, 31, 90, .35); }
@keyframes markFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .foot-mark img { animation: none; } }

/* ---------- Why MIPL images: same reveal as the rest, hover zooms the picture inside the frame ---------- */
.why-card--image { isolation: isolate; }
.why-card--image img { transition: transform 1.1s cubic-bezier(.2, .8, .2, 1), filter .6s; }
.why-card--image:hover img { transform: scale(1.09); filter: saturate(1.08) brightness(1.05); }

/* ---------- footer v6: as in the reference (logo top-left, four columns), large logo as the background mark ---------- */
.foot-brand { grid-column: auto; display: block; align-items: stretch; text-align: left; }
.foot-brand > a { display: inline-block; }
.foot-brand > a img { width: 150px; height: auto; transition: transform .5s var(--ease), filter .5s; }
.foot-brand > a:hover img { transform: none; filter: drop-shadow(0 0 14px rgba(255, 31, 90, .35)); }
.foot-brand address { text-align: left; }
.foot-mark { align-items: center; }
.foot-mark img { display: block; max-width: none; max-height: none; object-fit: contain; filter: brightness(0) invert(1); animation: none; transition: opacity .6s ease; }
.footer:hover .foot-mark img { opacity: .14; }
@media (max-width: 640px) {
  .foot-mark { padding: 36px 0 20px; }
}

/* ---------- footer v7: big logo partly behind the links, footer kept short ---------- */
.footer-wrap { position: relative; overflow: hidden; }
.foot-mark { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 0; margin: 0; padding: 0; display: flex; justify-content: center; pointer-events: none; }
.foot-mark img { height: clamp(150px, 21vw, 300px); width: auto; opacity: .09; }
.footer-top { position: relative; z-index: 1; padding-bottom: 8px; }
.footer-base { position: relative; z-index: 1; }
@media (max-width: 640px) {
  .foot-mark { bottom: 28px; }
  .foot-mark img { height: auto; width: 100%; max-width: 100%; }
}

/* Compact card copy across the homepage. */
#main .core-card h3,
#main .mstep-card h3,
#main .cs-card h3,
#main .why-card h3,
#main .who-card h3,
#main .vr-card h3 {
  font-size: clamp(1rem, 1.15vw, 1.25rem);
  line-height: 1.25;
}

#main .mstep-num {
  font-size: clamp(1.3rem, 1.7vw, 1.65rem);
}

#main .core-card > p:not(.core-tag),
#main .mstep-card p,
#main .cs-card p,
#main .why-card p:not(.why-big),
#main .who-more p {
  font-size: .84rem;
  line-height: 1.45;
}

#main .why-card--hero h3 {
  font-size: clamp(1.25rem, 1.65vw, 1.55rem);
}

#main .why-card--hero p:not(.why-big) {
  font-size: .9rem;
}

/* ---------- client logos: one row of 12 unique logos that scrolls continuously ---------- */
.marquee { position: relative; overflow: hidden; padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 16px; margin: 0; padding: 0; list-style: none;
  animation: client-marquee 40s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .logo-chip { width: clamp(180px, 15vw, 230px); height: clamp(96px, 8vw, 120px); flex: none; }
@keyframes client-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: 100%; flex-wrap: wrap; justify-content: center; }
  .marquee-track .is-clone { display: none; }
}

/* logo tiles: no outline or border, the logo sits on its white tile */
.logo-chip { border: 0; box-shadow: none; }
.logo-chip::after { display: none; }
.logo-chip:hover { border-color: transparent; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .6); }
/* second row moves to the right */
.marquee--reverse .marquee-track { animation-direction: reverse; }
.marquee + .marquee { margin-top: 10px; }

/* stats strip: vertically compact */
.kpis { padding: 18px var(--gutter); }
.kpi-grid--4 .kpi-in { font-size: clamp(1.7rem, 2.8vw, 2.7rem); }
.kpi-grid--4 .kpi-num { padding-bottom: 0; }
.kpi-grid--4 .kpi p { margin-top: 2px; font-size: clamp(.85rem, 1vw, 1rem); }

/* SITC Explained list items: smaller */
#main .deliverables li { font-size: .82rem; line-height: 1.45; }

/* ======================== from index2.css ======================== */
/* index2: SOC panorama as the hero, six SITC steps, sticky stacked "Who we serve" cards */

/* ---------- hero: panorama wall with the copy over it ---------- */

/* ---------- SITC: six steps across ---------- */
@media (min-width: 1024px) {
  .mstory-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
  .mstory-rail { left: 8.33%; right: 8.33%; }
  .mstep-card h3 { font-size: clamp(1rem, 1.2vw, 1.2rem); }
  .mstep-card p { font-size: .84rem; line-height: 1.55; }
  .mstep-card { padding: 18px 16px; }
}

/* ---------- Who we serve: cards stack as you scroll ---------- */
.stack { position: relative; padding-bottom: 8vh; }

/* ---------- panorama edges: the wall fades into the page on both sides ---------- */

/* ---------- header: dark glass over the hero, as in the reference ---------- */
.site-header { background: linear-gradient(180deg, rgba(3, 11, 31, .78), rgba(3, 11, 31, 0)); }
.site-header.solid { background: rgba(3, 11, 31, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header .nav-top { color: #fff; }
.site-header .nav-top:hover, .site-header .nav-top[aria-current] { color: #9CC0FF; }
.site-header .nav-cta { background: #3B7BDB; border-color: #3B7BDB; }
.site-header .nav-cta:hover { background: #2F6BCB; }
.site-header .menu-btn { color: #fff; }

/* ---------- hero: sizes and balance as in the reference ---------- */

/* ---------- stats: full-width navy band, large figures, left aligned ---------- */
.kpis--band { background: #17204A; color: #fff; }
.kpis--band .kpi-grid--4 { max-width: 1320px; margin-inline: auto; }
.kpis--band .kpi { text-align: left; padding-top: 4px; padding-bottom: 4px; }
.kpis--band .kpi-grid--4 .kpi { padding-left: clamp(18px, 2.6vw, 40px); padding-right: clamp(14px, 2vw, 28px); }
.kpis--band .kpi-grid--4 .kpi:first-child { padding-left: 0; }
.kpis--band .kpi + .kpi::before { background: rgba(255, 255, 255, .2); }
.kpis--band .kpi-num { overflow: visible; }
.kpis--band .kpi-in { font-family: var(--display); font-weight: 600; line-height: 1; letter-spacing: -.035em; color: #fff; }
.kpis--band .kpi u { color: #FF1F5A; }
.kpis--band .kpi u.x { font-size: .5em; margin-inline: .04em; vertical-align: .55em; }
.kpis--band .kpi p { color: #F1F5FB; font-size: clamp(.95rem, 1.1vw, 1.15rem); font-weight: 500; }
@media (max-width: 1023px) { .kpis--band .kpi-grid--4 .kpi { padding-left: 0; padding-right: 0; } }

/* ---------- header: no line under it ---------- */
.site-header, .site-header.solid { border-bottom: 0; box-shadow: none; }

/* ---------- panorama: darker edges that fade the wall into the page ---------- */

/* ---------- stats: compact band ---------- */
.kpis--band { padding: clamp(22px, 2.6vw, 36px) var(--gutter); }
.kpis--band .kpi-in { font-size: clamp(2.3rem, 4.2vw, 4rem); }
.kpis--band .kpi p { margin-top: 6px; }

/* ---------- hero: a normal block; the wall pans as the hero scrolls out (no sticky pin, no empty gap) ---------- */

/* ---------- badge: hidden over the hero, fades in after it ---------- */
.gptw-badge { opacity: 0; transform: translateY(10px); transition: opacity .8s ease, transform .8s ease; pointer-events: none; }
body.past-hero .gptw-badge { opacity: 1; transform: none; pointer-events: auto; }
/* homepage: the badge is always visible. Its "past-hero" class is set by pages-04.js, which the homepage does not load (it watches .p4-hero, not the homepage hero). */
body.home-hero-light .gptw-badge { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- header: white once the hero is out of view ---------- */
body.past-hero .site-header, body.past-hero .site-header.solid { background: #fff; box-shadow: none; border-bottom: 0; }
body.past-hero .site-header .nav-top, body.past-hero .site-header .menu-btn { color: #0B1B3A; }
body.past-hero .site-header .nav-top:hover { color: #2E5EB4; }

/* ---------- hero: clickable buttons, no stage line below the hero ---------- */

/* ---------- header colour: eases between the hero and the white state ---------- */
.site-header, .site-header .nav-top, .site-header .menu-btn, .site-header .nav-cta {
  transition: background-color .7s ease, color .7s ease, box-shadow .7s ease, border-color .7s ease, backdrop-filter .7s ease;
}

/* ---------- header logo: local Modern Informatics logo, always in its brand colours on every page ---------- */
.site-header .logo img { height: 44px; width: auto; }
@media (max-width: 760px) { .site-header .logo img { height: 36px; } }
/* ---------- mobile menu button: glass over the hero so the white icon shows; light grey once the header turns white ---------- */
.site-header .menu-btn { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
body.past-hero .site-header .menu-btn { background: var(--mist); box-shadow: none; }

/* ======================== from option-04.css ======================== */
/* Option 04: hero, SOC video band, core services and "Who we serve".
   Scoped under #main so the site-wide `#main h2` rules in style.css do not override it.
   Everything is visible without JS; option-04.js only adds the reveal, tabs, clock and ticker. */

:root {
  --o4-navy: #030C22;
  --o4-navy-2: #0A1838;
  --o4-line: rgba(160, 190, 240, .18);
  --o4-text: #E9EFFA;
  --o4-text-2: #A9B9D6;
  --o4-red: #FF1F5A;
  --o4-red-2: #E0312F;
  --o4-green: #2BD98B;
  --o4-hud: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.o4-wrap { max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }

/* shared bits */
#main .o4-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--o4-red);
}
#main .o4-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(255, 31, 90, .18); }
#main .o4-h2 {
  margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 1.2rem + 2.8vw, 3.6rem);
  line-height: 1.08; letter-spacing: -.025em; color: var(--ink); text-wrap: balance;
}
#main .o4-h2 em { font-style: normal; font-weight: 700; color: var(--o4-red); }
#main .o4-sub { margin: 16px 0 0; max-width: 60ch; font-size: clamp(1rem, .95rem + .25vw, 1.15rem); line-height: 1.6; color: var(--muted); }
.o4-btn-red { background: linear-gradient(90deg, #ff4a7b, var(--o4-red-2)); color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 31, 90, .7); }
.o4-btn-red:hover { filter: brightness(1.08); }
.o4-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--blue); }
.o4-link .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.o4-link:hover .icon { transform: translateX(4px); }
.o4-link:focus-visible, .o4-tab:focus-visible { outline: 2px solid var(--o4-red); outline-offset: 3px; border-radius: 8px; }

/* ================= HERO ================= */
.o4-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--o4-navy); color: var(--o4-text);
  
}
.o4-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 80% 40%, rgba(64, 120, 220, .42), transparent 70%),
    radial-gradient(50% 60% at 10% 10%, rgba(46, 94, 180, .30), transparent 70%),
    linear-gradient(160deg, #06173F 0%, #0A2358 55%, #071A45 100%); }
.o4-hero__bg::after { content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: radial-gradient(rgba(160, 190, 240, .35) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
#main .o4-hero h1 {
  margin: 0; font-family: var(--display); font-weight: 300; color: #fff;
  line-height: 1.02; letter-spacing: -.035em; text-wrap: balance;
}
#main .o4-hero h1 em { font-style: normal; font-weight: 700; color: var(--o4-red); }

/* client logo slider */
.o4-trust { background: #fff; border-bottom: 1px solid var(--line); }
.o4-trust__in { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); padding-block: 10px; }
.o4-trust__in > p { flex: none; margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
#main .o4-trust__marquee { flex: 1; min-width: 0; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
#main .o4-trust .marquee-track { animation-duration: 45s; gap: 10px; }
#main .o4-trust .marquee-track .logo-chip { width: 150px; height: 70px; background: transparent; }
#main .o4-trust .logo-chip img { filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
#main .o4-trust .logo-chip:hover img { filter: none; opacity: 1; }
#main .o4-trust .logo-chip:hover { box-shadow: none; }

.o4-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.o4-chips li { padding: 6px 12px; border-radius: 999px; font-size: .84rem; color: var(--o4-text); background: rgba(255, 255, 255, .07); border: 1px solid var(--o4-line); }

/* ================= CORE SERVICES ================= */
.o4-core { background: var(--mist); padding-block: var(--pad); }
.o4-core__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
#main .o4-core__head .o4-sub { margin: 0; }
.o4-core__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); counter-reset: none; }
.o4-svc { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border-radius: var(--r-md); overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 20px 50px -34px rgba(12, 27, 58, .45); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.o4-svc:hover { transform: translateY(-12px); box-shadow: 0 1px 0 var(--line), 0 44px 70px -34px rgba(12, 27, 58, .55); }
/* entrance: cards lift up from below in turn, then settle with a soft shadow */
.o4-js .o4-svc.o4-rise { opacity: 0; transform: translateY(90px) scale(.96); box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: opacity .8s var(--ease), transform 1s cubic-bezier(.2, .9, .25, 1.05), box-shadow 1s var(--ease); transition-delay: var(--d, 0s); }
.o4-js .o4-svc.o4-rise.is-in { opacity: 1; transform: none; box-shadow: 0 1px 0 var(--line), 0 20px 50px -34px rgba(12, 27, 58, .45); }
.o4-js .o4-svc.o4-rise.is-in.is-settled { transition: transform .35s var(--ease), box-shadow .35s var(--ease); transition-delay: 0s; }
.o4-js .o4-svc.o4-rise.is-in.is-settled:hover { transform: translateY(-12px); box-shadow: 0 1px 0 var(--line), 0 44px 70px -34px rgba(12, 27, 58, .55); }
.o4-svc__media { position: relative; aspect-ratio: 16 / 10; background: var(--o4-navy); overflow: hidden; }
.o4-svc__media video, .o4-svc__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .9s var(--ease); }
.o4-svc:hover .o4-svc__media :is(video, img) { transform: scale(1); }
.o4-svc__phase { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border-radius: 999px;
  background: rgba(3, 12, 34, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 1.05rem; font-weight: 700; letter-spacing: .01em;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6); }
.o4-svc__phase b { padding: 5px 12px; border-radius: 999px; background: var(--o4-red); font-size: .88rem; letter-spacing: .1em; }
.o4-svc__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2vw, 28px); }
#main .o4-svc h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); line-height: 1.25; color: var(--ink); }
.o4-svc__body > p { margin: 0; color: var(--muted); line-height: 1.6; }
.o4-svc__list { margin: 4px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: .95rem; color: var(--ink); }
.o4-svc__list li { position: relative; padding-left: 26px; }
.o4-svc__list li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(46, 94, 180, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E5EB4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.o4-svc .o4-link { margin-top: auto; padding-top: 8px; }

.o4-bundle { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px;
  margin-top: clamp(24px, 3vw, 40px); min-height: clamp(220px, 24vw, 300px); padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 60px); border-radius: var(--r-lg); background: var(--o4-navy); color: var(--o4-text); }
.o4-bundle__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.o4-bundle:hover .o4-bundle__bg { transform: scale(1); }
.o4-bundle::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 12, 34, .95) 0%, rgba(3, 12, 34, .82) 45%, rgba(3, 12, 34, .35) 100%); }
.o4-bundle__copy { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.o4-bundle__kicker { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--o4-red); }
.o4-bundle__title { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem); line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.o4-bundle__title b { font-weight: 700; }
.o4-bundle .btn { min-height: 54px; padding-inline: 1.6em; font-size: 1rem; }

/* ================= WHO WE SERVE ================= */
.o4-who { padding-block: var(--pad); background: #fff; }
.o4-who__head { margin-bottom: clamp(28px, 4vw, 48px); }
.o4-who__ui { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(16px, 2.4vw, 32px); align-items: stretch; }
.o4-tabs { display: flex; flex-direction: column; gap: 10px; }
.o4-tab { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 20px 22px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: #fff; transition: background .25s, border-color .25s, box-shadow .25s; }
.o4-tab:hover { border-color: rgba(46, 94, 180, .45); background: rgba(46, 94, 180, .06); }
.o4-tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); box-shadow: 0 20px 40px -24px rgba(46, 94, 180, .8); }
.o4-tab__n { grid-row: span 2; font-family: var(--display); font-weight: 700; font-size: .95rem; color: var(--blue); padding-top: 3px; }
.o4-tab__t { font-family: var(--display); font-weight: 700; font-size: clamp(1.08rem, 1rem + .3vw, 1.25rem); color: var(--ink); line-height: 1.3; }
.o4-tab__d { font-size: .92rem; color: var(--muted); line-height: 1.5; }
.o4-tab[aria-selected="true"] .o4-tab__t { color: #fff; }
.o4-tab[aria-selected="true"] .o4-tab__d { color: rgba(255, 255, 255, .8); }
.o4-tab[aria-selected="true"] .o4-tab__n { color: #fff; }

.o4-panels { position: relative; min-height: 460px; }
.o4-panel { position: relative; height: 100%; min-height: 460px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: #fff; display: flex; align-items: flex-end; }
.o4-panel img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.o4-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 12, 34, .05) 20%, rgba(3, 12, 34, .92)); }
.o4-panel:not([hidden]) img { transform: scale(1); }
.o4-panel__body { padding: clamp(22px, 3vw, 40px); max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
#main .o4-panel h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 1.2rem + .9vw, 2rem); line-height: 1.2; color: #fff; }
.o4-panel p { margin: 0; color: var(--o4-text); line-height: 1.6; }
.o4-panel__fit { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--o4-text-2); margin-top: 4px !important; }
.o4-panel .o4-chips { margin-top: 0; }
.o4-panel .o4-link { color: #fff; margin-top: 8px; }
/* without JS every panel shows, stacked */
html:not(.o4-js) .o4-panels { display: flex; flex-direction: column; gap: 16px; }
html:not(.o4-js) .o4-tabs { display: none; }
html:not(.o4-js) .o4-who__ui { grid-template-columns: 1fr; }

/* ================= reveal ================= */
.o4-js .o4-rise { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.o4-js .o4-rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .o4-js .o4-rise { opacity: 1; transform: none; transition: none; }
  .o4-svc, .o4-svc__media video, .o4-panel img { transition: none; }
}

/* ================= responsive ================= */
@media (max-width: 1100px) {
  .o4-core__grid { grid-template-columns: 1fr 1fr; }
  .o4-core__grid > li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .o4-core__head { grid-template-columns: 1fr; }
  .o4-who__ui { grid-template-columns: 1fr; }
  .o4-tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .o4-tab { flex: 0 0 min(78%, 300px); scroll-snap-align: start; }
  .o4-panels, .o4-panel { min-height: 420px; }
  .o4-trust__in { flex-direction: column; align-items: stretch; gap: 4px; padding-top: 18px; }
}
@media (max-width: 680px) {
  .o4-core__grid { grid-template-columns: 1fr; }
  .o4-tab { padding: 16px 18px; }
}

.o4-panel[hidden] { display: none; }

/* ================= mobile menu over the dark hero ================= */
/* The open menu is a white card, so its links use dark text even while the header is over the hero. */
.site-header .nav-links.open .nav-top { color: var(--ink); }
.site-header .nav-links.open .nav-top:hover { color: var(--blue); }

/* ================= Who we serve: scroll animation start states (set only when JS runs GSAP) ================= */
.o4-who.is-gsap .o4-who__ui.o4-rise, .o4-who.is-gsap .o4-who__head.o4-rise { opacity: 1; transform: none; transition: none; }

/* =====================================================================
   ROUND 3
   ===================================================================== */

/* ---------- hero: one screen, six-step vertical slider on the right ---------- */
.o4-hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(84px, 11vh, 108px); padding-bottom: clamp(16px, 3vh, 32px);
  --rh: clamp(400px, calc(100svh - 190px), 680px); }
#main .o4-hero h1 { font-size: clamp(2.2rem, 1.3rem + 2.8vw, 3.9rem); }

/* pointer glow: very soft red light that follows the pointer over the blue */
.o4-hero__glow { position: absolute; left: 0; top: 0; width: 620px; height: 620px; margin: -310px 0 0 -310px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 31, 90, .13), rgba(255, 31, 90, .05) 55%, transparent 100%);
  filter: blur(24px); opacity: 0; transform: translate3d(var(--gx, 50vw), var(--gy, 50vh), 0); transition: opacity .9s ease; will-change: transform; }
.o4-hero.is-glow .o4-hero__glow { opacity: 1; }

/* vertical slider */
.o4-vs { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(16px, 1.8vw, 28px); align-items: center; }
/* caption lines rise in on the active card */

/* vertical step rail: the same line, signal dot and nodes as the delivery track */
.o4-vs__rail { position: relative; list-style: none; margin: 0; padding: 0; height: calc(var(--rh) * .8); display: flex; flex-direction: column; justify-content: space-between; }
.o4-vs__line { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; margin-left: -1px; border-radius: 2px; background: rgba(160, 190, 240, .2); }
.o4-vs__line i { position: absolute; inset: 0; border-radius: 2px; transform-origin: 50% 0; transform: scaleY(var(--fill, 0));
  background: linear-gradient(180deg, #ff5f8f, var(--o4-red-2)); box-shadow: 0 0 14px rgba(255, 31, 90, .7); }
.o4-vs__line b { position: absolute; left: 50%; top: calc(var(--fill, 0) * 100%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 31, 90, .35), 0 0 18px 5px rgba(255, 31, 90, .7); }
.o4-vs__rail.is-reset .o4-vs__line i, .o4-vs__rail.is-reset .o4-vs__line b { transition: transform .8s cubic-bezier(.7, 0, .2, 1), top .8s cubic-bezier(.7, 0, .2, 1); }
@keyframes o4-ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

@media (max-width: 1023px) {
  .o4-hero { min-height: 0; --rh: min(calc((100vw - 2 * var(--gutter) - 64px) * 1.05), 560px); }
}
@media (max-width: 700px) {
  .o4-vs { gap: 12px; }
  .o4-vs__line { left: 18px; top: 18px; bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .o4-hero__glow { display: none; }
}

/* ---------- SOC: heading on top, short line under it, operators at the bottom ---------- */
.soc-experience .desk, .soc-experience .bar { display: none; }
.o4-ops { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; pointer-events: none; padding: 0 var(--gutter) 10px;
  }
/* track under the desks: detect → verify → escalate → report, filled by the scroll through the section */
.o4-ops__track { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1180px; margin: 12px auto 0; padding: 0; }
.o4-ops__line { position: absolute; left: 12.5%; right: 12.5%; height: 2px; border-radius: 2px; background: rgba(160, 190, 240, .2); }
.o4-ops__line i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--fill, 0)); border-radius: 2px; background: linear-gradient(90deg, #ff5f8f, var(--o4-red-2)); box-shadow: 0 0 12px rgba(255, 31, 90, .7); }
.o4-ops__line b { position: absolute; top: 50%; left: calc(var(--fill, 0) * 100%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 31, 90, .35), 0 0 16px 4px rgba(255, 31, 90, .7); }
.o4-ops__stage { display: flex; flex-direction: column; align-items: center; font-family: var(--o4-hud); letter-spacing: .14em; text-transform: uppercase; color: var(--o4-text-2); transition: color .4s; }
.o4-ops__stage::before { content: ""; position: relative; z-index: 1; border-radius: 50%; background: #0B1F4B; border: 2px solid rgba(160, 190, 240, .35); transition: background .4s, border-color .4s, box-shadow .4s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.o4-ops__stage.is-on { color: #fff; }
.o4-ops__stage.is-on::before { background: var(--o4-red); border-color: var(--o4-red); box-shadow: 0 0 0 5px rgba(255, 31, 90, .22), 0 0 16px rgba(255, 31, 90, .6); transform: scale(1.15); }

/* the operators (inline SVG, seen from behind) */
@keyframes o4-ui { 0% { opacity: .9; } 33% { opacity: .45; } 66% { opacity: .75; } }
@keyframes o4-look { 0%, 100% { transform: rotate(0); } 22% { transform: rotate(-5deg); } 30% { transform: rotate(-5deg); } 52% { transform: rotate(4deg); } 62% { transform: rotate(4deg); } 80% { transform: rotate(0); } }
@keyframes o4-type { to { transform: translateY(-1.5px); } }
@keyframes o4-led { 50% { opacity: .3; } }
@keyframes o4-alert { 50% { fill: rgba(255, 31, 90, .3); } }
@media (max-width: 760px) {
  .o4-ops { padding-bottom: 6px; }
  .o4-ops__stage { letter-spacing: .08em; }
  .o4-ops__track { margin-top: 8px; }
}

/* ---------- light grey dots / lines on white sections ---------- */
.o4-bg-dots, .o4-bg-grid { position: relative; isolation: isolate; }
.o4-bg-dots::before, .o4-bg-grid::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.o4-bg-dots::before { background-image: radial-gradient(rgba(12, 27, 58, .13) 1.1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask: radial-gradient(120% 90% at 50% 0%, #000 30%, rgba(0, 0, 0, .25) 75%, transparent); mask: radial-gradient(120% 90% at 50% 0%, #000 30%, rgba(0, 0, 0, .25) 75%, transparent); }
.o4-bg-grid::before { background-image: linear-gradient(rgba(12, 27, 58, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(12, 27, 58, .06) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }

/* ---------- Who we serve: pinned, the set-up changes as you scroll (desktop) ---------- */
.o4-panels { display: grid; }
.o4-panel { grid-area: 1 / 1; }
.o4-js .o4-panel { transition: clip-path .9s cubic-bezier(.7, 0, .2, 1), opacity .6s ease; clip-path: inset(0 0 0 0 round var(--r-lg)); }
.o4-js .o4-panel.is-off { clip-path: inset(100% 0 0 0 round var(--r-lg)); opacity: 0; pointer-events: none; }
.o4-js .o4-panel.is-off.is-above { clip-path: inset(0 0 100% 0 round var(--r-lg)); }
.o4-js .o4-panel .o4-panel__body > * { transition: opacity .6s ease .35s, transform .7s cubic-bezier(.2, .8, .2, 1) .3s; }
.o4-js .o4-panel.is-off .o4-panel__body > * { opacity: 0; transform: translateY(24px); transition-delay: 0s; }
.o4-js .o4-panel img { transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.o4-js .o4-panel.is-off img { transform: scale(1.18); }
.o4-tab { position: relative; overflow: hidden; }
.o4-tab__prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--tp, 0)); background: linear-gradient(90deg, #ff5f8f, var(--o4-red-2)); }
/* only the current tab shows the red progress border; tabs already passed do not keep a full bar */
.o4-tab:not([aria-selected="true"]) .o4-tab__prog { transform: scaleX(0); }
.o4-who.is-pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(84px, 11vh, 104px) clamp(20px, 4vh, 40px); }
.o4-who.is-pin .o4-wrap { width: 100%; }
.o4-who.is-pin .o4-who__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 8px 48px; align-items: end; margin-bottom: clamp(16px, 3vh, 32px); }
.o4-who.is-pin .o4-who__head .o4-kicker { grid-column: 1 / -1; margin-bottom: 0; }
#main .o4-who.is-pin .o4-h2 { font-size: clamp(1.8rem, 1rem + 2vw, 3rem); }
#main .o4-who.is-pin .o4-sub { margin: 0; }
.o4-who.is-pin .o4-panels, .o4-who.is-pin .o4-panel { min-height: 0; height: clamp(340px, calc(100svh - 330px), 560px); }
/* short laptop screens (e.g. 1080p at 150%): tighter so the pinned screen still fits */
@media (max-height: 760px) {
  .o4-who.is-pin { padding-block: 76px 16px; }
  .o4-who.is-pin .o4-who__head { margin-bottom: 14px; }
  #main .o4-who.is-pin .o4-h2 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.2rem); }
  .o4-who.is-pin .o4-tab { padding: 14px 18px; }
  .o4-who.is-pin .o4-tab__d { font-size: .85rem; line-height: 1.4; }   /* kept visible on short screens, just smaller */
  .o4-who.is-pin .o4-panels, .o4-who.is-pin .o4-panel { height: clamp(250px, calc(100svh - 250px), 560px); }
  .o4-who.is-pin .o4-panel__body { gap: 8px; padding: 20px 24px; }
  .o4-who.is-pin .o4-panel p:not(.o4-panel__fit) { font-size: .92rem; line-height: 1.5; }
}

/* ---------- Great Place to Work: badge pop, glow ring, emoji fountain ---------- */
.gptw-badge.o4-gptw { overflow: visible; cursor: pointer; }
.o4-gptw img { position: relative; z-index: 2; transition: transform .9s cubic-bezier(.22, 1, .36, 1), filter .9s ease; }
.o4-gptw.is-party img { transform: translateY(-8px) scale(1.05); filter: drop-shadow(0 16px 14px rgba(0, 0, 0, .3)); }
.o4-gptw__ring { position: absolute; left: 50%; top: 45%; z-index: 1; width: 100%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 196, 0, .45), rgba(255, 31, 90, .18) 60%, transparent); opacity: 0; transform: scale(.6); transition: opacity .5s, transform .7s cubic-bezier(.2, .8, .2, 1); }
.o4-gptw.is-party .o4-gptw__ring { opacity: 1; transform: scale(1.55); }
.o4-gptw__fx { position: absolute; left: 50%; top: 42%; width: 0; height: 0; z-index: 3; pointer-events: none; }
.o4-gptw__fx > span { position: absolute; left: 0; top: 0; font-size: 21px; line-height: 1; translate: -50% -50%; will-change: transform, opacity; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25)); }
.o4-gptw__fx > i { position: absolute; left: 0; top: 0; width: 7px; height: 7px; margin: -3.5px; border-radius: 2px; will-change: transform, opacity; }
@media (max-width: 640px) { .o4-gptw__fx > span { font-size: 17px; } }

/* ---------- round 4: SOC wall bigger, faded edges, shorter pan ---------- */
.soc-experience { height: 190vh; }
.o4-ops { padding-top: 26px; padding-bottom: clamp(12px, 2.4vh, 24px); background: linear-gradient(180deg, transparent, rgba(2, 11, 31, .85) 45%, #020B1F); }
.o4-ops__track { margin-top: 0; }
.o4-ops__stage { font-size: .78rem; gap: 10px; }
.o4-ops__stage::before { width: 18px; height: 18px; }
.o4-ops__line { top: 9px; }
.soc-experience .seat__stage::before, .soc-experience .seat__stage::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 4; width: min(22vw, 320px); pointer-events: none; }
.soc-experience .seat__stage::before { left: 0; background: linear-gradient(90deg, #020B1F 6%, rgba(2, 11, 31, .7) 45%, rgba(2, 11, 31, 0)); }
.soc-experience .seat__stage::after { right: 0; background: linear-gradient(270deg, #020B1F 6%, rgba(2, 11, 31, .7) 45%, rgba(2, 11, 31, 0)); }
@media (max-width: 760px) { .soc-experience { height: 170vh; } .soc-experience .seat__stage::before, .soc-experience .seat__stage::after { width: 14vw; } .o4-ops__stage { font-size: .62rem; } }
/* stage just reached pulses; seat sub on one line */
.o4-ops__stage.is-now::before { animation: o4-stage 1.6s ease-out infinite; }
@keyframes o4-stage { 0% { box-shadow: 0 0 0 0 rgba(255, 31, 90, .6), 0 0 16px rgba(255, 31, 90, .6); } 100% { box-shadow: 0 0 0 12px rgba(255, 31, 90, 0), 0 0 16px rgba(255, 31, 90, .6); } }
.soc-experience .seat__sub { max-width: 72ch; }
@media (prefers-reduced-motion: reduce) { .o4-ops__stage.is-now::before { animation: none; } }

/* ---------- header: glass, and hover states that read on both the dark hero and the white page ---------- */
.site-header, .site-header.solid {
  background: rgba(6, 20, 52, .28); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, .08); box-shadow: none; }
body.past-hero .site-header, body.past-hero .site-header.solid {
  background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(12, 27, 58, .08); box-shadow: 0 12px 30px -26px rgba(12, 27, 58, .4); }
@media (min-width: 761px) {
  body:not(.past-hero) .site-header .nav-top:hover, body:not(.past-hero) .site-header .nav-top:focus-visible { color: #fff; background: rgba(255, 255, 255, .14); }
  body:not(.past-hero) .site-header .nav-top[aria-current] { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
  body.past-hero .site-header .nav-top:hover { color: var(--blue); background: rgba(46, 94, 180, .08); }
  body.past-hero .site-header .nav-top[aria-current] { color: var(--blue); background: rgba(46, 94, 180, .08); }
}

/* ---------- CCTV camera on the SOC wall: turns to follow the mouse ---------- */
.o4-cam { position: absolute; left: 0; top: clamp(92px, 13vh, 140px); z-index: 6; width: clamp(130px, 12vw, 200px); pointer-events: none;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); }
.o4-cam svg { display: block; width: 100%; height: auto; overflow: visible; }
.o4-cam__head { transform-box: view-box; transform-origin: 58px 46px; transform: rotate(var(--cam, 18deg)); }
.o4-cam__cone { opacity: .9; mix-blend-mode: screen; }
.o4-cam__led { fill: #FF1F5A; animation: o4-camled 1.4s ease-in-out infinite; }
@keyframes o4-camled { 50% { fill: #5a0a1e; } }
@media (max-width: 760px) { .o4-cam { width: 110px; top: 84px; } .o4-cam__cone { opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .o4-cam__led { animation: none; } }
/* second camera on the right wall: the same drawing, mirrored */
.o4-cam--right { left: auto; right: 0; }
.o4-cam--right svg { transform: scaleX(-1); }

/* ---------- hero: SITC / AMC / SOC on one line above the stats ---------- */

/* ---------- header: fully transparent at the very top, glass once the page scrolls ---------- */
body:not(.o4-scrolled):not(.past-hero) .site-header, body:not(.o4-scrolled):not(.past-hero) .site-header.solid {
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; box-shadow: none; }

/* ---------- hero steps: a horizontal slider on phones and tablets ---------- */
@media (max-width: 1023px) {
  .o4-vs { grid-template-columns: 1fr; gap: 18px; }
  .o4-vs__rail { height: auto; flex-direction: row; justify-content: space-between; }
  .o4-vs__line { left: 18px; right: 18px; top: 18px; bottom: auto; width: auto; height: 2px; margin: -1px 0 0; }
  .o4-vs__line i { transform-origin: 0 50%; transform: scaleX(var(--fill, 0)); }
  .o4-vs__line b { left: calc(var(--fill, 0) * 100%); top: 50%; }
  .o4-vs__rail.is-reset .o4-vs__line b { transition: transform .8s cubic-bezier(.7, 0, .2, 1), left .8s cubic-bezier(.7, 0, .2, 1); }
}
@media (min-width: 701px) and (max-width: 1023px) { .o4-vs__line { left: 7%; right: 7%; } }

/* hero service row: no outline, Lucide icons */

/* ---------- SOC centre video ---------- */
.o4-socv__copy { width: 100%; padding-block: clamp(48px, 9vh, 96px); }
.o4-socv__facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.o4-socv__facts li { display: flex; flex-direction: column; gap: 2px; min-width: 140px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.o4-socv__facts b { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -.02em; }
.o4-socv__facts span { font-size: .84rem; color: var(--o4-text-2); }
@media (max-width: 760px) {
  .o4-socv__facts li { min-width: 0; flex: 1 1 30%; padding: 12px; }
}
/* live HUD (top of the SOC video) */
@keyframes o4-pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 31, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 31, 90, 0); } }
/* keep the HUD and pause button clear of the fixed header when the section reaches the top */
/* hero service row: icon + text only, light line separators */

/* =====================================================================
   PROCESS HERO (index.html) adjustments
   ===================================================================== */
/* heading in the same style as the section headings: light, with the accent bold and red */
#main .process-hero .ph-heading__title { font-family: var(--display); font-weight: 300; line-height: 1.06; letter-spacing: -.03em; }
#main .process-hero .ph-heading__accent { font-weight: 700; color: var(--o4-red); background: none; -webkit-text-fill-color: currentColor; }
/* SITC · AMC · SOC Monitoring under the heading */
.ph-svcs { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 46px; margin: 26px 0 0; padding: 0; list-style: none; }
.ph-svcs a { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; pointer-events: auto;
  font-family: var(--display); font-weight: 500; letter-spacing: -.01em; transition: color .3s; }
.ph-svcs svg { flex: none; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1), color .3s; }
.ph-svcs a:hover { color: #CFE0FF; }
.ph-svcs a:hover svg { color: var(--o4-red); transform: translateY(-3px) rotate(-6deg); }
.ph-svcs a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 8px; }
/* below the cards: buttons, then the main description; no per-stage description */
.process-hero .ph-copy { left: calc(var(--arc-x) * 1px - 450px); width: 900px; }
.process-hero .ph-count, .process-hero .ph-desc, .process-hero .ph-final { display: none; }
.process-hero .ph-cta .ph-heading__actions { margin-top: 0; }
@media (max-width: 767px), (max-aspect-ratio: 4/5) {
  .ph-svcs { gap: 8px 18px; margin-top: 14px; }
  .ph-svcs a { gap: 7px; }
  .process-hero .ph-copy { left: 20px; width: 360px; }
}

/* curved SOC video: the eye-shaped cut-out uses the hero's blue */
#main .scurve, .scurve { --sc-navy: #0B0849; position: relative; }
/* two cameras on the top corners of the video */
.o4-cam--top { top: clamp(10px, 2vw, 26px); z-index: 5; }
@media (max-width: 767px) { .o4-cam--top { width: 84px; top: 6px; } }
/* larger heading + service row, buttons clear of the timeline labels */
#main .process-hero .ph-heading__title { font-size: 80px; }
.ph-svcs a { font-size: 34px; }
.ph-svcs svg { width: 42px; height: 42px; }
.process-hero .ph-copy { top: 868px; }
@media (max-width: 767px), (max-aspect-ratio: 4/5) {
  #main .process-hero .ph-heading__title { font-size: 28px; }
  .ph-svcs a { font-size: 15px; }
  .ph-svcs svg { width: 20px; height: 20px; }
  .process-hero .ph-copy { top: 586px; }
}
/* the description now sits at the bottom of the hero, where the "Scroll to explore" hint was */
.process-hero .ph-hint { display: none; }
/* phones: the curved heading spans the full width, so the corner cameras would cover it */
@media (max-width: 599px) { .o4-cam--top { display: none; } }
/* soft dark glow behind the corner cameras so they read clearly over the bright footage */
.o4-cam--top { isolation: isolate; }
.o4-cam--top::before { content: ""; position: absolute; z-index: -1; pointer-events: none;
  }
.o4-cam--top::before { left: -70%; top: -120%; width: 250%; height: 360%;
  background: radial-gradient(closest-side, rgba(7, 6, 50, .96) 0%, rgba(7, 6, 50, .82) 40%, rgba(7, 6, 50, .4) 70%, rgba(7, 6, 50, 0) 100%); }
.o4-cam--top.o4-cam--right::before { left: auto; right: -70%; }

/* ---------- process hero cards: curved titles, red glowing outline on the selected card ---------- */
.process-hero .ph-card__shadow { position: relative; }
.process-hero .ph-card__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none;
  }
.process-hero .ph-card__ring path { fill: none; stroke-linejoin: round; }
.process-hero .ph-card__label { top: 0; height: 100%; padding: 0; display: block;
  background: linear-gradient(180deg, rgba(7, 4, 61, 0) 52%, rgba(7, 4, 61, .45) 74%, rgba(7, 4, 61, .82) 100%); }
.process-hero .ph-card__arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .45)); }
.process-hero .ph-arc-n { font-family: var(--ph-font); font-size: 16px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; fill: #fff; }
.process-hero .ph-arc-h { font-family: var(--ph-font); font-size: 44px; font-weight: 700; letter-spacing: -.01em; fill: #fff; }
@media (max-width: 767px), (max-aspect-ratio: 4/5) {
  .process-hero .ph-arc-n { font-size: 26px; }
  .process-hero .ph-arc-h { font-size: 62px; }
}

/* hero buttons at the site's normal button size, whatever the hero canvas scale */
.process-hero .ph-cta .ph-heading__actions .btn { min-height: calc(46px / var(--s, 1)); padding: .6em 1.25em; font-size: calc(.94rem / var(--s, 1)); }
.process-hero .ph-cta .ph-heading__actions { gap: calc(12px / var(--s, 1)); }
.process-hero .ph-cta .ph-heading__actions .icon { width: 1.1em; height: 1.1em; }
@media (max-width: 767px), (max-aspect-ratio: 4/5) {
  .process-hero .ph-cta .ph-heading__actions { flex-wrap: nowrap; }
  .process-hero .ph-cta .ph-heading__actions .btn { padding: .6em 1em; font-size: calc(.86rem / var(--s, 1)); white-space: nowrap; }
}
/* selected card outline: thinner and softer */
.process-hero .ph-card__ring { filter: drop-shadow(0 0 6px rgba(255, 31, 90, .4)); }
.process-hero .ph-card__ring path { stroke-width: 43.5; }
/* soft blurred halo around the selected card, under the thin outline */
.process-hero .ph-card__halo { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none;
  filter: blur(16px); }
.process-hero .ph-card__halo path { fill: none; stroke-width: 70; stroke-linejoin: round; }
@media (max-width: 767px), (max-aspect-ratio: 4/5) { .process-hero .ph-card__halo { filter: blur(22px); } }
/* outline + halo at about 15% opacity */
.process-hero .ph-card__ring { opacity: calc(var(--act, 0) * .15); }
.process-hero .ph-card__ring path { stroke: #FF1F5A; }
.process-hero .ph-card__halo { opacity: calc(var(--act, 0) * .15); }
.process-hero .ph-card__halo path { stroke: #FF1F5A; }
/* header stays fully transparent the whole time the hero is on screen (the hero text sits close under it
   on smaller screens); it turns into frosted white once the hero has scrolled away */
body:not(.past-hero) .site-header, body:not(.past-hero) .site-header.solid {
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; box-shadow: none; }
/* slider sits 10px (on screen) higher, closer to the SITC / SOC / AMC row */
.process-hero .ph-wheel, .process-hero .ph-timeline, .process-hero .ph-nodes, .process-hero .ph-copy, .process-hero .ph-active-glow {
  translate: 0 calc(-10px / var(--s, 1)); }
/* titles on the side (inactive) cards are dimmer; the selected card's title is full strength */
.process-hero .ph-card__arc { opacity: calc(.35 + .65 * var(--act, 0)); }

/* ---------- parallax: the curved SOC video slides up over the pinned hero ---------- */
.process-hero { z-index: 1; }
#main .scurve.is-overlap { z-index: 3; }

/* curved SOC video: soft, blurred edge on the eye-shaped cut-out so it melts into the hero blue */
#main .scurve .scurve__frame { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 578' preserveAspectRatio='none'%3E%3Cfilter id='b' x='-10%' y='-30%' width='120%' height='160%'%3E%3CfeGaussianBlur stdDeviation='16'/%3E%3C/filter%3E%3Cpath filter='url(%23b)' fill-rule='evenodd' fill='white' d='M-120 -120 H1560 V700 H-120 Z M207.5 -120 L207.5 0 A621.4 621.4 0 0 0 1232.5 0 L1232.5 -120 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 578' preserveAspectRatio='none'%3E%3Cfilter id='b' x='-10%' y='-30%' width='120%' height='160%'%3E%3CfeGaussianBlur stdDeviation='16'/%3E%3C/filter%3E%3Cpath filter='url(%23b)' fill-rule='evenodd' fill='white' d='M-120 -120 H1560 V700 H-120 Z M207.5 -120 L207.5 0 A621.4 621.4 0 0 0 1232.5 0 L1232.5 -120 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
@media (max-width: 767px) { #main .scurve .scurve__frame { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' preserveAspectRatio='none'%3E%3Cfilter id='b' x='-10%' y='-30%' width='120%' height='160%'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cpath filter='url(%23b)' fill-rule='evenodd' fill='white' d='M-120 -120 H1120 V1120 H-120 Z M50 -120 L50 0 A453.1 453.1 0 0 0 950 0 L950 -120 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' preserveAspectRatio='none'%3E%3Cfilter id='b' x='-10%' y='-30%' width='120%' height='160%'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cpath filter='url(%23b)' fill-rule='evenodd' fill='white' d='M-120 -120 H1120 V1120 H-120 Z M50 -120 L50 0 A453.1 453.1 0 0 0 950 0 L950 -120 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; } }
/* overlap: every section after the hero layers above it, so nothing of the pinned hero shows through */
body.o4-ph-overlap #main > * { position: relative; z-index: 2; }
body.o4-ph-overlap #main > .pin-spacer:first-of-type, body.o4-ph-overlap #main > .process-hero { z-index: 1; }
/* soft top edge while the section slides over the hero (no hard line) */
#main .scurve.is-overlap { box-shadow: none; }
#main .scurve.is-overlap::before { position: absolute; left: 0; right: 0; bottom: 100%; height: 110px; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 8, 73, 0), var(--sc-navy)); }
/* the section clips its children, so fade its own top edge instead */
#main .scurve.is-overlap::before { content: none; }
#main .scurve.is-overlap { -webkit-mask: linear-gradient(180deg, transparent 0, #000 var(--ov-fade, 0px)); mask: linear-gradient(180deg, transparent 0, #000 var(--ov-fade, 0px)); }
/* while the SOC video slides over it, the hero slider blurs and fades away (heading first) */
.process-hero.is-covered .ph-stage { filter: blur(calc(var(--ov-p, 0) * 16px)); opacity: calc(1 - var(--ov-p, 0) * .85); }
.process-hero.is-covered .ph-heading { opacity: calc(1 - var(--ov-p, 0) * 1.8); }
.process-hero.is-covered .ph-bg { opacity: calc(1 - var(--ov-p, 0) * .5); }
.process-hero.is-covered .ph-heading > * { opacity: calc(1 - var(--ov-p, 0) * 2); }
/* links that jump to a section stop below the fixed header */
#main section[id] { scroll-margin-top: 76px; }

/* ---------- data-ph-cover="flip" (index.html): the hero flips back (instead of blurring) while the SOC video slides over it ---------- */
.process-hero[data-ph-cover="flip"].is-covered .ph-stage {
  filter: none;
  
  
  
}
.process-hero[data-ph-cover="flip"].is-covered .ph-bg { opacity: calc(1 - var(--ov-p, 0) * .4); }
/* flip folds up and away from the top edge, so the hero heading stays clear of the rising SOC heading */
/* flip: tip back around the middle of the hero and fade out by the time the SOC heading arrives */
.process-hero[data-ph-cover="flip"].is-covered .ph-stage {
  transform-origin: 50% 45%;
  transform: perspective(1300px) rotateX(calc(var(--ov-p, 0) * 75deg)) scale(calc(var(--s, 1) * (1 - var(--ov-p, 0) * .1)));
  opacity: calc(1 - var(--ov-p, 0) * 1.5);
}
.process-hero[data-ph-cover="flip"].is-covered .ph-heading > * { opacity: calc(1 - var(--ov-p, 0) * 2); }

/* =====================================================================
   AI-POWERED SECURITY SOLUTIONS: horizontal gallery, after motion.dev "Scroll Horizontal Gallery".
   Intro scrolls away; a 300vh container holds a sticky 100vh frame one card wide, centred, with the
   track overflowing to the right. option-04.js moves the track from 0 to -(n-1)·(card + gap) between
   "container top at viewport top" and "container bottom at viewport bottom".
   ===================================================================== */
.hgal { --hgal-w: 300px; --hgal-h: min(420px, calc(100vh - 150px)); --hgal-gap: 20px;
  background: #0B1011; color: #fff; overflow: clip; }                    /* clip, not hidden: keeps sticky working */
/* compact: no forced half-screen height, tighter padding above and below the heading */
.hgal-intro { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; gap: 12px;
  padding: clamp(40px, 4.5vw, 60px) var(--gutter) 8px; }
.hgal .eyebrow { display: inline-flex; align-items: center; gap: .6em; margin: 0; text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 500; color: rgba(255, 255, 255, .65); }
.hgal .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #FF1F5A; }
/* same normal weight as the other section headings (light text, semi-bold red highlight) */
#main .hgal-intro h2 { margin: 0; max-width: none; color: #fff; }
#main .hgal-intro h2 em { font-style: normal; color: #FF1F5A; }
.hgal-intro .lede { max-width: 60ch; margin: 0; color: #fff; }

/* the row starts at the page gutter (no empty side space); the scroll length is set in option-04.js from the
   distance the row has to travel, and the pin is dropped (.is-static) when every card already fits */
.hgal-scroll { position: relative; height: 300vh; }
.hgal-sticky { position: sticky; top: 0; height: 100vh; width: 100%; margin: 0; padding-left: var(--gutter); padding-right: var(--gutter); display: flex; align-items: center; justify-content: flex-start; overflow: visible; }
.hgal-scroll.is-static { height: auto !important; }
.hgal-scroll.is-static .hgal-sticky { position: relative; height: auto; padding-top: 24px; padding-bottom: var(--pad); }
.hgal-track { display: flex; gap: var(--hgal-gap); margin: 0; padding: 0; list-style: none; will-change: transform; }
.hgal-item { flex-shrink: 0; position: relative; width: var(--hgal-w); height: var(--hgal-h); border-radius: 12px; overflow: hidden; background: #151b1d; }
.hgal-item > img, .hgal-item > .bgv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hgal-item::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, transparent 60%, var(--item-color)); mix-blend-mode: multiply; pointer-events: none; }
.hgal-content { position: absolute; bottom: 30px; left: 30px; right: 30px; z-index: 2; }
.hgal-num { display: block; margin-bottom: 8px; font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; color: var(--item-color); color: color-mix(in srgb, var(--item-color) 55%, #fff); }   /* lifted toward white so it reads on its own gradient */
#main .hgal-item h3 { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.15; color: #fff; }

/* the fixed header covers the top of the sticky frame: centre the cards in the space below it */
.hgal-sticky { padding-top: 76px; box-sizing: border-box; }
@media (max-width: 600px) { .hgal { --hgal-w: 250px; --hgal-h: 340px; --hgal-gap: 14px; } }

@media (prefers-reduced-motion: reduce) {
  .hgal-track { transform: none !important; }
  .hgal-scroll { height: auto; }
  .hgal-sticky { position: relative; height: auto; width: 100%; overflow-x: auto; padding: 50px var(--gutter); }
}
html:not(.o4-js) .hgal-scroll { height: auto; }
html:not(.o4-js) .hgal-sticky { position: relative; height: auto; width: 100%; overflow-x: auto; padding: 50px var(--gutter); }

/* =====================================================================
   FOOTER WORDMARK (after antigravity.google): "Modern Informatics" across the full footer width.
   As the footer scrolls in, the end of the word floats off: the last i's dot lifts away, the c tilts,
   the s rises and tilts (scroll-linked, set by option-04.js), and those pieces keep bobbing gently.
   ===================================================================== */
.o4-word { position: relative; z-index: 1; padding: clamp(44px, 6vw, 84px) 0 clamp(18px, 3vw, 36px); line-height: 1; pointer-events: none; user-select: none; }
.o4-word__in { display: inline-block; white-space: nowrap; font-family: var(--display); font-weight: 700; letter-spacing: -.045em; color: #fff;
  font-size: 11.6vw; /* refined by option-04.js to fit the width exactly */ }
.o4-word__i, .o4-word__p, .o4-word__bob { display: inline-block; }
.o4-word__i { position: relative; }
/* the last i is drawn twice: the stem (everything below the cut) and the dot (everything above it) */
.o4-word__stem { clip-path: inset(var(--cut, .33em) -.1em -.2em -.1em); }
.o4-word__i > .o4-word__p { position: absolute; left: 0; top: 0; }
.o4-word__p { transform-origin: 50% 85%; will-change: transform; }
.o4-word__p[data-float="dot"] { transform-origin: 50% 20%; }
.o4-word__bob { animation: o4-bob 11s ease-in-out infinite; transform-origin: 50% 80%; }
[data-float="dot"] > .o4-word__bob { animation-duration: 10s; animation-delay: -3.5s; }
[data-float="c"] > .o4-word__bob { animation-duration: 12.5s; animation-delay: -6s; }
[data-float="s"] > .o4-word__bob { animation-duration: 11s; animation-delay: -1.8s; }
@keyframes o4-bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 30% { transform: translateY(-.05em) rotate(-3deg); } 65% { transform: translateY(.015em) rotate(2deg); } }
/* the old faint logo watermark is replaced by the wordmark */
.footer .foot-mark { display: none; }
@media (prefers-reduced-motion: reduce) { .o4-word__bob { animation: none; } }
/* end state at --p: 1 (set by option-04.js from the scroll position) */
.o4-word__p[data-float="dot"] { transform: translate(calc(var(--p, 0) * .008em), calc(var(--p, 0) * -.03em)) rotate(calc(var(--p, 0) * -10deg)); }   /* a small hop: stays close to its i *
.o4-word__p[data-float="c"] { transform: translate(calc(var(--p, 0) * .045em), calc(var(--p, 0) * -.06em)) rotate(calc(var(--p, 0) * -9deg)); }   /* nudged right so its tilt clears the i */
.o4-word__p[data-float="s"] { transform-origin: 15% 95%; transform: translateY(calc(var(--p, 0) * -.07em)) rotate(calc(var(--p, 0) * 11deg)); }   /* small lift: a lowercase s raised further reads as a capital S */
/* last two letters (c and s) stay still: no scroll lift and no bobbing. The dot of the last i still floats. */
.o4-word__p[data-float="c"], .o4-word__p[data-float="s"] { transform: none; }
.o4-word__p[data-float="c"] > .o4-word__bob, .o4-word__p[data-float="s"] > .o4-word__bob { animation: none; }
@media (prefers-reduced-motion: reduce) { .o4-word { --p: 1; } }

/* Phones (up to 768px): footer email at 14px so it does not break mid-word */
@media (max-width: 768px) {
  .foot-mails a { font-size: 14px; }
  /* phones, all pages: hidden while the footer is on screen (class set by assets/js/shared/gptw-badge.js) */
  /* html body: same specificity as the body.past-hero rule above, and it comes later, so it wins on pages that set past-hero */
  html body .gptw-badge.is-hidden { opacity: 0; pointer-events: none; }
}
/* hover: the letter under the pointer lifts smoothly, its neighbours follow a little.
   Uses `translate`, which stacks on top of the scroll-driven `transform` of the floating i, c and s. */
.o4-word__l, .o4-word__sp { display: inline-block; }
.o4-h { translate: 0 0; transition: translate .55s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) and (pointer: fine) {
  .o4-word .o4-h { pointer-events: auto; cursor: default; }
  /* wave: hovered letter rises most, 1 letter each side about half, 2 letters out a little */
  .o4-word .o4-h:hover + .o4-h + .o4-h, .o4-word .o4-h:has(+ .o4-h + .o4-h:hover) { translate: 0 -.07em; }
  .o4-word .o4-h:hover + .o4-h, .o4-word .o4-h:has(+ .o4-h:hover) { translate: 0 -.15em; }
  .o4-word .o4-h:hover { translate: 0 -.26em; transition-duration: .45s; }
}
@media (prefers-reduced-motion: reduce) { .o4-h { transition: none; } .o4-word .o4-h:hover, .o4-word .o4-h:hover + .o4-h, .o4-word .o4-h:has(+ .o4-h:hover), .o4-word .o4-h:hover + .o4-h + .o4-h, .o4-word .o4-h:has(+ .o4-h + .o4-h:hover) { translate: none; } }
/* stem and dot copies laid out as identical block boxes, so the same --cut lands at the same glyph height in both */
.o4-word__i > .o4-word__stem { display: block; }
.o4-word__i > .o4-word__p { display: block; right: 0; bottom: 0; }
.o4-word__i > .o4-word__p > .o4-word__bob { display: block; }
/* clip on the bobbing glyph itself, so the dot/stem split never shifts while it floats */
.o4-word__i > .o4-word__p { clip-path: none; }
.o4-word__i > .o4-word__p > .o4-word__bob { clip-path: inset(-.3em -.1em calc(100% - var(--cut, .33em)) -.1em); }
/* the dot bobs less than the c and s, so it never drifts far from its i */
@keyframes o4-bob-dot { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-.018em); } 75% { transform: translateY(.004em); } }
[data-float="dot"] > .o4-word__bob { animation-name: o4-bob-dot; }
/* the floating i, c and s rise and settle slower than the other letters on hover */
.o4-word .o4-word__i.o4-h, .o4-word [data-float].o4-h { transition: translate 1.2s cubic-bezier(.25, .8, .25, 1); }
@media (hover: hover) and (pointer: fine) {
  .o4-word .o4-word__i.o4-h:hover, .o4-word [data-float].o4-h:hover { transition-duration: .9s; }
}
@media (prefers-reduced-motion: reduce) { .o4-word .o4-word__i.o4-h, .o4-word [data-float].o4-h { transition: none; } }
/* hover light: brand-colour spotlight under the pointer, clipped to the letters (positions from option-04.js).
   At --lr: 0 the gradient is pure white, so the word looks unchanged until the pointer arrives. */
@property --lr { syntax: "<length>"; inherits: true; initial-value: 0px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .o4-word { --lr: 0px; transition: --lr .7s cubic-bezier(.2, .8, .2, 1); }
  .o4-word.is-lit { --lr: clamp(110px, 12vw, 190px); }   /* about 2-3 letters */
  .o4-word .o4-word__in { pointer-events: auto; }
  /* the gradient only paints inside each letter's box, so round edges (O, e, r, s) that overhang the box were cut.
     Padding widens the painted box; the matching negative margin keeps the spacing exactly as before. */
  /* not the dot of the last i: its clip line is measured from the top of its box, so extra padding would cut it */
  .o4-word__l, .o4-word__p:not([data-float="dot"]) > .o4-word__bob { padding: .08em .12em; margin: -.08em -.12em; }
  .o4-word__l, .o4-word__stem, .o4-word__bob {
    color: transparent; -webkit-background-clip: text; background-clip: text;
    /* linear band across the letters, centred on the pointer's x (--lx). Same colours as the scroll progress bar: red, violet, blue. */
    background-image: linear-gradient(90deg,
      #fff calc(var(--lx, -999px) - var(--lr)),
      #FF1F5A var(--lx, -999px),
      #6B6FD0 calc(var(--lx, -999px) + var(--lr) * .5),
      #2E5EB4 calc(var(--lx, -999px) + var(--lr) * .78),
      #fff calc(var(--lx, -999px) + var(--lr))); }
}

/* ---------- hero: dot grid that wakes up around the pointer (drawn by option-04.js) ---------- */
.ph-dots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }

/* ---------- curved SOC video: "24x7" above "Security Operations Center", tagline below ---------- */
#main .scurve .scurve__line--top { font-weight: 700; }
#main .scurve .scurve__line:not(.scurve__line--top) { font-weight: 300; }
#main .scurve .scurve__sub { position: absolute; left: 50%; top: calc(2.6vw + clamp(1.5rem, 3.3vw, 3.4rem) * 2.5 + .9vw); z-index: 2;
  transform: translateX(-50%); width: min(46vw, 640px); margin: 0; text-align: center;
  font-size: clamp(.85rem, 1.25vw, 1.3rem); line-height: 1.4; color: rgba(255, 255, 255, .82); }
@media (max-width: 767px) {
  #main .scurve .scurve__sub { top: calc(4.5vw + clamp(1.15rem, 5.6vw, 1.5rem) * 2.5 + 2vw); width: 72vw; font-size: clamp(.78rem, 3.4vw, .95rem); }
}

/* ---------- trusted by: "Top brands" in bold red under the label ---------- */
.o4-trust__in > p { line-height: 1.15; }
.o4-trust__in > p b { display: block; margin-top: -1px; font-size: 1.15rem; font-weight: 800; letter-spacing: .02em; color: #F20B4D; }
@media (max-width: 1023px) { .o4-trust__in > p { text-align: center; } .o4-trust__in > p b { display: inline; margin-left: .3em; } }

/* AI section intro: eyebrow and lede in white */
#main .hgal-intro .eyebrow, #main .hgal .hgal-intro .lede { color: #fff; }

/* ---------- banner (process hero) timeline: thinner dots ---------- */
.process-hero .ph-node__dot { width: 16px; height: 16px; margin: -8px 0 0 -8px; border-width: 1.5px; }
.process-hero .ph-node__check { width: 10px; height: 10px; }
.process-hero .ph-node.is-active .ph-node__dot { box-shadow: 0 0 0 4px rgba(224, 49, 47, .2), 0 0 14px rgba(224, 49, 47, .6); }
.process-hero.is-complete .ph-node .ph-node__dot, .process-hero .is-complete .ph-node .ph-node__dot { box-shadow: 0 0 0 3px rgba(255, 95, 143, .16), 0 0 12px rgba(255, 95, 143, .5); }
.process-hero .ph-node:focus-visible .ph-node__dot { outline-width: 2px; outline-offset: 4px; }
@media (max-width: 760px) {
  .process-hero .ph-node__dot { width: 22px; height: 22px; margin: -11px 0 0 -11px; border-width: 1.5px; }
  .process-hero .ph-node__num { font-size: 10px; }
}

/* ---------- banner timeline: burst when a dot is clicked (spawned by option-04.js) ---------- */
.ph-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 2; pointer-events: none; }
.ph-burst__ring { position: absolute; border-radius: 50%; border: 1.5px solid #FF5F8F;
  animation: ph-burst-ring .7s cubic-bezier(.2, .8, .2, 1) forwards; }
.ph-burst__ring--2 { border-color: rgba(255, 255, 255, .85); border-width: 1px; animation-delay: .08s; transform: scale(.4); opacity: 0; }
.ph-burst i { position: absolute; left: -1px; top: -1px; border-radius: 2px; transform-origin: 1px 1px;
  background: linear-gradient(180deg, #fff, #FF1F5A); animation: ph-burst-spark .65s cubic-bezier(.2, .8, .2, 1) forwards; }
.ph-burst i:nth-child(even) { background: linear-gradient(180deg, #fff, #ff8fb0); animation-duration: .55s; }
@keyframes ph-burst-ring { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes ph-burst-spark {
  0% { transform: rotate(var(--a)) translateY(-8px) scaleY(.3); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: rotate(var(--a)) translateY(-36px) scaleY(1); opacity: 0; } }
/* burst sized for the scaled-down banner canvas */
.ph-burst__ring { left: -12px; top: -12px; width: 24px; height: 24px; border-width: 2px; }
@keyframes ph-burst-ring { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(4); opacity: 0; } }
.ph-burst i { width: 2.5px; height: 12px; }
.ph-burst i:nth-child(even) { height: 8px; }
@keyframes ph-burst-spark {
  0% { transform: rotate(var(--a)) translateY(-10px) scaleY(.3); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: rotate(var(--a)) translateY(-52px) scaleY(1); opacity: 0; } }
/* banner dots on hover: a thin 1px ring with a small gap instead of a thick halo */
.process-hero .ph-node:hover .ph-node__dot { box-shadow: 0 0 8px rgba(92, 141, 255, .45); outline: 1px solid rgba(156, 192, 255, .8); outline-offset: 3px; }
.process-hero .ph-node.is-active:hover .ph-node__dot { box-shadow: 0 0 12px rgba(224, 49, 47, .55); outline: 1px solid rgba(255, 95, 143, .85); outline-offset: 3px; }
.process-hero .ph-node__dot { transition: background-color .35s, box-shadow .35s, outline-color .35s; outline: 1px solid transparent; outline-offset: 3px; }

/* ---------- Insights dropdown (Case Studies, Blog): white card with dark links, on the hero and on the white page ---------- */
.site-header .mega-links a { color: var(--ink); border-radius: 10px; transition: background .2s, color .2s; }
.site-header .mega-links a:hover, .site-header .mega-links a:focus-visible, .site-header .mega-links a[aria-current] { color: var(--blue); }
@media (min-width: 1024px) {
  .site-header .nav-item .mega-sm { width: 210px; left: 0; padding: 8px; border-radius: 16px; }
  .site-header .mega-sm .mega-links a { padding: 10px 14px; }
  .site-header .mega-links a:hover, .site-header .mega-links a:focus-visible { background: rgba(46, 94, 180, .08); }
  body:not(.past-hero) .site-header .nav-item:hover > .nav-top, body:not(.past-hero) .site-header .nav-item.open > .nav-top { color: #fff; background: rgba(255, 255, 255, .14); }
  body:not(.past-hero) .site-header .nav-item.is-current > .nav-top { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
  body.past-hero .site-header .nav-item:hover > .nav-top, body.past-hero .site-header .nav-item.open > .nav-top,
  body.past-hero .site-header .nav-item.is-current > .nav-top { color: var(--blue); background: rgba(46, 94, 180, .08); }
}
@media (max-width: 1023px) {
  .site-header .nav-item.open > .nav-top, .site-header .nav-item:hover > .nav-top { color: var(--blue); }
  .site-header .mega-sm .mega-links a { padding: 10px 12px; }
}

/* ---------- scroll progress bar colour (was an inline <style> on every page) ---------- */
.progress { background: linear-gradient(90deg, #2E5EB4, #6B6FD0 50%, #FF1F5A); }

/* ---------- eyebrows: one uniform style everywhere, all caps (matches .o4-kicker); colours stay per section ---------- */
.eyebrow, #main .eyebrow, .imap .eyebrow, .hgal .eyebrow, .seat .eyebrow, #main .imap .eyebrow, #main .hgal .eyebrow, #main .seat .eyebrow {
  font-family: var(--sans); font-size: .8rem; font-weight: 700; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase;
}

/* ---------- homepage case studies: "View all" button centred under the cards ---------- */
.cstudies .cs-all { display: flex; justify-content: center; margin-top: clamp(28px, 3.5vw, 44px); }

/* ======================== HOMEPAGE HERO: white (body.home-hero-light, index.html only) ======================== */
/* The photo cards keep their images and labels; only the page-level dark parts of the hero change to light. */
.home-hero-light .process-hero { background: #fff; color: var(--ink); }
.home-hero-light .process-hero .ph-light,
.home-hero-light .process-hero .ph-particles,
.home-hero-light .process-hero .ph-active-glow { display: none; }
.home-hero-light #main .process-hero .ph-heading__title { color: var(--ink); }
.home-hero-light .process-hero .ph-svcs a { color: var(--ink); }
.home-hero-light .process-hero .ph-svcs a:hover { color: var(--blue); }
.home-hero-light .process-hero .ph-svcs svg { color: var(--blue); }
.home-hero-light .process-hero .ph-hint { color: var(--muted); }
.home-hero-light .process-hero .ph-hint__line { background: var(--muted); }
/* secondary button: raised white card with a soft shadow; lifts a little on hover */
.home-hero-light .process-hero .ph-cta .btn-glass { background: #fff; border: 1px solid #3B7BDB; /* same blue as the header Contact Us button */ color: var(--ink);
  box-shadow: 0 16px 30px -14px rgba(12, 27, 58, .35), 0 2px 6px rgba(12, 27, 58, .08); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, color .3s; }
.home-hero-light .process-hero .ph-cta .btn-glass:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px);
  box-shadow: 0 22px 36px -14px rgba(12, 27, 58, .42), 0 4px 10px rgba(12, 27, 58, .1); }
.home-hero-light .process-hero .ph-node__dot { background: #fff; border-color: var(--blue-soft); }
.home-hero-light .process-hero .ph-timeline__base { stroke: var(--line); }
/* header over the white hero: white bar with dark links, until the hero has scrolled away */
/* homepage header: transparent at the top; it turns glass once content scrolls under it (base rules) */
.home-hero-light:not(.past-hero) .site-header { background: transparent; border-bottom-color: transparent; box-shadow: none; }
.home-hero-light:not(.past-hero) .site-header .nav-top,
.home-hero-light:not(.past-hero) .site-header .menu-btn { color: var(--ink); }
/* grey captions on the process cards (the slider labels) */
/* captions on the process-card photos: white, on the card's dark fade */
/* slider labels: upper "Stage 0N" and lower title both in white, on a solid grey arc at the foot of each card */
.home-hero-light .process-hero .ph-arc-n { fill: #fff; }
.home-hero-light .process-hero .ph-arc-h { fill: #fff; }
.home-hero-light .process-hero .ph-card__label {
  background: linear-gradient(
    rgba(46, 94, 180, 0) 46%,
    rgba(46, 94, 180, 0.55) 62%,
    rgba(30, 62, 130, 0.7) 100%
  );
}

/* second section (the SOC video): white background, dark heading; the curved bite takes the same white */
.home-hero-light #main .scurve { background: #fff; --sc-navy: #fff; }
.home-hero-light #main .scurve .scurve__title { color: var(--ink); }
.home-hero-light #main .scurve .scurve__sub { color: var(--muted); }

/* ======================== HEADING HIGHLIGHTS: regular weight on every page ======================== */
/* the red word(s) inside headings (<em>) are not bold; the selectors are specific enough to beat the page rules */
html body #main :is(h1, h2, h3, .o4-h2, .sh__title, .ph-heading__title, .scurve__title, .ldr-intro__title) em { font-weight: 400; }
html body #main .ldr .ldr-intro__title em { font-weight: 400; }
html #main .process-hero .ph-heading__accent,
html #main .scurve .scurve__accent { font-weight: 400; }

/* ======================== HEADER: white by default; blue (navy) only on the solutions page (body.hdr-navy) ======================== */
html body:not(.hdr-navy):not(.home-hero-light) .site-header, html body:not(.hdr-navy):not(.home-hero-light) .site-header.solid,
html body:not(.hdr-navy):not(.home-hero-light):not(.o4-scrolled):not(.past-hero) .site-header, html body:not(.hdr-navy):not(.home-hero-light):not(.o4-scrolled):not(.past-hero) .site-header.solid { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px -24px rgba(12, 27, 58, .35); }
html body:not(.hdr-navy) .site-header .nav-top, html body:not(.hdr-navy) .site-header .menu-btn { color: var(--ink); }
/* timeline stage names under the dots: dark on the white hero, including the active and hovered stage */
.home-hero-light .process-hero .ph-node__label,
.home-hero-light .process-hero .ph-node.is-active .ph-node__label,
.home-hero-light .process-hero .ph-node:hover .ph-node__label { color: var(--ink); }

/* header menu hover on the white header: blue (the white hover is only for the navy header on the solutions page) */
html body:not(.hdr-navy) .site-header .nav-top:hover, html body:not(.hdr-navy) .site-header .nav-top:focus-visible,
html body:not(.hdr-navy) .site-header .nav-item:hover > .nav-top, html body:not(.hdr-navy) .site-header .nav-item.open > .nav-top {
  color: var(--blue); background: rgba(46, 94, 180, .08); }

/* homepage timeline: the arc is blue; the highlighted stop (active and completed) is red */
/* arc: dark grey by default; when the sequence completes its shadow turns blue (the line itself stays grey) */
.home-hero-light .process-hero .ph-timeline__base {
  stroke: #BDC2CC;
  transition: filter 0.5s;
}
.home-hero-light .process-hero.is-complete .ph-timeline__base {
  filter: drop-shadow(rgba(46, 94, 180, 0.35) 0 0 6px)
          drop-shadow(rgba(46, 94, 180, 0.18) 0 0 14px);
}

.is-complete .ph-timeline__progress {
  filter: drop-shadow(rgba(255, 95, 143, 0.35) 0 0 6px);
}
.home-hero-light .process-hero .ph-node.is-active .ph-node__dot,
.home-hero-light .process-hero .ph-node.is-done .ph-node__dot { background: #FF1F5A; border-color: #FF1F5A; }

/* header logo: the same white sheen as the loader, sweeping across once on hover */
.logo { position: relative; display: inline-block; overflow: hidden; line-height: 0; }
.logo::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent); transform: skewX(-18deg); }
.logo:hover::after, .logo:focus-visible::after { animation: logo-sheen .9s cubic-bezier(.5, 0, .3, 1) 1; }
@keyframes logo-sheen { from { left: -60%; } to { left: 120%; } }

/* homepage header: the active link (Home) is blue, not white, on the white hero */
html body.home-hero-light:not(.past-hero) .site-header .nav-top[aria-current], html body.home-hero-light:not(.past-hero) .site-header .nav-item.is-current > .nav-top {
  color: var(--ink); background: rgba(46, 94, 180, .08); box-shadow: none; }

/* active tab in the header (white-header pages and the homepage): dark label on a soft blue pill */
html body:not(.hdr-navy) .site-header .nav-top[aria-current], html body:not(.hdr-navy) .site-header .nav-item.is-current > .nav-top,
html body.home-hero-light .site-header .nav-top[aria-current], html body.home-hero-light .site-header .nav-item.is-current > .nav-top {
  color: var(--ink); background: rgba(46, 94, 180, .08); box-shadow: none; }

/* header Contact Us button: raised like the homepage secondary button, stays blue; lifts a little on hover */
html body .site-header .nav-cta { box-shadow: 0 14px 28px -12px rgba(46, 94, 180, .55), 0 2px 6px rgba(12, 27, 58, .12);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s ease; }
html body .site-header .nav-cta:hover { transform: translateY(-3px); background: var(--blue);
  box-shadow: 0 22px 36px -12px rgba(46, 94, 180, .6), 0 4px 10px rgba(12, 27, 58, .15); }

/* header logo: the one-time sheen after load (added by shared/main.js) */
.logo.logo-intro::after { animation: logo-sheen .9s cubic-bezier(.5, 0, .3, 1) 1; }

/* Why choose MIPL (homepage): the fifth reason runs across the bottom row under the photo and the four reasons */
.why-card--wide { grid-column: 1 / -1; }

/* Why choose MIPL (homepage): photo fixed on the left, five reasons scroll on the right; the current reason is
   highlighted and the photo changes with it (shared/main.js sets .is-active and .is-on) */
.wd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.wd__media { position: sticky; top: 110px; height: min(56vh, 480px); border-radius: 22px; overflow: hidden; background: #06173F; box-shadow: 0 30px 60px -36px rgba(12, 27, 58, .55); }
.wd__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .8s ease, transform 1.2s var(--ease); }
.wd__img.is-on { opacity: 1; transform: none; }
.wd__list { list-style: none; margin: 0; padding: 0; }
.wd__item { min-height: 30vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding-left: clamp(18px, 2.4vw, 32px); border-left: 3px solid var(--line); opacity: .4; transition: opacity .5s ease, border-color .5s ease; }
.wd__item.is-active { opacity: 1; border-left-color: #FF1F5A; }
.wd__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(46, 94, 180, .1); color: var(--blue); }
.wd__ic svg { width: 24px; height: 24px; }
#main .wd__item h3 { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); color: var(--ink); }
.wd__item p { margin: 0; max-width: 40ch; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); line-height: 1.6; color: var(--muted); }
@media (max-width: 1023px) {
  .wd { grid-template-columns: 1fr; }
  .wd__media { position: relative; top: auto; height: 320px; }
  .wd__item { min-height: 0; padding: 18px 0 18px 18px; opacity: 1; }
}

/* footer: more space between the two office addresses */
.foot-brand address + address { margin-top: 22px; }
/* AI-powered security solutions (homepage): category label on each card in white, no numbers */
.hgal .hgal-num { color: #fff; }

/* AI-powered security solutions (homepage): dark blue background with a slowly drifting glow */
#ai-solutions.hgal { background: #06173F; position: relative; }
#ai-solutions.hgal::before { content: ""; position: absolute; inset: -25%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 20% 30%, rgba(46, 94, 180, .7), transparent 45%),
              radial-gradient(circle at 80% 70%, rgba(46, 94, 180, .45), transparent 42%),
              radial-gradient(circle at 55% 110%, rgba(126, 163, 230, .3), transparent 40%);
  animation: home-ai-drift 16s ease-in-out infinite alternate; }
#ai-solutions .hgal-intro, #ai-solutions .hgal-scroll { position: relative; z-index: 1; }
@keyframes home-ai-drift { from { transform: translate3d(-3%, -2%, 0) rotate(0deg); } to { transform: translate3d(3%, 2%, 0) rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { #ai-solutions.hgal::before { animation: none; } }

/* AI-powered security solutions (homepage): the frame is only as tall as the cards (no empty band above and below).
   It stays pinned while the row scrolls sideways. */
#ai-solutions .hgal-scroll { margin-top: 36px; }
#ai-solutions .hgal-sticky { top: max(0px, calc((100vh - var(--hgal-h)) / 2)); height: auto; align-items: flex-start; padding-top: 0; padding-bottom: 0; }
/* homepage hero: larger tick mark on the completed timeline stops */
.process-hero .ph-node__check { width: 15px; height: 15px; }
/* homepage hero only: larger timeline stop markers (16px -> 26px) */
.home-hero-light .process-hero .ph-node__dot { width: 26px; height: 26px; margin: -13px 0 0 -13px; border-width: 2px; }
.home-hero-light .process-hero .ph-node__check { width: 20px; height: 20px; }
/* homepage: on the final stage the whole process is complete, so the last (active) stop gets its tick too */
.home-hero-light .process-hero.is-complete .ph-node.is-active .ph-node__check,
.home-hero-light .process-hero .is-complete .ph-node.is-active .ph-node__check { opacity: 1; }
@media (max-width: 760px) {
  .home-hero-light .process-hero .ph-node__dot { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
}

/* stats band, light version (industries page): white background, dark figures and labels */
.kpis--band.kpis--light { background: #fff; color: var(--ink); }
.kpis--band.kpis--light .kpi-in { color: var(--ink); }
.kpis--band.kpis--light .kpi u { color: #FF1F5A; }
.kpis--band.kpis--light .kpi p { color: var(--muted); }
.kpis--band.kpis--light .kpi + .kpi::before { background: var(--line); }



/* ---------------------------------------------------------------------------
   Client logos: full colour, fixed height, width follows each logo's own
   proportions (files are trimmed to the logo edge, so equal height = equal
   visual weight). No max-width: wide logos keep their full width.
   --------------------------------------------------------------------------- */
/* top "Trusted by Top brands" strip */
#main .o4-trust .marquee-track { gap: clamp(28px, 3.5vw, 48px); }
#main .o4-trust .marquee-track .logo-chip { width: auto; height: 64px; padding: 0 4px; background: transparent; }
#main .o4-trust .logo-chip img { height: var(--lh, 36px); width: auto; max-width: none; object-fit: contain; filter: none; opacity: 1; }
#main .o4-trust .logo-chip:hover { transform: none; }
/* "Our clients" white tiles further down */
.clients .marquee-track .logo-chip { width: auto; padding: 14px 28px; }
.clients .marquee-track .logo-chip img { height: 48px; width: auto; max-width: none; object-fit: contain; }
