/* V16 HOMEPAGE CONSISTENCY — single final visual authority for client review. */

/* =========================================================
   01 / PAGE RHYTHM
   Light remains the dominant client-approved direction. The
   surfaces alternate quietly so the navy anchors feel deliberate.
   ========================================================= */
html body.v8.v13.v14[data-page="home"] .credibility-band{
  background:#eef3f6!important;
  border-top:1px solid #d6e0e7!important;
  border-bottom:1px solid #d6e0e7!important
}
html body.v8.v13.v14[data-page="home"] .capabilities{
  background:#fbfaf6!important;
  border:0!important;
  padding-bottom:82px!important
}
html body.v8.v13.v14[data-page="home"] .projects-showcase{background:#0d1824!important}
html body.v8.v13.v14[data-page="home"] .selected-projects-strip{background:#f1f5f7!important}
html body.v8.v13.v14[data-page="home"] .engineering-depth{
  background:#faf8f3!important;
  border-top:1px solid #e1e4e5!important;
  border-bottom:1px solid #e1e4e5!important
}
html body.v8.v13.v14[data-page="home"] .process.section-ivory{
  background:#eef3f6!important;
  border:0!important
}
html body.v8.v13.v14[data-page="home"] .about.section-light{background:#fbfaf7!important}

/* =========================================================
   02 / MULTI-DISCIPLINARY ENGINEERING
   ========================================================= */
body.v8.v13.v14[data-page="home"] .capability-layout{
  display:grid!important;
  grid-template-columns:minmax(400px,520px) minmax(0,1fr)!important;
  gap:clamp(50px,5vw,86px)!important;
  align-items:start!important
}
body.v8.v13.v14[data-page="home"] .capability-list{
  width:100%!important;
  border-top:1px solid #cbd5df!important
}
body.v8.v13.v14[data-page="home"] .capability-list .capability-row{
  box-sizing:border-box!important;
  width:100%!important;
  min-height:68px!important;
  margin:0!important;
  padding:0 12px 0 0!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) 26px!important;
  gap:13px!important;
  align-items:center!important;
  border:0!important;
  border-bottom:1px solid #cbd5df!important;
  background:transparent!important;
  color:#102333!important;
  text-align:left!important
}
body.v8.v13.v14[data-page="home"] .capability-list .capability-row>span{
  color:#738697!important;
  font:500 9px/1 "IBM Plex Mono",monospace!important;
  letter-spacing:.1em!important
}
body.v8.v13.v14[data-page="home"] .capability-list .capability-row>strong{
  color:#102333!important;
  font:500 clamp(18px,1.3vw,23px)/1.14 Inter,sans-serif!important;
  letter-spacing:-.025em!important
}
body.v8.v13.v14[data-page="home"] .capability-list .capability-row>i{
  color:#9db1c2!important;
  font-style:normal!important;
  font-size:17px!important;
  transition:transform .18s ease,color .18s ease!important
}
body.v8.v13.v14[data-page="home"] .capability-list .capability-row:hover>strong,
body.v8.v13.v14[data-page="home"] .capability-list .capability-row.is-active>strong{color:#164a9c!important}
body.v8.v13.v14[data-page="home"] .capability-list .capability-row:hover>i,
body.v8.v13.v14[data-page="home"] .capability-list .capability-row.is-active>i{
  color:#167bc4!important;
  transform:translateX(4px)!important
}
body.v8.v13.v14[data-page="home"] .capability-media{
  display:grid!important;
  width:100%!important;
  grid-template-rows:360px auto!important;
  margin:0!important
}
body.v8.v13.v14[data-page="home"] .capability-media .media-frame{
  width:100%!important;
  height:360px!important;
  overflow:hidden!important;
  background:#e8ecef!important
}
body.v8.v13.v14[data-page="home"] .capability-media .media-frame img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important
}
body.v8.v13.v14[data-page="home"] .capability-media figcaption{
  padding:18px 0 0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:9px 22px!important;
  align-items:start!important
}
body.v8.v13.v14[data-page="home"] .capability-media [data-capability-index]{
  grid-column:1/-1!important;
  color:#60788d!important
}
body.v8.v13.v14[data-page="home"] .capability-media [data-capability-title]{grid-column:1!important;max-width:650px!important}
body.v8.v13.v14[data-page="home"] .capability-media [data-capability-copy]{grid-column:1!important;max-width:650px!important;margin:0!important}
body.v8.v13.v14[data-page="home"] .capability-media [data-capability-tags]{grid-column:1!important;margin-top:2px!important}
body.v8.v13.v14[data-page="home"] .capability-project-link{
  grid-column:2!important;
  grid-row:2/5!important;
  align-self:start!important;
  min-width:176px!important;
  min-height:43px!important;
  padding:0 13px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  border:1px solid #c6d2dc!important;
  background:#fff!important;
  color:#164a9c!important;
  text-decoration:none!important;
  font:600 9px/1.2 "IBM Plex Mono",monospace!important;
  letter-spacing:.055em!important;
  text-transform:uppercase!important
}

/* Gallery gateway: compact navy punctuation, not a second dark section. */
body.v8.v13.v14[data-page="home"] .capability-gallery-gateway{display:none!important}
body.v8.v13.v14[data-page="home"] .capability-gallery-cta{
  position:relative!important;
  box-sizing:border-box!important;
  width:var(--audit-shell,calc(100% - 80px))!important;
  max-width:none!important;
  min-height:62px!important;
  height:62px!important;
  margin:26px auto 0!important;
  padding:0 12px 0 20px!important;
  display:grid!important;
  grid-template-columns:132px minmax(0,1fr) auto 42px!important;
  gap:20px!important;
  align-items:center!important;
  overflow:hidden!important;
  border:1px solid #263b4f!important;
  background:#0f1f2e!important;
  color:#f5f8fa!important;
  text-decoration:none!important;
  box-shadow:0 8px 22px rgba(14,28,41,.045)!important;
  transition:background .2s ease,border-color .2s ease,box-shadow .2s ease!important
}
body.v8.v13.v14[data-page="home"] .capability-gallery-cta::before{
  content:""!important;
  position:absolute!important;
  left:0!important;top:0!important;bottom:0!important;
  width:3px!important;
  background:#1e56aa!important
}
body.v8.v13.v14[data-page="home"] .capability-gallery-cta::after{
  content:""!important;
  position:absolute!important;
  left:0!important;right:0!important;bottom:0!important;
  height:2px!important;
  background:#248ed0!important;
  transform:scaleX(0)!important;
  transform-origin:left!important;
  transition:transform .28s ease!important
}
body.v8.v13.v14[data-page="home"] .gallery-cta-label{
  color:#839aad!important;
  font:500 8px/1.2 "IBM Plex Mono",monospace!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important
}
body.v8.v13.v14[data-page="home"] .gallery-cta-title{
  color:#f5f8fa!important;
  font:600 clamp(15px,1.05vw,17px)/1.15 "Space Grotesk",sans-serif!important;
  letter-spacing:-.015em!important
}
body.v8.v13.v14[data-page="home"] .gallery-cta-meta{
  color:#91a3b3!important;
  white-space:nowrap!important;
  font:500 8px/1.2 "IBM Plex Mono",monospace!important;
  letter-spacing:.09em!important;
  text-transform:uppercase!important
}
body.v8.v13.v14[data-page="home"] .capability-gallery-cta i{
  width:36px!important;height:36px!important;
  display:grid!important;place-items:center!important;
  justify-self:end!important;
  border:1px solid #466176!important;
  background:#10263a!important;
  color:#9bc8ec!important;
  font-style:normal!important;
  font-size:17px!important;
  transition:transform .22s ease,background .2s ease,color .2s ease,border-color .2s ease!important
}
body.v8.v13.v14[data-page="home"] .capability-gallery-cta:hover{
  background:#10263a!important;
  border-color:#356ead!important;
  box-shadow:0 12px 28px rgba(13,24,36,.1)!important
}
body.v8.v13.v14[data-page="home"] .capability-gallery-cta:hover::after{transform:scaleX(1)!important}
body.v8.v13.v14[data-page="home"] .capability-gallery-cta:hover .gallery-cta-title{color:#a7d7f2!important}
body.v8.v13.v14[data-page="home"] .capability-gallery-cta:hover i{
  transform:translateX(6px)!important;
  background:#1e56aa!important;
  border-color:#1e56aa!important;
  color:#fff!important
}

/* =========================================================
   03 / FEATURED ENGINEERING
   True viewport-width case. The information rail is deliberately
   narrow so the machine image owns the composition.
   ========================================================= */
@media (min-width:1181px){
  html body.v8.v13.v14[data-page="home"] main#main .projects-showcase{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important
  }
  html body.v8.v13.v14[data-page="home"] main#main .projects-showcase>.section-intro{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    margin:0 0 30px!important;
    padding:72px clamp(46px,3.4vw,70px) 0!important
  }
  html body.v8.v13.v14[data-page="home"] main#main .projects-showcase>.featured-case{
    box-sizing:border-box!important;
    position:relative!important;
    left:50%!important;
    width:100vw!important;
    max-width:100vw!important;
    height:478px!important;
    min-height:478px!important;
    margin:0 0 0 -50vw!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 350px!important;
    border-top:1px solid #294057!important;
    border-bottom:1px solid #294057!important
  }
  html body.v8.v13.v14[data-page="home"] main#main .featured-case-media,
  html body.v8.v13.v14[data-page="home"] main#main .featured-case-copy{
    width:auto!important;
    max-width:none!important;
    height:478px!important;
    min-height:478px!important;
    margin:0!important
  }
  html body.v8.v13.v14[data-page="home"] main#main .featured-case-media{padding:0!important}
  html body.v8.v13.v14[data-page="home"] main#main .featured-case-media img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center 48%!important
  }
  html body.v8.v13.v14[data-page="home"] main#main .featured-case-copy{
    box-sizing:border-box!important;
    padding:34px 28px 32px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    background:#101c29!important
  }
  html body.v8.v13.v14[data-page="home"] main#main .featured-case-copy h3{
    margin-top:19px!important;
    font-size:clamp(32px,2.1vw,40px)!important;
    line-height:1!important
  }
  html body.v8.v13.v14[data-page="home"] main#main .featured-case-copy>p{
    margin-top:18px!important;
    font-size:13px!important;
    line-height:1.55!important
  }
  html body.v8.v13.v14[data-page="home"] main#main .featured-facts{margin-top:24px!important}
  html body.v8.v13.v14[data-page="home"] main#main .featured-facts span{padding:14px 10px!important}
}

/* =========================================================
   04 / SELECTED ENGINEERING EXPERIENCE
   Supporting proof, not another hero. No decorative divider lines.
   ========================================================= */
html body.v8.v13.v14[data-page="home"] .selected-projects-strip{
  box-sizing:border-box!important;
  width:100%!important;
  padding:34px clamp(34px,3vw,58px) 44px!important;
  color:#102333!important;
  border:0!important;
  overflow:visible!important
}
html body.v8.v13.v14[data-page="home"] .selected-projects-strip .project-collection-head,
html body.v8.v13.v14[data-page="home"] .selected-projects-strip .project-grid-editorial{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:1600px!important;
  margin-left:auto!important;
  margin-right:auto!important
}
html body.v8.v13.v14[data-page="home"] .selected-projects-strip .project-collection-head{
  min-height:0!important;
  margin:0 auto 18px!important;
  padding:0!important;
  border:0!important
}
html body.v8.v13.v14[data-page="home"] .selected-projects-strip .project-collection-head::before,
html body.v8.v13.v14[data-page="home"] .selected-projects-strip .project-collection-head::after{display:none!important;content:none!important}
html body.v8.v13.v14[data-page="home"] .selected-projects-strip .project-collection-head>span{
  color:#31567f!important;
  font-size:9px!important;
  letter-spacing:.11em!important
}
html body.v8.v13.v14[data-page="home"] .selected-projects-strip .project-collection-head>a{
  color:#174f9f!important;
  font-size:9px!important;
  text-decoration:none!important
}
html body.v8.v13.v14[data-page="home"] .selected-projects-strip .project-grid-editorial{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-rows:auto!important;
  gap:12px!important;
  margin-top:0!important;
  background:transparent!important;
  border:0!important
}
html body.v8.v13.v14[data-page="home"] .v16-selected-card{
  min-width:0!important;
  min-height:278px!important;
  height:278px!important;
  max-height:278px!important;
  background:#fff!important;
  color:#102333!important;
  text-decoration:none!important;
  display:grid!important;
  grid-template-rows:132px 146px!important;
  overflow:hidden!important;
  border:1px solid #cbd7df!important;
  box-shadow:0 7px 20px rgba(25,54,77,.025)!important;
  transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease!important
}
html body.v8.v13.v14[data-page="home"] .v16-selected-card figure{
  margin:0!important;
  width:100%!important;
  height:132px!important;
  min-height:132px!important;
  overflow:hidden!important;
  background:#dfe7ec!important;
  border:0!important;
  border-bottom:1px solid #cbd7df!important
}
html body.v8.v13.v14[data-page="home"] .v16-selected-card img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  transition:transform .3s ease,filter .3s ease!important
}
html body.v8.v13.v14[data-page="home"] .v16-selected-card-copy{
  box-sizing:border-box!important;
  min-height:146px!important;
  height:146px!important;
  padding:14px 16px 13px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important
}
html body.v8.v13.v14[data-page="home"] .v16-selected-meta{
  display:flex!important;
  justify-content:space-between!important;
  gap:8px!important;
  color:#587b9c!important;
  font:500 8px/1.2 "IBM Plex Mono",monospace!important;
  letter-spacing:.085em!important;
  text-transform:uppercase!important
}
html body.v8.v13.v14[data-page="home"] .v16-selected-card h3{
  margin:12px 0 6px!important;
  color:#102333!important;
  font:600 clamp(20px,1.25vw,24px)/1.05 "Space Grotesk",sans-serif!important;
  letter-spacing:-.03em!important
}
html body.v8.v13.v14[data-page="home"] .v16-selected-card p{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  margin:0!important;
  color:#667b8d!important;
  font-size:13px!important;
  line-height:1.43!important
}
html body.v8.v13.v14[data-page="home"] .v16-selected-card b{
  margin-top:auto!important;
  padding-top:8px!important;
  color:#1e56aa!important;
  font:600 8px/1 "IBM Plex Mono",monospace!important;
  letter-spacing:.06em!important
}
html body.v8.v13.v14[data-page="home"] .v16-selected-card:hover{
  transform:translateY(-2px)!important;
  border-color:#9eb4c5!important;
  box-shadow:0 12px 28px rgba(25,54,77,.07)!important
}
html body.v8.v13.v14[data-page="home"] .v16-selected-card:hover img{transform:scale(1.025)!important;filter:brightness(1.03)!important}
html body.v8.v13.v14[data-page="home"] .v16-selected-card:hover b{color:#167bc4!important}

/* =========================================================
   05 / ENGINEERING DEPTH
   Preserve the approved dark Experience accent and the requested
   bottom breathing room. It is the only dark card in this light section.
   ========================================================= */
html body.v8.v13.v14[data-page="home"] main#main .engineering-depth .archive-callout{
  height:auto!important;
  min-height:452px!important;
  max-height:none!important;
  padding-bottom:42px!important
}
html body.v8.v13.v14[data-page="home"] main#main .engineering-depth .archive-callout .btn{
  margin-top:auto!important;
  margin-bottom:0!important
}

/* =========================================================
   06 / RESPONSIVE SYSTEM
   ========================================================= */
@media (max-width:1360px) and (min-width:921px){
  html body.v8.v13.v14[data-page="home"] .selected-projects-strip .project-grid-editorial{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    max-width:1040px!important
  }
  html body.v8.v13.v14[data-page="home"] .selected-projects-strip .project-collection-head{max-width:1040px!important}
  html body.v8.v13.v14[data-page="home"] .v16-selected-card{
    grid-template-columns:190px minmax(0,1fr)!important;
    grid-template-rows:210px!important;
    height:210px!important;
    min-height:210px!important;
    max-height:210px!important
  }
  html body.v8.v13.v14[data-page="home"] .v16-selected-card figure{
    height:210px!important;
    min-height:210px!important;
    border-bottom:0!important;
    border-right:1px solid #cbd7df!important
  }
  html body.v8.v13.v14[data-page="home"] .v16-selected-card-copy{height:210px!important;min-height:210px!important;padding:19px!important}
}
@media(max-width:1180px){
  body.v8.v13.v14[data-page="home"] .capability-gallery-cta{
    grid-template-columns:120px minmax(0,1fr) 40px!important;
    gap:16px!important
  }
  body.v8.v13.v14[data-page="home"] .gallery-cta-meta{display:none!important}
  body.v8.v13.v14[data-page="home"] .capability-gallery-cta i{grid-column:3!important}
}
@media(max-width:1050px){
  body.v8.v13.v14[data-page="home"] .capability-layout{grid-template-columns:1fr!important;gap:32px!important}
  body.v8.v13.v14[data-page="home"] .capability-media{grid-template-rows:min(50vw,390px) auto!important}
  body.v8.v13.v14[data-page="home"] .capability-media .media-frame{height:min(50vw,390px)!important}
}
@media(max-width:920px){
  html body.v8.v13.v14[data-page="home"] .selected-projects-strip .project-grid-editorial{grid-template-columns:1fr!important;max-width:720px!important}
  html body.v8.v13.v14[data-page="home"] .selected-projects-strip .project-collection-head{max-width:720px!important}
  html body.v8.v13.v14[data-page="home"] .v16-selected-card{
    grid-template-columns:170px minmax(0,1fr)!important;
    grid-template-rows:196px!important;
    height:196px!important;
    min-height:196px!important;
    max-height:196px!important
  }
  html body.v8.v13.v14[data-page="home"] .v16-selected-card figure{
    height:196px!important;
    min-height:196px!important;
    border-bottom:0!important;
    border-right:1px solid #cbd7df!important
  }
  html body.v8.v13.v14[data-page="home"] .v16-selected-card-copy{height:196px!important;min-height:196px!important;padding:18px!important}
}
@media(max-width:720px){
  body.v8.v13.v14[data-page="home"] .capability-gallery-cta{
    width:calc(100% - 40px)!important;
    height:auto!important;
    min-height:58px!important;
    grid-template-columns:minmax(0,1fr) 36px!important;
    gap:10px!important;
    padding:10px 10px 10px 16px!important
  }
  body.v8.v13.v14[data-page="home"] .gallery-cta-label,
  body.v8.v13.v14[data-page="home"] .gallery-cta-meta{display:none!important}
  body.v8.v13.v14[data-page="home"] .capability-gallery-cta i{grid-column:2!important;width:34px!important;height:34px!important}
  html body.v8.v13.v14[data-page="home"] .selected-projects-strip{padding:34px 20px 42px!important}
  html body.v8.v13.v14[data-page="home"] .selected-projects-strip .project-collection-head{display:block!important;margin-bottom:14px!important}
  html body.v8.v13.v14[data-page="home"] .selected-projects-strip .project-collection-head a{display:inline-block!important;margin-top:9px!important}
  html body.v8.v13.v14[data-page="home"] .v16-selected-card{
    grid-template-columns:124px minmax(0,1fr)!important;
    grid-template-rows:184px!important;
    height:184px!important;
    min-height:184px!important;
    max-height:184px!important
  }
  html body.v8.v13.v14[data-page="home"] .v16-selected-card figure{height:184px!important;min-height:184px!important}
  html body.v8.v13.v14[data-page="home"] .v16-selected-card-copy{height:184px!important;min-height:184px!important;padding:15px!important}
  html body.v8.v13.v14[data-page="home"] .v16-selected-card h3{font-size:19px!important;margin:10px 0 6px!important}
  html body.v8.v13.v14[data-page="home"] .v16-selected-card p{font-size:12px!important;-webkit-line-clamp:2!important}
}

/* =========================================================
   07 / FINAL LIVE OVERRIDES — CLIENT-APPROVED COLOR + LINK WEIGHT
   High specificity is intentional: v16-final-lock.js still injects an older
   balance style later in the lifecycle. These rules are the visual truth.
   ========================================================= */
html body.v8.v13.v14[data-page="home"] main#main>.credibility-band{
  background:#fafaf7!important;
  background-image:none!important;
  border-top:1px solid #dfe4e6!important;
  border-bottom:1px solid #dfe4e6!important;
}
html body.v8.v13.v14[data-page="home"] main#main>.credibility-band .proof-grid strong{
  color:#1e56aa!important;
}
html body.v8.v13.v14[data-page="home"] main#main>.credibility-band .customer-row a{
  color:#1e56aa!important;
  font-weight:600!important;
}
html body.v8.v13.v14[data-page="home"] main#main>.vsk-google-reviews,
html body.v8.v13.v14[data-page="home"] main#main>.vsk-google-reviews>.shell,
html body.v8.v13.v14[data-page="home"] main#main>.vsk-google-reviews .vsk-google-reviews-grid,
html body.v8.v13.v14[data-page="home"] main#main>.vsk-google-reviews .vsk-google-reviews-intro,
html body.v8.v13.v14[data-page="home"] main#main>.vsk-google-reviews .vsk-google-rating,
html body.v8.v13.v14[data-page="home"] main#main>.vsk-google-reviews .vsk-google-review-list,
html body.v8.v13.v14[data-page="home"] main#main>.vsk-google-reviews .vsk-google-review-list article{
  background:#fff!important;
  background-image:none!important;
}
html body.v8.v13.v14[data-page="home"] main#main>.vsk-google-reviews .vsk-google-rating{
  border-top:1px solid #c9d6df!important;
  border-bottom:1px solid #c9d6df!important;
  border-left:0!important;
  border-right:0!important;
  box-shadow:none!important;
}
html body.v8.v13.v14[data-page="home"] main#main>.vsk-google-reviews .vsk-google-rating>strong,
html body.v8.v13.v14[data-page="home"] main#main>.vsk-google-reviews .vsk-google-rating b{
  color:#1e56aa!important;
}
html body.v8.v13.v14[data-page="home"] main#main>.vsk-google-reviews .vsk-google-rating small{
  color:#74879a!important;
}
html body.v8.v13.v14[data-page="home"] main#main>.vsk-google-reviews .vsk-google-review-list article{
  border-right-color:#cad6df!important;
}
html body.v8.v13.v14[data-page="home"] main#main>.about#about .about-mini-stats strong{
  color:#1e56aa!important;
}
html body.v8.v13.v14[data-page="home"] main#main>.about#about .about-actions .text-arrow,
html body.v8.v13.v14[data-page="home"] main#main>.about#about .about-actions a{
  color:#1e56aa!important;
  font-weight:600!important;
}
html body.v8.v13.v14[data-page="home"] main#main>.about#about .about-actions .text-arrow:hover,
html body.v8.v13.v14[data-page="home"] main#main>.about#about .about-actions a:hover{
  color:#167bc4!important;
}


/* Deployed-site hotfix: customer references without a searchable Experience record
   remain truthful proof labels instead of dead search links. */
html body.v8.v13.v14[data-page="home"] .customer-row .customer-reference{
  font-family:var(--display)!important;
  font-size:14px!important;
  line-height:1!important;
  font-weight:600!important;
  color:#5d6e7c!important;
  white-space:nowrap!important;
}
