# Headline Settle (标题逐词升起落定)

A headline rises word by word out of a mask, settles on a long ease-out, then stays dead still with one accent word; an opener for any film.

- Ref: `video/motion-headline-settle` (code video · motion · any · any · 3s at 30fps)
- Page: https://uifino.com/en/videos/motion-headline-settle
- Markdown: https://uifino.com/md/videos/motion-headline-settle.md
- Preview image: https://uifino.com/videos/motion-headline-settle/poster.jpg

## Install

- ZIP: https://uifino.com/videos/motion-headline-settle/source.zip

A headline rises word by word out of a mask, settles on a long ease-out, then stays dead still with one accent word; an opener for any film.

Rendered video: https://uifino.com/videos/motion-headline-settle/preview.mp4

## Beats

- 0-0.9s Headline enters: 4 word groups rise from the mask edge, expo.out, 0.07 s apart Camera: static. On-screen text: "Turn ideas into pages that run".
- 0.9-2.4s Let the viewer read: Fully still: no scale, drift or breathing Camera: static.
- 2.4-2.8s Clean exit: Each group keeps rising out of the mask, power3.in, 0.4 s in total (44% of the entrance)
- 2.8-3s Empty tail: Background only

## Parameters

- `stagger` Word stagger: default 0.07s, range 0.06 to 0.09s
- `riseDuration` Rise duration per word: default 0.69s, range 0.5 to 0.9s
- `riseEase` Rise ease: default expo.out
- `exitDuration` Exit duration per word: default 0.28s, range 0.2 to 0.4s
- `exitEase` Exit ease: default power3.in
- `exitStagger` Exit stagger: default 0.04s, range 0.02 to 0.08s
- `fontSize` Font size: default 120px

## Good for

- A single claim at the start of a film or chapter
- A clean, restrained, launch-film style title
- Works for Chinese and English, 3 to 6 word groups

## Not for

- Long or multi-line headlines
- Scenes where the title must keep moving with other elements

## Source files (plain text)

- https://uifino.com/videos/motion-headline-settle/source/SPEC.md
- https://uifino.com/videos/motion-headline-settle/source/PROMPT.md
- https://uifino.com/videos/motion-headline-settle/source/NOTICE.md
- https://uifino.com/videos/motion-headline-settle/source/project/assets/fonts/OFL.txt
- https://uifino.com/videos/motion-headline-settle/source/project/compositions/headline.html
- https://uifino.com/videos/motion-headline-settle/source/project/hyperframes.json
- https://uifino.com/videos/motion-headline-settle/source/project/index.html

## How to use

- Copy the beats and parameters; replace only the copy, the accent color and the product screenshots.
- `PROMPT.md` has two prompts: one to reproduce this video exactly, one to learn only the technique.
- Build with HyperFrames (`/hyperframes`); the project in the ZIP is a ready starting point.

## Files

| Path | Role | Size |
| :--- | :--- | ---: |
| PROMPT.md | doc | 1.9 KB |
| SPEC.md | doc | 3.9 KB |

### PROMPT.md

```md
# PROMPT：motion-headline-settle

## 照抄复刻
用 `/hyperframes` 做一个 1920×1080、30 fps、3 秒的标题动效，只有一行字，底色 `#F6F5F2`，字色 `#121212`，字号 120、字重 700、字距 -0.02em，单行居中，文字视觉中心在画面 45% 高度。

做法：
1. 把标题按词拆成 4 段：「把想法」「变成」「能跑的」「页面」。每段外面包一个 `overflow: hidden` 的遮罩（行高 1.3，字不被裁）。强调词「能跑的」用强调色 `#D4412A`，其余全是字色。
2. 入场 0.0–0.9 秒：每段用 `fromTo`，`yPercent` 从 115 到 0，`expo.out`，每段 0.69 秒，段与段间隔 0.07 秒。只动位置，不加透明度，不加模糊。
3. 静止 0.9–2.4 秒：什么 tween 都不加，不缩放、不漂移、不呼吸。
4. 退场 2.4–2.8 秒：每段 `yPercent` 从 0 到 -115（继续向上钻出遮罩），`power3.in`，每段 0.28 秒，间隔 0.04 秒。
5. 2.8–3.0 秒只剩底色。

需要替换的地方：
- 标题文案（变量 `headline`，分组之间用 `|` 分开，3 到 4 组）：中文 `把想法|变成|能跑的|页面`，英文 `Turn ideas|into pages|that|run`。
- 强调词（`accentWord`，必须等于标题里的某一段）：中文「能跑的」，英文 `run`。
- 强调色 `accentColor`、底色 `bg`、字色 `ink`。
- 时间和缓动也都是变量：`stagger`、`riseDuration`、`riseEase`、`exitStagger`、`exitDuration`、`exitEase`、`fontSize`。中文用思源黑体子集，英文用 IBM Plex Sans（都是 `@font-face` 指向 `assets/fonts/`）；不要联网取字体。

## 只学手法
标题按词拆开，每个词套一层遮罩，从遮罩下沿升起：`expo.out` 约 0.7 秒，词间隔 0.07 秒，不加淡入、不加模糊；落定后 1.5 秒一动不动；退场继续向上钻出遮罩，`power3.in`，总时长 0.4 秒（入场 0.9 秒的 44%）。全句只染一个词。
```

### SPEC.md

```md
# SPEC：motion-headline-settle

> 先写这份，再写代码。每个形容词落成数字。

## LOOK
- 色值：底 `#F6F5F2`，字 `#121212`，强调色 `#D4412A`（朱红，只染「能跑的」三个字，面积远小于 10%）。中性色只有两个。
- 字体：中文 Noto Sans SC（思源黑体子集，`assets/fonts/noto-sans-sc.woff2`，门禁自动生成，OFL）。西文版用 IBM Plex Sans（`assets/fonts/ibm-plex-sans.woff2`，门禁自动生成，OFL）。中文和西文各一个族。
- 字号：只有一档，120px；字重 700；字距 -0.02em；行高 1.3（给遮罩留出上下余量，字不被裁）。
- 圆角：无。阴影：无。没有任何装饰元素。
- 位置：整行单行居中，文字视觉中心在画面 45% 高度（y = 486px）。

## MOTION
- 入场：标题按词拆成 4 段（把想法 / 变成 / 能跑的 / 页面），每段套一个 `overflow: hidden` 的遮罩。每段从遮罩下沿 `yPercent: 115` 升到 0，不加透明度、不加模糊，`expo.out`，每段 0.69 秒。
- 错开：段与段间隔 0.07 秒（在 60–90 毫秒内）。第 1 段 0.00 秒起，第 4 段 0.21 秒起，全部 0.90 秒落定。
- 静止：0.9–2.4 秒，共 1.5 秒，没有任何 tween（不缩放、不漂移、不呼吸）。
- 退场（入场 0.90 秒，退场 0.40 秒，约为入场的 44%，即短了约 56%；比手册「短 40–50%」多短了一点，原因是 BRIEF 把退场窗口定死在 2.4–2.8 秒，并要求最后 0.2 秒空画面，保留）：2.4 秒起，每段继续向上钻出遮罩 `yPercent: -115`，`power3.in`，每段 0.28 秒，段间隔 0.04 秒，共 0.40 秒，约为入场 0.90 秒的一半。2.8 秒后画面只剩底色，持续到 3.0 秒。
- 入场方向向上、退场方向也向上：同一股劲到底，不回头。

## 逐拍节拍表
| 拍 | 起止秒 | 画面 | 镜头 | 转场 | 屏幕文案原文 |
| --- | --- | --- | --- | --- | --- |
| main | 0.0 - 0.9 | 4 段字依次从遮罩下升起，长尾落定 | 固定 | 无 | 把想法变成能跑的页面 |
| main | 0.9 - 2.4 | 完全静止 | 固定 | 无 | 同上 |
| main | 2.4 - 2.8 | 4 段字依次向上钻出遮罩 | 固定 | 无 | 同上 |
| main | 2.8 - 3.0 | 只有底色 | 固定 | 无 | 无 |

英文版：「Turn ideas into pages that run」，强调词「run」。标题变量用 `|` 分组，英文写成 `Turn ideas|into pages|that|run`，同样是 4 组，同样参数，0.9 秒落定（已临时切到英文渲染 0.3 / 0.9 / 1.04 秒三帧确认）。组数规则：入场总时长 = (组数 - 1) × 间隔 + 每组时长，要保持在 0.9 秒内，最多 4 组（5 组时把间隔降到 0.06、每组降到 0.66）。

## 参数接线
所有参数都是 `project/compositions/headline.html` 根元素 `data-composition-variables` 里的变量，用户的 AI 在挂载处用 `data-variable-values` 覆盖：headline、accentWord、accentColor、bg、ink、fontSize（默认 120）、stagger（0.07）、riseDuration（0.69）、riseEase（expo.out）、exitStagger（0.04）、exitDuration（0.28）、exitEase（power3.in）。静止时长不是变量：它由整条的 3 秒总时长和 2.4 秒退场起点决定，要改就同时改 `index.html` 的 `data-duration` 和 `headline.html` 里 `tl.to` 的起点 2.4。

## 禁用项
淡入加上滑、弹跳、模糊、辉光、渐变字、小标签和注释、落定后任何缩放或漂移、运动模糊。

## 已知取舍
- 门禁警告 `first_frame_empty`（第 0 帧只有底色）：保留。这条动效的主题就是字从遮罩里升起，第 0 帧必须是空的；封面取 1.5 秒，那时标题已落定。
- 画面文字 10 个字，停留 1.5 秒，低于通则「字数 × 0.25 秒」的 2.5 秒：这是 3 秒的动效样例，时长以 BRIEF 为准；放进整片时，把静止段拉长即可，入场和退场参数不变。
- 发起门禁时字体子集包含 139 个字（脚本按用到的字生成），多出的字来自变量说明文字，对成片无影响。
```
