
/* Final client & founder refinements */
.client-logo-grid,
.clientele-grid,
.client-grid,
.clients-grid {
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(120px,1fr)) !important;
  gap:16px !important;
  align-items:center !important;
}
.client-logo-item,
.client-logo,
.client-card {
  min-height:78px !important;
  max-height:92px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:8px 12px !important;
  overflow:hidden !important;
}
.client-logo-item img,
.client-logo img,
.client-card img,
.clientele-grid img,
.client-grid img,
.clients-grid img {
  width:auto !important;
  height:auto !important;
  max-width:120px !important;
  max-height:60px !important;
  object-fit:contain !important;
  display:block !important;
}
.founder-card,
.founder,
.founder-item,
.founder-box,
.founder-image,
.founder-photo {
  background:#fff !important;
}
.founder-card img,
.founder img,
.founder-item img,
.founder-box img,
.founder-image img,
.founder-photo img {
  background:#fff !important;
}
@media (min-width:1024px) {
  .client-logo-grid,
  .clientele-grid,
  .client-grid,
  .clients-grid {
    grid-template-columns:repeat(6,1fr) !important;
    gap:14px !important;
  }
}

/* Corrected Clientele layout: every logo uses the same grid and card */
.client-logo-grid {
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr)) !important;
  gap:18px !important;
  align-items:center !important;
}
.client-logo-card {
  height:96px !important;
  min-height:96px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:10px 14px !important;
  overflow:hidden !important;
}
.client-logo-card img {
  width:auto !important;
  height:auto !important;
  max-width:130px !important;
  max-height:64px !important;
  object-fit:contain !important;
  display:block !important;
}
@media (min-width:1024px) {
  .client-logo-grid {
    grid-template-columns:repeat(5,1fr) !important;
    gap:14px !important;
  }
  .client-logo-card {
    height:82px !important;
    min-height:82px !important;
    padding:8px 10px !important;
  }
  .client-logo-card img {
    max-width:118px !important;
    max-height:54px !important;
  }
}


/* Final correction: both founder cards use the same white design */
.founder-card-dark{background:#fff!important;color:#111!important;border-color:#e3e3e3!important}
.founder-card-dark:after{border-color:rgba(0,0,0,.055)!important}
.founder-card-dark .founder-mark{background:#fff!important;border-color:#e2e2e2!important;color:#111!important}
.founder-card-dark .founder-mark:before{border-color:#ddd!important}
.founder-card-dark .founder-role{color:#777!important}
.founder-card-dark .founder-content h3{display:block!important;visibility:visible!important;opacity:1!important;color:#111!important}
.founder-card-dark .founder-content p{color:var(--muted)!important}
.founder-card-dark .founder-footer{color:#777!important;border-color:#e8e8e8!important}
.founder-card-dark .founder-arrow{color:#111!important}
.founder-line,.founder-card-dark .founder-line{background:var(--incubex-pink)!important}


/* Founder section size refinement – slightly more compact */
.founder-card{min-height:420px!important;padding:28px 28px 20px!important}
.founders-intro{margin-bottom:36px!important}
.founders-intro h2{font-size:clamp(36px,4vw,54px)!important}
.founder-content{margin-top:36px!important}
.founder-content h3{font-size:clamp(28px,2.5vw,36px)!important}
.founder-content p{font-size:14px!important;line-height:1.65!important}
.founder-footer{padding-top:18px!important}
@media(max-width:900px){.founder-card{min-height:390px!important;padding:24px!important}.founder-content{margin-top:30px!important}}

/* Homepage floating video: tidy layout overrides */
.home-video-popup{left:24px!important;right:auto!important;bottom:24px!important;width:280px!important;height:280px!important;border-radius:14px!important;box-shadow:0 12px 34px rgba(0,0,0,.22)!important}
.home-video-frame{border-radius:14px!important}
.home-video-close{top:8px!important;right:8px!important;width:30px!important;height:30px!important;font-size:23px!important;line-height:28px!important}
@media(max-width:700px){.home-video-popup{left:12px!important;right:auto!important;bottom:12px!important;width:170px!important;height:170px!important;border-radius:12px!important}.home-video-frame{border-radius:12px!important}.home-video-close{top:5px!important;right:5px!important;width:26px!important;height:26px!important;font-size:20px!important;line-height:24px!important}}


/* V17 homepage featured project video: in-page section, not floating */
.home-feature-video-section{background:#f7f8f9;padding-top:76px;padding-bottom:76px}
.home-feature-video-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:34px;margin-bottom:26px}
.home-feature-video-heading h2{margin:8px 0 0;font-size:clamp(28px,3vw,42px);line-height:1.12;letter-spacing:-.035em;max-width:760px}
.home-feature-video-heading p{max-width:390px;margin:0;color:#5d646b;line-height:1.7}
.home-feature-video{width:100%;max-width:1200px;margin:0 auto;overflow:hidden;border-radius:16px;background:#111;box-shadow:0 18px 48px rgba(20,30,40,.12)}
.home-feature-video video{display:block;width:100%;height:auto;max-height:720px;object-fit:contain;background:#111}
.home-feature-video-link{display:flex;justify-content:flex-end;margin-top:18px}
@media(max-width:700px){.home-feature-video-section{padding-top:48px;padding-bottom:48px}.home-feature-video-heading{display:block;margin-bottom:20px}.home-feature-video-heading h2{font-size:29px}.home-feature-video-heading p{margin-top:14px}.home-feature-video{border-radius:10px}.home-feature-video-link{justify-content:flex-start}}


/* V17: Health Catalyst video becomes the first, full-width homepage hero */
.incubex-video-hero{position:relative;isolation:isolate;width:100%;min-height:min(760px,calc(100vh - 120px));height:clamp(570px,72vh,800px);overflow:hidden;background:#171717;color:#fff;display:flex;align-items:center}
.incubex-video-hero-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;z-index:-3;background:#171717}
.incubex-video-hero-overlay{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.48) 48%,rgba(0,0,0,.12) 100%),linear-gradient(0deg,rgba(0,0,0,.28),transparent 55%)}
.incubex-video-hero-content{position:relative;z-index:1;padding-top:64px;padding-bottom:76px}
.incubex-video-hero-content .eyebrow{font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#fff;margin-bottom:22px}
.incubex-video-hero-content h1{max-width:1000px;color:#fff;font-size:clamp(42px,6.2vw,88px);line-height:.99;letter-spacing:-.045em;font-weight:850;margin:0 0 24px}
.incubex-video-hero-content p{max-width:690px;color:rgba(255,255,255,.94);font-size:clamp(17px,1.45vw,22px);line-height:1.6;margin:0 0 30px}
.incubex-video-hero-actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.incubex-video-hero-actions .hero-explore{display:inline-flex;color:#fff;text-decoration:none;font-weight:800;text-transform:uppercase;letter-spacing:.12em;border-bottom:2px solid #EF3C5E;padding:0 0 12px}
.incubex-video-hero-secondary{color:#fff;text-decoration:none;font-weight:700;border:1px solid rgba(255,255,255,.78);border-radius:4px;padding:13px 18px;transition:background .2s ease}
.incubex-video-hero-secondary:hover{background:rgba(255,255,255,.14)}
.incubex-video-hero-caption{display:block;margin-top:36px;color:rgba(255,255,255,.78);font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.incubex-video-hero-sound{position:absolute;right:24px;bottom:24px;z-index:3;background:rgba(0,0,0,.48);border:1px solid rgba(255,255,255,.65);border-radius:30px;color:#fff;padding:10px 15px;font-size:12px;font-weight:700;cursor:pointer;backdrop-filter:blur(8px)}
@media(max-width:700px){.incubex-video-hero{height:calc(78vh - 40px);min-height:560px;max-height:720px}.incubex-video-hero-media{object-position:center center}.incubex-video-hero-overlay{background:linear-gradient(90deg,rgba(0,0,0,.68),rgba(0,0,0,.25)),linear-gradient(0deg,rgba(0,0,0,.35),transparent 60%)}.incubex-video-hero-content{padding-top:42px;padding-bottom:68px}.incubex-video-hero-content h1{font-size:clamp(38px,10vw,56px);line-height:1.02}.incubex-video-hero-content p{font-size:16px;line-height:1.55}.incubex-video-hero-actions{gap:18px;align-items:flex-start;flex-direction:column}.incubex-video-hero-caption{margin-top:26px}.incubex-video-hero-sound{right:12px;bottom:12px;padding:9px 12px}}
@media(prefers-reduced-motion:reduce){.incubex-video-hero-media{animation:none}}


/* Compact video hero: keep the video visually dominant and reduce overlay copy */
.incubex-video-hero{height:clamp(520px,68vh,740px);min-height:520px}
.incubex-video-hero-content{max-width:100%;padding-top:34px;padding-bottom:48px}
.incubex-video-hero-content .eyebrow{font-size:12px;letter-spacing:.14em;margin-bottom:14px}
.incubex-video-hero-content h1{max-width:680px;font-size:clamp(38px,4.6vw,64px);line-height:1.02;letter-spacing:-.04em;margin-bottom:15px}
.incubex-video-hero-content p{max-width:490px;font-size:clamp(15px,1.15vw,18px);line-height:1.45;margin-bottom:22px}
.incubex-video-hero-actions{gap:18px}
.incubex-video-hero-actions .hero-explore{padding-bottom:8px;font-size:13px}
.incubex-video-hero-secondary{padding:10px 14px;font-size:13px}
.incubex-video-hero-caption{margin-top:20px;font-size:10px}
.incubex-video-hero-overlay{background:linear-gradient(90deg,rgba(0,0,0,.58) 0%,rgba(0,0,0,.32) 35%,rgba(0,0,0,.04) 78%),linear-gradient(0deg,rgba(0,0,0,.12),transparent 55%)}
@media(max-width:700px){.incubex-video-hero{height:clamp(480px,72vh,640px);min-height:480px}.incubex-video-hero-content{padding-top:28px;padding-bottom:58px}.incubex-video-hero-content .eyebrow{font-size:10px;margin-bottom:12px}.incubex-video-hero-content h1{font-size:clamp(34px,8.5vw,46px);max-width:420px;margin-bottom:12px}.incubex-video-hero-content p{font-size:15px;line-height:1.4;max-width:360px;margin-bottom:18px}.incubex-video-hero-actions{gap:14px}.incubex-video-hero-caption{margin-top:16px}.incubex-video-hero-sound{font-size:11px}}
