/* CHE closing editorial polish — candidate for owner visual review (2026-10-18).
   Scope: only the final John 1:5 pause and native CHE footer. Retain the
   source-locked quote, original Slim Star SVG, Light Audit action and all
   existing legal/payment/consent behavior. */

#che-page.che-canonical.che-heritage-preview.che-layout-preview
  .che-light-epigraph--closing .che-light-epigraph-inner{
  min-height:clamp(500px,44vw,610px);
  padding-block:clamp(78px,7vw,110px);
  column-gap:clamp(42px,6vw,95px);
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview
  .che-light-epigraph--closing .che-light-epigraph-quote{
  max-width:22ch;
  line-height:1.34;
}

/* More restrained final invitation: a clear ask, not a second giant hero. */
#che-page.che-canonical.che-heritage-preview.che-layout-preview
  .che-footer{
  padding-top:clamp(48px,4.7vw,64px);
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview
  .che-footer-grid{
  column-gap:clamp(34px,5vw,72px);
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview
  .che-footer h2{
  font-size:clamp(48px,5vw,69px);
  line-height:1.075;
  text-wrap:balance;
}
html[lang="ru"] #che-page.che-canonical.che-heritage-preview.che-layout-preview
  .che-footer h2{
  font-size:clamp(46px,4.8vw,65px);
  line-height:1.08;
}

/* Preserve CHE's OWN footer; integrate the modest personal-site return
   into the existing legal utility row rather than leaving an orphan line. */
#che-page.che-canonical.che-heritage-preview.che-layout-preview
  .che-footer>.che-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  column-gap:clamp(14px,2.5vw,36px);
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview
  .che-footer-grid,
#che-page.che-canonical.che-heritage-preview.che-layout-preview
  .che-footer-bottom{
  grid-column:1/-1;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview
  .che-footer-legal{
  grid-column:1;
  padding-bottom:28px;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview
  .che-personal-return{
  grid-column:2;
  display:flex;
  align-items:flex-start;
  padding-bottom:28px;
  min-width:0;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview
  .che-personal-return a{
  display:inline-block;
  color:#b7c5ba;
  font-size:13px;
  font-weight:580;
  line-height:1.55;
  text-decoration:none;
  border-bottom:1px solid rgba(222,236,224,.25);
  transition:color .2s ease,border-color .2s ease;
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview
  .che-personal-return a:hover{
  color:#f3f7f1;
  border-bottom-color:rgba(241,249,242,.67);
}
#che-page.che-canonical.che-heritage-preview.che-layout-preview
  .che-personal-return a:focus-visible{
  outline:2px solid #f5f6f5;
  outline-offset:4px;
}

@media(min-width:701px) and (max-width:1000px){
  #che-page.che-canonical.che-heritage-preview.che-layout-preview
    .che-light-epigraph--closing .che-light-epigraph-inner{
    min-height:clamp(430px,48vw,500px);
    padding-block:76px;
  }
}
@media(max-width:760px){
  #che-page.che-canonical.che-heritage-preview.che-layout-preview
    .che-footer>.che-shell{
    grid-template-columns:minmax(0,1fr);
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview
    .che-footer-legal,
  #che-page.che-canonical.che-heritage-preview.che-layout-preview
    .che-personal-return{
    grid-column:1/-1;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview
    .che-footer-legal{
    padding-bottom:10px;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview
    .che-personal-return{
    padding-bottom:26px;
  }
}
@media(max-width:700px){
  #che-page.che-canonical.che-heritage-preview.che-layout-preview
    .che-light-epigraph--closing .che-light-epigraph-inner{
    min-height:0;
    padding-block:66px 71px;
    row-gap:28px;
  }
  #che-page.che-canonical.che-heritage-preview.che-layout-preview
    .che-light-epigraph--closing .che-light-epigraph-quote{
    max-width:100%;
    line-height:1.40;
  }
}
@media(prefers-reduced-motion:reduce){
  #che-page.che-canonical.che-heritage-preview.che-layout-preview
    .che-personal-return a{transition:none!important}
}
