/* Enhancements: sticky phone CTA, result strip, method strip, hero loop. Everything honors reduced motion. */
.sticky-call{display:none}
@media (max-width:760px){
  .sticky-call{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;align-items:center;justify-content:center;
    padding:14px 88px calc(14px + env(safe-area-inset-bottom)) 16px;background:#000;color:#fafaf8;font:500 15px/1.2 Geologica,system-ui,sans-serif;
    letter-spacing:.01em;text-decoration:none;min-height:56px;border-top:1px solid rgba(255,255,255,.18);
    transform:translateY(110%);transition:transform .35s ease}
  .sticky-call.show{transform:none}
  .sticky-call span{border-bottom:1px solid rgba(250,250,248,.55);padding-bottom:2px}
  body.has-sticky .site-foot{padding-bottom:72px}
  .ava-pill{transition:bottom .35s ease}
  body.sticky-on .ava-pill{bottom:76px}
}
/* what happens next + result strip */
.next-line{margin:14px 0 0;font-size:14px;color:var(--muted,#6b6a62);max-width:46ch}
.next-line b{font-weight:500;color:inherit}
.cs-result{background:#000;color:#fafaf8;border-top:1px solid rgba(255,255,255,.14)}
.cs-result .wrap{padding-top:22px;padding-bottom:22px;display:flex;gap:6px 18px;align-items:baseline;flex-wrap:wrap}
.cs-result .label{white-space:nowrap;color:#cfcec6;margin:0}
.cs-result p{margin:0;font-size:clamp(17px,2vw,22px);line-height:1.35;font-weight:300;max-width:60ch}
/* method strip */
.method{background:#f6f4e8;border-top:1px solid rgba(27,26,20,.16)}
.method .wrap{padding-top:clamp(48px,6vw,88px);padding-bottom:clamp(48px,6vw,88px)}
.method h2{margin:6px 0 clamp(28px,4vw,48px)}
.m-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:0;position:relative}
.m-steps::before{content:"";position:absolute;left:0;right:0;top:14px;height:1px;background:rgba(27,26,20,.2)}
.m-steps::after{content:"";position:absolute;left:0;top:14px;height:1px;width:0;background:#1b1a14;transition:width 1.6s cubic-bezier(.4,0,.2,1) .2s}
.method.in .m-steps::after{width:100%}
.m-steps li{position:relative;padding:44px 24px 0 0}
.m-steps li::before{content:attr(data-n);position:absolute;left:0;top:0;width:29px;height:29px;border-radius:50%;border:1px solid #1b1a14;background:#f6f4e8;
  display:grid;place-items:center;font-size:12px;font-weight:500;transition:background .4s,color .4s}
.m-steps li b{display:block;font-size:clamp(20px,2vw,26px);font-weight:300;letter-spacing:-.01em;margin-bottom:8px}
.m-steps li span{display:block;font-size:15px;line-height:1.45;color:#4a493f;max-width:26ch}
.js .m-steps li b,.js .m-steps li span{opacity:0;transform:translateY(10px);transition:opacity .6s,transform .6s}
.method.in .m-steps li b,.method.in .m-steps li span{opacity:1;transform:none}
.method.in .m-steps li::before{background:#1b1a14;color:#fafaf8}
.method.in li:nth-child(1)::before,.method.in li:nth-child(1) b,.method.in li:nth-child(1) span{transition-delay:.2s}
.method.in li:nth-child(2)::before,.method.in li:nth-child(2) b,.method.in li:nth-child(2) span{transition-delay:.6s}
.method.in li:nth-child(3)::before,.method.in li:nth-child(3) b,.method.in li:nth-child(3) span{transition-delay:1s}
.method.in li:nth-child(4)::before,.method.in li:nth-child(4) b,.method.in li:nth-child(4) span{transition-delay:1.4s}
@media (max-width:760px){
  .m-steps{grid-template-columns:1fr;gap:26px;padding-left:0}
  .m-steps::before,.m-steps::after{left:14px;right:auto;top:0;bottom:0;width:1px;height:auto}
  .m-steps::after{height:0;width:1px;transition:height 1.6s cubic-bezier(.4,0,.2,1) .2s}
  .method.in .m-steps::after{width:1px;height:100%}
  .m-steps li{padding:2px 0 0 46px}
  .m-steps li span{max-width:none}
}
@media (prefers-reduced-motion:reduce){
  .m-steps::after{transition:none;width:100%;height:auto}
  .js .m-steps li b,.js .m-steps li span{opacity:1;transform:none;transition:none}
  .m-steps li::before{background:#1b1a14;color:#fafaf8;transition:none}
  .sticky-call{transition:none}
}

/* case studies "shorter summaries": three cards sit in one row on wide screens so no cell is left empty */
@media (min-width:1000px){#more .bgrid{grid-template-columns:repeat(3,1fr)}}
@media (min-width:761px) and (max-width:999px){#more .bgrid > :last-child:nth-child(odd){grid-column:1/-1}}
