Title and end cards
ConfirmedTitle, section, caption, and end card style frames with frame counts for Resolve.
Primary render. Select it to open full size.
Every render from the champion round
How to use it, from the piece README
Title cards, section cards, a title over footage, the end card, and the reel cover handoff, at 16:9 and 9:16. They move by the same grammar as the logo sting in build/motion-sting/v/best/. This is direction for Philip to build in DaVinci Resolve, not a rendered video, which is the scope in brief/INVENTORY.md, item 18.
Open these first
| File | What it is |
|---|---|
renders/spec.pdf | The 11 page spec. Keyframes at 24, 30, and 60fps for every card, Text+ settings, box positions, Resolve steps, and the never list. |
renders/contact-end.png | The end card, every key beat at 16:9 and 9:16, with its timeline. Also primary.png. |
renders/contact-title.png, contact-section.png, contact-photo.png, contact-handoff.png | The same sheet for each other card. |
renders/photo-interior.png, photo-aerial.png, photo-portrait.png, photo-boundary.png | Every photo-bearing card on a tight interior, a wide aerial, a portrait original, and a lot with a red boundary line. photo-bright.png and photo-retail.png add the white marble wall and a daylight exterior. |
frames/ | Every style frame at full HD, for checking a build against. |
Make a card with your own copy
Open cards.html in Chrome with the window set to the frame size, 1920 x 1080 or 1080 x 1920, and pass the card and your copy:
Snippet
cards.html?card=title&eyebrow=Case study, Cangelosi&head=One shoot day, a full showroom library&sup=Photo, video, and drone&b=40cardistitle,section,photo(title over footage),end, orcover(reel cover).photopicks a shot fromphotos/, forphoto,cover, and the end card entrance.bis the beat to show. A high number shows the card at rest. Addguides=1for safe areas.
The card fits the type for you. It steps the headline down through set sizes until it fits, and if the copy is still too long it cuts it and shows a flag with guides=1. If you see the flag, shorten the copy. Then set the same line breaks and size in Resolve. Never let Text+ wrap on its own.
Rules that do not bend
- Type never sits on footage. Over a shot it always sits on the navy plate.
- The only red on a card is the Red Bright rule, and it only sits on navy. Marathon Red never goes on a photo, because the land listings have red boundary lines burned in.
- Rule first, then the headline, then the detail, one beat apart. Everything leaves together.
- The reel cover is frame 0 of the video. Freeze the first shot under it for six beats, then the graphics leave and the shot plays. No cross dissolve.
- The end card logo is the sting, never a still logo fading in. At 16:9 it is one third of the frame wide, 640 at HD, left edge on column 8, centred top to bottom, and it never moves with the copy. The copy takes columns 1 to 6. The bars travel in from the edge of the mark field at column 7, so they never cross the type. YouTube end screen elements go in columns 8 to 12 below the mark, never over it.
- Montserrat only. Headlines in sentence case. No phone number on the end card.
Rebuild
bash build.sh from this folder renders every frame, sheet, and the spec. Copy, fit sizes, and the cover hold live in cardtime.js. Durations and curves come from the token layer through the sting's motion.js, so change them in build/tokens/v/best/tokens.json, never here.
For Jacob to confirm
- marathoncreative.co and hello@marathoncreative.co on the end card, with no phone number.
- Sample figures in the copy, five business days and a 30 minute call, are working copy.
- The six beat cover freeze is a proposed token,
--mc-video-hold-cover, not yet in tokens.json. - No MP4 previews are rendered. The workflow asked for them, but the brief says not to render video, so this piece ships stills and the spec.
cards.htmlrenders any frame throughwindow.__seekif a reference video is ever wanted.
Files to download and code to copy
- Whole piece, source files22 files, zip, 5.6 MB. Paths inside follow the repo layout, so put tokens.css beside them as the README says.Download
- spec.pdfPDF, 124.5 MBbuild/motion-cards/v/best/renders/spec.pdf
Copy-paste code
cards.css62 lines, 4.3 KB
/* Card stage. Every colour is a token. Sizes are set in px by cards.js from the HD unit. */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; }
body { font-family: var(--mc-font); background: var(--mc-surface-inverse); }
.stage { position: absolute; left: 0; top: 0; overflow: hidden; background: var(--mc-surface-inverse); }
.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* The navy plate. Type only ever sits on this, never on footage. */
.plate { position: absolute; background: var(--mc-surface-inverse); overflow: hidden; will-change: transform; }
.block { position: absolute; }
.rule { background: var(--mc-accent-on-inverse); will-change: transform; }
.progress { display: flex; will-change: transform; }
.progress i { display: block; height: 100%; background: rgb(var(--mc-white-rgb) / 0.2); }
.progress i.done { background: var(--mc-text-inverse-tertiary); }
.progress i.now { background: var(--mc-accent-on-inverse); }
/* A line window. The line rises through it and drops back out of it. */
.win { position: relative; overflow: hidden; }
.win > .inner { position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform; }
.eyebrow .inner { font-weight: var(--mc-type-eyebrow-weight); letter-spacing: var(--mc-type-eyebrow-tracking); text-transform: uppercase; color: var(--mc-text-inverse-secondary); }
.head .inner { font-weight: var(--mc-type-h1-weight); letter-spacing: -0.022em; color: var(--mc-text-inverse); }
.cover .head .inner { font-weight: var(--mc-weight-black); }
.sup .inner { font-weight: var(--mc-type-lede-weight); color: var(--mc-text-inverse-secondary); }
.url .inner { font-weight: var(--mc-weight-bold); color: var(--mc-text-inverse); letter-spacing: -0.01em; }
.email .inner { font-weight: var(--mc-weight-regular); color: var(--mc-text-inverse-secondary); }
.services .inner { font-weight: var(--mc-weight-semibold); color: var(--mc-text-inverse-tertiary); }
.tab { font-variant-numeric: var(--mc-numeric-tabular); }
/* Measuring box for line breaks. Never visible. */
.measure { position: absolute; left: -99999px; top: 0; visibility: hidden; text-wrap: balance; white-space: normal; }
/* Logo, the shipped white lockup seen through masks, exactly as in the sting. */
.lockup { position: absolute; }
.field { position: absolute; overflow: hidden; }
.part { position: absolute; left: 0; top: 0; width: 100%; height: 100%; will-change: transform; }
.part > img, .lwin > .linner > img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
.lwin { position: absolute; overflow: hidden; }
.lwin > .linner { position: absolute; will-change: transform; }
/* Spec guides. Hairlines only, never part of a delivered frame. */
.guides { position: absolute; left: 0; top: 0; pointer-events: none; }
.guide { position: absolute; border: var(--mc-border-width-hairline) dashed var(--mc-gray-300); }
.guide.title { border-style: solid; border-color: var(--mc-text-inverse-secondary); }
.guide.clear { border: var(--mc-border-width-hairline) solid var(--mc-accent-on-inverse); }
.guide.crop { border-color: var(--mc-white); border-style: dotted; }
.guide.field { border: var(--mc-border-width-hairline) dashed var(--mc-text-inverse-tertiary); }
.guide.zone { border: var(--mc-border-width-hairline) dashed var(--mc-text-inverse-tertiary); background: rgb(var(--mc-white-rgb) / 0.05); }
.glabel { position: absolute; color: var(--mc-text-inverse); font-weight: var(--mc-weight-semibold); letter-spacing: var(--mc-type-eyebrow-tracking); text-transform: uppercase; white-space: nowrap; }
.glabel.red { color: var(--mc-accent-on-inverse); }
.glabel.chip { background: var(--mc-surface-inverse); padding: 0.3em 0.6em; }
.ui-band { position: absolute; left: 0; right: 0; background: rgb(var(--mc-navy-100-rgb) / 0.55); }
.ui-band span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
/* The never list, for the spec page only. */
.wrong-redonphoto .rule { background: var(--mc-accent); }
.wrong-redonphoto .eyebrow .inner { color: var(--mc-text-label); }
.wrong-caps .head .inner { text-transform: uppercase; letter-spacing: 0.12em; }
[hidden] { display: none !important; }
sheet.css34 lines, 3.9 KB
/* Contact and photo test sheets, 2400px wide. Tokens only. */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { width: 2400px; font-family: var(--mc-font); background: var(--mc-surface-page); color: var(--mc-text-primary); padding: var(--mc-space-12) var(--mc-space-12) var(--mc-space-10); font-variant-numeric: var(--mc-numeric-tabular); }
.top { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--mc-space-10); margin-bottom: var(--mc-space-08); }
.top img { height: 46px; display: block; margin-bottom: var(--mc-space-08); }
.eyebrow { margin: 0 0 var(--mc-space-04); color: var(--mc-text-label); font-size: 17px; font-weight: var(--mc-type-eyebrow-weight); letter-spacing: var(--mc-type-eyebrow-tracking); text-transform: uppercase; }
.eyebrow.sub { margin: var(--mc-space-09) 0 var(--mc-space-05); color: var(--mc-text-heading); }
h1 { margin: 0; color: var(--mc-text-heading); font-size: 64px; font-weight: var(--mc-weight-extrabold); letter-spacing: var(--mc-type-h1-tracking); line-height: 1.05; }
.lede { margin: var(--mc-space-05) 0 0; max-width: 1300px; color: var(--mc-text-secondary); font-size: 24px; font-weight: var(--mc-weight-light); line-height: 1.45; }
.beatnote { text-align: right; color: var(--mc-text-secondary); font-size: 22px; line-height: 1.5; white-space: nowrap; }
.beatnote strong { color: var(--mc-text-heading); font-weight: var(--mc-weight-bold); }
.divider { width: 90px; height: 5px; background: var(--mc-border-accent); margin: 0 0 var(--mc-space-04); }
.grid { display: grid; column-gap: 28px; row-gap: var(--mc-space-08); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g6 { grid-template-columns: repeat(6, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.cell img { width: 100%; display: block; }
.cell.guide img { outline: var(--mc-border-width-hairline) solid var(--mc-border-subtle); }
.cap { display: grid; grid-template-columns: auto 1fr; column-gap: var(--mc-space-05); margin-top: var(--mc-space-04); align-items: baseline; }
.b { font-size: 28px; font-weight: var(--mc-weight-extrabold); color: var(--mc-text-heading); letter-spacing: -0.01em; white-space: nowrap; }
.f { font-size: 16px; color: var(--mc-text-tertiary); font-weight: var(--mc-weight-semibold); text-align: right; }
.what { grid-column: 1 / -1; font-size: 19px; color: var(--mc-text-secondary); margin-top: var(--mc-space-02); line-height: 1.4; }
.timeline { margin-top: var(--mc-space-10); padding-top: var(--mc-space-08); border-top: var(--mc-border-width-hairline) solid var(--mc-border-subtle); font-size: 19px; --g-lab: 11em; --g-row: 2em; }
.timeline .eyebrow { margin-bottom: var(--mc-space-08); }
.g-gap { position: absolute; top: 30%; transform: translateX(-50%) rotate(-90deg); transform-origin: 50% 50%; font-size: 0.8em; font-weight: var(--mc-weight-bold); color: var(--mc-text-tertiary); white-space: nowrap; background: var(--mc-surface-page); padding: 0 0.4em; }
.extra { margin-top: var(--mc-space-10); padding-top: var(--mc-space-08); border-top: var(--mc-border-width-hairline) solid var(--mc-border-subtle); }
.extra .row { display: grid; column-gap: 28px; align-items: end; }
.foot { margin-top: var(--mc-space-09); display: flex; justify-content: space-between; color: var(--mc-text-tertiary); font-size: 17px; font-weight: var(--mc-weight-semibold); }
.tag { display: inline-block; font-size: 15px; font-weight: var(--mc-weight-bold); letter-spacing: var(--mc-type-eyebrow-tracking); text-transform: uppercase; color: var(--mc-text-inverse); background: var(--mc-surface-inverse); padding: 6px 12px; margin-bottom: var(--mc-space-03); }
.tag.red { background: var(--mc-surface-table-header); }
.note { font-size: 19px; color: var(--mc-text-secondary); line-height: 1.45; margin: var(--mc-space-03) 0 0; }
.note strong { color: var(--mc-text-heading); font-weight: var(--mc-weight-bold); }
spec-cards.css35 lines, 3.1 KB
/* Additions to the sting spec styles for the cards spec. Tokens only. */
.g-gap { position: absolute; top: 30%; transform: translateX(-50%) rotate(-90deg); transform-origin: 50% 50%; font-size: 0.8em; font-weight: var(--mc-weight-bold); color: var(--mc-text-tertiary); white-space: nowrap; background: var(--mc-surface-page); padding: 0 0.4em; }
.strip4 { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--mc-space-04); }
.strip6 { display: grid; grid-template-columns: repeat(6, 1fr); column-gap: var(--mc-space-03); }
.frame .cap .bt { font-size: var(--mc-print-type-caption-size); }
.frame .cap { font-size: 7pt; line-height: 1.35; }
.frame.out img { outline: var(--mc-border-width-hairline) solid var(--mc-border-subtle); }
.mix { display: grid; column-gap: var(--mc-space-04); align-items: start; }
.ov { display: grid; grid-template-columns: repeat(6, 1fr); column-gap: var(--mc-space-04); row-gap: var(--mc-space-05); }
.ov .wide { grid-column: span 3; }
.ov .tall { grid-column: span 2; }
.phrow { display: grid; grid-template-columns: 1.5in 3.2fr 1fr 1.333fr; column-gap: var(--mc-space-04); align-items: start; padding: var(--mc-space-03) 0; border-bottom: var(--mc-border-width-hairline) solid var(--mc-border-subtle); }
.phrow:first-of-type { padding-top: 0; }
.phrow h3 { font-size: var(--mc-print-type-small-size); margin-bottom: var(--mc-space-01); }
.phrow p { font-size: 7.5pt; line-height: 1.4; color: var(--mc-text-secondary); margin: 0; }
.phrow img { width: 100%; display: block; }
.phrow .src { width: auto; max-width: 100%; height: 0.75in; object-fit: contain; object-position: left top; margin-top: var(--mc-space-02); }
.tagr { display: inline-block; font-size: 6.5pt; font-weight: var(--mc-weight-bold); letter-spacing: var(--mc-type-eyebrow-tracking); text-transform: uppercase; color: var(--mc-text-on-accent); background: var(--mc-surface-table-header); padding: 1px 5px; margin-top: var(--mc-space-02); }
.sw-chip { display: inline-block; width: 0.9em; height: 0.9em; vertical-align: -0.1em; margin-right: 0.4em; outline: var(--mc-border-width-hairline) solid var(--mc-border-subtle); }
.callout.slim { padding: var(--mc-space-05) var(--mc-space-06); margin-top: var(--mc-space-06); }
.callout ul { margin: 0; padding-left: 1.1em; font-size: var(--mc-print-type-small-size); color: var(--mc-text-inverse-secondary); }
.callout li { margin-bottom: var(--mc-space-02); }
.callout li strong { color: var(--mc-text-inverse); }
.callout .rule-top { width: 40pt; height: 3pt; background: var(--mc-accent-on-inverse); margin-bottom: var(--mc-space-04); }
.callout.one { grid-template-columns: 1fr; }
.never-grid { display: grid; grid-template-columns: repeat(6, 1fr); column-gap: var(--mc-space-04); row-gap: var(--mc-space-05); }
.never-grid .wide { grid-column: span 2; }
.gwrap { margin-top: var(--mc-space-06); }
td.wrap { white-space: normal; }
table.tight th { padding: 3pt 4pt; }
table.tight td { padding: 1.6pt 4pt; line-height: 1.25; }
.gwrap { font-size: 7pt; --g-row: 1.5em; }
.rule-card p { font-size: 7.5pt; line-height: 1.4; }
.rule-card h3 { font-size: 8.5pt; }
cards.html34 lines, 1.6 KB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Marathon motion cards, frame stage</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../../../tokens/v/best/tokens.css">
<link rel="stylesheet" href="cards.css">
</head>
<body>
<!--
Deterministic frame stage for Marathon title, section, end, and reel cover cards.
Set the window to the frame size (1920x1080, 3840x2160, 1080x1920, 2160x3840) and pass:
card=title|section|photo|end|cover photo is a title card over footage, cover is the reel cover handoff
b=<beats> time in beats, one beat is 4 frames at 24fps, 5 at 30, 10 at 60. window.__seek(seconds) also works.
photo=<file> a file in photos/, copied from brief/real-photos
eyebrow=, head=, sup= your own copy. The type fits itself, never resize it by hand.
long=1 the twice as long copy used in the functional test
fx=, fy= where the footage is anchored when it is cropped, 0 to 100, default 50
guides=1 safe areas, clear space, and the YouTube end screen zone
grid=1 a 9:16 frame seen through the 3:4 profile grid crop, set the window to 1080x1440
wrong=<case> the never list: noplate, redonphoto, dissolve, caps, scale, squeeze
-->
<div class="stage" id="stage">
<img class="photo" id="photo" alt="" hidden>
<div class="plate" id="plate"></div>
<div class="guides" id="guides"></div>
</div>
<script src="../../../motion-sting/v/best/motion.js"></script>
<script src="cardtime.js"></script>
<script src="cards.js"></script>
</body>
</html>
contact.html39 lines, 1.3 KB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Marathon motion cards, contact sheet</title>
<link rel="stylesheet" href="../../../tokens/v/best/tokens.css">
<link rel="stylesheet" href="../../../motion-sting/v/best/viz.css">
<link rel="stylesheet" href="sheet.css">
</head>
<body>
<!-- Contact sheet for one card. Open with ?card=title|section|photo|end|cover, render 2400 wide, full page. -->
<div class="top">
<div>
<img src="../../../tokens/v/best/logos/marathon-logo-dark.svg" alt="Marathon Creative">
<p class="eyebrow" id="eyebrow"></p>
<h1 id="title"></h1>
<p class="lede" id="lede"></p>
</div>
<div class="beatnote" id="beatnote"></div>
</div>
<div class="divider"></div>
<p class="eyebrow sub" id="l16"></p>
<div class="grid g4" id="grid16"></div>
<p class="eyebrow sub" id="l916"></p>
<div class="grid g6" id="grid916"></div>
<div class="timeline">
<p class="eyebrow">Keyframe timeline at 16:9, beats across, frames under</p>
<div id="gantt"></div>
</div>
<div id="extra"></div>
<div class="foot"><span id="footL"></span><span id="footR"></span></div>
<script src="../../../motion-sting/v/best/motion.js"></script>
<script src="cardtime.js"></script>
<script src="timelines.js"></script>
<script src="cviz.js"></script>
<script src="contact.js"></script>
</body>
</html>
photos.html67 lines, 4.7 KB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Marathon motion cards, photo test</title>
<link rel="stylesheet" href="../../../tokens/v/best/tokens.css">
<link rel="stylesheet" href="sheet.css">
<style>
.src { width: 520px; text-align: right; }
.src img { width: 100%; display: block; margin: 0; height: auto; }
.src .note { font-size: 16px; }
.row { display: grid; column-gap: 28px; align-items: start; margin-top: var(--mc-space-07); }
</style>
</head>
<body>
<!-- One photo through every photo-bearing card. Open with ?ph=interior|aerial|portrait|boundary|bright|retail, 2400 wide, full page. -->
<div class="top">
<div>
<img src="../../../tokens/v/best/logos/marathon-logo-dark.svg" alt="Marathon Creative">
<p class="eyebrow" id="eyebrow"></p>
<h1 id="title"></h1>
<p class="lede" id="lede"></p>
</div>
<div class="src"><img id="srcimg" alt=""><p class="note" id="srcnote"></p></div>
</div>
<div class="divider"></div>
<div class="row" id="r1" style="grid-template-columns: 1fr 1fr"></div>
<div class="row" id="r2" style="grid-template-columns: 1fr 1fr 1fr 1.333fr"></div>
<div class="row" id="r3" style="grid-template-columns: 1fr 1fr"></div>
<div class="foot"><span>Marathon Creative, motion cards v1. Every frame rendered from cards.html at full size, scaled down here.</span><span id="footR"></span></div>
<script>
(function () {
var PH = {
interior: ['mc_retouched_05.jpg', 'Tight interior', 'Cangelosi showroom, slab wall and sample racks', 'A busy, warm interior with hard verticals and no sky. The plate covers the dark floor and table, the slab wall stays in view.'],
aerial: ['mc_rosehill_16.jpg', 'Wide aerial', 'Rosehill Reserve, the busiest aerial in the set', 'Hundreds of rooftops, two lakes, and a pale sky. Type on this shot without a plate is unreadable, so the plate is not optional.'],
portrait: ['mc_retouched_08.jpg', 'Portrait original', 'Cangelosi sample rack, shot vertical', 'A tall original in a 16:9 frame loses most of its height, so the 9:16 cards are where this shot belongs. Both still hold.'],
boundary: ['mc_fullres_12.jpg', 'Red boundary line', 'Wooded lot on the golf course, boundary drawn in post', 'The burned in boundary line is a saturated red that sits near Marathon Red. No Marathon red ever lands on the footage: the rule is Red Bright on the navy plate, the one place the guide allows it, so the two reds never touch.'],
bright: ['mc_retouched_04.jpg', 'Brightest shot', 'Cangelosi white marble brand wall', 'Nearly white from edge to edge. White type alone would vanish here, the plate carries it.'],
retail: ['mc_rosehill_17.jpg', 'Daylight exterior', 'Rosehill Reserve entry monument and retail', 'Bright sky, signage with its own lettering, and a lamp post through the middle.']
};
var k = new URLSearchParams(location.search).get('ph') || 'interior', p = PH[k];
function $(id) { return document.getElementById(id); }
$('eyebrow').textContent = 'Photo test, ' + p[1].toLowerCase();
$('title').textContent = p[0].replace('.jpg', '') + ', ' + p[2];
$('lede').textContent = p[3];
$('srcimg').src = 'photos/' + p[0];
$('srcnote').textContent = 'The original, uncropped, from brief/real-photos.';
$('footR').textContent = 'Photo test, ' + p[1].toLowerCase();
function cell(file, title, what) {
var c = document.createElement('div'); c.className = 'cell';
c.innerHTML = '<img src="frames/' + file + '" alt=""><div class="cap"><span class="b" style="font-size:24px">' + title + '</span><span class="f"></span><span class="what">' + what + '</span></div>';
return c;
}
var f = 'ph-' + k + '-';
$('r1').appendChild(cell(f + 'photo-L.png', 'Title over footage, 16:9', 'At rest. Plate is half the frame wide and grows upward with the copy.'));
$('r1').appendChild(cell(f + 'cover-L.png', 'Poster frame, 16:9', 'Frame 0 of a YouTube or website video.'));
$('r2').appendChild(cell(f + 'photo-P.png', 'Title over footage, 9:16', 'Type sits inside reel safe.'));
$('r2').appendChild(cell(f + 'cover-P.png', 'Reel cover', 'Frame 0, also the cover image.'));
$('r2').appendChild(cell(f + 'cover-P-long.png', 'Reel cover, copy twice as long', 'The fit steps down, nothing runs off.'));
$('r2').appendChild(cell(f + 'cover-G.png', 'Profile grid, 3:4', 'The cover as it sits in the grid.'));
$('r3').appendChild(cell(f + 'photo-L-long.png', 'Title over footage, copy twice as long', 'Plate grows upward, type steps down. Still all on navy.'));
$('r3').appendChild(cell(f + 'end-L.png', 'End card entrance over this shot', 'Beat 1. The plate travels in over the last shot before any type appears.'));
})();
</script>
</body>
</html>
spec.html22 lines, 788 bytes
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Marathon motion cards, spec v1</title>
<link rel="stylesheet" href="../../../tokens/v/best/tokens.css">
<link rel="stylesheet" href="../../../motion-sting/v/best/viz.css">
<link rel="stylesheet" href="../../../motion-sting/v/best/spec.css">
<link rel="stylesheet" href="spec-cards.css">
</head>
<body>
<!-- US Letter spec for the motion cards. Every page is built by spec.js from timelines.js, cardtime.js, and the tokens.
Render to PDF with build/_shared/render.mjs pdf. -->
<div id="doc"></div>
<script src="../../../motion-sting/v/best/motion.js"></script>
<script src="cardtime.js"></script>
<script src="timelines.js"></script>
<script src="cviz.js"></script>
<script src="spec.js"></script>
</body>
</html>
cards.js229 lines, 15.7 KB
/* Builds one card from cardtime.js and exposes window.__seek(seconds) and window.CARD.
Type is measured and fitted here, so overlong copy shrinks within set steps and never runs off the plate.
Nothing is measured until Montserrat has loaded, so line breaks match the delivered frame. */
function buildCard() {
var MC = window.MC, C = window.CARDS, LG = MC.LOGO;
var q = new URLSearchParams(location.search);
var card = q.get('card') || 'title', wrong = q.get('wrong') || '', grid = q.get('grid') === '1', long = q.get('long') === '1';
var LOGO_SRC = '../../../tokens/v/best/logos/marathon-logo-white.svg';
function $(id) { return document.getElementById(id); }
function div(cls, parent) { var d = document.createElement('div'); if (cls) d.className = cls; if (parent) parent.appendChild(d); return d; }
function px(v) { return v + 'px'; }
var W = window.innerWidth, H = grid ? Math.round(W * 16 / 9) : window.innerHeight;
var P = H > W, u = P ? W / 1080 : W / 1920;
var stage = $('stage'), plate = $('plate'), photo = $('photo'), gl = $('guides');
stage.style.width = px(W); stage.style.height = px(H); gl.style.width = px(W); gl.style.height = px(H);
if (grid) stage.style.top = px(-(H - W * 4 / 3) / 2);
stage.classList.add(card); if (wrong) stage.classList.add('wrong-' + wrong);
/* Copy. */
var photoName = q.get('photo') || (card === 'end' ? 'mc_rosehill_17.jpg' : 'mc_retouched_05.jpg');
var copy;
if (card === 'photo' || card === 'cover') {
copy = Object.assign({}, C.COPY[card][photoName] || C.COPY[card]['mc_retouched_05.jpg']);
if (long || wrong === 'squeeze') Object.assign(copy, card === 'photo' ? C.COPY.photoLong : C.COPY.coverLong);
} else {
copy = Object.assign({}, C.COPY[card]); delete copy.long;
if (long) Object.assign(copy, C.COPY[card].long);
}
['eyebrow', 'head', 'sup'].forEach(function (k) { if (q.has(k)) copy[k] = q.get(k); });
/* Footage. */
if (card === 'photo' || card === 'cover' || card === 'end') {
photo.src = 'photos/' + photoName; photo.hidden = false;
photo.style.objectPosition = (q.get('fx') || 50) + '% ' + (q.get('fy') || 50) + '%';
}
/* Grid. 16:9 uses 12 columns inside title safe. 9:16 uses the reel safe box from the social tokens. */
var fit = C.FIT[card][P ? 'P' : 'L'], TY = C.TYPE;
var safeX = 0.05 * W, gut = 24 * u, colW = (0.9 * W - 11 * gut) / 12;
function span(n) { return n * colW + (n - 1) * gut; }
var side = MC.ms('--mc-social-reel-safe-side') * u, sTop = MC.ms('--mc-social-reel-safe-top') * u, sBot = H - MC.ms('--mc-social-reel-safe-bottom') * u;
var onPhoto = card === 'photo' || card === 'cover';
var bx = P ? side : safeX;
var bw = P ? W - 2 * side : (onPhoto ? fit.plate * W - safeX - 64 * u : span(fit.cols));
var plateR = (onPhoto && !P) ? fit.plate * W : W;
/* Line breaking. Words are measured in a hidden box with balanced wrapping, then each line gets its own mask. */
function measure(text, cls, fs, lead) {
var m = div('measure ' + cls, stage), inner = div('inner', m);
m.style.width = px(bw); m.style.fontSize = px(fs); m.style.lineHeight = lead;
var words = text.split(/\s+/), spans = [];
words.forEach(function (w, i) { var s = document.createElement('span'); s.textContent = w; s.style.whiteSpace = 'nowrap'; inner.appendChild(s); spans.push(s); if (i < words.length - 1) inner.appendChild(document.createTextNode(' ')); });
var lines = [], top = null;
spans.forEach(function (s, i) { var t = Math.round(s.offsetTop); if (t !== top) { lines.push([]); top = t; } lines[lines.length - 1].push(words[i]); });
var wide = Math.max.apply(null, spans.map(function (s) { return s.offsetLeft + s.offsetWidth; }));
stage.removeChild(m);
return { lines: lines.map(function (l) { return l.join(' '); }), wide: wide };
}
function fitText(text, cls, sizes, maxLines, lead, prefLines) {
var pref = Math.min(prefLines || 3, maxLines), i, r;
for (var pass = 0; pass < 2; pass++) {
for (i = 0; i < sizes.length; i++) {
r = measure(text, cls, sizes[i] * u, lead);
if (r.lines.length <= (pass ? maxLines : pref) && r.wide <= bw + 0.3 * sizes[i] * u) return { fs: sizes[i] * u, base: sizes[i], lines: r.lines, cut: false };
}
}
var fs = sizes[sizes.length - 1];
r = measure(text, cls, fs * u, lead);
var lines = r.lines.slice(0, maxLines); lines[lines.length - 1] = lines[lines.length - 1].replace(/[,.]?$/, '') + '…';
return { fs: fs * u, base: fs, lines: lines, cut: true };
}
/* Build the block on the plate. */
var block = div('block', plate), nodes = {}, report = {};
var LEAD = { eyebrow: 1.45, head: card === 'cover' ? 1.0 : 1.04, sup: 1.3, url: 1.2, email: 1.35, services: 1.45 };
var WIN = 1.2;
function addLines(id, cls, f, keyFor, marginTop) {
report[id] = { size: f.base, lines: f.lines.length, cut: f.cut, text: f.lines };
var lead = LEAD[cls], winH = cls === 'head' ? WIN : lead;
f.lines.forEach(function (line, i) {
var w = div('win ' + cls, block), inner = div('inner', w);
w.style.fontSize = px(f.fs); w.style.height = px(f.fs * winH);
if (cls === 'head') w.style.marginBottom = px(f.fs * (lead - WIN));
if (i === 0 && marginTop) w.style.marginTop = px(marginTop * u);
inner.style.lineHeight = winH; inner.textContent = line;
if (cls === 'url' || cls === 'email') inner.classList.add('tab');
var key = keyFor(i); (nodes[key] = nodes[key] || []).push({ n: inner, rise: f.fs * winH });
});
}
function same(id) { return function () { return id; }; }
var ruleTravel;
if (card === 'section') {
var rowW = P ? 560 * u : span(4), N = copy.of, g = 12 * u, row = div('progress', block);
row.style.width = px(rowW); row.style.height = px(TY.ruleH * u); row.style.marginBottom = px(44 * u); row.style.columnGap = px(g);
for (var s = 1; s <= N; s++) { var seg = document.createElement('i'); seg.style.width = px((rowW - (N - 1) * g) / N); if (s < copy.at) seg.className = 'done'; if (s === copy.at) seg.className = 'now'; row.appendChild(seg); }
nodes.rule = [{ n: row, bar: true }]; ruleTravel = bx + rowW;
} else {
var rule = div('rule', block); rule.style.width = px(TY.ruleW * u); rule.style.height = px(TY.ruleH * u); rule.style.marginBottom = px(40 * u);
nodes.rule = [{ n: rule, bar: true }]; ruleTravel = bx + TY.ruleW * u;
}
var ebSize = card === 'cover' ? TY.eyebrowCover : (P ? TY.eyebrowP : TY.eyebrowL);
addLines('eyebrow', 'eyebrow', fitText(copy.eyebrow, 'eyebrow', [ebSize, Math.round(ebSize * 0.86)], 3, LEAD.eyebrow), same('eyebrow'));
var headSizes = wrong === 'squeeze' ? [40] : fit.head, headMax = wrong === 'squeeze' ? 99 : fit.hMax;
var hf = fitText(copy.head, 'head', headSizes, headMax, LEAD.head, fit.pref);
addLines('head', 'head', hf, function (i) { return 'head' + i; }, 20);
var nSup = 0;
if (fit.sup && copy.sup) {
var sf = fitText(copy.sup, 'sup', wrong === 'squeeze' ? [24] : fit.sup, wrong === 'squeeze' ? 99 : fit.sMax, LEAD.sup);
addLines('sup', 'sup', sf, function (i) { return 'sup' + i; }, 28); nSup = sf.lines.length;
}
if (card === 'end') {
addLines('url', 'url', fitText(copy.url, 'url', [P ? TY.urlP : TY.url], 1, LEAD.url), same('url'), 52);
addLines('email', 'email', fitText(copy.email, 'email', [TY.email], 1, LEAD.email), same('email'), 6);
addLines('services', 'services', fitText(copy.services, 'services', [TY.services], 2, LEAD.services), same('services'), 36);
}
block.style.left = px(bx); block.style.width = px(bw);
var bh = block.offsetHeight;
/* Vertical placement, then the plate around it. */
var bTop, pTop = 0, logoBox = null;
if (card === 'title' || card === 'section') bTop = P ? sTop + (sBot - sTop - bh) / 2 : (H - bh) / 2;
else if (onPhoto) { bTop = (P ? sBot : 0.9 * H) - bh; pTop = bTop - 72 * u; }
else if (card === 'end' && !P) {
/* 16:9. Two fields on the 12 column grid. Copy in columns 1 to 6. The mark is one third of the frame
wide, the scale Ogilvy gives its end card mark, with its left edge on column 8, so its clear space
stays inside title safe. The mark is
centred top to bottom in title safe and never moves with the copy, so the last beat lands in the same
place on every video. The bars travel in from the left edge of the mark field, column 7, and never
cross the type. */
var lw = W / 3, ls = lw / LG.w, lh = LG.h * ls;
var fieldX = safeX + span(6) + gut, lLeft = safeX + span(7) + gut;
bTop = (H - bh) / 2;
logoBox = { left: lLeft, top: (H - lh) / 2, width: lw, height: lh, s: ls, field: fieldX, travel: (lLeft - fieldX) + LG.barEnd * ls, clear: LG.mHeight * ls };
}
else if (card === 'end') {
/* 9:16. The block and the logo are one group, centred in reel safe, so short and long copy both sit balanced. */
var lw = 560 * u, ls = lw / LG.w, lh = LG.h * ls, gap = 120 * u;
var areaTop = sTop, areaBot = sBot;
bTop = areaTop + Math.max(0, (areaBot - areaTop - (bh + gap + lh)) / 2);
var lTop = bTop + bh + gap;
logoBox = { left: bx, top: lTop, width: lw, height: lh, s: ls, travel: bx + LG.barEnd * ls, clear: LG.mHeight * ls };
}
plate.style.left = '0px'; plate.style.top = px(pTop); plate.style.width = px(plateR); plate.style.height = px(H - pTop);
block.style.top = px(bTop - pTop);
if (wrong === 'noplate' || wrong === 'redonphoto') plate.style.background = 'transparent';
if (wrong === 'dissolve') plate.style.opacity = 0.5;
if (wrong === 'scale') { block.style.transformOrigin = '0 50%'; block.style.transform = 'scale(1.3)'; block.style.filter = 'blur(' + (5 * u) + 'px)'; }
/* Logo on the end card: the shipped white lockup through the sting's own masks, driven by the sting timeline. */
if (logoBox) {
var host = plate, hostX = 0;
if (logoBox.field != null) {
/* The mark field, a mask from column 7 to the frame edge. */
host = div('field', plate); hostX = logoBox.field;
host.style.left = px(hostX); host.style.top = '0px'; host.style.width = px(W - hostX); host.style.height = px(H);
}
var lk = div('lockup', host);
lk.style.left = px(logoBox.left - hostX); lk.style.top = px(logoBox.top); lk.style.width = px(logoBox.width); lk.style.height = px(logoBox.height);
function pct(v, of) { return (v / of * 100) + '%'; }
MC.T.forEach(function (el) {
var p = el.part, img = document.createElement('img'); img.src = LOGO_SRC; img.alt = '';
if (el.kind === 'bar') {
var d = div('part', lk), x0 = p.x - 0.15, x1 = LG.barEnd + 0.3, y0 = p.y - 0.4, y1 = p.y + p.h + 0.4;
d.style.clipPath = 'inset(' + pct(y0, LG.h) + ' ' + pct(LG.w - x1, LG.w) + ' ' + pct(LG.h - y1, LG.h) + ' ' + pct(x0, LG.w) + ')';
d.appendChild(img); nodes['logo-' + el.id] = [{ n: d, bar: true, travel: logoBox.travel }];
} else {
var win = div('lwin', lk), inner = div('linner', win);
/* The window runs 0.6 units past the word so the hairline foot of CREATIVE never rounds away at small sizes. */
var padB = 0.6;
win.style.left = pct(p.x, LG.w); win.style.top = pct(p.y, LG.h); win.style.width = pct(p.w, LG.w); win.style.height = pct(p.h + padB, LG.h);
inner.style.left = px(-p.x * logoBox.s); inner.style.top = px(-p.y * logoBox.s); inner.style.width = px(logoBox.width); inner.style.height = px(logoBox.height);
inner.style.clipPath = 'inset(' + pct(p.y, LG.h) + ' ' + pct(LG.w - p.x - p.w, LG.w) + ' ' + pct(Math.max(0, LG.h - p.y - p.h - padB), LG.h) + ' ' + pct(p.x, LG.w) + ')';
inner.appendChild(img); nodes['logo-' + el.id] = [{ n: inner, rise: (p.h + padB) * logoBox.s }];
}
});
}
var words = (copy.eyebrow + ' ' + copy.head + ' ' + (copy.sup || '')).trim().split(/\s+/).length;
var TL = C.timeline(card, { head: hf.lines.length, sup: nSup, words: words });
function seek(t) {
var b = t / MC.BEAT;
if (wrong === 'dissolve' || wrong === 'redonphoto' || wrong === 'noplate' || wrong === 'caps' || wrong === 'scale' || wrong === 'squeeze') b = Math.max(b, TL.resolved);
var pout = TL.exitStart == null ? 0 : MC.ease(MC.bez('--mc-ease-exit'), (b - TL.exitStart) / MC.EXIT);
TL.T.forEach(function (e) {
var pin = MC.ease(MC.bez(e.ease), (b - e.start) / e.dur);
if (e.kind === 'plate') { plate.style.transform = 'translate3d(' + (-plateR * (1 - pin) - plateR * pout) + 'px,0,0)'; return; }
(nodes[e.id] || []).forEach(function (o) {
if (o.bar) { var tr = o.travel || ruleTravel; o.n.style.transform = 'translate3d(' + (-tr * (1 - pin) - tr * pout) + 'px,0,0)'; }
else o.n.style.transform = 'translate3d(0,' + (o.rise * (1 - pin) + o.rise * pout) + 'px,0)';
});
});
return Promise.all(Array.prototype.map.call(document.images, function (im) { return im.decode ? im.decode().catch(function () {}) : 0; }));
}
window.__seek = seek;
/* Guides. */
function box(cls, x, y, w, h) { var g = div('guide ' + cls, gl); g.style.left = px(x); g.style.top = px(y); g.style.width = px(w); g.style.height = px(h); return g; }
function label(text, x, y, cls) { var g = div('glabel ' + (cls || ''), gl); g.textContent = text; g.style.left = px(x); g.style.top = px(y); g.style.fontSize = px(Math.max(11, Math.round(15 * u))); return g; }
if (q.get('guides') === '1') {
var fs = Math.max(11, Math.round(15 * u));
if (!P) {
box('', 0.035 * W, 0.035 * H, 0.93 * W, 0.93 * H); box('title', 0.05 * W, 0.05 * H, 0.9 * W, 0.9 * H);
label('Action safe 93%', 0.035 * W + fs * 0.6, 0.035 * H + fs * 0.4); label('Title safe 90%', 0.05 * W + fs * 0.6, 0.05 * H + fs * 2);
if (card === 'end' && logoBox) {
box('field', logoBox.field, 0.05 * H, 0.95 * W - logoBox.field, 0.9 * H);
label('Mark field, columns 7 to 12', logoBox.left, 0.05 * H + fs * 4.2, 'chip');
var zy = logoBox.top + logoBox.height + logoBox.clear + 24 * u;
box('zone', logoBox.left, zy, logoBox.width, 0.95 * H - zy);
label('YouTube end screen elements', logoBox.left + fs, zy + fs, 'chip'); label('Below the mark, last 5 to 20s', logoBox.left + fs, zy + fs * 3, 'chip');
}
} else {
var t1 = div('ui-band glabel', gl); t1.style.top = '0'; t1.style.height = px(sTop); t1.style.fontSize = px(fs); t1.innerHTML = '<span>Platform UI</span>';
var t2 = div('ui-band glabel', gl); t2.style.top = px(sBot); t2.style.height = px(H - sBot); t2.style.fontSize = px(fs); t2.innerHTML = '<span>Caption and buttons</span>';
box('title', side, sTop, W - 2 * side, sBot - sTop); label('Reel safe', side + fs * 0.6, sTop + fs * 0.6);
var cropH = MC.ms('--mc-social-reel-grid-crop-h') * u; box('crop', 0, (H - cropH) / 2, W, cropH); label('Profile grid crop 3:4', fs * 0.6, (H + cropH) / 2 - fs * 1.9, 'chip');
}
if (logoBox) { var c = logoBox.clear; box('clear', logoBox.left - c, logoBox.top - c, logoBox.width + 2 * c, logoBox.height + 2 * c); label('Clear space, one M height', logoBox.left - c, logoBox.top - c - fs * 1.9, 'red'); }
if (hf.cut) label('Headline cut at ' + fit.hMax + ' lines. Shorten the copy.', bx, (P ? sTop : 0.05 * H) + fs * 4, 'chip red');
}
window.CARD = { card: card, portrait: P, timeline: TL, keyBeats: C.keyBeats(TL, P), fit: report, words: words, plate: { top: pTop, right: plateR }, logo: logoBox, block: { x: bx, y: bTop, w: bw, h: bh } };
var startT = q.has('b') ? parseFloat(q.get('b')) * MC.BEAT : parseFloat(q.get('t') || '0');
window.__ready = seek(startT);
}
window.__booting = document.fonts.load('800 40px Montserrat').then(function () { return document.fonts.ready; }).then(buildCard);
cardtime.js119 lines, 9.6 KB
/* Card timelines, type fit rules, and copy. Read by cards.html, contact.html, and spec.html.
Beats, curves, and durations come from the sting's motion.js, which reads tokens.css.
Nothing here restates a duration in milliseconds. */
(function () {
var MC = window.MC;
var SW = MC.SWEEP, EN = MC.ENTER, EX = MC.EXIT;
/* The reel cover holds as a still for six beats, one second, before its graphics leave.
Proposed token --mc-video-hold-cover, for Jacob to confirm. */
var COVER_HOLD = 6;
/* Type fit. Sizes are pixels at HD, 1920 x 1080 or 1080 x 1920, and scale with the frame.
The engine tries each headline size from largest down and keeps the first that fits the line
limit. Copy that does not fit at the smallest size is cut at the limit and flagged. */
var FIT = {
title: { L: { cols: 8, head: [104, 92, 80, 72, 64], hMax: 4, sup: [40, 34, 30], sMax: 3 },
P: { head: [96, 84, 72, 64, 56], hMax: 6, pref: 4, sup: [40, 34, 30], sMax: 4 } },
section: { L: { cols: 8, head: [104, 92, 80, 72], hMax: 3 },
P: { head: [96, 84, 72, 64], hMax: 4 } },
photo: { L: { plate: 0.5, head: [80, 72, 64, 56, 52], hMax: 5, sup: [34, 30, 28], sMax: 3 },
P: { head: [88, 76, 68, 60, 56], hMax: 6, pref: 4, sup: [36, 32, 30], sMax: 3 } },
cover: { L: { plate: 0.5, head: [96, 84, 72, 64, 56], hMax: 4 },
P: { head: [112, 100, 88, 80, 72], hMax: 4 } },
end: { L: { cols: 6, head: [100, 88, 76, 68, 60], hMax: 5 },
P: { head: [88, 76, 68, 60, 54], hMax: 6, pref: 5 } }
};
var TYPE = { eyebrowL: 24, eyebrowP: 28, eyebrowCover: 30, ruleW: 120, ruleH: 8, url: 56, urlP: 52, email: 34, services: 24 };
/* Copy. Real Marathon services and real client shoots from brief/real-photos.
Figures are working copy for Jacob to confirm. long is the twice as long case for the functional test. */
var COPY = {
title: { eyebrow: 'Case study, Cangelosi',
head: 'One shoot day, a full showroom library',
sup: 'Photo, video, and drone for a Houston stone and tile showroom, delivered in five business days.',
long: { eyebrow: 'Case study, Cangelosi stone and tile, Houston showroom',
head: 'One shoot day, and a full showroom library for the website, social, print, and the sales team',
sup: 'Photo, video, and drone for a Houston stone and tile showroom, shot in one day, cut in DaVinci, and delivered in five business days with every file named.' } },
section: { eyebrow: 'Part two of four', head: 'Strategy before the shoot', of: 4, at: 2,
long: { eyebrow: 'Part two of four, planning', head: 'Strategy before the shoot, because the shot list decides what the edit can be' } },
end: { eyebrow: 'Next step', head: 'Book a strategy call. We plan it, shoot it, and run it.',
url: 'marathoncreative.co', email: 'hello@marathoncreative.co',
services: 'Photo, video, drone, strategy, social, paid ads, email and SMS, CRM, branding, web, and print.',
long: { eyebrow: 'Next step, a 30 minute call with Jacob', head: 'Book a strategy call. We plan the campaign, shoot the photo and video, and run the ads, the CRM, and the reporting.' } },
/* Copy for cards over footage is written per shot, so every photo test reads like a real Marathon video. */
photo: {
'mc_retouched_05.jpg': { eyebrow: 'Cangelosi, showroom film', head: 'Every slab shot the way it looks in person', sup: 'Photo and video for a Houston stone and tile showroom.' },
'mc_retouched_04.jpg': { eyebrow: 'Cangelosi, brand wall', head: 'White marble, exposed for the stone, not the lights', sup: 'Retouched stills and a 30 second cut from one day.' },
'mc_rosehill_16.jpg': { eyebrow: 'Rosehill Reserve, drone', head: 'A master-planned community, mapped from the air', sup: 'Aerial photo and video for the community launch.' },
'mc_rosehill_17.jpg': { eyebrow: 'Rosehill Reserve, retail', head: 'The entry monument and the retail behind it', sup: 'Drone stills for leasing and the community site.' },
'mc_retouched_08.jpg': { eyebrow: 'Cangelosi, product detail', head: 'Sample racks, lit for the website and print', sup: 'Tight product frames from the same shoot day.' },
'mc_fullres_12.jpg': { eyebrow: 'Land listing, drone', head: 'The lot line, drawn on the shot buyers see first', sup: 'Wooded acreage on the golf course, boundary marked in post.' }
},
cover: {
'mc_retouched_05.jpg': { eyebrow: 'Behind the shoot', head: 'Inside the Cangelosi showroom' },
'mc_retouched_04.jpg': { eyebrow: 'Photo tip', head: 'How to shoot white marble' },
'mc_rosehill_16.jpg': { eyebrow: 'Drone', head: 'Rosehill Reserve from the air' },
'mc_rosehill_17.jpg': { eyebrow: 'Drone', head: 'Shooting retail for leasing' },
'mc_retouched_08.jpg': { eyebrow: 'Photo tip', head: 'How we light a sample rack' },
'mc_fullres_12.jpg': { eyebrow: 'Land listings', head: 'Draw the lot line, sell the lot' }
},
photoLong: { eyebrow: 'Case study, Rosehill Reserve master-planned community, Greater Houston', head: 'A master-planned community mapped from the air, with every amenity, lake, and retail pad in one flight', sup: 'Aerial photo and video for the community launch, cut for the website, the sales center screens, and paid social.' },
coverLong: { eyebrow: 'Drone, behind the shoot', head: 'How we flew Rosehill Reserve for the launch, the website, and the sales center' }
};
function el(id, label, kind, start, dur, ease, move) { return { id: id, label: label, kind: kind, start: start, dur: dur, ease: ease, move: move }; }
var RISE = 'Y, rises through its mask', TRAVEL = 'X, from off frame left';
/* Build one card's timeline from its line counts. Order is always rule, then name, then detail,
one beat apart, the rule from the motion grammar. */
function timeline(card, n) {
n = n || {}; var nH = n.head || 1, nS = n.sup || 0, words = n.words || 6, T = [], o = 0, i;
if (card === 'photo' || card === 'end') { T.push(el('plate', 'Navy plate', 'plate', 0, SW, '--mc-ease-pace', TRAVEL)); o = 2; }
if (card === 'section') T.push(el('rule', 'Progress rule', 'rule', 0, SW, '--mc-ease-pace', TRAVEL));
else if (card !== 'cover') T.push(el('rule', 'Red rule', 'rule', o, SW, '--mc-ease-pace', TRAVEL));
if (card === 'cover') {
T.push(el('plate', 'Navy plate', 'plate', -99, 1, '--mc-ease-pace', 'At rest from frame 0'));
T.push(el('rule', 'Red rule', 'rule', -99, 1, '--mc-ease-pace', 'At rest from frame 0'));
T.push(el('eyebrow', 'Eyebrow', 'type', -99, 1, '--mc-ease-enter', 'At rest from frame 0'));
for (i = 0; i < nH; i++) T.push(el('head' + i, 'Headline line ' + (i + 1), 'type', -99, 1, '--mc-ease-enter', 'At rest from frame 0'));
return finish(card, T, { resolved: 0, exitStart: COVER_HOLD, freeze: COVER_HOLD });
}
T.push(el('eyebrow', 'Eyebrow', 'type', o + 1, EN, '--mc-ease-enter', RISE));
for (i = 0; i < nH; i++) T.push(el('head' + i, 'Headline line ' + (i + 1), 'type', o + 2 + i, EN, '--mc-ease-enter', RISE));
if (card === 'end') {
T.push(el('url', 'Web address', 'type', o + 2 + nH, EN, '--mc-ease-enter', RISE));
T.push(el('email', 'Email', 'type', o + 3 + nH, EN, '--mc-ease-enter', RISE));
T.push(el('services', 'Services line', 'type', o + 4 + nH, EN, '--mc-ease-enter', RISE));
var ls = o + 2 + nH;
MC.T.forEach(function (s) { T.push({ id: 'logo-' + s.id, label: 'Logo, ' + s.label, kind: 'logo', part: s, start: ls + s.start, dur: s.dur, ease: s.ease, move: s.move }); });
return finish(card, T, { logoStart: ls, noExit: true });
}
for (i = 0; i < nS; i++) T.push(el('sup' + i, 'Support line ' + (i + 1), 'type', o + 2 + nH + i, EN, '--mc-ease-enter', RISE));
return finish(card, T, { words: words });
}
function finish(card, T, x) {
var resolved = x.resolved != null ? x.resolved : Math.max.apply(null, T.map(function (e) { return e.start + e.dur; }));
var holdBeats = MC.HOLD_TITLE, readBeats = Math.ceil(((x.words || 0) / 3) / MC.BEAT);
if (readBeats > holdBeats) holdBeats = readBeats;
var exitStart = x.exitStart != null ? x.exitStart : (x.noExit ? null : resolved + holdBeats);
var endHold = Math.round(MC.ms('--mc-video-hold-lower-third') / MC.ms('--mc-video-stagger'));
return { card: card, T: T, resolved: resolved, hold: x.noExit ? endHold : (exitStart - resolved), exitStart: exitStart,
exitEnd: exitStart == null ? null : exitStart + EX, freeze: x.freeze || 0, logoStart: x.logoStart };
}
/* The frames each contact sheet shows, in beats. */
function keyBeats(tl, portrait) {
var c = tl.card, r = tl.resolved;
if (c === 'cover') return [0, tl.exitStart, tl.exitStart + 1, tl.exitEnd, tl.exitEnd + 6];
if (c === 'end') return portrait ? [2, 5, tl.logoStart + 4, tl.logoStart + 6, r] : [1, 2, 4, 6, tl.logoStart + 4, tl.logoStart + 6, tl.logoStart + 8, r];
var mid = Math.round(r / 2);
var list = portrait ? [1, 3, mid + 1, r, tl.exitStart + 1] : [1, 2, 3, mid + 1, r, r + tl.hold - 1, tl.exitStart + 1, tl.exitEnd];
if (c === 'photo' && !portrait) list = [1, 2, 3, 4, 6, r, tl.exitStart + 1, tl.exitEnd];
return list.filter(function (b, k, a) { return a.indexOf(b) === k; });
}
window.CARDS = { FIT: FIT, TYPE: TYPE, COPY: COPY, timeline: timeline, keyBeats: keyBeats, COVER_HOLD: COVER_HOLD };
})();
contact.js64 lines, 6.5 KB
/* Fills contact.html for one card from timelines.js. Frame files come from shoot.mjs. */
(function () {
var MC = window.MC, V = window.CViz, TL = window.TIMELINES;
var card = new URLSearchParams(location.search).get('card') || 'end';
function $(id) { return document.getElementById(id); }
function pad(b) { return b < 0 ? 'm' + -b : String(b).padStart(2, '0'); }
var HEAD = {
title: ['Motion cards, title card', 'Rule first, then the headline, then the detail.', 'Opens a Marathon video or a chapter of one, on clean navy. The red rule travels in from the left, the eyebrow and every headline line rise through their own masks one beat apart, the support line comes last. Copy fits itself to the card, nobody resizes type by hand.'],
section: ['Motion cards, section card', 'A progress rule, then the name of the section.', 'Marks a chapter inside a longer video. The progress rule shows where the viewer is, one segment per part, the current part in red. Shorter than a title card on screen because it says less.'],
photo: ['Motion cards, title over footage', 'The plate lands first. Type only ever sits on navy.', 'The same title card for when the shot has to stay on screen. A navy plate travels in from the left edge and grows upward with the copy. No type, rule, or red ever touches the footage, so the card reads on any shot.'],
end: ['Motion cards, end card', 'The ask, the address, then the mark.', 'Closes every Marathon video. The navy plate covers the last shot, the call to action rises, the web address and email follow, and the logo sting plays at one third of the frame width, in its own field on the right, as the last thing to land. Holds to the end of the file.'],
cover: ['Motion cards, reel cover handoff', 'The cover is frame 0. Its graphics leave, the footage runs.', 'The cover still and the first frame of the reel are the same frame. The footage is frozen under the cover for six beats so the title registers in the feed, then the plate and type leave together and the shot plays. There is no cross dissolve: the photo is already the footage, so nothing changes under the graphics.']
};
var h = HEAD[card];
$('eyebrow').textContent = h[0]; $('title').textContent = h[1]; $('lede').textContent = h[2];
var one = V.fr(1), tL = TL[card + 'L'].timeline, tP = TL[card + 'P'].timeline;
var note = '<strong>One beat = ' + one.f24 + ' frames at 24fps, ' + one.f30 + ' at 30, ' + one.f60 + ' at 60.</strong><br>';
if (card === 'cover') note += 'Cover holds ' + tP.exitStart + ' beats, ' + (tP.exitStart * MC.BEAT).toFixed(1) + 's, frozen.<br>Clear by beat ' + tP.exitEnd + ', ' + (tP.exitEnd * MC.BEAT).toFixed(2) + 's.';
else if (card === 'end') note += 'Resolved at beat ' + tL.resolved + ', ' + (tL.resolved * MC.BEAT).toFixed(1) + 's.<br>Hold at least ' + tL.hold + ' beats, ' + (tL.hold * MC.BEAT).toFixed(1) + 's, then end the file.';
else note += 'Resolved at beat ' + tL.resolved + ', ' + (tL.resolved * MC.BEAT).toFixed(1) + 's.<br>Holds ' + tL.hold + ' beats, ' + (tL.hold * MC.BEAT).toFixed(1) + 's, exits in ' + MC.EXIT + ' beats.';
$('beatnote').innerHTML = note;
function cell(src, title, b, what, cls) {
var c = V.h('div', 'cell' + (cls ? ' ' + cls : ''));
c.innerHTML = '<img src="frames/' + src + '" alt=""><div class="cap"><span class="b">' + title + '</span><span class="f">' + (b == null ? '' : V.frText(b)) + '</span><span class="what">' + what + '</span></div>';
return c;
}
var g16 = $('grid16'), g916 = $('grid916');
if (card === 'cover') {
$('l16').textContent = '16:9, the YouTube and website poster frame, on the Rosehill aerial';
[0, 6, 7, 8].forEach(function (b) { g16.appendChild(cell('hand-aerial-L-b' + pad(b) + '.png', 'Beat ' + pad(b), b, V.caption(tP, b))); });
$('l916').textContent = '9:16 reel, on the Rosehill aerial, then as it sits in the profile grid';
[0, 6, 7, 8, 14].forEach(function (b) { g916.appendChild(cell('hand-aerial-P-b' + pad(b) + '.png', 'Beat ' + pad(b), b, V.caption(tP, b))); });
g916.appendChild(cell('hand-aerial-G.png', 'Grid', null, 'The same cover through the 3:4 profile crop. Type stays inside it.', 'guide'));
} else {
$('l16').textContent = '16:9, 1920 x 1080 shown, build UHD at the same proportions';
TL[card + 'L'].keyBeats.forEach(function (b) { g16.appendChild(cell(card + '-L-b' + pad(b) + '.png', 'Beat ' + pad(b), b, V.caption(tL, b))); });
$('l916').textContent = '9:16, 1080 x 1920, for Reels, TikTok, and Shorts';
TL[card + 'P'].keyBeats.forEach(function (b) { g916.appendChild(cell(card + '-P-b' + pad(b) + '.png', 'Beat ' + pad(b), b, V.caption(tP, b))); });
g916.appendChild(cell(card + '-P-guides.png', 'Guides', null, 'Reel safe box, platform UI bands, and the 3:4 grid crop.', 'guide'));
}
V.gantt($('gantt'), tL, { easeText: true });
var ex = $('extra'); ex.className = 'extra';
if (card === 'cover') {
ex.innerHTML = '<p class="eyebrow">The same handoff on a portrait original, mc_retouched_08</p>';
var row = V.h('div', 'grid g6');
[0, 6, 7, 8, 14].forEach(function (b) { row.appendChild(cell('hand-portrait-P-b' + pad(b) + '.png', 'Beat ' + pad(b), b, V.caption(tP, b))); });
row.appendChild(cell('hand-portrait-G.png', 'Grid', null, 'Profile grid, 3:4.', 'guide'));
ex.appendChild(row);
} else {
ex.innerHTML = '<p class="eyebrow">Functional test, the same card with copy twice as long, at rest</p>';
var r2 = V.h('div', 'row'); r2.style.gridTemplateColumns = '3.2fr 3.2fr 1fr 1fr';
var fl = TL[card + 'Llong'].fit, fp = TL[card + 'Plong'].fit, nl = TL[card + 'L'].fit;
r2.appendChild(cell(card + '-L-rest.png', 'As written', null, 'Headline at ' + nl.head.size + 'px, ' + nl.head.lines + (nl.head.lines > 1 ? ' lines' : ' line') + '.'));
r2.appendChild(cell(card + '-L-long.png', 'Twice as long', null, 'The fit steps the headline down to ' + fl.head.size + 'px, ' + fl.head.lines + ' lines. ' + (fl.head.cut ? 'Cut at the limit and flagged.' : 'Nothing is cut.')));
r2.appendChild(cell(card + '-P-long.png', '9:16', null, fp.head.size + 'px, ' + fp.head.lines + ' lines.'));
r2.appendChild(cell(card + '-P-long-guides.png', 'Guides', null, 'Still inside reel safe.', 'guide'));
ex.appendChild(r2);
}
$('footL').textContent = 'Marathon Creative, motion cards v1. Frames rendered from cards.html with the shipped tokens, logo, and real photos.';
$('footR').textContent = 'Contact sheet, ' + h[0].replace('Motion cards, ', '');
})();
cviz.js100 lines, 7.2 KB
/* Timeline chart, beat captions, and keyframe rows for the cards, generated from timelines.js and motion.js.
Uses the sting's viz.css class names so both pieces read the same on the page. */
(function () {
var MC = window.MC;
function h(tag, cls, html) { var e = document.createElement(tag); if (cls) e.className = cls; if (html != null) e.innerHTML = html; return e; }
function pct(v, max) { return (v / max * 100) + '%'; }
function fr(b) { return { f24: MC.frames(b, 24), f30: MC.frames(b, 30), f60: MC.frames(b, 60) }; }
function frText(b) { var f = fr(b); return b < 0 ? '' : 'f' + f.f24 + ' at 24, f' + f.f30 + ' at 30, f' + f.f60 + ' at 60'; }
/* Rows for the chart and the keyframe table. Logo parts collapse into one row, the sting has its own spec. */
function rows(tl) {
var out = [], logo = null;
tl.T.forEach(function (e) {
if (e.kind === 'logo') {
if (!logo) { logo = { id: 'logo', label: 'Logo sting', kind: 'logo', start: e.start, end: e.start + e.dur, ease: 'sting timeline', move: 'The sting, unchanged' }; out.push(logo); }
logo.end = Math.max(logo.end, e.start + e.dur); return;
}
if (e.start < -10) { out.push({ id: e.id, label: e.label, kind: e.kind, start: 0, end: 0, ease: 'none', move: 'At rest from frame 0' }); return; }
out.push({ id: e.id, label: e.label, kind: e.kind, start: e.start, end: e.start + e.dur, ease: e.ease.replace('--mc-', ''), move: e.move });
});
return out;
}
function name(r) { return r.label.replace('Headline line', 'headline, line').replace('Support line', 'support, line').replace(/^[A-Z][a-z]/, function (m) { return m.toLowerCase(); }); }
function cap1(t) { return t.charAt(0).toUpperCase() + t.slice(1); }
function caption(tl, b) {
var c = tl.card, R = rows(tl), starts = [], lands = [];
if (c === 'cover') {
if (b === 0) return 'Frame 0 is the cover. Export this exact frame as the cover image too.';
if (b === tl.exitStart) return 'Last frame of the freeze. Nothing has moved yet.';
if (b > tl.exitStart && b < tl.exitEnd) return 'Plate travels out left, type drops through its masks, together.';
if (b === tl.exitEnd) return 'Clear. Footage runs from the frozen frame, no jump.';
return 'Footage plays clean. No graphic returns.';
}
R.forEach(function (r) {
var n = r.kind === 'logo' ? 'logo bars' : name(r);
if (r.start === b) starts.push(n);
if (r.end === b) lands.push(r.kind === 'logo' ? 'logo' : n);
});
if (tl.exitStart != null && b > tl.exitStart && b < tl.exitEnd) return 'Exit. Everything leaves together, back the way it came.';
if (tl.exitEnd != null && b >= tl.exitEnd) return 'Clear. Cut to the next shot.';
if (tl.exitStart != null && b >= tl.resolved && b <= tl.exitStart) return b === tl.resolved ? 'Resolved. ' + (lands.length ? cap1(lands.join(' and ')) + ' landed. ' : '') + 'Nothing moves now.' : 'Hold. Nothing moves while it is read.';
if (c === 'end' && b >= tl.resolved) return 'Resolved. Hold to the end of the file.';
var out = [];
if (lands.length) out.push(lands.join(' and ') + (lands.length > 1 ? ' land' : ' lands'));
if (starts.length) out.push(starts.join(' and ') + (starts.length > 1 ? ' start' : ' starts'));
if (!out.length) { var mv = R.filter(function (r) { return r.start < b && b < r.end; }).map(function (r) { return r.kind === 'logo' ? 'logo bars' : name(r); }); out.push((mv.length ? mv.slice(0, 2).join(' and ') + ' ' : '') + 'in travel'); }
return out.map(cap1).join('. ') + '.';
}
function gantt(host, tl, opt) {
opt = opt || {};
var R = rows(tl), end = tl.exitEnd != null ? tl.exitEnd : tl.resolved + 4;
var max = opt.max || end, wrap = h('div', 'gantt');
var holdTo = tl.exitStart != null ? tl.exitStart : max;
var compress = tl.exitStart != null && (tl.exitStart - tl.resolved) > 8;
/* A long hold is drawn short and labelled, so the moves stay readable. */
var gapA = tl.resolved + 2, gapB = tl.exitStart - 2, cut = compress ? gapB - gapA : 0;
function X(b) { return compress && b > gapA ? (b >= gapB ? b - cut + 2 : gapA + 1) : b; }
var M = X(max);
function row(label, cls) { var r = h('div', 'g-row ' + (cls || '')); r.appendChild(h('div', 'g-lab', label)); var tr = h('div', 'g-track'); r.appendChild(tr); wrap.appendChild(r); return tr; }
function seg(tr, a, b, cls, txt) { var s = h('div', 'g-seg ' + cls, txt || ''); s.style.left = pct(X(a), M); s.style.width = pct(X(b) - X(a), M); tr.appendChild(s); }
R.forEach(function (r) {
var tr = row(r.label, r.kind === 'type' ? 'word' : '');
seg(tr, r.start, r.end, 'move', opt.easeText ? r.ease : '');
seg(tr, r.end, holdTo, 'hold');
if (tl.exitStart != null) seg(tr, tl.exitStart, tl.exitEnd, 'exit');
});
var ticks = []; for (var b = 0; b <= max; b++) if (!compress || b <= gapA || b >= gapB) ticks.push(b);
var ruler = row('Beat', 'ruler');
ticks.forEach(function (b) { var t = h('div', 'g-tick', String(b)); t.style.left = pct(X(b), M); ruler.appendChild(t); });
[24, 30, 60].forEach(function (fps) {
var rr = row(fps + 'fps frame', 'ruler fps');
ticks.forEach(function (b) { if (opt.every && b % opt.every && b !== max) return; var t = h('div', 'g-tick', String(MC.frames(b, fps))); t.style.left = pct(X(b), M); rr.appendChild(t); });
});
var lines = h('div', 'g-lines');
ticks.forEach(function (b) { var l = h('div', 'g-line'); l.style.left = pct(X(b), M); lines.appendChild(l); });
var marks = [[tl.resolved, tl.card === 'cover' ? 'Cover, at rest' : 'Resolved']];
if (tl.exitStart != null) marks.push([tl.exitStart, tl.card === 'cover' ? 'Freeze ends' : 'Hold ends']);
marks.forEach(function (m, i) { var k = h('div', 'g-mark' + (i ? ' end' : '')); k.style.left = pct(X(m[0]), M); k.appendChild(h('span', '', m[1])); lines.appendChild(k); });
if (compress) { var gp = h('div', 'g-gap', 'Hold, ' + (tl.exitStart - tl.resolved) + ' beats, ' + ((tl.exitStart - tl.resolved) * MC.BEAT).toFixed(1) + 's'); gp.style.left = pct(gapA + 1, M); lines.appendChild(gp); }
wrap.appendChild(lines); host.appendChild(wrap);
if (!opt.noKey) host.appendChild(h('div', 'g-key', '<span class="sw move"></span>Move <span class="sw hold"></span>Hold at rest <span class="sw exit"></span>Exit, all together'));
}
function keyRows(tl) {
var out = rows(tl).map(function (r) {
var row = [r.label, r.move, r.ease];
[24, 30, 60].forEach(function (fps) { row.push(MC.frames(r.start, fps), MC.frames(r.end, fps)); });
return row;
});
function mark(l, a, b, what, curve) { var r = [l, what, curve]; [24, 30, 60].forEach(function (fps) { r.push(MC.frames(a, fps), b == null ? '' : MC.frames(b, fps)); }); return r; }
if (tl.card !== 'cover') out.push(mark('Resolved', tl.resolved, null, 'Every part at rest', ''));
if (tl.exitStart != null) out.push(mark('Exit', tl.exitStart, tl.exitEnd, 'Every part together, no stagger', 'ease-exit'));
return out;
}
window.CViz = { h: h, fr: fr, frText: frText, caption: caption, gantt: gantt, rows: rows, keyRows: keyRows };
})();
spec.js255 lines, 25.0 KB
/* Builds every page of spec.html from timelines.js, cardtime.js, motion.js, and tokens.css. No value typed twice. */
(function () {
var MC = window.MC, C = window.CARDS, V = window.CViz, TL = window.TIMELINES;
var doc = document.getElementById('doc'), pages = [];
function h(tag, cls, html) { return V.h(tag, cls, html); }
function pad(b) { return b < 0 ? 'm' + -b : String(b).padStart(2, '0'); }
function sec(b) { return (b * MC.BEAT).toFixed(1) + 's'; }
function one(n) { return ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'][n] || String(n); }
function page() {
var p = h('section', 'page'), inner = h('div', 'inner'), foot = h('div', 'foot', '<span>Marathon Creative, Motion cards v1</span><span class="pn"></span>');
p.appendChild(inner); p.appendChild(foot); doc.appendChild(p); pages.push(p); return inner;
}
function add(parent, tag, cls, html) { var e = h(tag, cls, html); parent.appendChild(e); return e; }
function frame(src, title, b, text, cls) {
var d = h('div', 'frame' + (cls ? ' ' + cls : ''));
d.innerHTML = '<img src="frames/' + src + '" alt=""><p class="cap"><span class="bt">' + title + '</span>' + (b == null ? '' : '<span class="fr">' + V.frText(b).replace(/f/g, 'f').replace(/, /g, ' / ').replace(/ at /g, '@') + '</span>') + (text || '') + '</p>';
return d;
}
function table(el, head, rows, numFrom) {
var s = '<thead><tr>' + head.map(function (c, i) { return '<th' + (i >= numFrom ? ' class="num"' : '') + '>' + c + '</th>'; }).join('') + '</tr></thead><tbody>';
rows.forEach(function (r) { s += '<tr>' + r.map(function (c, i) { return '<td class="' + (i === 0 ? 'lab' : i >= numFrom ? 'num' : 'dim wrap') + '">' + c + '</td>'; }).join('') + '</tr>'; });
el.innerHTML = s + '</tbody>';
}
function keyTable(parent, tl) {
var t = add(parent, 'table', 'tight');
table(t, ['Part', 'Move', 'Curve', '24 in', '24 out', '30 in', '30 out', '60 in', '60 out'], V.keyRows(tl), 3);
return t;
}
function rules(parent, list) {
var g = add(parent, 'div', 'g12 sec');
list.forEach(function (r, i) { var c = add(g, 'div', 'c' + (12 / list.length) + ' rule-card' + (r[2] ? ' red' : '')); c.innerHTML = '<h3>' + r[0] + '</h3><p>' + r[1] + '</p>'; });
}
function opener(inner, eyebrow, title, intro) {
add(inner, 'p', 'eyebrow', eyebrow); add(inner, 'h2', '', title);
if (intro) { var p = add(inner, 'p', 'small', intro); p.style.maxWidth = '6.6in'; }
}
var B1 = V.fr(1);
/* Page 1. Overview. */
(function () {
var inner = page();
inner.innerHTML = '<div class="head"><img src="../../../tokens/v/best/logos/marathon-logo-dark.svg" alt="Marathon Creative"><div class="meta">Motion cards v1, Tier 3<br>For Philip, built in DaVinci Resolve</div></div>';
add(inner, 'p', 'eyebrow', 'Motion cards');
add(inner, 'h1', '', 'Five cards, one grammar, and no type on footage.');
add(inner, 'p', 'lede', 'They move by the sting’s rules: one beat of ' + MC.ms('--mc-video-stagger') + 'ms, four curves, left to right, rule then name then detail. Rendered from the shipped tokens, logo, and real Marathon photos.');
add(inner, 'div', 'divider');
var ov = add(inner, 'div', 'strip4');
[['title-L-rest.png', 'Title card', 'Opens a video or a chapter.'], ['section-L-rest.png', 'Section card', 'Marks part two of four.'],
['photo-L-rest.png', 'Title over footage', 'When the shot stays on screen.'], ['end-L-rest.png', 'End card', 'Closes every video.']].forEach(function (f) {
ov.appendChild(frame(f[0], f[1], null, f[2]));
});
var ov2 = add(inner, 'div', 'strip6 sec');
[['hand-aerial-P-b00.png', 'Reel cover', 'Frame 0.'], ['title-P-rest.png', 'Title, 9:16', ''], ['section-P-rest.png', 'Section, 9:16', ''],
['ph-interior-photo-P.png', 'Over footage, 9:16', ''], ['end-P-rest.png', 'End, 9:16', ''], ['cover-P-guides.png', 'Reel safe', 'Guides on.']].forEach(function (f) { ov2.appendChild(frame(f[0], f[1], null, f[2])); });
var t = add(inner, 'table', 'tight sec');
var rowsO = [['Title card', 'Clean navy', 'title'], ['Section card', 'Clean navy', 'section'], ['Title over footage', 'Footage, navy plate', 'photo'], ['End card', 'Plate over the last shot', 'end'], ['Reel cover', 'Footage, frozen frame 0', 'cover']];
table(t, ['Card', 'Background', 'Builds in', 'On screen at rest', 'Leaves'], rowsO.map(function (r) {
var tl = TL[r[2] + 'L'].timeline;
var build = r[2] === 'cover' ? 'At rest on frame 0' : tl.resolved + ' beats, ' + sec(tl.resolved);
var hold = r[2] === 'cover' ? sec(tl.exitStart) + ', frozen' : r[2] === 'end' ? sec(tl.hold) + ' or more' : sec(MC.HOLD_TITLE) + ', or 1s per three words';
var exit = r[2] === 'end' ? 'Never, the file ends' : MC.EXIT + ' beats, together';
return [r[0], r[1], build, hold, exit];
}), 9);
})();
/* Card pages. */
function cardPage(card, eyebrow, title, intro, pick, notes) {
var inner = page(), tl = TL[card + 'L'].timeline, tp = TL[card + 'P'].timeline;
opener(inner, eyebrow, title, intro);
var s = add(inner, 'div', 'strip4 sec');
pick(tl).forEach(function (b) { s.appendChild(frame(card + '-L-b' + pad(b) + '.png', 'Beat ' + b, b, V.caption(tl, b))); });
var g = add(inner, 'div', 'gwrap'); V.gantt(g, tl, { easeText: true, every: 2 });
var k = add(inner, 'div', 'sec'); keyTable(k, tl);
if (notes) rules(inner, notes);
}
cardPage('title', 'Title card', 'The rule travels in, the headline rises one line at a time',
'Clean navy, hard cut in or straight after the sting. The Red Bright rule travels in from off frame left on the pace curve. Then the eyebrow, each headline line, and each support line rise one beat apart on the enter curve. It holds ' + sec(MC.HOLD_TITLE) + ' or one second per three words, whichever is longer, then everything leaves together.',
function (tl) { return [2, Math.round(tl.resolved / 2) + 1, tl.resolved, tl.exitStart + 1]; },
[['Why lines rise one at a time', 'The eye reads each line as it lands. The last line lands on a stopped frame, so the end of the sentence is never moving while it is read.'],
['Why the rule is Red Bright', 'It sits on navy, the only place the guide allows Red Bright. On a white card it would be Marathon Red. It is the one red thing on the card.', true],
['Where it sits', 'Left aligned on the 12 column grid inside title safe, eight columns wide, centred top to bottom. In 9:16 it is centred in the reel safe box.']]);
cardPage('section', 'Section card', 'Where the viewer is, then what this part is called',
'For chapters inside a longer video, a webinar, or a training cut. The progress rule has one segment per part. Finished parts are white at 60%, the current part is Red Bright, parts still to come are white at 20%. The whole rule travels in as one piece, so no segment ever wipes or grows.',
function (tl) { return [1, 3, tl.resolved, tl.exitStart + 1]; },
[['One rule, never a counter', 'Do not add a big number. The eyebrow already says part two of four in words, and the rule shows it at a glance.'],
['Up to six parts', 'Past six the segments get too short to read on a phone. Split the video, or drop the section cards.', true],
['Same hold as a title', 'Section names are short, so the ' + sec(MC.HOLD_TITLE) + ' title hold covers them. The read rule still applies to a long name.']]);
cardPage('photo', 'Title over footage', 'The plate comes in first, then the card builds on it',
'A navy plate, half the frame wide in 16:9 and full width in 9:16, travels in from off frame left on the pace curve, bleeding off the left and bottom edges and growing upward with the copy. The card builds on it two beats after it starts. Footage underneath is never scaled, blurred, or darkened.',
function (tl) { return [1, 3, tl.resolved, tl.exitStart + 1]; },
[['Type never touches footage', 'Not with a scrim, not with a shadow. Every Marathon photo set includes white marble and busy aerials, and white type alone fails on both.', true],
['The plate leaves with the type', 'On the exit the plate travels back out left carrying everything on it, while the type drops. Nothing is ever left floating on the shot.'],
['Reframe in the edit, not on the card', 'If the subject is under the plate, move the clip in the timeline. Never move or resize the plate to dodge it.']]);
cardPage('end', 'End card', 'The ask, the address, then the mark lands last',
'The navy plate travels in over the last shot. The call to action builds on it, then the web address, email, and services line. The logo plays the full sting at one third of the frame width in its own field on the right, starting with the web address, so the mark lands last and lands as the largest thing on screen. Then it holds to the end of the file.',
function (tl) { return [2, 6, tl.logoStart + 6, tl.resolved]; },
[['Contact is type, never an image', 'Web and email are set live in Montserrat, so a change is one edit. No phone number, as on the vehicle livery.'],
['The mark is the hero', 'In 16:9 the logo is one third of the frame wide, left edge on column 8, centred top to bottom, the same place on every video. The copy takes columns 1 to 6.', true],
['YouTube end screen zone', 'Columns 8 to 12 below the mark, the last 5 to 20 seconds. Never place an element over the logo.'],
['The logo is the sting', 'Never a still logo fading in. Sting layer pack, one Transform, values on page 9.']]);
/* Reel handoff. */
(function () {
var inner = page(), tl = TL.coverP.timeline;
opener(inner, 'Reel cover handoff', 'The cover is frame 0, and nothing dissolves',
'Frame 0 shows in the feed and the cover image shows in the grid, so make them the same frame. The first shot is frozen for ' + one(tl.exitStart) + ' beats, ' + sec(tl.exitStart) + ', under the cover. On beat ' + tl.exitStart + ' the plate travels out left and the type drops, together, in ' + one(MC.EXIT) + ' beats on the exit curve, and the footage starts moving on that frame.');
var s1 = add(inner, 'div', 'strip6 sec');
[0, 6, 7, 8, 14].forEach(function (b) { s1.appendChild(frame('hand-aerial-P-b' + pad(b) + '.png', 'Aerial, beat ' + b, b, V.caption(tl, b))); });
s1.appendChild(frame('hand-aerial-G.png', 'In the grid, 3:4', null, 'Type sits inside the crop.', 'out'));
var s3 = add(inner, 'div', 'strip4 sec');
[0, 6, 7, 8].forEach(function (b) { s3.appendChild(frame('hand-aerial-L-b' + pad(b) + '.png', '16:9 poster, beat ' + b, b, '')); });
var g = add(inner, 'div', 'gwrap'); V.gantt(g, tl, { easeText: true, max: tl.exitEnd + 4 });
rules(inner, [['Why there is no cross dissolve', 'The photo under the cover is already the first frame of footage. A dissolve would fade the graphics into a doubled, soft frame. They leave by travel and drop.', true],
['Export the cover from the timeline', 'Grab a still of frame 0 in Resolve and upload it as the cover. Never design it separately, or feed and grid disagree.'],
['Cover type is bigger', 'The grid shows it a third of a phone wide. The headline starts at 112px in a 1080 frame, never under 72px, in Black 900.']]);
})();
/* Photo robustness. */
(function () {
var inner = page();
opener(inner, 'Photo robustness', 'Proven on a tight interior, a wide aerial, a portrait, and a red boundary line',
'Same template and settings on every shot, only the copy changes. Six photos tested in full in renders/photo-*.png.');
var R = [['interior', 'mc_retouched_05.jpg', 'Tight interior', 'Busy slab wall, black floor, no sky.'],
['aerial', 'mc_rosehill_16.jpg', 'Wide aerial', 'The busiest shot in the set. Rooftops edge to edge.'],
['portrait', 'mc_retouched_08.jpg', 'Portrait original', 'A vertical shot cut to 16:9 and 9:16.'],
['boundary', 'mc_fullres_12.jpg', 'Red boundary line', 'The burned in red line never meets Marathon red. The only red is the Red Bright rule, on navy.']];
R.forEach(function (r) {
var row = add(inner, 'div', 'phrow');
row.innerHTML = '<div><h3>' + r[2] + '</h3><p>' + r[1].replace('.jpg', '') + '. ' + r[3] + '</p><img class="src" src="photos/' + r[1] + '" alt="">' + (r[0] === 'boundary' ? '<span class="tagr">Red on photo test</span>' : '') + '</div>' +
'<img src="frames/ph-' + r[0] + '-photo-L.png" alt=""><img src="frames/ph-' + r[0] + '-cover-P.png" alt=""><img src="frames/ph-' + r[0] + '-cover-G.png" alt="">';
});
})();
/* Copy fit. */
(function () {
var inner = page();
opener(inner, 'Copy fit', 'Long copy shrinks in set steps, it never runs off the plate',
'The card measures the copy and tries each headline size from the largest down, keeping the first that fits the line limit. Copy that still does not fit at the smallest size is cut at the limit with an ellipsis and flagged in the guides, which means rewrite it. Nobody types a font size. Sizes are pixels at HD, double them for UHD.');
var t = add(inner, 'table', 'tight sec');
var BUD = { title: 40, section: 28, photo: 48, cover: 30, end: 56 };
var NAMES = { title: 'Title card', section: 'Section card', photo: 'Over footage', cover: 'Reel cover', end: 'End card' };
var rowsF = [];
['title', 'section', 'photo', 'cover', 'end'].forEach(function (c) {
['L', 'P'].forEach(function (k) {
var f = C.FIT[c][k];
rowsF.push([NAMES[c] + (k === 'L' ? ', 16:9' : ', 9:16'), f.head.join(', '), f.hMax, f.sup ? f.sup.join(', ') : 'None', f.sup ? f.sMax : '', k === 'L' ? BUD[c] : '']);
});
});
table(t, ['Card', 'Headline steps, px', 'Max lines', 'Support steps, px', 'Max lines', 'Aim, characters'], rowsF, 2);
var ex = add(inner, 'div', 'mix sec'); ex.style.gridTemplateColumns = '3.2fr 3.2fr 1fr 1fr';
ex.appendChild(frame('title-L-rest.png', 'As written', null, TL.titleL.fit.head.size + 'px, ' + TL.titleL.fit.head.lines + ' lines.'));
ex.appendChild(frame('title-L-long.png', 'Twice as long', null, TL.titleLlong.fit.head.size + 'px, ' + TL.titleLlong.fit.head.lines + ' lines, nothing cut.'));
ex.appendChild(frame('cover-P-rest.png', 'Cover', null, TL.coverP.fit.head.size + 'px.'));
ex.appendChild(frame('cover-P-long.png', 'Cover, long', null, TL.coverPlong.fit.head.size + 'px.'));
var cl = add(inner, 'div', 'callout slim one');
cl.innerHTML = '<div><div class="rule-top"></div><ul><li><strong>Write to the aim, not the limit.</strong> The aim column is what reads best. The fit is a safety net for a long client name, not a target.</li><li><strong>Get line breaks from the stage.</strong> Open cards.html with your copy, for example <code style="color:inherit">?card=title&head=Your headline</code>, and set the same breaks and size in Resolve.</li><li><strong>Sentence case always.</strong> Capitals only on eyebrows, which are set in caps by the style, so type them in sentence case too.</li></ul></div>';
})();
/* Type and geometry for Resolve. */
(function () {
var inner = page();
opener(inner, 'Type and geometry', 'Text+ settings and where every box sits',
'Montserrat only. Sizes at HD, UHD doubles them.');
function op(tok) { var m = MC.tok(tok).match(/\/\s*([\d.]+)/); return m ? Math.round(parseFloat(m[1]) * 100) : 100; }
var white = MC.tok('--mc-white').toUpperCase(), rb = MC.tok('--mc-accent-on-inverse').toUpperCase(), navy = MC.tok('--mc-navy-100').toUpperCase();
var T = C.TYPE, t = add(inner, 'table', 'tight sec');
var rowsT = [
['Eyebrow', 'Bold 700, all caps', T.eyebrowL + ' / ' + T.eyebrowP, MC.tok('--mc-type-eyebrow-tracking'), '1.45', 'White ' + white + ' at ' + op('--mc-text-inverse-secondary') + '%'],
['Headline', 'Extrabold 800', C.FIT.title.L.head[0] + ' / ' + C.FIT.title.P.head[0], '-0.022em', '1.04', 'White ' + white],
['Cover headline', 'Black 900', C.FIT.cover.L.head[0] + ' / ' + C.FIT.cover.P.head[0], '-0.022em', '1.0', 'White ' + white],
['Support line', 'Light 300', C.FIT.title.L.sup[0] + ' / ' + C.FIT.title.P.sup[0], '0', '1.3', 'White at ' + op('--mc-text-inverse-secondary') + '%'],
['Web address', 'Bold 700, tabular', T.url + ' / ' + T.urlP, '-0.01em', '1.2', 'White ' + white],
['Email', 'Regular 400, tabular', T.email + ' / ' + T.email, '0', '1.35', 'White at ' + op('--mc-text-inverse-secondary') + '%'],
['Services line', 'Semibold 600', T.services + ' / ' + T.services, '0', '1.45', 'White at ' + op('--mc-text-inverse-tertiary') + '%'],
['Red rule', 'Solid', T.ruleW + ' x ' + T.ruleH, '', '', 'Red Bright ' + rb + ', on navy only'],
['Plate and cards', 'Solid', 'Full frame or plate box', '', '', 'Marathon Navy ' + navy]
];
table(t, ['Element', 'Weight', 'HD px, 16:9 / 9:16', 'Tracking', 'Leading', 'Colour'], rowsT, 9);
var gt = add(inner, 'table', 'tight sec');
var colW = (1728 - 11 * 24) / 12;
function span(n) { return Math.round(n * colW + (n - 1) * 24); }
table(gt, ['Box at HD', '16:9, 1920 x 1080', '9:16, 1080 x 1920'], [
['Type area', 'Title safe 96, 54 to 1824, 1026. 12 columns of ' + colW.toFixed(0) + ', gutter 24', 'Reel safe 80, 240 to 1000, 1500'],
['Title and section block', 'Left 96, width ' + span(8) + ', centred top to bottom', 'Left 80, width 920, centred in reel safe'],
['Plate over footage', 'Left 0, width 960, bleeds bottom. Top is 72 above the eyebrow', 'Full width, bleeds bottom. Top is 72 above the eyebrow'],
['Type on the plate', 'Left 96, width 800, last line ends 108 above the bottom', 'Left 80, width 920, last line ends at 1500'],
['End card block', 'Left 96, width ' + span(6) + ', columns 1 to 6, centred top to bottom', 'Left 80, width 920. Block, gap, and logo centred as one group in reel safe'],
['End card logo', 'White lockup 640 wide, one third of the frame, left ' + Math.round(TL.endL.logo.left) + ' on column 8, top ' + Math.round(TL.endL.logo.top) + ', fixed for any copy. Bars masked at x ' + Math.round(TL.endL.logo.field) + ', column 7', 'White lockup 560 wide, left 80, 120 below the services line. Top at ' + Math.round(TL.endP.logo.top) + ' for the copy shown'],
['Line window', 'Height 1.2 x type size, the line rises its full height', 'Same']
], 9);
var inner2 = add(inner, 'div', 'sec');
add(inner2, 'p', 'eyebrow', 'End card logo from the sting layer pack');
var lt = add(inner2, 'table', 'tight');
var rowsL = [TL.endL, TL.endP].map(function (m) {
var lg = m.logo, W = m.portrait ? 1080 : 1920, H = m.portrait ? 1920 : 1080, s = MC.layout(W, H), k = lg.width / s.width;
var nx = W / 2 + (s.left - W / 2) * k, ny = H / 2 + (s.top - H / 2) * k, dx = lg.left - nx, dy = lg.top - ny;
return [W + ' x ' + H, k.toFixed(4), dx.toFixed(1) + ', ' + dy.toFixed(1), (0.5 + dx / W).toFixed(4) + ', ' + (0.5 - dy / H).toFixed(4)];
});
table(lt, ['Format', 'Transform Size', 'Offset, px', 'Fusion Center X, Y'], rowsL, 1);
add(inner2, 'p', 'cap', 'Put the ten sting layers in one Fusion group, add one Transform after it with these values, and shift the sting so bar 5 leaves on the end card’s logo beat. UHD uses the same Size and Center. At 16:9 the logo position is fixed, so these values hold for any copy. At 9:16 a different line count moves the logo, so read its top from cards.html. At 16:9 the bars do not start off frame left, they would cross the type. Put a rectangle mask on the sting group from x ' + Math.round(TL.endL.logo.field) + ' to the frame edge, the mark field, and the bars travel in from its edge. At 9:16 they start off frame left as in the sting. At end card size, grow the CREATIVE matte two pixels down so its hairline foot is not clipped.');
})();
/* Build steps, never list, editor note. */
(function () {
var NOTE = '<p class="eyebrow">Editor note, for Jacob to confirm before this ships</p><ul>' + [
'End card contact is marathoncreative.co and hello@marathoncreative.co, no phone number. Confirm both.',
'Sample copy figures, five business days and a 30 minute call, are working copy, not promises.',
'The cover freeze of ' + one(C.COVER_HOLD) + ' beats, ' + sec(C.COVER_HOLD) + ', is a proposed token, <code>--mc-video-hold-cover</code>. It is not in tokens.json yet.',
'Card plates use the Travel token, four beats. The sting outro plate uses two, because its bars follow straight on.',
'No MP4 is rendered. The brief scopes motion to stills and a spec, INVENTORY item 18. cards.html renders any frame through window.__seek if a reference video is wanted.'
].map(function (s) { return '<li>' + s + '</li>'; }).join('') + '</ul>';
var inner = page();
opener(inner, 'Build it in Resolve', 'Eight steps, then check three frames', '');
var g = add(inner, 'div', 'g12');
var left = add(g, 'div', 'c7'), right = add(g, 'div', 'c5');
left.innerHTML = '<ol class="steps">' + [
'<strong>Get the breaks first.</strong> Open <code>cards.html</code> with your copy and the card name. Note the size it picked and where each line breaks. Every keyframe number follows from the line count.',
'<strong>Timeline.</strong> UHD at the job’s frame rate. Read the matching columns of the keyframe table on the card’s page and never mix rates.',
'<strong>Background.</strong> Solid Color generator in Marathon Navy, <code>' + MC.tok('--mc-navy-100').toUpperCase().replace('#', 'Hex ') + '</code>. On cards over footage, a Background node the size of the plate box on page 9, keyed Position X from minus its width to 0.',
'<strong>One Text+ per line.</strong> Never let Text+ wrap. Each line gets a Transform keyed on Center Y, behind a fixed Rectangle mask the size of its line window, the same mask method as the sting words.',
'<strong>The rule.</strong> A Background node at ' + C.TYPE.ruleW + ' x ' + C.TYPE.ruleH + ' HD in Red Bright, keyed Position X from minus its left edge plus its width, to 0.',
'<strong>Shape every key.</strong> Handles from page 4 of the sting spec. Pace for anything that travels, enter for type rising, exit for everything leaving.',
'<strong>Exit on one key.</strong> Every part starts its exit on the same frame and ends ' + one(MC.EXIT) + ' beats later. The end card has no exit.',
'<strong>Check three frames.</strong> Scrub to the card’s first, middle, and resolved beats and compare against the frames on its page. Then render the cover frame 0 still for the upload.'
].map(function (s) { return '<li>' + s + '</li>'; }).join('') + '</ol>';
right.innerHTML = '<p class="eyebrow">Files in this folder</p><ul class="files">' + [
'<code>renders/spec.pdf</code> this document',
'<code>renders/contact-*.png</code> one contact sheet per card',
'<code>renders/photo-*.png</code> the photo tests',
'<code>frames/</code> every style frame at full HD',
'<code>cards.html</code> the frame stage, any card, any copy, any beat',
'<code>photos/</code> the real photos used, copied from brief'
].map(function (s) { return '<li>' + s + '</li>'; }).join('') + '</ul>';
var n = add(inner, 'div', 'note');
n.innerHTML = NOTE;
inner = page();
opener(inner, 'Never', 'Six ways a card breaks, each shown on purpose', 'Each one breaks a rule in the brand guide or the motion grammar, and each is easy to do by accident in Resolve.');
var ng = add(inner, 'div', 'g12 sec');
[['w-noplate.png', 'Type on footage', 'No plate on the white marble wall and the headline is gone.', 'c4'],
['w-squeeze.png', 'Shrink to fit', 'Below the smallest fit step the card cannot be read on a phone. Cut the copy.', 'c4'],
['w-caps.png', 'All caps headline', 'Caps are for eyebrows only. Headlines are sentence case.', 'c4']].forEach(function (w) {
var d = add(ng, 'div', w[3] + ' never'); d.innerHTML = '<div style="position:relative"><img src="frames/' + w[0] + '" alt=""><span class="x">Never</span></div><p class="cap"><strong>' + w[1] + '.</strong> ' + w[2] + '</p>';
});
var ng2 = add(inner, 'div', 'g12 sec');
[['w-scale.png', 'Scale or blur', 'Type never scales, blurs, or bounces into place. It rises through its mask and stops.', 'c6'],
['w-redonphoto.png', 'Red on the shot', 'Marathon Red over a lot with a red boundary line. Neither reads, and the card looks like the annotation.', 'c3'],
['w-dissolve.png', 'Cross dissolve', 'Half a plate over half a shot. Graphics leave by travel and drop.', 'c3']].forEach(function (w) {
var d = add(ng2, 'div', w[3] + ' never'); d.innerHTML = '<div style="position:relative"><img src="frames/' + w[0] + '" alt=""><span class="x">Never</span></div><p class="cap"><strong>' + w[1] + '.</strong> ' + w[2] + '</p>';
});
})();
var N = pages.length;
pages.forEach(function (p, i) { p.querySelector('.pn').textContent = 'Page ' + (i + 1) + ' of ' + N; });
})();
timelines.js3 lines, 52.7 KB
/* Generated by shoot.mjs from cards.html. Do not edit. */
window.TIMELINES = {"titleL":{"card":"title","portrait":false,"timeline":{"card":"title","T":[{"id":"rule","label":"Red rule","kind":"rule","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":1,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":2,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup0","label":"Support line 1","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup1","label":"Support line 2","kind":"type","start":5,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"}],"resolved":8,"hold":52,"exitStart":60,"exitEnd":62,"freeze":0},"keyBeats":[1,2,3,5,8,59,61,62],"fit":{"eyebrow":{"size":24,"lines":1,"cut":false,"text":["Case study, Cangelosi"]},"head":{"size":104,"lines":2,"cut":false,"text":["One shoot day, a full","showroom library"]},"sup":{"size":40,"lines":2,"cut":false,"text":["Photo, video, and drone for a Houston stone and","tile showroom, delivered in five business days."]}},"words":26,"plate":{"top":0,"right":1920},"logo":null,"block":{"x":96,"y":314.5,"w":1144,"h":451}},"titleLlong":{"card":"title","portrait":false,"timeline":{"card":"title","T":[{"id":"rule","label":"Red rule","kind":"rule","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":1,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":2,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head2","label":"Headline line 3","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup0","label":"Support line 1","kind":"type","start":5,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup1","label":"Support line 2","kind":"type","start":6,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup2","label":"Support line 3","kind":"type","start":7,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"}],"resolved":10,"hold":107,"exitStart":117,"exitEnd":119,"freeze":0},"keyBeats":[1,2,3,6,10,116,118,119],"fit":{"eyebrow":{"size":24,"lines":1,"cut":false,"text":["Case study, Cangelosi stone and tile, Houston showroom"]},"head":{"size":64,"lines":3,"cut":false,"text":["One shoot day, and a full","showroom library for the website,","social, print, and the sales team"]},"sup":{"size":40,"lines":3,"cut":false,"text":["Photo, video, and drone for a Houston stone and","tile showroom, shot in one day, cut in DaVinci, and","delivered in five business days with every file named."]}},"words":53,"plate":{"top":0,"right":1920},"logo":null,"block":{"x":96,"y":297,"w":1144,"h":486}},"titleP":{"card":"title","portrait":true,"timeline":{"card":"title","T":[{"id":"rule","label":"Red rule","kind":"rule","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":1,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":2,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head2","label":"Headline line 3","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup0","label":"Support line 1","kind":"type","start":5,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup1","label":"Support line 2","kind":"type","start":6,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup2","label":"Support line 3","kind":"type","start":7,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"}],"resolved":10,"hold":52,"exitStart":62,"exitEnd":64,"freeze":0},"keyBeats":[1,3,6,10,63],"fit":{"eyebrow":{"size":28,"lines":1,"cut":false,"text":["Case study, Cangelosi"]},"head":{"size":96,"lines":3,"cut":false,"text":["One shoot","day, a full","showroom library"]},"sup":{"size":40,"lines":3,"cut":false,"text":["Photo, video, and drone for a","Houston stone and tile showroom,","delivered in five business days."]}},"words":26,"plate":{"top":0,"right":1080},"logo":null,"block":{"x":80,"y":574,"w":920,"h":592}},"titlePlong":{"card":"title","portrait":true,"timeline":{"card":"title","T":[{"id":"rule","label":"Red rule","kind":"rule","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":1,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":2,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head2","label":"Headline line 3","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head3","label":"Headline line 4","kind":"type","start":5,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup0","label":"Support line 1","kind":"type","start":6,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup1","label":"Support line 2","kind":"type","start":7,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup2","label":"Support line 3","kind":"type","start":8,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"}],"resolved":11,"hold":107,"exitStart":118,"exitEnd":120,"freeze":0},"keyBeats":[1,3,7,11,119],"fit":{"eyebrow":{"size":28,"lines":2,"cut":false,"text":["Case study, Cangelosi stone","and tile, Houston showroom"]},"head":{"size":72,"lines":4,"cut":false,"text":["One shoot day, and a","full showroom library","for the website, social,","print, and the sales team"]},"sup":{"size":34,"lines":3,"cut":false,"text":["Photo, video, and drone for a Houston stone and","tile showroom, shot in one day, cut in DaVinci, and","delivered in five business days with every file named."]}},"words":53,"plate":{"top":0,"right":1080},"logo":null,"block":{"x":80,"y":565.5,"w":920,"h":609}},"sectionL":{"card":"section","portrait":false,"timeline":{"card":"section","T":[{"id":"rule","label":"Progress rule","kind":"rule","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":1,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":2,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"}],"resolved":6,"hold":18,"exitStart":24,"exitEnd":26,"freeze":0},"keyBeats":[1,2,3,4,6,23,25,26],"fit":{"eyebrow":{"size":24,"lines":1,"cut":false,"text":["Part two of four"]},"head":{"size":104,"lines":2,"cut":false,"text":["Strategy before","the shoot"]}},"words":8,"plate":{"top":0,"right":1920},"logo":null,"block":{"x":96,"y":378.5,"w":1144,"h":323}},"sectionLlong":{"card":"section","portrait":false,"timeline":{"card":"section","T":[{"id":"rule","label":"Progress rule","kind":"rule","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":1,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":2,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head2","label":"Headline line 3","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"}],"resolved":7,"hold":38,"exitStart":45,"exitEnd":47,"freeze":0},"keyBeats":[1,2,3,5,7,44,46,47],"fit":{"eyebrow":{"size":24,"lines":1,"cut":false,"text":["Part two of four, planning"]},"head":{"size":72,"lines":3,"cut":false,"text":["Strategy before the shoot,","because the shot list","decides what the edit can be"]}},"words":19,"plate":{"top":0,"right":1920},"logo":null,"block":{"x":96,"y":374.5,"w":1144,"h":331}},"sectionP":{"card":"section","portrait":true,"timeline":{"card":"section","T":[{"id":"rule","label":"Progress rule","kind":"rule","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":1,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":2,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"}],"resolved":6,"hold":18,"exitStart":24,"exitEnd":26,"freeze":0},"keyBeats":[1,3,4,6,25],"fit":{"eyebrow":{"size":28,"lines":1,"cut":false,"text":["Part two of four"]},"head":{"size":96,"lines":2,"cut":false,"text":["Strategy before","the shoot"]}},"words":8,"plate":{"top":0,"right":1080},"logo":null,"block":{"x":80,"y":714,"w":920,"h":312}},"sectionPlong":{"card":"section","portrait":true,"timeline":{"card":"section","T":[{"id":"rule","label":"Progress rule","kind":"rule","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":1,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":2,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head2","label":"Headline line 3","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head3","label":"Headline line 4","kind":"type","start":5,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"}],"resolved":8,"hold":38,"exitStart":46,"exitEnd":48,"freeze":0},"keyBeats":[1,3,5,8,47],"fit":{"eyebrow":{"size":28,"lines":1,"cut":false,"text":["Part two of four, planning"]},"head":{"size":84,"lines":4,"cut":false,"text":["Strategy before the","shoot, because the","shot list decides","what the edit can be"]}},"words":19,"plate":{"top":0,"right":1080},"logo":null,"block":{"x":80,"y":639,"w":920,"h":462}},"endL":{"card":"end","portrait":false,"timeline":{"card":"end","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"rule","label":"Red rule","kind":"rule","start":2,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":5,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head2","label":"Headline line 3","kind":"type","start":6,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"url","label":"Web address","kind":"type","start":7,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"email","label":"Email","kind":"type","start":8,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"services","label":"Services line","kind":"type","start":9,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"logo-bar5","label":"Logo, Bar 5, bottom","kind":"logo","start":7,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-bar4","label":"Logo, Bar 4","kind":"logo","start":8,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-bar3","label":"Logo, Bar 3","kind":"logo","start":9,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-bar2","label":"Logo, Bar 2","kind":"logo","start":10,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-bar1","label":"Logo, Bar 1, top","kind":"logo","start":11,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-name","label":"Logo, MARATHON","kind":"logo","start":12,"dur":3,"ease":"--mc-ease-enter","move":"Position Y, rises through its mask"},{"id":"logo-descriptor","label":"Logo, CREATIVE","kind":"logo","start":13,"dur":3,"ease":"--mc-ease-enter","move":"Position Y, rises through its mask"}],"resolved":16,"hold":24,"exitStart":null,"exitEnd":null,"freeze":0,"logoStart":7},"keyBeats":[1,2,4,6,11,13,15,16],"fit":{"eyebrow":{"size":24,"lines":1,"cut":false,"text":["Next step"]},"head":{"size":76,"lines":3,"cut":false,"text":["Book a strategy","call. We plan it,","shoot it, and run it."]},"url":{"size":56,"lines":1,"cut":false,"text":["marathoncreative.co"]},"email":{"size":34,"lines":1,"cut":false,"text":["hello@marathoncreative.co"]},"services":{"size":24,"lines":2,"cut":false,"text":["Photo, video, drone, strategy, social, paid ads,","email and SMS, CRM, branding, web, and print."]}},"words":14,"plate":{"top":0,"right":1920},"logo":{"left":1118,"top":480.94428184880445,"width":640,"height":118.11143630239108,"s":3.534154287923132,"field":972,"travel":328.07962891379975,"clear":51.06852946048925},"block":{"x":96,"y":231.5,"w":852,"h":617}},"endLlong":{"card":"end","portrait":false,"timeline":{"card":"end","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"rule","label":"Red rule","kind":"rule","start":2,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":5,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head2","label":"Headline line 3","kind":"type","start":6,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head3","label":"Headline line 4","kind":"type","start":7,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head4","label":"Headline line 5","kind":"type","start":8,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"url","label":"Web address","kind":"type","start":9,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"email","label":"Email","kind":"type","start":10,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"services","label":"Services line","kind":"type","start":11,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"logo-bar5","label":"Logo, Bar 5, bottom","kind":"logo","start":9,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-bar4","label":"Logo, Bar 4","kind":"logo","start":10,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-bar3","label":"Logo, Bar 3","kind":"logo","start":11,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-bar2","label":"Logo, Bar 2","kind":"logo","start":12,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-bar1","label":"Logo, Bar 1, top","kind":"logo","start":13,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-name","label":"Logo, MARATHON","kind":"logo","start":14,"dur":3,"ease":"--mc-ease-enter","move":"Position Y, rises through its mask"},{"id":"logo-descriptor","label":"Logo, CREATIVE","kind":"logo","start":15,"dur":3,"ease":"--mc-ease-enter","move":"Position Y, rises through its mask"}],"resolved":18,"hold":24,"exitStart":null,"exitEnd":null,"freeze":0,"logoStart":9},"keyBeats":[1,2,4,6,13,15,17,18],"fit":{"eyebrow":{"size":24,"lines":1,"cut":false,"text":["Next step, a 30 minute call with Jacob"]},"head":{"size":60,"lines":5,"cut":false,"text":["Book a strategy call. We","plan the campaign, shoot","the photo and video,","and run the ads, the","CRM, and the reporting."]},"url":{"size":56,"lines":1,"cut":false,"text":["marathoncreative.co"]},"email":{"size":34,"lines":1,"cut":false,"text":["hello@marathoncreative.co"]},"services":{"size":24,"lines":2,"cut":false,"text":["Photo, video, drone, strategy, social, paid ads,","email and SMS, CRM, branding, web, and print."]}},"words":30,"plate":{"top":0,"right":1920},"logo":{"left":1118,"top":480.94428184880445,"width":640,"height":118.11143630239108,"s":3.534154287923132,"field":972,"travel":328.07962891379975,"clear":51.06852946048925},"block":{"x":96,"y":194,"w":852,"h":692}},"endP":{"card":"end","portrait":true,"timeline":{"card":"end","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"rule","label":"Red rule","kind":"rule","start":2,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":5,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head2","label":"Headline line 3","kind":"type","start":6,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"url","label":"Web address","kind":"type","start":7,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"email","label":"Email","kind":"type","start":8,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"services","label":"Services line","kind":"type","start":9,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"logo-bar5","label":"Logo, Bar 5, bottom","kind":"logo","start":7,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-bar4","label":"Logo, Bar 4","kind":"logo","start":8,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-bar3","label":"Logo, Bar 3","kind":"logo","start":9,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-bar2","label":"Logo, Bar 2","kind":"logo","start":10,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-bar1","label":"Logo, Bar 1, top","kind":"logo","start":11,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-name","label":"Logo, MARATHON","kind":"logo","start":12,"dur":3,"ease":"--mc-ease-enter","move":"Position Y, rises through its mask"},{"id":"logo-descriptor","label":"Logo, CREATIVE","kind":"logo","start":13,"dur":3,"ease":"--mc-ease-enter","move":"Position Y, rises through its mask"}],"resolved":16,"hold":24,"exitStart":null,"exitEnd":null,"freeze":0,"logoStart":7},"keyBeats":[2,5,11,13,16],"fit":{"eyebrow":{"size":28,"lines":1,"cut":false,"text":["Next step"]},"head":{"size":88,"lines":3,"cut":false,"text":["Book a strategy","call. We plan it,","shoot it, and run it."]},"url":{"size":52,"lines":1,"cut":false,"text":["marathoncreative.co"]},"email":{"size":34,"lines":1,"cut":false,"text":["hello@marathoncreative.co"]},"services":{"size":24,"lines":2,"cut":false,"text":["Photo, video, drone, strategy, social, paid ads,","email and SMS, CRM, branding, web, and print."]}},"words":14,"plate":{"top":0,"right":1080},"logo":{"left":80,"top":1205.8262466177039,"width":560,"height":103.34750676459218,"s":3.0923850019327404,"travel":239.31967529957478,"clear":44.6849632779281},"block":{"x":80,"y":430.82624661770393,"w":920,"h":655}},"endPlong":{"card":"end","portrait":true,"timeline":{"card":"end","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"rule","label":"Red rule","kind":"rule","start":2,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":5,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head2","label":"Headline line 3","kind":"type","start":6,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head3","label":"Headline line 4","kind":"type","start":7,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head4","label":"Headline line 5","kind":"type","start":8,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"url","label":"Web address","kind":"type","start":9,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"email","label":"Email","kind":"type","start":10,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"services","label":"Services line","kind":"type","start":11,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"logo-bar5","label":"Logo, Bar 5, bottom","kind":"logo","start":9,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-bar4","label":"Logo, Bar 4","kind":"logo","start":10,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-bar3","label":"Logo, Bar 3","kind":"logo","start":11,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-bar2","label":"Logo, Bar 2","kind":"logo","start":12,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-bar1","label":"Logo, Bar 1, top","kind":"logo","start":13,"dur":4,"ease":"--mc-ease-pace","move":"Position X, off frame left to rest"},{"id":"logo-name","label":"Logo, MARATHON","kind":"logo","start":14,"dur":3,"ease":"--mc-ease-enter","move":"Position Y, rises through its mask"},{"id":"logo-descriptor","label":"Logo, CREATIVE","kind":"logo","start":15,"dur":3,"ease":"--mc-ease-enter","move":"Position Y, rises through its mask"}],"resolved":18,"hold":24,"exitStart":null,"exitEnd":null,"freeze":0,"logoStart":9},"keyBeats":[2,5,13,15,18],"fit":{"eyebrow":{"size":28,"lines":1,"cut":false,"text":["Next step, a 30 minute call with Jacob"]},"head":{"size":68,"lines":5,"cut":false,"text":["Book a strategy call. We","plan the campaign, shoot","the photo and video,","and run the ads, the","CRM, and the reporting."]},"url":{"size":52,"lines":1,"cut":false,"text":["marathoncreative.co"]},"email":{"size":34,"lines":1,"cut":false,"text":["hello@marathoncreative.co"]},"services":{"size":24,"lines":2,"cut":false,"text":["Photo, video, drone, strategy, social, paid ads,","email and SMS, CRM, branding, web, and print."]}},"words":30,"plate":{"top":0,"right":1080},"logo":{"left":80,"top":1245.3262466177039,"width":560,"height":103.34750676459218,"s":3.0923850019327404,"travel":239.31967529957478,"clear":44.6849632779281},"block":{"x":80,"y":391.32624661770393,"w":920,"h":734}},"photoL":{"card":"photo","portrait":false,"timeline":{"card":"photo","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"rule","label":"Red rule","kind":"rule","start":2,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":5,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head2","label":"Headline line 3","kind":"type","start":6,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup0","label":"Support line 1","kind":"type","start":7,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup1","label":"Support line 2","kind":"type","start":8,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"}],"resolved":11,"hold":44,"exitStart":55,"exitEnd":57,"freeze":0},"keyBeats":[1,2,3,4,6,11,56,57],"fit":{"eyebrow":{"size":24,"lines":1,"cut":false,"text":["Cangelosi, showroom film"]},"head":{"size":80,"lines":3,"cut":false,"text":["Every slab","shot the way it","looks in person"]},"sup":{"size":34,"lines":2,"cut":false,"text":["Photo and video for a Houston","stone and tile showroom."]}},"words":22,"plate":{"top":431,"right":960},"logo":null,"block":{"x":96,"y":503,"w":800,"h":469}},"photoLlong":{"card":"photo","portrait":false,"timeline":{"card":"photo","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"rule","label":"Red rule","kind":"rule","start":2,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":5,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head2","label":"Headline line 3","kind":"type","start":6,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head3","label":"Headline line 4","kind":"type","start":7,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head4","label":"Headline line 5","kind":"type","start":8,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup0","label":"Support line 1","kind":"type","start":9,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup1","label":"Support line 2","kind":"type","start":10,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup2","label":"Support line 3","kind":"type","start":11,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"}],"resolved":14,"hold":88,"exitStart":102,"exitEnd":104,"freeze":0},"keyBeats":[1,2,3,4,6,14,103,104],"fit":{"eyebrow":{"size":24,"lines":3,"cut":false,"text":["Case study, Rosehill","Reserve master-planned","community, Greater Houston"]},"head":{"size":64,"lines":5,"cut":false,"text":["A master-planned","community mapped","from the air, with every","amenity, lake, and","retail pad in one flight"]},"sup":{"size":34,"lines":3,"cut":false,"text":["Aerial photo and video for the community","launch, cut for the website, the sales","center screens, and paid social."]}},"words":44,"plate":{"top":234,"right":960},"logo":null,"block":{"x":96,"y":306,"w":800,"h":666}},"photoP":{"card":"photo","portrait":true,"timeline":{"card":"photo","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"rule","label":"Red rule","kind":"rule","start":2,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":5,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head2","label":"Headline line 3","kind":"type","start":6,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup0","label":"Support line 1","kind":"type","start":7,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup1","label":"Support line 2","kind":"type","start":8,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"}],"resolved":11,"hold":44,"exitStart":55,"exitEnd":57,"freeze":0},"keyBeats":[1,3,7,11,56],"fit":{"eyebrow":{"size":28,"lines":1,"cut":false,"text":["Cangelosi, showroom film"]},"head":{"size":88,"lines":3,"cut":false,"text":["Every slab","shot the way it","looks in person"]},"sup":{"size":36,"lines":2,"cut":false,"text":["Photo and video for a Houston","stone and tile showroom."]}},"words":22,"plate":{"top":923,"right":1080},"logo":null,"block":{"x":80,"y":995,"w":920,"h":505}},"photoPlong":{"card":"photo","portrait":true,"timeline":{"card":"photo","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"rule","label":"Red rule","kind":"rule","start":2,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":5,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head2","label":"Headline line 3","kind":"type","start":6,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head3","label":"Headline line 4","kind":"type","start":7,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup0","label":"Support line 1","kind":"type","start":8,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup1","label":"Support line 2","kind":"type","start":9,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup2","label":"Support line 3","kind":"type","start":10,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"}],"resolved":13,"hold":88,"exitStart":101,"exitEnd":103,"freeze":0},"keyBeats":[1,3,8,13,102],"fit":{"eyebrow":{"size":28,"lines":3,"cut":false,"text":["Case study, Rosehill","Reserve master-planned","community, Greater Houston"]},"head":{"size":60,"lines":4,"cut":false,"text":["A master-planned","community mapped from the","air, with every amenity, lake,","and retail pad in one flight"]},"sup":{"size":36,"lines":3,"cut":false,"text":["Aerial photo and video for the community","launch, cut for the website, the sales","center screens, and paid social."]}},"words":44,"plate":{"top":820,"right":1080},"logo":null,"block":{"x":80,"y":892,"w":920,"h":608}},"coverL":{"card":"cover","portrait":false,"timeline":{"card":"cover","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"rule","label":"Red rule","kind":"rule","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head0","label":"Headline line 1","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head1","label":"Headline line 2","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head2","label":"Headline line 3","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"}],"resolved":0,"hold":6,"exitStart":6,"exitEnd":8,"freeze":6},"keyBeats":[0,6,7,8,14],"fit":{"eyebrow":{"size":30,"lines":1,"cut":false,"text":["Behind the shoot"]},"head":{"size":96,"lines":3,"cut":false,"text":["Inside the","Cangelosi","showroom"]}},"words":7,"plate":{"top":500,"right":960},"logo":null,"block":{"x":96,"y":572,"w":800,"h":400}},"coverLlong":{"card":"cover","portrait":false,"timeline":{"card":"cover","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"rule","label":"Red rule","kind":"rule","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head0","label":"Headline line 1","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head1","label":"Headline line 2","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head2","label":"Headline line 3","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head3","label":"Headline line 4","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"}],"resolved":0,"hold":6,"exitStart":6,"exitEnd":8,"freeze":6},"keyBeats":[0,6,7,8,14],"fit":{"eyebrow":{"size":30,"lines":1,"cut":false,"text":["Drone, behind the shoot"]},"head":{"size":64,"lines":4,"cut":false,"text":["How we flew Rosehill","Reserve for the","launch, the website,","and the sales center"]}},"words":18,"plate":{"top":532,"right":960},"logo":null,"block":{"x":96,"y":604,"w":800,"h":368}},"coverP":{"card":"cover","portrait":true,"timeline":{"card":"cover","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"rule","label":"Red rule","kind":"rule","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head0","label":"Headline line 1","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head1","label":"Headline line 2","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head2","label":"Headline line 3","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"}],"resolved":0,"hold":6,"exitStart":6,"exitEnd":8,"freeze":6},"keyBeats":[0,6,7,8,14],"fit":{"eyebrow":{"size":30,"lines":1,"cut":false,"text":["Behind the shoot"]},"head":{"size":112,"lines":3,"cut":false,"text":["Inside the","Cangelosi","showroom"]}},"words":7,"plate":{"top":980,"right":1080},"logo":null,"block":{"x":80,"y":1052,"w":920,"h":448}},"coverPlong":{"card":"cover","portrait":true,"timeline":{"card":"cover","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"rule","label":"Red rule","kind":"rule","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head0","label":"Headline line 1","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head1","label":"Headline line 2","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head2","label":"Headline line 3","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head3","label":"Headline line 4","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"}],"resolved":0,"hold":6,"exitStart":6,"exitEnd":8,"freeze":6},"keyBeats":[0,6,7,8,14],"fit":{"eyebrow":{"size":30,"lines":1,"cut":false,"text":["Drone, behind the shoot"]},"head":{"size":80,"lines":4,"cut":false,"text":["How we flew Rosehill","Reserve for the","launch, the website,","and the sales center"]}},"words":18,"plate":{"top":996,"right":1080},"logo":null,"block":{"x":80,"y":1068,"w":920,"h":432}},"photoL-interior":{"card":"photo","portrait":false,"timeline":{"card":"photo","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"rule","label":"Red rule","kind":"rule","start":2,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":5,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head2","label":"Headline line 3","kind":"type","start":6,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup0","label":"Support line 1","kind":"type","start":7,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup1","label":"Support line 2","kind":"type","start":8,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"}],"resolved":11,"hold":44,"exitStart":55,"exitEnd":57,"freeze":0},"keyBeats":[1,2,3,4,6,11,56,57],"fit":{"eyebrow":{"size":24,"lines":1,"cut":false,"text":["Cangelosi, showroom film"]},"head":{"size":80,"lines":3,"cut":false,"text":["Every slab","shot the way it","looks in person"]},"sup":{"size":34,"lines":2,"cut":false,"text":["Photo and video for a Houston","stone and tile showroom."]}},"words":22,"plate":{"top":431,"right":960},"logo":null,"block":{"x":96,"y":503,"w":800,"h":469}},"coverP-interior":{"card":"cover","portrait":true,"timeline":{"card":"cover","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"rule","label":"Red rule","kind":"rule","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head0","label":"Headline line 1","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head1","label":"Headline line 2","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head2","label":"Headline line 3","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"}],"resolved":0,"hold":6,"exitStart":6,"exitEnd":8,"freeze":6},"keyBeats":[0,6,7,8,14],"fit":{"eyebrow":{"size":30,"lines":1,"cut":false,"text":["Behind the shoot"]},"head":{"size":112,"lines":3,"cut":false,"text":["Inside the","Cangelosi","showroom"]}},"words":7,"plate":{"top":980,"right":1080},"logo":null,"block":{"x":80,"y":1052,"w":920,"h":448}},"photoL-aerial":{"card":"photo","portrait":false,"timeline":{"card":"photo","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"rule","label":"Red rule","kind":"rule","start":2,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":5,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head2","label":"Headline line 3","kind":"type","start":6,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup0","label":"Support line 1","kind":"type","start":7,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup1","label":"Support line 2","kind":"type","start":8,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"}],"resolved":11,"hold":36,"exitStart":47,"exitEnd":49,"freeze":0},"keyBeats":[1,2,3,4,6,11,48,49],"fit":{"eyebrow":{"size":24,"lines":1,"cut":false,"text":["Rosehill Reserve, drone"]},"head":{"size":72,"lines":3,"cut":false,"text":["A master-planned","community,","mapped from the air"]},"sup":{"size":34,"lines":2,"cut":false,"text":["Aerial photo and video for","the community launch."]}},"words":18,"plate":{"top":456,"right":960},"logo":null,"block":{"x":96,"y":528,"w":800,"h":444}},"coverP-aerial":{"card":"cover","portrait":true,"timeline":{"card":"cover","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"rule","label":"Red rule","kind":"rule","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head0","label":"Headline line 1","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head1","label":"Headline line 2","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head2","label":"Headline line 3","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"}],"resolved":0,"hold":6,"exitStart":6,"exitEnd":8,"freeze":6},"keyBeats":[0,6,7,8,14],"fit":{"eyebrow":{"size":30,"lines":1,"cut":false,"text":["Drone"]},"head":{"size":112,"lines":3,"cut":false,"text":["Rosehill","Reserve","from the air"]}},"words":6,"plate":{"top":980,"right":1080},"logo":null,"block":{"x":80,"y":1052,"w":920,"h":448}},"photoL-portrait":{"card":"photo","portrait":false,"timeline":{"card":"photo","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"rule","label":"Red rule","kind":"rule","start":2,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":5,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head2","label":"Headline line 3","kind":"type","start":6,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup0","label":"Support line 1","kind":"type","start":7,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"}],"resolved":10,"hold":38,"exitStart":48,"exitEnd":50,"freeze":0},"keyBeats":[1,2,3,4,6,10,49,50],"fit":{"eyebrow":{"size":24,"lines":1,"cut":false,"text":["Cangelosi, product detail"]},"head":{"size":80,"lines":3,"cut":false,"text":["Sample racks, lit","for the website","and print"]},"sup":{"size":34,"lines":1,"cut":false,"text":["Tight product frames from the same shoot day."]}},"words":19,"plate":{"top":475,"right":960},"logo":null,"block":{"x":96,"y":547,"w":800,"h":425}},"coverP-portrait":{"card":"cover","portrait":true,"timeline":{"card":"cover","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"rule","label":"Red rule","kind":"rule","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head0","label":"Headline line 1","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head1","label":"Headline line 2","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"}],"resolved":0,"hold":6,"exitStart":6,"exitEnd":8,"freeze":6},"keyBeats":[0,6,7,8,14],"fit":{"eyebrow":{"size":30,"lines":1,"cut":false,"text":["Photo tip"]},"head":{"size":112,"lines":2,"cut":false,"text":["How we light","a sample rack"]}},"words":8,"plate":{"top":1092,"right":1080},"logo":null,"block":{"x":80,"y":1164,"w":920,"h":336}},"photoL-boundary":{"card":"photo","portrait":false,"timeline":{"card":"photo","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"rule","label":"Red rule","kind":"rule","start":2,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":5,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head2","label":"Headline line 3","kind":"type","start":6,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup0","label":"Support line 1","kind":"type","start":7,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup1","label":"Support line 2","kind":"type","start":8,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"}],"resolved":11,"hold":47,"exitStart":58,"exitEnd":60,"freeze":0},"keyBeats":[1,2,3,4,6,11,59,60],"fit":{"eyebrow":{"size":24,"lines":1,"cut":false,"text":["Land listing, drone"]},"head":{"size":80,"lines":3,"cut":false,"text":["The lot line,","drawn on the shot","buyers see first"]},"sup":{"size":34,"lines":2,"cut":false,"text":["Wooded acreage on the golf","course, boundary marked in post."]}},"words":23,"plate":{"top":431,"right":960},"logo":null,"block":{"x":96,"y":503,"w":800,"h":469}},"coverP-boundary":{"card":"cover","portrait":true,"timeline":{"card":"cover","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"rule","label":"Red rule","kind":"rule","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head0","label":"Headline line 1","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head1","label":"Headline line 2","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"}],"resolved":0,"hold":6,"exitStart":6,"exitEnd":8,"freeze":6},"keyBeats":[0,6,7,8,14],"fit":{"eyebrow":{"size":30,"lines":1,"cut":false,"text":["Land listings"]},"head":{"size":112,"lines":2,"cut":false,"text":["Draw the lot","line, sell the lot"]}},"words":9,"plate":{"top":1092,"right":1080},"logo":null,"block":{"x":80,"y":1164,"w":920,"h":336}},"photoL-bright":{"card":"photo","portrait":false,"timeline":{"card":"photo","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"rule","label":"Red rule","kind":"rule","start":2,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":5,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head2","label":"Headline line 3","kind":"type","start":6,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup0","label":"Support line 1","kind":"type","start":7,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup1","label":"Support line 2","kind":"type","start":8,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"}],"resolved":11,"hold":44,"exitStart":55,"exitEnd":57,"freeze":0},"keyBeats":[1,2,3,4,6,11,56,57],"fit":{"eyebrow":{"size":24,"lines":1,"cut":false,"text":["Cangelosi, brand wall"]},"head":{"size":72,"lines":3,"cut":false,"text":["White marble,","exposed for the","stone, not the lights"]},"sup":{"size":34,"lines":2,"cut":false,"text":["Retouched stills and a 30","second cut from one day."]}},"words":22,"plate":{"top":456,"right":960},"logo":null,"block":{"x":96,"y":528,"w":800,"h":444}},"coverP-bright":{"card":"cover","portrait":true,"timeline":{"card":"cover","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"rule","label":"Red rule","kind":"rule","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head0","label":"Headline line 1","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head1","label":"Headline line 2","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"}],"resolved":0,"hold":6,"exitStart":6,"exitEnd":8,"freeze":6},"keyBeats":[0,6,7,8,14],"fit":{"eyebrow":{"size":30,"lines":1,"cut":false,"text":["Photo tip"]},"head":{"size":112,"lines":2,"cut":false,"text":["How to shoot","white marble"]}},"words":7,"plate":{"top":1092,"right":1080},"logo":null,"block":{"x":80,"y":1164,"w":920,"h":336}},"photoL-retail":{"card":"photo","portrait":false,"timeline":{"card":"photo","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":0,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"rule","label":"Red rule","kind":"rule","start":2,"dur":4,"ease":"--mc-ease-pace","move":"X, from off frame left"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":3,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head0","label":"Headline line 1","kind":"type","start":4,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head1","label":"Headline line 2","kind":"type","start":5,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"head2","label":"Headline line 3","kind":"type","start":6,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"},{"id":"sup0","label":"Support line 1","kind":"type","start":7,"dur":3,"ease":"--mc-ease-enter","move":"Y, rises through its mask"}],"resolved":10,"hold":38,"exitStart":48,"exitEnd":50,"freeze":0},"keyBeats":[1,2,3,4,6,10,49,50],"fit":{"eyebrow":{"size":24,"lines":1,"cut":false,"text":["Rosehill Reserve, retail"]},"head":{"size":80,"lines":3,"cut":false,"text":["The entry","monument and","the retail behind it"]},"sup":{"size":34,"lines":1,"cut":false,"text":["Drone stills for leasing and the community site."]}},"words":19,"plate":{"top":475,"right":960},"logo":null,"block":{"x":96,"y":547,"w":800,"h":425}},"coverP-retail":{"card":"cover","portrait":true,"timeline":{"card":"cover","T":[{"id":"plate","label":"Navy plate","kind":"plate","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"rule","label":"Red rule","kind":"rule","start":-99,"dur":1,"ease":"--mc-ease-pace","move":"At rest from frame 0"},{"id":"eyebrow","label":"Eyebrow","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head0","label":"Headline line 1","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"},{"id":"head1","label":"Headline line 2","kind":"type","start":-99,"dur":1,"ease":"--mc-ease-enter","move":"At rest from frame 0"}],"resolved":0,"hold":6,"exitStart":6,"exitEnd":8,"freeze":6},"keyBeats":[0,6,7,8,14],"fit":{"eyebrow":{"size":30,"lines":1,"cut":false,"text":["Drone"]},"head":{"size":112,"lines":2,"cut":false,"text":["Shooting retail","for leasing"]}},"words":5,"plate":{"top":1092,"right":1080},"logo":null,"block":{"x":80,"y":1164,"w":920,"h":336}}};
shoot.mjs85 lines, 5.4 KB
// Renders every style frame in this piece from cards.html, and writes timelines.js for the contact sheets and spec.
// Drives the installed Chrome in a throwaway profile, never a running Chrome. Run from anywhere:
// node build/motion-cards/v/r01/shoot.mjs
// Stills only. The brief (INVENTORY item 18) scopes motion to direction Philip builds in Resolve, not rendered video.
import { chromium } from 'playwright-core';
import fs from 'node:fs'; import path from 'node:path'; import { fileURLToPath } from 'node:url';
const R = path.dirname(fileURLToPath(import.meta.url));
const F = path.join(R, 'frames'); fs.mkdirSync(F, { recursive: true });
// chromium.launch gives a fresh temporary profile that is deleted on close.
const browser = await chromium.launch({ executablePath: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome', headless: true });
const L = [1920, 1080], P = [1080, 1920], G = [1080, 1440];
async function shot(query, out, size, wantMeta) {
const ctx = await browser.newContext({ viewport: { width: size[0], height: size[1] }, deviceScaleFactor: 1 });
const page = await ctx.newPage();
await page.goto('file://' + path.join(R, 'cards.html') + '?' + query, { waitUntil: 'networkidle' });
await page.evaluate(async () => { await window.__booting; await window.__ready; });
let meta = null;
if (wantMeta) meta = await page.evaluate(() => JSON.parse(JSON.stringify(window.CARD, (k, v) => (k === 'part' ? undefined : v))));
if (out) await page.screenshot({ path: path.join(F, out) });
await ctx.close();
return meta;
}
async function pool(jobs, n = 5) {
let i = 0; const run = async () => { while (i < jobs.length) { const j = jobs[i++]; await shot(...j); } };
await Promise.all(Array.from({ length: n }, run));
}
// Phase 1. Timelines for every card and format, read from the page so line counts are real.
const meta = {};
for (const c of ['title', 'section', 'end', 'photo', 'cover']) {
for (const [k, sz] of [['L', L], ['P', P]]) {
meta[c + k] = await shot('card=' + c, null, sz, true);
meta[c + k + 'long'] = await shot('card=' + c + '&long=1', null, sz, true);
}
}
const PH = { interior: 'mc_retouched_05.jpg', aerial: 'mc_rosehill_16.jpg', portrait: 'mc_retouched_08.jpg', boundary: 'mc_fullres_12.jpg', bright: 'mc_retouched_04.jpg', retail: 'mc_rosehill_17.jpg' };
for (const [k, f] of Object.entries(PH)) {
meta['photoL-' + k] = await shot('card=photo&photo=' + f, null, L, true);
meta['coverP-' + k] = await shot('card=cover&photo=' + f, null, P, true);
}
fs.writeFileSync(path.join(R, 'timelines.js'), '/* Generated by shoot.mjs from cards.html. Do not edit. */\nwindow.TIMELINES = ' + JSON.stringify(meta) + ';\n');
// Phase 2. Frames.
const jobs = [];
const pad = b => (b < 0 ? 'm' + -b : String(b).padStart(2, '0'));
for (const c of ['title', 'section', 'end', 'photo', 'cover']) {
for (const [k, sz] of [['L', L], ['P', P]]) {
const m = meta[c + k];
for (const b of m.keyBeats) jobs.push(['card=' + c + '&b=' + b, `${c}-${k}-b${pad(b)}.png`, sz]);
const r = m.timeline.resolved;
jobs.push(['card=' + c + '&b=' + r, `${c}-${k}-rest.png`, sz]);
jobs.push(['card=' + c + '&b=' + r + '&guides=1', `${c}-${k}-guides.png`, sz]);
jobs.push(['card=' + c + '&long=1&b=' + meta[c + k + 'long'].timeline.resolved, `${c}-${k}-long.png`, sz]);
jobs.push(['card=' + c + '&long=1&b=' + meta[c + k + 'long'].timeline.resolved + '&guides=1', `${c}-${k}-long-guides.png`, sz]);
}
}
// Photo robustness. Every photo-bearing card on every test photo, at rest.
for (const [k, f] of Object.entries(PH)) {
jobs.push(['card=photo&photo=' + f + '&b=' + meta['photoL-' + k].timeline.resolved, `ph-${k}-photo-L.png`, L]);
jobs.push(['card=photo&photo=' + f + '&b=40', `ph-${k}-photo-P.png`, P]);
jobs.push(['card=cover&photo=' + f + '&b=0', `ph-${k}-cover-P.png`, P]);
jobs.push(['card=cover&photo=' + f + '&b=0&grid=1', `ph-${k}-cover-G.png`, G]);
jobs.push(['card=cover&photo=' + f + '&b=0', `ph-${k}-cover-L.png`, L]);
jobs.push(['card=end&photo=' + f + '&b=1', `ph-${k}-end-L.png`, L]);
jobs.push(['card=cover&photo=' + f + '&b=0&long=1', `ph-${k}-cover-P-long.png`, P]);
jobs.push(['card=photo&photo=' + f + '&b=40&long=1', `ph-${k}-photo-L-long.png`, L]);
}
// Reel handoff on the aerial and the portrait, every beat through the exit.
for (const f of ['mc_rosehill_16.jpg', 'mc_retouched_08.jpg']) {
const tag = f.includes('rosehill') ? 'aerial' : 'portrait';
for (const b of [0, 6, 7, 8, 14]) { jobs.push([`card=cover&photo=${f}&b=${b}`, `hand-${tag}-P-b${pad(b)}.png`, P]); jobs.push([`card=cover&photo=${f}&b=${b}`, `hand-${tag}-L-b${pad(b)}.png`, L]); }
jobs.push([`card=cover&photo=${f}&b=0&grid=1`, `hand-${tag}-G.png`, G]);
jobs.push([`card=cover&photo=${f}&b=0&guides=1`, `hand-${tag}-P-guides.png`, P]);
}
// The never list.
jobs.push(['card=photo&photo=mc_retouched_04.jpg&wrong=noplate', 'w-noplate.png', L]);
jobs.push(['card=cover&photo=mc_fullres_12.jpg&wrong=redonphoto', 'w-redonphoto.png', P]);
jobs.push(['card=cover&photo=mc_rosehill_16.jpg&wrong=dissolve', 'w-dissolve.png', P]);
jobs.push(['card=title&wrong=caps', 'w-caps.png', L]);
jobs.push(['card=title&wrong=scale', 'w-scale.png', L]);
jobs.push(['card=photo&photo=mc_rosehill_16.jpg&wrong=squeeze', 'w-squeeze.png', L]);
await pool(jobs);
await browser.close();
console.log('frames', jobs.length);
build.sh20 lines, 968 bytes
#!/bin/bash
# Renders every still, contact sheet, photo test, and the spec for the motion cards. Run from anywhere:
# bash build/motion-cards/v/r01/build.sh
# Stills only. The brief (INVENTORY item 18) asks for direction Philip builds in Resolve, not rendered video.
set -e
cd "$(dirname "$0")"
R=$(pwd); cd ../../../..
node "$R/shoot.mjs"
for c in title section photo end cover; do
n=$c; [ $c = cover ] && n=handoff
node build/_shared/render.mjs png "$R/contact.html?card=$c" "$R/renders/contact-$n.png" 2400 1000 1 >/dev/null
done
for p in interior aerial portrait boundary bright retail; do
node build/_shared/render.mjs png "$R/photos.html?ph=$p" "$R/renders/photo-$p.png" 2400 1000 1 >/dev/null
done
node build/_shared/render.mjs pdf "$R/spec.html" "$R/renders/spec.pdf" >/dev/null
python3 build/_shared/raster.py "$R/renders/spec.pdf" "$R/renders/spec" 150 >/dev/null
cp "$R/renders/contact-end.png" "$R/renders/primary.png"
echo "motion cards rendered"






















