/* Версия 1 «Подачи»: блоки на весь экран ложатся друг на друга, как подачи ужина.
   Без пересчёта на каждом кадре: двигается только сама карточка. */

/* stack of courses (tablet and desktop).
   Rounded corners and the shadow live on a 40px cap above each card, not on the whole card:
   big rounded, clipped, shadowed sticky layers were what made the page stutter and tear. */
@media (min-width:761px){
  .v1 .deck>.blk{position:sticky;top:0;background:var(--ink);overflow:visible;overflow-x:clip}
  .v1 .deck>.blk.ww{background:var(--velvet)}
  .v1 .deck>.hero{background:linear-gradient(90deg,#FFFEFB 0%,#FFFEFB 26%,#FAF3DF 60%,#F4E8C8 100%)}
  .v1 .deck>.blk+.blk::after,.v1 .foot::after{content:"";position:absolute;left:0;right:0;top:-39px;height:40px;border-radius:40px 40px 0 0;background:inherit;box-shadow:0 -8px 18px -10px rgba(28,20,18,.2);pointer-events:none}
  .v1 .deck>.blk.ww::after{background:var(--velvet)}
  /* dark-water blocks: the water itself runs up into the rounded edge, no black strip above it.
     Rounded corners are painted on the background layers only (no clipping), so scrolling stays light. */
  .v1 .deck>.blk.manifesto::after,.v1 .deck>.blk.steps::after{background:transparent}
  .v1 .manifesto>.bgfx,.v1 .steps>.bgfx{top:-39px;overflow:visible}
  .v1 .manifesto>.bgfx{border-radius:40px 40px 0 0}
  .v1 .manifesto>.bgfx::before,.v1 .manifesto>.bgfx::after,.v1 .steps>.bgfx::before,.v1 .steps>.bgfx::after{border-radius:40px 40px 0 0}
  .v1 .ww::before{top:0}
  .v1 .foot{position:relative;z-index:2;border-top:0;overflow:visible;overflow-x:clip}
  /* the next course's rounded edge lies over the last 40px of the one before it:
     keep that strip empty so the client logos on the first screen stay fully visible */
  .v1 .hero .clients{padding-bottom:62px}
}

/* rail on wide screens */
@media (min-width:1280px){.v1 .rail{display:flex}}

