StyleKit

Cinematic Video Hero

电影视频首屏

Rate this style

A 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.

video herocinematic herobackground videohero video sectionvideo landing pageautoplay loopposter framevideo bannerdark cinematictrailer style

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

Cinematic Video Hero as a design document

One document describes the colour roles, type rules, spacing and component construction behind this style. Copy or download it into Claude Code or Codex.

Document view

Cinematic Video Hero — Style Reference

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.

Colors

NameValueTokenRole
Film Black#05060a--color-film-blackThe video area and page ground — a blue-leaning near-black that makes the gold read warmer.
Warm White#f3efe8--color-warm-whiteLight sections and text — a warm off-white, like a projection screen.
Warm Gold#e4c063--color-warm-goldThe only accent: primary buttons, scene numbers and highlights.
Card Dark#141821--color-card-darkCards and info blocks — a step above film black, dividing space without breaking the dark.
Silver#9aa6b8--color-silverSecondary text and metadata — the grey of subtitles.

Typography

Inter — The only face: hero headlines 40 to 56px at weight 500, labels 11px uppercase at 0.16em.
  • Substitute: -apple-system, 'Helvetica Neue', system-ui, sans-serif
  • Weights: 400, 500, 600
  • Sizes: 11, 13, 16, 24, 40, 56
  • Line height: 1.05 (display), 1.15 (headings), 1.55 (body)
  • Letter spacing: -0.02em on display, 0.16em on uppercase labels
Type Scale
RoleFamilyWeightSizeLine HeightLetter SpacingToken
display—50056px1.05-0.02em--text-display
heading-lg—50040px1.1-0.02em--text-heading-lg
heading—60024px1.2—--text-heading
body-lg—40016px1.55—--text-body-lg
body—40013px1.55—--text-body
label—50011px1.40.16em--text-label

Spacing & Layout

Base unit: 8px Density: airy

Spacing Scale
NameValueToken
88px--spacing-8
1616px--spacing-16
2424px--spacing-24
3232px--spacing-32
4848px--spacing-48
6464px--spacing-64
9696px--spacing-96
128128px--spacing-128
Border Radius
ElementValue
cards12px
buttons999px
inputs999px
  • Page max-width: 1200px
  • Section gap: 128px
  • Card padding: 24px
  • Element gap: 16px

Components

Gold Button

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.

  • Sizes: padding 14px 28px; label 16px
  • States: hover: #efce78; active: scale 0.98
Video Stage

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.

  • Sizes: 100vh; poster as LCP
Scene Card

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.

Ghost Button

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'.

Pill Field

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%.

Do's and Don'ts

Do
  • Render the poster first as the LCP
  • preload none, loading only on visibility
  • Muted, playsInline, seamlessly looping
  • Text always sits on a scrim
  • Keep essential copy in DOM, not in the video
  • Reduced motion leaves the poster alone
Don't
  • Never make the video the LCP dependency
  • Never omit the poster
  • No preload auto on large video
  • Never put key information in the video
  • Never autoplay with sound
  • No fast cuts or loops that do not seam

Surfaces

LevelNameValuePurpose
0Film Black#05060a视频区与页面底
1Card Dark#141821卡片
2Warm White#f3efe8浅色区块

Elevation

  • Gold CTA: 0 8px 24px rgba(228,192,99,0.28)
  • Card: 0 20px 50px rgba(0,0,0,0.45)

Imagery

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.

Layout

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.

Agent Prompt Guide

Implementation Contract
  • Use the requested page, user task and real content as the brief. Implement only the requested scope; identify missing business information instead of inventing data or capabilities.
  • Inspect the current project, stack and components first. Reuse its structure, routes, dependencies and components; do not rebuild unrelated pages or features.
  • Use the project's breakpoints to adapt columns and spacing for narrow and desktop screens. Preserve hierarchy and prevent accidental horizontal overflow.
  • For interactions in scope, support keyboard focus and reduced motion, with applicable disabled, loading, empty and error states.
  • Run the project's existing checks after implementation. Report only tests and visual checks actually run, and list unverified behavior.

QUICK COLOR REFERENCE:

  • text: #f3efe8
  • background: #05060a
  • card: #141821
  • accent: #e4c063
  • muted: #9aa6b8
  • scrim: rgba(0,0,0,0.75)

EXAMPLE COMPONENT PROMPTS:

  1. Build a cinematic video hero: a 100vh section on #05060a with overflow hidden. The AVIF poster renders first as the LCP; the video is muted, looping and playsInline with preload none, loaded and played only at 25% visibility through IntersectionObserver, and never played under reduced motion. Overlay a linear-gradient(to top, rgba(0,0,0,0.75), transparent). The text block holds a 56px/500 headline at -0.02em, an 11px uppercase 0.16em scene label in #e4c063, and a fully rounded gold button (#e4c063 fill, #05060a text, 14px 28px padding).

Similar Brands

  • Immersive Photo — Both open on full-bleed imagery, though that one drifts a still while this plays video
  • Launch Keynote — Both tell a dark story, though keynote scrubs frames while this autoplays

Quick Start


: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;
}

Community

Ratings & Feedback

No ratings yet - be the firstSign in to rate

Loading comments…

Component Templates

Component Preview

Button

FAQ

Cinematic Video Hero — Frequently Asked Questions

What is the Cinematic Video Hero design style?
A 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. Its core principle: The cinematic-video-hero creed: the opener is a trailer, not a slide.
What colors does Cinematic Video Hero use?
Cinematic Video Hero uses #05060A as its primary color and #F3EFE8 as its secondary color, with accent colors #E4C063, #141821, #9AA6B8. Every hex value can be copied from the palette on this page.
How do I apply Cinematic Video Hero correctly?
Key practices: Poster frame as LCP: poster attribute + AVIF/WebP, small and sharp, instant. Video muted + autoplay + loop + playsInline, a silent seamless short loop (6-10s). Video preload="none"; load()/play() only in view via IntersectionObserver.
What are common mistakes with Cinematic Video Hero?
Avoid: Never make the video the LCP dependency or omit the poster (blank first paint, LCP blowup). Never preload="auto" or auto-load a large video (data + performance disaster). Never put critical information inside the video (it may not play or may be downgraded).
How do I prompt AI to generate Cinematic Video Hero UI?
Copy the ready-made AI prompt on this page — it bundles the design tokens and component rules — and paste it into ChatGPT, Claude, Claude Code, or Codex. Effective prompts include the keywords: video hero, cinematic hero, background video, hero video section.
Global Styles

Global CSS

css
/* 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

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.

AttributeCinematic Video HeroAcid Graphics
Primary color#05060A#39ff14
Secondary color#F3EFE8#0a0a0a
Best forvideo hero / cinematic hero / background videoacid graphics / acid design / psychedelic design
Unique tags—high-contrast
Design Philosophy

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.