Best For
video hero / cinematic hero / background video
电影视频首屏
Rate this styleA cinematic opener led by a short looping video. A poster frame paints first as the LCP; the muted video autoplays and loops only once in view; text sits on a readability scrim. Dark grading and slow motion build a trailer-like immersive entrance.
Best For
video hero / cinematic hero / background video
Primary Move
Poster frame as LCP: poster attribute + AVIF/WebP, small and sharp, instant
Watch Out
Never make the video the LCP dependency or omit the poster (blank first paint, LCP blowup)
design.md
One document describes the colour roles, type rules, spacing and component construction behind this style. Copy or download it into Claude Code or Codex.
A poster frame lands first, then the picture starts to move — the opening shot of a trailer.
Theme: dark
Cinematic Video Hero establishes atmosphere with a short film: a poster frame renders first as the LCP, a muted video loads and loops only once in view, and text sits on a readability scrim. Its technical discipline outranks its look — the video must never be the LCP dependency, a poster is mandatory, preload=auto is forbidden, key information must never live inside the video (it may not play or may be downgraded), sound never autoplays, and loops must seam with slow motion. Reduced motion and a mobile downgrade both need handling, or weak devices simply see black.
| Name | Value | Token | Role |
|---|---|---|---|
| Film Black | #05060a | --color-film-black | The video area and page ground — a blue-leaning near-black that makes the gold read warmer. |
| Warm White | #f3efe8 | --color-warm-white | Light sections and text — a warm off-white, like a projection screen. |
| Warm Gold | #e4c063 | --color-warm-gold | The only accent: primary buttons, scene numbers and highlights. |
| Card Dark | #141821 | --color-card-dark | Cards and info blocks — a step above film black, dividing space without breaking the dark. |
| Silver | #9aa6b8 | --color-silver | Secondary text and metadata — the grey of subtitles. |
| Role | Family | Weight | Size | Line Height | Letter Spacing | Token |
|---|---|---|---|---|---|---|
| display | — | 500 | 56px | 1.05 | -0.02em | --text-display |
| heading-lg | — | 500 | 40px | 1.1 | -0.02em | --text-heading-lg |
| heading | — | 600 | 24px | 1.2 | — | --text-heading |
| body-lg | — | 400 | 16px | 1.55 | — | --text-body-lg |
| body | — | 400 | 13px | 1.55 | — | --text-body |
| label | — | 500 | 11px | 1.4 | 0.16em | --text-label |
Base unit: 8px Density: airy
| Name | Value | Token |
|---|---|---|
| 8 | 8px | --spacing-8 |
| 16 | 16px | --spacing-16 |
| 24 | 24px | --spacing-24 |
| 32 | 32px | --spacing-32 |
| 48 | 48px | --spacing-48 |
| 64 | 64px | --spacing-64 |
| 96 | 96px | --spacing-96 |
| 128 | 128px | --spacing-128 |
| Element | Value |
|---|---|
| cards | 12px |
| buttons | 999px |
| inputs | 999px |
Role: Primary action
Warm gold fill, film black text, fully rounded, no border, 16px/600, 14px 28px padding. Hover brightens the fill to #efce78; press scales 0.98. A 12px play triangle may sit 8px from the label. 300ms.
Role: The video hero — the signature
100vh tall with overflow hidden on a film black ground. The poster (AVIF) renders first as the LCP; the video element is muted, looping, playsInline with preload none, and an IntersectionObserver calls load and play at 25% visibility. A gradient scrim runs from 75% black at the bottom to transparent above. Reduced motion means no playback at all, poster only, and mobile may downgrade to poster plus a still.
Role: Scene cards and film entries
16:9 with a 12px radius and overflow hidden, backed by a poster still under a gradient from 75% black to transparent. The bottom-left holds an 11px uppercase 0.16em scene number in gold above an 18px/600 white title. No border on the card.
Role: Secondary action
10% white fill with a 12px blur, fully rounded, a 1px white border at 25%, white 16px/500 text, 14px 28px padding. Hover raises the fill to 18%. It carries secondary actions like 'learn more'.
Role: Email and subscribe inputs
10% white fill with a 12px blur, fully rounded, a 1px white border at 25%, 12px 20px padding at 16px, placeholder at 50% white. Focus turns the border to 70% gold and the fill to 15%.
| Level | Name | Value | Purpose |
|---|---|---|---|
| 0 | Film Black | #05060a | 视频区与页面底 |
| 1 | Card Dark | #141821 | 卡片 |
| 2 | Warm White | #f3efe8 | 浅色区块 |
0 8px 24px rgba(228,192,99,0.28)0 20px 50px rgba(0,0,0,0.45)Video and stills must share one grade: dark, slow-moving, seamlessly looping. Natural light and night scenes both work. No fast cuts, jump motion or color-shifting footage.
Capped at 1200px with the hero full-bleed at 100vh and text centred or set in the lower third. Sections sit 128px apart. Everything outside the video stays film black or card dark, with no large white blocks, so the dark grade holds.
QUICK COLOR REFERENCE:
#f3efe8#05060a#141821#e4c063#9aa6b8rgba(0,0,0,0.75)EXAMPLE COMPONENT PROMPTS:
:root {
/* Colors */
--color-film-black: #05060a;
--color-warm-white: #f3efe8;
--color-warm-gold: #e4c063;
--color-card-dark: #141821;
--color-silver: #9aa6b8;
/* Typography — Font Families */
--font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
/* Typography — Scale */
--text-display: 56px;
--leading-display: 1.05;
--tracking-display: -0.02em;
--text-heading-lg: 40px;
--leading-heading-lg: 1.1;
--tracking-heading-lg: -0.02em;
--text-heading: 24px;
--leading-heading: 1.2;
--text-body-lg: 16px;
--leading-body-lg: 1.55;
--text-body: 13px;
--leading-body: 1.55;
--text-label: 11px;
--leading-label: 1.4;
--tracking-label: 0.16em;
/* Typography — Weights */
--font-weight-regular: 400;
--font-weight-medium: 500;
--font-weight-semibold: 600;
/* Spacing */
--spacing-unit: 8px;
--spacing-8: 8px;
--spacing-16: 16px;
--spacing-24: 24px;
--spacing-32: 32px;
--spacing-48: 48px;
--spacing-64: 64px;
--spacing-96: 96px;
--spacing-128: 128px;
/* Layout */
--page-max-width: 1200px;
--section-gap: 128px;
--card-padding: 24px;
--element-gap: 16px;
--density: airy;
/* Border Radius */
--radius-cards: 12px;
--radius-buttons: 999px;
--radius-inputs: 999px;
/* Surfaces */
--surface-film-black: #05060a;
--surface-card-dark: #141821;
--surface-warm-white: #f3efe8;
}
Component Templates
FAQ
/* Cinematic Video Hero Global Styles */
:root {
--cv-base: #05060A;
--cv-surface: #141821;
--cv-paper: #F3EFE8;
--cv-gold: #E4C063;
--cv-steel: #9AA6B8;
}
/* Full-bleed video / poster base */
.cv-cover {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
/* Readability scrims */
.cv-scrim-cinematic { background: linear-gradient(to top, rgba(5,6,10,0.78), rgba(5,6,10,0.2) 45%, rgba(5,6,10,0.45)); }
/* Letterbox bars for a filmic frame (optional) */
.cv-letterbox::before,
.cv-letterbox::after {
content: "";
position: absolute;
left: 0; right: 0;
height: 6vh;
background: #05060A;
z-index: 20;
pointer-events: none;
}
.cv-letterbox::before { top: 0; }
.cv-letterbox::after { bottom: 0; }
@media (prefers-reduced-motion: reduce) {
/* video is not autoplayed by script; poster stays. Nothing to animate. */
}Related Styles
Explore these styles for ready-made tokens and components.
Cinematic Video Hero and Acid Graphics sit closest to each other. The table below gives the real differences in color, use case, and tags, so the choice between them is made on facts.
| Attribute | Cinematic Video Hero | Acid Graphics |
|---|---|---|
| Primary color | #05060A | #39ff14 |
| Secondary color | #F3EFE8 | #0a0a0a |
| Best for | video hero / cinematic hero / background video | acid graphics / acid design / psychedelic design |
| Unique tags | — | high-contrast |
The cinematic-video-hero creed: the opener is a trailer, not a slide. Video injects a sense of time into a static page — light flowing, mist drifting, color breathing — but it must first yield to performance: the poster paints instantly, the video slips in behind it.