/* Machine Minds use cases + SVG density pass. */

.mm-use-cases-section{
  padding:clamp(3rem,5vw,5rem) clamp(1.25rem,4vw,4rem);
  background:
    radial-gradient(circle at 88% 12%,rgba(0,200,244,.10),transparent 28%),
    radial-gradient(circle at 10% 92%,rgba(81,68,248,.08),transparent 30%),
    #f5f7fb;
  color:#0b0f14;
}
.mm-use-cases-inner{
  width:min(100%,1280px);
  margin-inline:auto;
}
.mm-use-cases-heading{
  max-width:900px;
  margin:0 0 2rem;
  text-align:left;
}
.mm-use-cases-heading h2{
  max-width:18ch;
  margin:.45rem 0 .85rem;
  font-size:clamp(2rem,3.5vw,3.55rem)!important;
  line-height:1.04!important;
  letter-spacing:-.035em!important;
}
.mm-use-cases-heading>p:not(.mm-eyebrow){
  max-width:74ch;
  margin:0;
  color:#52657e;
  font-size:clamp(1rem,1.25vw,1.12rem);
  line-height:1.7;
}
.mm-use-cases-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}
.mm-use-case-card{
  position:relative;
  overflow:hidden;
  min-height:220px;
  padding:1.55rem;
  border:1px solid #d9e6f6;
  border-radius:22px;
  background:linear-gradient(155deg,#fff,#f7faff);
  box-shadow:0 18px 48px rgba(4,28,68,.08);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.mm-use-case-card:after{
  content:"";
  position:absolute;
  right:-54px;
  bottom:-54px;
  width:150px;
  height:150px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(0,200,244,.17),rgba(23,109,245,.06) 48%,transparent 70%);
  pointer-events:none;
}
.mm-use-case-card:hover{
  transform:translateY(-5px);
  border-color:rgba(23,109,245,.45);
  box-shadow:0 28px 68px rgba(4,28,68,.14);
}
.mm-use-case-index{
  display:inline-grid;
  place-items:center;
  width:40px;
  height:40px;
  margin-bottom:1.1rem;
  border:1px solid rgba(23,109,245,.18);
  border-radius:12px;
  background:linear-gradient(145deg,#edf5ff,#f7fbff);
  color:#176df5;
  font-size:.76rem;
  font-weight:850;
  letter-spacing:.06em;
}
.mm-use-case-card h3{
  margin:0 0 .7rem;
  color:#10243f;
  font-size:clamp(1.22rem,1.65vw,1.55rem)!important;
  line-height:1.15!important;
}
.mm-use-case-card p{
  margin:0;
  color:#566980;
  line-height:1.65;
}

/* SVGs should visually carry equal weight to the copy beside them. */
:where(
  .mm-home-svg,
  .mm-services-hero-visual,
  .mm-service-detail-visual,
  .mm-industries-hero__visual,
  .mm-industry-detail__visual,
  .mm-work-hero__visual,
  .mm-about-journey__visual,
  .mm-contact-hero-art,
  .mm-insights-hero-art
){
  overflow:visible!important;
  min-height:0!important;
}

:where(
  .mm-services-hero-visual,
  .mm-service-detail-visual,
  .mm-industries-hero__visual,
  .mm-industry-detail__visual,
  .mm-work-hero__visual,
  .mm-contact-hero-art,
  .mm-insights-hero-art
) svg{
  width:min(118%,860px)!important;
  max-width:none!important;
  height:auto!important;
  margin-left:-9%!important;
  margin-right:-9%!important;
  margin-top:clamp(-1.4rem,-2vw,-.6rem)!important;
  margin-bottom:clamp(-1.4rem,-2vw,-.6rem)!important;
}

.mm-home-svg--home-hero-intelligence-wave svg,
.mm-home-svg--home-clarity-system svg,
.mm-home-svg--home-industries-network svg,
.mm-home-svg--home-process-flow svg{
  width:116%!important;
  max-width:none!important;
  margin-left:-8%!important;
  margin-right:-8%!important;
  margin-top:-1rem!important;
  margin-bottom:-1rem!important;
}
.mm-home-svg--home-services-modules svg{
  width:128%!important;
  max-width:none!important;
  margin-left:-14%!important;
  margin-right:-14%!important;
}
.mm-home-svg--home-trust-network svg{
  width:108%!important;
  max-width:none!important;
  margin-left:-4%!important;
  margin-right:-4%!important;
  margin-block:-.6rem!important;
}
.mm-about-journey__visual svg{
  width:108%!important;
  max-width:none!important;
  margin-left:-4%!important;
  margin-right:-4%!important;
  margin-block:-1rem!important;
}

/* Reduce dead air between copy and visual columns. */
.mm-home-hero__grid,
.mm-home-clarity__grid,
.mm-services-hero-grid,
.mm-service-detail-hero__grid,
.mm-industries-hero__grid,
.mm-industry-detail__hero-grid,
.mm-contact-hero-grid,
.mm-insights-hero-grid,
.mm-service-split{
  column-gap:clamp(1.25rem,3vw,3rem)!important;
  row-gap:clamp(1.5rem,3vw,2.75rem)!important;
}
.mm-service-detail-hero__grid>.wp-block-column:last-child,
.mm-services-hero-grid>.wp-block-column:last-child,
.mm-industries-hero__grid>.wp-block-column:last-child,
.mm-home-hero__grid>.wp-block-column:last-child{
  min-width:0;
}

@media(max-width:980px){
  .mm-use-cases-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  :where(
    .mm-services-hero-visual,
    .mm-service-detail-visual,
    .mm-industries-hero__visual,
    .mm-industry-detail__visual,
    .mm-work-hero__visual,
    .mm-contact-hero-art,
    .mm-insights-hero-art
  ) svg,
  .mm-home-svg svg,
  .mm-about-journey__visual svg{
    width:106%!important;
    max-width:none!important;
    margin-left:-3%!important;
    margin-right:-3%!important;
    margin-top:-.5rem!important;
    margin-bottom:-.5rem!important;
  }
}
@media(max-width:680px){
  .mm-use-cases-section{padding:2.75rem 1rem}
  .mm-use-cases-grid{grid-template-columns:1fr}
  .mm-use-case-card{min-height:0}
  :where(
    .mm-services-hero-visual,
    .mm-service-detail-visual,
    .mm-industries-hero__visual,
    .mm-industry-detail__visual,
    .mm-work-hero__visual,
    .mm-contact-hero-art,
    .mm-insights-hero-art
  ) svg,
  .mm-home-svg svg,
  .mm-about-journey__visual svg{
    width:100%!important;
    margin:0!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .mm-use-case-card{transition:none}
  .mm-use-case-card:hover{transform:none}
}
