/* Homepage rhythm: five chapters, three surfaces, one visual language. */
.home-problem-chapter,
.home-proof-chapter{
  background:var(--paper)
}

/* Compact trust rail under the hero. */
.home-problem-chapter .clients{
  padding:clamp(34px,3vw,48px) var(--side) 0;
  background:transparent
}

.home-problem-chapter .client-track{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line)
}

.home-problem-chapter .client-row{
  display:grid;
  grid-template-columns:1fr;
  place-items:center;
  min-height:94px;
  padding:0 22px;
  border:0;
  transition:background .25s ease
}

.home-problem-chapter .client-row+.client-row{
  border-left:1px solid var(--line)
}

.home-problem-chapter .client-row::before{
  display:none
}

.home-problem-chapter .client-row:hover,
.home-problem-chapter .client-row:focus-visible{
  padding:0 22px;
  background:rgba(114,255,155,.09)
}

.home-problem-chapter .client-row-logo{
  justify-content:center;
  width:100%;
  transform:none!important
}

.home-problem-chapter .client-row-logo img{
  max-width:175px;
  max-height:48px
}

.home-problem-chapter .client-promise{
  display:grid;
  grid-template-columns:max-content 1fr;
  gap:clamp(28px,4vw,58px);
  align-items:center;
  margin:0;
  padding:20px 0 0;
  border:0
}

.home-problem-chapter .client-promise>div{
  gap:14px
}

.home-problem-chapter .client-promise strong{
  color:#3f9d56;
  font-size:clamp(42px,3.6vw,56px)
}

.home-problem-chapter .client-promise>div>span{
  font-size:13px
}

.home-problem-chapter .client-promise>p{
  max-width:620px;
  font-size:15px
}

.home-problem-chapter .home-problem{
  padding-top:clamp(72px,6vw,98px);
  padding-bottom:clamp(82px,7vw,112px);
  background:transparent
}

.home-problem-chapter .problem-points article{
  grid-template-columns:1fr;
  padding:26px 0
}

.home-problem-chapter .problem-points h3{
  margin-bottom:8px
}

/* Connector, outcomes and technology form one continuous dark chapter. */
.home-system-chapter{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:var(--deep);
  color:#fff
}

.home-system-chapter::before{
  content:"";
  position:absolute;
  z-index:-2;
  inset:-80px;
  background:url("./assets/hero-meeting.webp") center 62%/cover no-repeat;
  filter:blur(56px) saturate(.5);
  opacity:.56;
  transform:scale(1.08);
  pointer-events:none
}

.home-system-chapter::after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:
    radial-gradient(ellipse at 12% 10%,rgba(168,179,194,.15),transparent 36%),
    radial-gradient(ellipse at 92% 86%,rgba(96,72,49,.15),transparent 32%),
    linear-gradient(108deg,rgba(17,27,42,.75),rgba(17,27,42,.88) 56%,rgba(17,27,42,.94));
  pointer-events:none
}

.home-system-chapter>.home-connector,
.home-system-chapter>.home-outcomes{
  position:relative;
  z-index:1;
  background:transparent
}

.home-system-chapter .home-connector{
  padding-top:clamp(84px,7vw,112px);
  padding-bottom:clamp(28px,3vw,46px);
  color:#fff
}

.home-system-chapter .home-connector-head{
  width:100%;
  max-width:1260px;
  margin-inline:auto;
  margin-bottom:clamp(38px,4vw,56px)
}

.home-system-chapter .home-connector-head h2,
.home-system-chapter .home-outcomes-lead h2,
.home-proof-chapter .home-cases-head h2,
.home-proof-chapter .team-section .section-intro h2{
  font-size:clamp(44px,3.9vw,64px);
  font-weight:500;
  line-height:.96
}

.home-system-chapter .home-connector-head h2{
  color:#fff
}

.home-system-chapter .home-connector-head h2 em,
.home-system-chapter .home-outcomes-lead h2 em{
  color:var(--green)
}

.home-system-chapter .home-connector-head>p{
  color:#bdc7d1;
  font-size:17px
}

.home-system-chapter .home-connector-board{
  max-width:1080px;
  background:transparent;
  border-top:1px solid rgba(255,255,255,.22);
  border-bottom:1px solid rgba(255,255,255,.18);
  border-radius:0;
  box-shadow:none
}

.home-system-chapter .connector-department-name{
  font-size:54px
}

.home-system-chapter .connector-department-copy{
  font-size:21px
}

.home-system-chapter .home-connector-board::after{
  display:none
}

.home-system-chapter .home-outcomes{
  padding-top:clamp(48px,4.5vw,72px);
  padding-bottom:clamp(38px,3.5vw,54px);
  isolation:auto;
  overflow:visible
}

.home-system-chapter .home-outcomes::before,
.home-system-chapter .home-outcomes::after{
  display:none
}

.home-system-chapter .home-outcomes-head{
  margin-bottom:clamp(32px,3vw,44px)
}

.home-system-chapter .home-outcomes-lead{
  margin-top:0
}

.home-foundation{
  display:grid;
  grid-template-columns:minmax(190px,.8fr) repeat(3,minmax(0,1fr));
  margin-top:clamp(48px,4.5vw,66px);
  border-top:1px solid rgba(255,255,255,.24);
  border-bottom:1px solid rgba(255,255,255,.18)
}

.home-foundation-intro,
.home-foundation article{
  min-height:156px;
  padding:24px clamp(20px,2vw,30px)
}

.home-foundation-intro{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding-left:0
}

.home-foundation-intro strong{
  max-width:180px;
  color:var(--green);
  font:500 clamp(20px,1.7vw,26px)/1.08 var(--serif);
  letter-spacing:-.035em
}

.home-foundation-intro a{
  align-self:flex-start;
  padding-bottom:5px;
  border-bottom:1px solid rgba(255,255,255,.48);
  color:#fff;
  font-size:13px;
  font-weight:700
}

.home-foundation article{
  border-left:1px solid rgba(255,255,255,.18)
}

.home-foundation h3{
  margin:0 0 32px;
  color:#fff;
  font:500 clamp(23px,1.8vw,29px)/1 var(--serif);
  letter-spacing:-.04em
}

.home-foundation p{
  max-width:330px;
  margin:0;
  color:#b9c4cf;
  font-size:14px;
  line-height:1.55
}

/* Cases remain the main proof; the team becomes its quieter continuation. */
.home-proof-chapter .home-cases,
.home-proof-chapter .team-section{
  background:transparent
}

.home-proof-chapter .home-cases{
  padding-top:clamp(78px,6.5vw,104px);
  padding-bottom:clamp(78px,6.5vw,104px)
}

.home-proof-chapter .proof-row{
  grid-template-columns:minmax(170px,.64fr) minmax(260px,1fr) 22px
}

.home-proof-chapter .team-section{
  padding-top:clamp(70px,6vw,96px);
  padding-bottom:clamp(74px,6vw,100px);
  border-top:1px solid var(--line)
}

.home-proof-chapter .team-section .section-intro{
  margin-bottom:clamp(28px,3vw,40px)
}

.home-proof-chapter .team-rail>article{
  height:clamp(270px,20vw,330px)
}

.home-proof-chapter .team-rail>article>div{
  left:0;
  right:0;
  bottom:0;
  width:auto;
  padding:60px 18px 18px;
  color:#fff;
  background:linear-gradient(transparent,rgba(17,27,42,.88));
  box-shadow:none;
  transform:none
}

.home-proof-chapter .team-rail>article:hover>div{
  color:#fff;
  background:linear-gradient(transparent,rgba(17,27,42,.88));
  transform:none
}

.home-proof-chapter .team-rail h3{
  color:#fff;
  font-size:clamp(17px,1.25vw,21px)
}

.home-proof-chapter .team-rail p{
  color:#d5dde5;
  font-size:11px
}

@media(min-width:981px){
  .home-system-chapter .home-connector-head h2{
    max-width:none;
    white-space:nowrap;
    font-size:clamp(58px,4.4vw,68px)
  }
}

@media(min-width:1180px){
  .home-system-chapter .home-connector-head{
    grid-template-columns:minmax(0,2.1fr) minmax(320px,.9fr);
    gap:clamp(32px,3vw,44px)
  }
}

@media(min-width:981px) and (max-height:900px){
  .home-system-chapter .home-connector{
    padding-top:56px;
    padding-bottom:24px
  }

  .home-system-chapter .home-connector-head{
    margin-bottom:28px
  }

  .home-system-chapter .home-connector-head>p{
    font-size:16px;
    line-height:1.5
  }

  .home-system-chapter .home-connector-board{
    max-width:900px
  }
}

@media(min-width:981px) and (max-height:780px){
  .home-system-chapter .home-connector{
    padding-top:44px;
    padding-bottom:20px
  }

  .home-system-chapter .home-connector-head{
    margin-bottom:18px
  }

  .home-system-chapter .home-connector-board{
    max-width:820px
  }
}

@media(max-width:1050px){
  .home-problem-chapter .client-track{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .home-problem-chapter .client-row:nth-child(odd){border-left:0}
  .home-problem-chapter .client-row:nth-child(even){border-left:1px solid var(--line)}
  .home-problem-chapter .client-row:nth-child(-n+2){border-bottom:1px solid var(--line)}

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

  .home-foundation>*:nth-child(odd){border-left:0}
  .home-foundation>*:nth-child(n+3){border-top:1px solid rgba(255,255,255,.18)}

  .home-proof-chapter .proof-row{
    grid-template-columns:minmax(180px,.5fr) 1fr 24px
  }
}

@media(max-width:980px){
  .home-system-chapter .home-connector-board{
    border-radius:0;
    box-shadow:none
  }
}

@media(max-width:720px){
  .home-problem-chapter .clients{
    padding:28px 20px 0
  }

  .home-problem-chapter .client-track{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    margin:0;
    padding:0;
    overflow:visible
  }

  .home-problem-chapter .client-row{
    min-height:82px;
    padding:0 12px
  }

  .home-problem-chapter .client-row:hover,
  .home-problem-chapter .client-row:focus-visible{
    padding:0 12px
  }

  .home-problem-chapter .client-row-logo img{
    max-width:130px;
    max-height:42px
  }

  .home-problem-chapter .client-promise{
    grid-template-columns:max-content 1fr;
    gap:18px;
    padding-top:18px
  }

  .home-problem-chapter .client-promise strong{
    font-size:42px
  }

  .home-problem-chapter .client-promise>p{
    font-size:13px
  }

  .home-problem-chapter .home-problem{
    padding-top:66px;
    padding-bottom:78px
  }

  .home-problem-chapter .problem-visual{
    min-height:500px
  }

  .home-system-chapter::before{
    inset:-42px;
    filter:blur(38px) saturate(.46)
  }

  .home-system-chapter .home-connector{
    padding-top:72px;
    padding-bottom:26px
  }

  .home-system-chapter .home-connector-head h2,
  .home-system-chapter .home-outcomes-lead h2,
  .home-proof-chapter .home-cases-head h2,
  .home-proof-chapter .team-section .section-intro h2{
    font-size:42px
  }

  .home-system-chapter .home-connector-board{
    padding:38px 0 24px
  }

  .home-system-chapter .home-outcomes{
    padding-top:44px;
    padding-bottom:72px
  }

  .home-foundation{
    grid-template-columns:1fr;
    margin-top:42px
  }

  .home-foundation-intro,
  .home-foundation article{
    min-height:0;
    padding:22px 0
  }

  .home-foundation-intro{
    min-height:118px
  }

  .home-foundation article{
    border-top:1px solid rgba(255,255,255,.18);
    border-left:0
  }

  .home-foundation h3{
    margin-bottom:12px;
    font-size:26px
  }

  .home-proof-chapter .home-cases{
    padding-top:72px;
    padding-bottom:72px
  }

  .home-proof-chapter .proof-row{
    grid-template-columns:minmax(94px,.58fr) 1fr 16px
  }

  .home-proof-chapter .team-section{
    padding-top:68px;
    padding-bottom:72px
  }

  .home-proof-chapter .team-rail>article{
    flex-basis:72vw;
    width:72vw;
    height:86vw;
    max-height:360px
  }
}

@media(max-width:430px){
  .home-problem-chapter .client-promise{
    grid-template-columns:1fr;
    gap:8px
  }

  .home-problem-chapter .client-promise>p{
    max-width:270px
  }
}
