/* ABLENTRA Stage 08 generated bundle. Edit source files, then run npm run build. */

/* ===== Source: assets/css/final-2026-10-29.css ===== */
/* ABLENTRA final layer 2026-10-29
   1) sequential upward reveal  2) layered "recede" on hover (desktop) / focus (touch)  3) footer polish
   Only transform + opacity are animated. Shared easing below. */
:root{--ease-final:cubic-bezier(.16,1,.3,1)}

/* ---------- 1. Sequential rise ---------- */
html.js [data-rise]{
  opacity:0;
  transform:translate3d(0,56px,0);
  transition:opacity .8s var(--ease-final),transform .9s var(--ease-final);
  transition-delay:var(--rise-delay,0s);
  will-change:transform,opacity;
}
html.js [data-rise].is-risen{opacity:1;transform:translate3d(0,0,0)}
/* after the entrance, drop the stagger delay so hover/tap feels instant */
html.js [data-rise].rise-done{transition-delay:0s;will-change:auto;
  transition:opacity .45s var(--ease-final),transform .55s var(--ease-final)}
/* neutralise the old alternating entrance on the question cards */
html body .q-card[data-rise].q-card.q-card.q-card{animation:none!important}

/* ---------- 2. Layered recede ---------- */
.rise-group{perspective:1100px}
@media (hover:hover) and (pointer:fine){
  html body .rise-group:has(> .rise-done:hover) > .rise-done:not(:hover){
    transform:translate3d(0,8px,-70px) scale(.95) rotateX(3deg)!important;
    opacity:.72!important;
  }
  html body .rise-group > .rise-done:hover{
    transform:translate3d(0,-8px,0) scale(1.015)!important;
    position:relative;z-index:2;
    box-shadow:0 30px 60px -28px rgba(14,14,15,.35);
  }
}
/* touch: the card nearest the screen centre stays forward, the rest step back */
@media (hover:none),(pointer:coarse){
  html body .rise-group.has-focus > .rise-done:not(.is-focus){
    transform:translate3d(0,0,-50px) scale(.965)!important;
    opacity:.8!important;
  }
  html body .rise-group.has-focus > .rise-done.is-focus{
    transform:translate3d(0,0,0) scale(1)!important;opacity:1!important;
  }
}

/* ---------- 3. Footer: compact, matches ablentra.com ---------- */
.site-footer .fcol ul li{margin:0}
.site-footer .fcol ul{gap:.15rem!important}
.site-footer .footer-cols{align-items:start}
.site-footer .fcol li a{white-space:normal}

/* ---------- Reduced motion / no-JS: static, fully readable ---------- */
@media (prefers-reduced-motion:reduce){
  html.js [data-rise]{opacity:1!important;transform:none!important;transition:none!important}
  .rise-group{perspective:none}
  html body .rise-group .rise-done{transform:none!important;opacity:1!important}
}
html:not(.js) [data-rise]{opacity:1;transform:none}

/* ===== v6 additions (from v5): service panels fall backward + pinned Discovery process ===== */
/* service panels: covered panel falls backward (JS sets transform), dims with an overlay (opacity only) */
html body .svc-cards .svc-card{transform-origin:50% 0;will-change:transform}
html body .svc-cards .svc-card::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:#0E0E0F;opacity:var(--dim,0);z-index:6}
@media (prefers-reduced-motion:reduce){html body .svc-cards .svc-card::after{display:none}}
@media (max-width:1020px) and (prefers-reduced-motion:no-preference){
  html body:has(.home-hero) .svc-cards{display:block!important}
  html body:has(.home-hero) .svc-cards .svc-card{position:sticky!important;top:84px!important;margin-bottom:5vh!important}
  html body:has(.home-hero) .svc-cards .svc-card:last-child{margin-bottom:0!important}
}
/* sticky panels need body/html not to be scroll containers on phones/tablets; clip still blocks sideways scroll */
@media (max-width:1020px){
  html,html body{overflow-x:clip!important;overflow-y:visible!important}
}

/* ---------- Process: pinned steps with big numerals (home) ---------- */
.proc{background:#0E0E0F;color:#fff;border-radius:28px;margin:0 clamp(.5rem,1.5vw,1.25rem)}
.proc-track{position:relative;height:520vh}
.proc-stick{position:sticky;top:0;height:100vh;height:100svh;display:flex;flex-direction:column;
  padding:clamp(5.5rem,10vh,7rem) clamp(1.1rem,4vw,3.5rem) clamp(1.5rem,4vh,3rem);box-sizing:border-box;overflow:hidden}
.proc-kicker{margin:0;font:600 .78rem/1 "Manrope",sans-serif;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.6)}
.proc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.proc-grid{flex:1;min-height:0;display:grid;grid-template-columns:clamp(150px,16vw,220px) 1fr;gap:clamp(1rem,3vw,3rem);margin-top:clamp(1rem,3vh,2rem)}
.proc-rail{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.35rem;align-self:start}
.proc-dot{display:flex;align-items:center;gap:.7rem;min-height:44px;padding:0;background:none;border:0;color:rgba(255,255,255,.5);
  font:500 1rem/1 "Manrope",sans-serif;cursor:pointer;transition:color .4s var(--ease-final)}
.proc-dot i{width:10px;height:10px;border-radius:50%;border:1.5px solid currentColor;flex:none;transition:background .4s var(--ease-final),border-color .4s,transform .4s var(--ease-final)}
.proc-dot.is-on{color:#fff}
.proc-dot.is-on i{background:#FF5A1F;border-color:#FF5A1F;transform:scale(1.2)}
.proc-stage{position:relative;min-height:0}
.proc-step{position:absolute;inset:0;display:grid;grid-template-columns:1.15fr .85fr;grid-template-rows:1fr auto;gap:0 clamp(1rem,3vw,3rem);
  opacity:0;pointer-events:none;transition:opacity .5s var(--ease-final)}
.proc-step.is-active{opacity:1;pointer-events:auto}
.proc-card{grid-column:1;grid-row:1/3;margin:0;border-radius:20px;overflow:hidden;min-height:0;position:relative;
  clip-path:inset(100% 0 0 0);transition:clip-path .7s var(--ease-final)}
.proc-step.is-active .proc-card{clip-path:inset(0 0 0 0)}
.proc-card img{width:100%;height:100%;object-fit:cover;display:block}
.proc-num{grid-column:2;grid-row:2;align-self:end;font:700 clamp(7rem,22vw,20rem)/.8 "Manrope",sans-serif;letter-spacing:-.05em;
  transform:translate3d(0,40px,0);opacity:0;transition:transform .7s var(--ease-final) .08s,opacity .5s var(--ease-final) .08s}
.proc-step.is-active .proc-num{transform:none;opacity:1}
.proc-text{grid-column:2;grid-row:1;align-self:start;max-width:30rem;transform:translate3d(0,24px,0);opacity:0;
  transition:transform .7s var(--ease-final) .15s,opacity .5s var(--ease-final) .15s}
.proc-step.is-active .proc-text{transform:none;opacity:1}
.proc-text h3{margin:0 0 .6rem;font:600 clamp(1.4rem,2.4vw,2rem)/1.15 "Manrope",sans-serif;letter-spacing:-.02em}
.proc-text p{margin:0;color:rgba(255,255,255,.72);font-size:clamp(.95rem,1.2vw,1.1rem);line-height:1.55}
@media (max-width:820px){
  .proc-track{height:480vh}
  .proc-grid{grid-template-columns:1fr;grid-template-rows:auto 1fr;gap:.5rem}
  .proc-rail{flex-direction:row;gap:.15rem;justify-content:space-between}
  .proc-dot span{display:none}.proc-dot.is-on span{display:inline}
  .proc-dot{min-width:44px;gap:.5rem}.proc-rail li:has(.is-on){flex:1 1 auto}
  .proc-step{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto auto;gap:.6rem}
  .proc-card{grid-column:1;grid-row:1;max-height:36vh}
  .proc-text{grid-column:1;grid-row:2}
  .proc-num{grid-column:1;grid-row:3;font-size:clamp(5rem,28vw,9rem);align-self:end;justify-self:start}
  .proc-text h3{font-size:1.25rem}.proc-text p{font-size:.92rem}
}
/* reduced motion / no JS: plain readable list */
@media (prefers-reduced-motion:reduce){
  .proc-track{height:auto}.proc-stick{position:static;height:auto;overflow:visible}
  .proc-grid{display:block}.proc-rail{display:none}
  .proc-stage{display:grid;gap:2.5rem;margin-top:1rem}
  .proc-step{position:static;opacity:1;pointer-events:auto}
  .proc-card{clip-path:none;aspect-ratio:3/2}.proc-num,.proc-text{transform:none;opacity:1}
  .proc-num{font-size:5rem}
}
html:not(.js) .proc-track{height:auto}
html:not(.js) .proc-stick{position:static;height:auto}
html:not(.js) .proc-rail{display:none}
html:not(.js) .proc-stage{display:grid;gap:2.5rem}
html:not(.js) .proc-step{position:static;opacity:1}
html:not(.js) .proc-card{clip-path:none;aspect-ratio:3/2}
html:not(.js) .proc-num,html:not(.js) .proc-text{transform:none;opacity:1}

/* ---------- FAQ staircase v6: per-list offsets (set inline as --fq), so long lists never snap back to the left ---------- */
@media (min-width:1024px){
  .accordion-list .accordion.accordion[style*="--fq"]:nth-child(n){margin-left:calc(var(--fq,0) * 1rem);width:calc(100% - var(--fq,0) * 1rem)}
}

