/* CHE Quiet Light / Scene 03 — services editorial grid.
   Scoped entirely to #visibility. No changes to service descriptions,
   surrounding screens, source-locked CHE assets or visual identity. */
#che-page.che-canonical.che-desktop-vnext #visibility {
  --che-vis-x:50%;
  --che-vis-y:45%;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:
    radial-gradient(ellipse 53% 67% at 15% 82%,rgba(166,188,177,.018),transparent 72%),
    #080b0c;
}
#che-page.che-canonical.che-desktop-vnext #visibility::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:0;
  background:radial-gradient(
    310px circle at var(--che-vis-x) var(--che-vis-y),
    rgba(182,210,203,.065),rgba(154,186,175,.022) 41%,transparent 76%);
  transition:opacity .4s ease;
}
#che-page.che-canonical.che-desktop-vnext #visibility.che-vis-lit::before{opacity:1}
#che-page.che-canonical.che-desktop-vnext #visibility>.che-shell {
  position:relative;
  z-index:1;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(12px,1.6vw,20px);
  width:100%;
  min-width:0;
  padding:0;
  margin:0;
  border:0;
  border-radius:0;
  background:transparent;
  overflow:visible;
  align-items:stretch;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(1){--che-vis-rgb:193,167,132}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(2){--che-vis-rgb:145,181,206}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(3){--che-vis-rgb:148,188,166}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(4){--che-vis-rgb:175,176,204}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(-n+4),
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:last-of-type {
  position:relative;
  display:flex;
  flex-direction:column;
  grid-column:auto;
  grid-row:auto;
  grid-template-columns:none;
  min-width:0;
  min-height:210px;
  margin:0;
  padding:clamp(23px,2.2vw,30px) clamp(24px,2.6vw,36px) clamp(22px,2.2vw,29px);
  border:1px solid rgba(var(--che-vis-rgb),.23);
  border-radius:16px;
  overflow:hidden;
  isolation:isolate;
  background:
    linear-gradient(120deg,rgba(var(--che-vis-rgb),.038),rgba(255,255,255,.006) 55%,transparent);
  box-shadow:inset 0 1px rgba(var(--che-vis-rgb),.045);
  transition:border-color .24s ease,background-color .24s ease,box-shadow .24s ease;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(-n+4)::before {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border:0;
  width:auto;
  height:auto;
  border-radius:inherit;
  opacity:0;
  box-shadow:none;
  background:radial-gradient(210px circle at var(--che-vis-card-x,50%) var(--che-vis-card-y,5%),
    rgba(var(--che-vis-rgb),.12),transparent 73%);
  transition:opacity .28s ease;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(-n+4)::after {
  content:"";
  display:block;
  position:absolute;
  top:0;
  left:22px;
  z-index:0;
  width:clamp(70px,30%,148px);
  height:1px;
  border:0;
  border-radius:0;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(var(--che-vis-rgb),.49),transparent);
  opacity:.67;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(-n+4):hover{
  border-color:rgba(var(--che-vis-rgb),.47);
  box-shadow:0 0 28px rgba(var(--che-vis-rgb),.027),inset 0 1px rgba(var(--che-vis-rgb),.09);
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(-n+4):hover::before{opacity:1}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(-n+4)>span{
  position:relative;
  align-self:flex-start;
  margin:0 0 17px;
  color:rgb(var(--che-vis-rgb));
  font-size:12px;
  line-height:1.4;
  font-weight:650;
  letter-spacing:.14em;
  font-variant-numeric:tabular-nums;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(-n+4) h3{
  position:relative;
  min-height:0;
  margin:0 0 10px;
  font-size:clamp(22px,2vw,27px);
  line-height:1.18;
  font-weight:680;
  letter-spacing:-.025em;
  color:#f3f5f1;
  overflow-wrap:normal;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(-n+4) p {
  position:relative;
  min-height:0;
  max-width:46ch;
  margin:0 0 18px;
  color:#d1dad2;
  font-size:clamp(15.5px,1.24vw,17px);
  line-height:1.52;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid .che-service-examples{
  position:relative;
  display:block;
  min-height:0;
  max-width:100%;
  margin:auto 0 0;
  padding:12px 0 0;
  border-top:1px solid rgba(var(--che-vis-rgb),.16);
  color:#c1ccc3;
  font-size:clamp(12.5px,1.08vw,14px);
  line-height:1.52;
  letter-spacing:0;
  overflow-wrap:normal;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-ai-layer {
  display:grid;
  grid-column:1/-1;
  grid-row:auto;
  grid-template-columns:minmax(170px,.37fr) minmax(0,1fr);
  align-items:start;
  gap:clamp(16px,3vw,55px);
  min-height:0;
  margin:clamp(15px,2vw,24px) 0 0;
  padding:clamp(21px,2.4vw,28px) 0 0;
  border:0;
  border-top:1px solid rgba(216,229,219,.17);
  border-radius:0;
  background:transparent;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-ai-layer>span{
  margin:0;
  padding:0;
  font-size:12.5px;
  line-height:1.65;
  letter-spacing:.015em;
  font-weight:680;
  color:#cad7cd;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-ai-layer>p{
  max-width:62ch;
  margin:0;
  padding:0;
  color:#bfcac2;
  font-size:15px;
  line-height:1.6;
  letter-spacing:0;
}
@media(min-width:1024px) {
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility.che-section {
    min-height:100svh;
    display:flex;
    align-items:center;
    padding-block:clamp(67px,7.5svh,103px);
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-section-head{
    grid-template-columns:minmax(0,1.12fr) minmax(280px,.68fr);
    align-items:start;
    gap:clamp(50px,6vw,105px);
    margin-bottom:clamp(28px,3.6svh,42px);
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-section-head h2{
    font-size:clamp(39px,3.7vw,55px);
    line-height:1.11;
    max-width:15ch;
    text-wrap:balance;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-section-head>p{
    margin:7px 0 0;
    font-size:17px;
    line-height:1.64;
    max-width:36ch;
  }
}
@media(min-width:1024px) and (max-width:1199px){
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(-n+4) {
    padding:22px 22px 23px;
    min-height:205px;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(-n+4) h3 {
    font-size:23px;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-ai-layer {
    grid-template-columns:minmax(170px,.42fr) minmax(0,1fr);
  }
}
@media(min-width:701px) and (max-width:1023px){
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility.che-section {
    padding-block:72px 82px;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(-n+4){
    padding:23px 23px 25px;
    min-height:220px;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(-n+4) h3{font-size:23px}
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-ai-layer{
    grid-template-columns:minmax(170px,.4fr) minmax(0,1fr);
  }
}
@media(max-width:700px) {
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility.che-section {
    padding-block:clamp(58px,8svh,78px);
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid {
    grid-template-columns:minmax(0,1fr);
    gap:11px;
    border:0;
    padding:0;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(-n+4) {
    grid-column:1;
    display:flex;
    align-items:stretch;
    min-height:0;
    padding:19px 19px 21px;
    margin:0;
    border:1px solid rgba(var(--che-vis-rgb),.23);
    border-radius:13px;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(-n+4)>span{
    margin:0 0 12px;
    font-size:11px;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(-n+4) h3 {
    width:100%;
    margin:0 0 9px;
    font-size:clamp(22px,6vw,27px);
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(-n+4) p {
    font-size:15.5px;
    line-height:1.55;
    margin:0 0 12px;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid .che-service-examples {
    width:100%;
    margin:0;
    padding-top:9px;
    font-size:12.5px;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-ai-layer{
    grid-column:1;
    display:block;
    margin-top:11px;
    padding-top:20px;
    border-top:1px solid rgba(216,229,219,.18);
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-ai-layer>span{
    display:block;margin:0 0 7px;font-size:12.5px;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-ai-layer>p{
    max-width:50ch;
    font-size:14.5px;
  }
}
@media(hover:none),(pointer:coarse),(prefers-reduced-motion:reduce) {
  #che-page.che-canonical.che-desktop-vnext #visibility::before{display:none}
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(-n+4),
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #visibility .che-system-grid article:nth-child(-n+4)::before{transition:none}
}
