
/* SANCTEK 017 — Homepage Final Polish */

/* 1. Skip link */
.skip-link,
.screen-reader-text.skip-link,
a.skip-link{
  position:absolute !important;
  left:-9999px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  clip:rect(1px,1px,1px,1px) !important;
  clip-path:inset(50%) !important;
  white-space:nowrap !important;
  z-index:999999 !important;
}

.skip-link:focus,
.screen-reader-text.skip-link:focus,
a.skip-link:focus{
  left:16px !important;
  top:16px !important;
  width:auto !important;
  height:auto !important;
  padding:11px 15px !important;
  overflow:visible !important;
  clip:auto !important;
  clip-path:none !important;
  white-space:normal !important;
  border:1px solid rgba(111,107,232,.24) !important;
  border-radius:10px !important;
  background:#fff !important;
  color:#171c31 !important;
  box-shadow:0 12px 34px rgba(18,22,41,.15) !important;
  text-decoration:none !important;
}

/* 2. Latest Insights */
.home-insights{
  position:relative;
  padding:88px 0 92px;
  background:#fff;
}

.home-insights__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:32px;
  margin-bottom:30px;
}

.home-insights__head h2{
  max-width:720px;
  margin:0;
}

.home-insights__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.home-insight-card{
  min-width:0;
  overflow:hidden;
  border:1px solid #e3e6ed;
  border-radius:20px;
  background:#fff;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}

.home-insight-card:hover{
  transform:translateY(-4px);
  border-color:#cbc9ed;
  box-shadow:0 18px 42px rgba(18,22,41,.07);
}

.home-insight-card__media{
  display:block;
  position:relative;
  aspect-ratio:16/9;
  overflow:hidden;
  background:
    radial-gradient(circle at 68% 25%,rgba(111,107,232,.20),transparent 28%),
    radial-gradient(circle at 24% 78%,rgba(53,184,174,.12),transparent 28%),
    linear-gradient(145deg,#171c31,#252c4a);
}

.home-insight-card__media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .45s cubic-bezier(.2,.7,.2,1);
}

.home-insight-card:hover .home-insight-card__media img{
  transform:scale(1.025);
}

.home-insight-card__placeholder{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
}

.home-insight-card__placeholder::before,
.home-insight-card__placeholder::after{
  content:"";
  position:absolute;
  border-radius:50%;
  border:1px solid rgba(163,155,246,.14);
}

.home-insight-card__placeholder::before{
  width:145px;
  height:145px;
}

.home-insight-card__placeholder::after{
  width:210px;
  height:210px;
  border-style:dashed;
}

.home-insight-card__placeholder span{
  position:relative;
  z-index:2;
  color:#fff;
  font-size:.66rem;
  font-weight:900;
  letter-spacing:.16em;
}

.home-insight-card__body{
  padding:21px 21px 19px;
}

.home-insight-card__meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 12px;
  margin-bottom:13px;
  color:#8991a3;
  font-size:.65rem;
  font-weight:700;
}

.home-insight-card__meta a{
  color:#625ed2;
  font-weight:840;
  text-decoration:none;
}

.home-insight-card h3{
  margin:0;
  font-size:1.13rem;
  line-height:1.26;
  letter-spacing:-.025em;
}

.home-insight-card h3 a{
  color:#171c31;
  text-decoration:none;
}

.home-insight-card p{
  margin:11px 0 20px;
  color:#697286;
  font-size:.8rem;
  line-height:1.55;
}

.home-insight-card__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:15px;
  border-top:1px solid #eceef3;
}

.home-insight-card__footer time{
  color:#9299aa;
  font-size:.65rem;
}

.home-insight-card__footer a{
  width:31px;
  height:31px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f5f5fb;
  color:#5c58cb;
  text-decoration:none;
}

/* 3. Client logo normalization */
.scteck-client-logo-strip img{
  width:auto !important;
  max-width:150px !important;
  height:34px !important;
  max-height:34px !important;
  object-fit:contain !important;
  object-position:center !important;
  filter:grayscale(1) saturate(.15) contrast(.88) !important;
  opacity:.64 !important;
  transition:opacity .22s ease,filter .22s ease,transform .22s ease !important;
}

.scteck-client-logo-strip a:hover img,
.scteck-client-logo-strip img:hover{
  filter:grayscale(0) saturate(1) contrast(1) !important;
  opacity:1 !important;
  transform:translateY(-1px);
}

/* 4. Intelligence Flow contrast only */
.intelligence-flow-visual[data-stage="connect"] .iflow__cluster--outcomes .iflow__pill{
  opacity:.25 !important;
}

.intelligence-flow-visual[data-stage="understand"] .iflow__cluster--sources .iflow__pill{
  opacity:.36 !important;
}

.intelligence-flow-visual[data-stage="understand"] .iflow__cluster--outcomes .iflow__pill{
  opacity:.38 !important;
}

.intelligence-flow-visual[data-stage="understand"] .iflow__cluster--outcomes .iflow__pill:nth-child(1),
.intelligence-flow-visual[data-stage="understand"] .iflow__cluster--outcomes .iflow__pill:nth-child(2),
.intelligence-flow-visual[data-stage="understand"] .iflow__cluster--outcomes .iflow__pill:nth-child(3){
  opacity:.94 !important;
}

.intelligence-flow-visual[data-stage="act"] .iflow__cluster--sources .iflow__pill{
  opacity:.23 !important;
}

.intelligence-flow-visual[data-stage="act"] .iflow__cluster--outcomes .iflow__pill{
  opacity:.45 !important;
}

@media(max-width:1050px){
  .home-insights{
    padding:72px 0 76px;
  }

  .home-insights__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .home-insight-card:last-child{
    grid-column:1/-1;
    max-width:calc(50% - 8px);
  }
}

@media(max-width:760px){
  .home-insights{
    padding:58px 0 62px;
  }

  .home-insights__head{
    display:block;
  }

  .home-insights__head .text-link{
    display:inline-flex;
    margin-top:16px;
  }

  .home-insights__grid{
    grid-template-columns:1fr;
  }

  .home-insight-card:last-child{
    grid-column:auto;
    max-width:none;
  }

  .scteck-client-logo-strip img{
    height:29px !important;
    max-height:29px !important;
    max-width:125px !important;
  }
}

@media(prefers-reduced-motion:reduce){
  .home-insight-card,
  .home-insight-card__media img,
  .scteck-client-logo-strip img{
    transition:none !important;
  }
}
