/*!
 * sticky-verbs.css — 一屏一个动词（大字钉在屏幕中线，底图从它背后滑过，下一屏的词把它推走）
 * 场景：工序/流程（Plan · Draw · Sample · Sew · Ship）、品牌三步法、服务流程。3–5 屏为宜。
 * 接入（纯 CSS）：
 *   <link rel="stylesheet" href="motion/sticky-verbs.css">
 *   <section class="verbs">
 *     <article class="verb verb--note-top" style="--verb-ink:#fff">     ← verb--note-top：说明放左上角（推荐）
 *       <img class="verb__img" src="…" alt="…">               ← 铺满整屏的照片
 *       <div class="verb__pin"><h3 class="verb__word">Sew</h3></div>
 *       <p class="verb__note">One sentence about this step.</p>  ← 左下角一句话，带局部暗角
 *     </article> …
 *   </section>
 *   变量：--verb-ink（大字颜色，每屏可不同，必须在该照片上可读）--verb-size（默认 clamp(96px,17vw,300px)）
 *         --verb-h（每屏高度，默认 120svh：词在中线停留约半屏）--verb-note-top（说明距顶，避开固定顶栏）
 * 原理：每个 .verb 是 100svh 的块，.verb__pin 在块内 position:sticky; top:50%，只在自己块内钉住，
 *       所以滚到下一块时会被自然推走——不需要任何脚本。
 * 降级：减少动态时大字不钉住，正常随块滚动（内容不变）。
 */
.verbs { position: relative; }
.verb { position: relative; min-height: var(--verb-h, 120svh); overflow: clip; display: grid; }
.verb__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.verb__pin { position: relative; z-index: 2; grid-area: 1 / 1; padding-top: 50svh; } /* 词从本屏中部出发，不会在上一屏底边露出半截 */
.verb__word {
  position: sticky; top: 50%; transform: translateY(-50%);
  margin: 0; text-align: center; color: var(--verb-ink, #fff);
  font-size: var(--verb-size, clamp(96px, 17vw, 300px)); line-height: .85; letter-spacing: -0.02em;
}
.verb__note {
  position: absolute; z-index: 2; left: var(--verb-margin, 32px); bottom: var(--verb-margin, 32px);
  max-width: 36ch; margin: 0; color: #fff; font-size: 18px; line-height: 1.5;
  padding: 16px 18px; background: rgba(8, 12, 20, .62); /* 只铺在这一角的中性暗底，保证可读 */
}
/* 说明放左上角（词最后会被推到本屏底部，放上面永远不和大字相撞） */
.verb--note-top .verb__note { bottom: auto; top: var(--verb-note-top, 32px); }
@media (max-width: 600px) {
  .verb__word { font-size: 24vw; }
  .verb__note { left: 16px; right: 16px; bottom: 16px; max-width: none; font-size: 16px; }
  .verb--note-top .verb__note { bottom: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .verb__word { position: relative; top: auto; transform: none; }
}
