/* CHE / Quiet Light / Case scene: living proof, not a new card catalogue.
   One deep-black project stage, a restrained luminous orbit and the original
   evidence links. All original source-locked content and destinations remain.
   Uses the existing data-light-field (--mx/--my) pointer handler in che.js;
   no new script, tracking, image generation, or autonomous animations. */
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case.che-section {
  background:
    radial-gradient(ellipse 55% 48% at 83% 55%,rgba(153,182,168,.022),transparent 76%),
    #080b0c;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-section-head h2{
  color:#f4f6f2;
  letter-spacing:-.031em;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-section-head>p{
  max-width:40ch;
  color:#c2cec3;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case{
  --mx:50%;
  --my:50%;
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-areas:"main system";
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  align-items:stretch;
  min-height:452px;
  overflow:hidden;
  border:1px solid rgba(188,209,193,.22);
  border-radius:22px;
  background:
    linear-gradient(123deg,rgba(175,204,177,.026),rgba(255,255,255,.006) 47%,rgba(122,155,162,.013)),
    #0b0f10;
  box-shadow:inset 0 1px rgba(233,243,231,.025);
  transition:border-color .3s ease,box-shadow .35s ease;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:0;
  pointer-events:none;
  background:radial-gradient(340px circle at var(--mx) var(--my),
    rgba(185,212,198,.068),rgba(162,194,191,.016) 47%,transparent 78%);
  opacity:.4;
  transition:opacity .4s ease;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case::after{
  content:"";
  position:absolute;
  z-index:2;
  left:clamp(22px,4%,52px);
  right:44%;
  top:0;
  height:1px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(191,211,179,.32) 28%,
    rgba(140,182,192,.17) 68%,transparent);
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case:hover,
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case:focus-within{
  border-color:rgba(186,209,195,.34);
  box-shadow:0 0 38px rgba(140,176,163,.022),inset 0 1px rgba(224,242,221,.044);
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case:hover::before,
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case:focus-within::before{opacity:1}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-main{
  position:relative;
  z-index:1;
  grid-area:main;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  min-width:0;
  padding:clamp(33px,4vw,61px);
  border:0;
  border-right:1px solid rgba(196,218,199,.115);
  background:transparent;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case h3{
  margin:0 0 clamp(18px,2.3vw,27px);
  font-size:clamp(38px,3.5vw,53px);
  font-weight:710;
  line-height:1.1;
  color:#f5f6f2;
  letter-spacing:-.035em;
  text-wrap:balance;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-lead{
  max-width:30ch;
  margin:0 0 17px!important;
  font-size:clamp(21px,2vw,27px)!important;
  line-height:1.4!important;
  font-weight:490;
  color:#e0e8de!important;
  text-wrap:pretty;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-main>p:not(.che-case-lead){
  max-width:40ch;
  margin:0;
  color:#b8c7bc;
  font-size:16px;
  line-height:1.66;
  text-wrap:pretty;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-links{
  display:flex;
  align-items:center;
  gap:clamp(13px,1.65vw,23px);
  margin-top:clamp(25px,3vw,38px);
  padding:0;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-links .che-cta{
  min-height:47px;
  width:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border:1px solid rgba(174,205,185,.27);
  border-radius:999px;
  background:rgba(218,231,220,.017);
  box-shadow:none;
  color:#f3f7f1;
  font-size:14px;
  font-weight:640;
  text-decoration:none;
  white-space:normal;
  transition:border-color .25s ease,background .25s ease;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-links .che-cta:hover,
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-links .che-cta:focus-visible{
  border-color:rgba(188,221,197,.55);
  background:rgba(194,217,194,.075);
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-links .che-text-link{
  display:inline-flex;
  min-height:44px;
  align-items:center;
  gap:6px;
  color:#cbd8ce;
  font-size:14px;
  line-height:1.4;
  text-decoration:none;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-links .che-text-link:hover,
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-links .che-text-link:focus-visible{
  color:#f7faf5;
  text-decoration:underline;
  text-underline-offset:5px;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-links a:focus-visible{
  outline:2px solid #e5efe7;
  outline-offset:4px;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-system{
  position:relative;
  z-index:1;
  grid-area:system;
  min-width:0;
  min-height:452px;
  display:block;
  overflow:hidden;
  border:0;
  background:
    radial-gradient(circle at 50% 51%,rgba(184,211,193,.055),transparent 33%),
    radial-gradient(ellipse 56% 68% at 50% 50%,rgba(161,201,185,.018),transparent 86%);
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-system::before{
  content:"";
  position:absolute;
  width:260px;
  aspect-ratio:1;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  pointer-events:none;
  opacity:.5;
  background:radial-gradient(circle,rgba(184,208,194,.058),transparent 68%);
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-orbit{
  --che-orbit-rgb:160,200,178;
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  border:1px solid rgba(var(--che-orbit-rgb),.25);
  border-radius:50%;
  background:transparent;
  box-shadow:0 0 17px rgba(var(--che-orbit-rgb),.012);
  transition:border-color .35s ease,box-shadow .35s ease;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-orbit--1{
  --che-orbit-rgb:197,188,157;
  width:110px;
  height:110px;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-orbit--2{
  --che-orbit-rgb:154,192,207;
  width:202px;
  height:202px;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-orbit--3{
  --che-orbit-rgb:153,190,173;
  width:min(298px,calc(100% - 66px));
  height:auto;
  aspect-ratio:1;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-orbit::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:50%;
  pointer-events:none;
  background:conic-gradient(from 222deg,
    transparent 0 17deg,
    rgba(var(--che-orbit-rgb),.66) 23deg 51deg,
    transparent 59deg 360deg);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 calc(100% - 1px));
  mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 calc(100% - 1px));
  opacity:.34;
  transition:opacity .4s ease;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case:hover .che-orbit,
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case:focus-within .che-orbit{
  border-color:rgba(var(--che-orbit-rgb),.43);
  box-shadow:0 0 23px rgba(var(--che-orbit-rgb),.026);
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case:hover .che-orbit::before,
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case:focus-within .che-orbit::before{opacity:.82}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-orbit span{
  position:absolute;
  z-index:1;
  left:50%;
  top:-9px;
  transform:translateX(-50%);
  padding:0 8px;
  background:#0b1010;
  color:rgb(var(--che-orbit-rgb));
  font-size:13.5px;
  font-weight:670;
  line-height:1.3;
  text-transform:none;
  letter-spacing:.015em;
  white-space:nowrap;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-star{
  z-index:2;
  width:28px;
  height:28px;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-star>.che-star-symbol{
  width:28px;
  height:28px;
  filter:drop-shadow(0 0 8px rgba(184,216,190,.24));
}
@media(min-width:1024px){
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case.che-section{
    min-height:100svh;
    display:flex;
    align-items:center;
    padding:clamp(70px,7.5svh,100px) 0;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-section-head {
    display:grid;
    grid-template-columns:minmax(0,1.1fr) minmax(260px,.65fr);
    gap:clamp(46px,6vw,95px);
    align-items:start;
    margin-bottom:clamp(28px,3.2svh,41px);
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-section-head h2{
    max-width:18ch;
    font-size:clamp(40px,3.7vw,55px);
    line-height:1.12;
    text-wrap:balance;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-section-head>p{
    margin-top:7px;
    font-size:16.5px;
    line-height:1.66;
  }
}
@media(min-width:701px) and (max-width:1023px){
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case{
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"main" "system";
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-main{
    border-right:0;
    border-bottom:1px solid rgba(195,218,200,.13);
    padding:34px 38px 32px;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-system{
    min-height:350px;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case h3{
    font-size:clamp(38px,5vw,47px);
  }
}
@media(max-width:700px){
  /* Preserve the approved mobile case flow: three readable steps,
     not a tiny orbit or an unexplained graphic. */
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case{
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"main" "system";
    min-height:0;
    border-radius:18px;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-main{
    min-height:0;
    padding:22px 19px 16px;
    border-right:0;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case h3{
    font-size:clamp(27px,7.2vw,32px);
    margin-bottom:13px;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-lead{
    font-size:18.5px!important;
    line-height:1.34!important;
    margin-bottom:12px!important;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-main>p:not(.che-case-lead){
    font-size:14.5px;
    line-height:1.48;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-links{
    flex-direction:column;
    align-items:stretch;
    width:100%;
    gap:5px;
    margin:0;
    padding-top:18px;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-links .che-cta{
    width:100%;
    min-height:49px;
    padding:11px 15px;
    font-size:14px;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-links .che-text-link{
    align-self:flex-start;
    min-height:44px;
    padding:8px 3px;
    font-size:14px;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-system{
    min-height:0;
    display:grid;
    height:auto;
    padding:17px 19px 13px;
    border:0;
    border-top:1px solid rgba(194,218,198,.19);
    background:radial-gradient(circle at 96% 0%,rgba(200,230,205,.023),transparent 35%);
    overflow:visible;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-system::before{display:none}
  /* On phones the pre-existing ring pseudoelements are numbered steps,
     not light arcs. Preserve those meaningful numbers and their grid. */
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-orbit::before{
    content:counter(che-case-step,decimal-leading-zero);
    position:static;
    inset:auto;
    display:block;
    grid-column:1;
    grid-row:1/3;
    align-self:start;
    width:27px;
    height:auto;
    margin:0;
    padding:2px 0 0;
    border:0;
    border-radius:0;
    background:none;
    -webkit-mask:none;
    mask:none;
    opacity:1;
    color:#9aaea1;
    font-size:11.5px;
    font-weight:650;
    line-height:1.35;
    letter-spacing:.03em;
    font-variant-numeric:tabular-nums;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-orbit,
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-orbit--1,
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-orbit--2,
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-orbit--3{
    position:relative;
    display:grid;
    grid-template-columns:27px minmax(0,1fr);
    grid-template-rows:auto auto;
    min-height:0;
    width:100%;
    max-width:100%;
    height:auto;
    aspect-ratio:auto;
    margin:0;
    padding:12px 0 11px;
    top:auto;
    left:auto;
    transform:none;
    border:0;
    border-top:1px solid rgba(197,219,203,.16);
    border-radius:0;
    box-shadow:none;
    background:transparent;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-orbit span {
    position:static;
    top:auto;
    left:auto;
    transform:none;
    grid-column:2;
    grid-row:1;
    min-width:0;
    margin:0;
    padding:0;
    color:#e8f0e9;
    font-size:16.5px;
    line-height:1.29;
    text-align:left;
    font-weight:720;
    letter-spacing:0;
    white-space:normal;
    background:transparent;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-star{
    top:15px;
    right:19px;
    left:auto;
    transform:none;
    width:20px;
    height:20px;
    opacity:.65;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case-star>.che-star-symbol{
    width:20px;
    height:20px;
  }
}
@media(hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case::before{opacity:.15;transition:none}
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-case,
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-orbit,
  #che-page.che-canonical.che-heritage-preview.che-layout-preview.che-desktop-vnext #case .che-orbit::before{transition:none}
}
