Skip to content
Design system
v1.0
Tier 2, Marathon internally

Presentation template

Confirmed

Internal and client decks built from one stylesheet and a content file.

Champion r05Confirmed in r05Repo folder build/deck-template/v/best/
Presentation template, primary render

Primary render. Select it to open full size.

Renders

Every render from the champion round

Rules

How to use it, from the piece README

A 1920 x 1080 slide deck for internal and client presentations. You write the words in one file, the template does the layout, and Chrome exports a PDF with one slide per page.

Make a deck in five steps

  1. Copy this whole folder, plus the tokens/ folder it links to, so the relative paths still work.
  2. Open content.js in any text editor. Every slide is one { } block. Change the words between the quote marks. Delete a block to drop a slide, copy a block to repeat a slide type.
  3. Put photos in the folder named in "photoFolder" and write the file name in "photo". Use a real Marathon shoot photo only. "focus" moves the crop, for example "50% 30%" keeps the top.
  4. Open deck.html in Chrome. Pink editor notes show anything to confirm and any copy that was too long. Fix them.
  5. Set "draft": false in content.js, open deck.html again, press Cmd+P, choose Save as PDF, Margins None, Background graphics on. One slide per page, 1920 x 1080.

You can also see the clean version without editing the file: open deck.html?draft=0.

Slide types

"type"What it isFields
coverNavy panel with logo, title, and a photo on the righteyebrow, title, lede, meta, photo, focus
agendaNumbered list, up to six itemseyebrow, title, items (title, text)
sectionNavy divider with a large section numbernumber, eyebrow, title, lede
ideaOne big statementeyebrow, statement, support
statUp to three big numbers, always on a navy fieldeyebrow, title, stats (number, unit, label, text, key)
chartHorizontal bar chart, up to eight barseyebrow, title, takeaway, unit, source, data (label, value, display, key), palette
imageFull bleed photo with a navy scrim, words bottom lefteyebrow, title, caption, photo, focus
twocolTwo headed lists, up to five bullets eacheyebrow, title, left and right (heading, bullets)
quoteOne quote with a namequote, name, role
teamUp to six people, initials until a headshot existseyebrow, title, people (name, role, text, photo)
timelineUp to six steps on one lineeyebrow, title, steps (when, title, text, key)
closingNavy close with a button and contact rowseyebrow, title, lede, cta, contact (label, value), signoff

"key": true marks the one thing a slide is about. It turns that stat rule, chart bar, or timeline dot Marathon Red. Use it once per slide. In a chart, the other bars stay grey so the red bar reads first. Add "palette": "measure" to make the other bars navy when every bar matters.

What the template does for you

  • Titles and body copy shrink a little when they run long. If the copy still does not fit, it is cut with "..." and the editor note tells you which line to shorten.
  • Stat numbers print at 340px, about a third of the slide, white on navy. Keep each to three characters, 48k not $48,500. A longer number shrinks to fit, all numbers on the slide share one size, and the editor note asks you to shorten it once it drops under 300px. A number is never cut off.
  • Over a photo the short accent bar is white, not red. Land aerials carry a red lot line burned into the photo, and a red bar next to it reads as part of the drawing.
  • Extra items past each slide's limit are dropped and listed in the editor note.
  • Montserrat 900 is used once, on the cover title. The section number and the quote mark are 800. Do not set anything else to 900.
  • The logo is never placed on a photo. Over the full bleed photo slide the footer shows text only.
  • Colours and the typeface come from tokens/v/best/tokens.css. Do not add colours or fonts to deck.css. If a slide needs a colour that is not a token, ask Taylor.

Files

FileEdit it?
content.jsYes, this is the deck.
content-stress.jsNo. A test deck with copy that is too long, open deck.html?content=stress.
content-photos.jsNo. The cover and full bleed slides on a tight interior, a red lot line aerial, and a portrait photo, open deck.html?content=photos.
deck.html, deck.css, deck.jsNo. The template.
sheet.pyBuilds the contact sheet in renders/.

Before it goes to a client

Every figure in the sample deck is a working value for Jacob to confirm: the 24 hour turnaround, the hours by service, the posting cadence, the Zillow Showcase wording, the quote, and team roles and last names for Philip, Hector, Rey, and Hunter. Each is flagged in an editor note on its slide.

Use it

Files to download and code to copy

  • Whole piece, source files8 files, zip, 19.1 KB. Paths inside follow the repo layout, so put tokens.css beside them as the README says.
    Download
  • deck-final.pdfPDF, 2.9 MB
    Download
  • deck.pdfPDF, 3.0 MB
    Download

Copy-paste code

deck.css301 lines, 18.0 KB
/* Marathon Creative deck template, 1920 x 1080.
   Every colour is a token from tokens.css. Sizes below are deck sizes, set for a 1920px slide
   viewed on a projector or a laptop, which is why they are larger than the document scale.
   Do not type a hex in this file. */

:root {
  --deck-w: 1920px;
  --deck-h: 1080px;
  --deck-margin-x: 128px;
  --deck-margin-top: 112px;
  --deck-margin-bottom: 136px;
  --deck-footer-y: 52px;
  --deck-gutter: 48px;

  --deck-cover: 128px;
  --deck-h1: 84px;
  --deck-h2: 56px;
  --deck-h3: 34px;
  --deck-lede: 36px;
  --deck-body: 28px;
  --deck-small: 22px;
  --deck-eyebrow: 20px;
  --deck-footer: 17px;
  --deck-stat: 340px;
  --deck-stat-floor: 300px;
  --deck-numeral: 420px;

  --deck-bar-w: 120px;
  --deck-bar-h: 6px;
  --deck-logo-footer: 30px;
  --deck-logo-cover: 52px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: var(--mc-font);
  color: var(--mc-text-primary);
  background: var(--mc-gray-200);
  -webkit-font-smoothing: antialiased;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

#deck { display: flex; flex-direction: column; align-items: center; gap: var(--mc-space-09); padding: var(--mc-space-09) 0; }

.slide {
  position: relative;
  width: var(--deck-w);
  height: var(--deck-h);
  overflow: hidden;
  background: var(--mc-surface-page);
  color: var(--mc-text-primary);
  flex: none;
}
.slide.is-inverse { background: var(--mc-surface-inverse); color: var(--mc-text-inverse); }

/* Print: one slide per page, no gaps. */
@page { size: 1920px 1080px; margin: 0; }
@media print {
  html, body { background: var(--mc-surface-page); }
  #deck { display: block; padding: 0; gap: 0; }
  .slide { page-break-after: always; break-after: page; }
  .slide:last-child { page-break-after: auto; break-after: auto; }
}

/* Shared type roles */
.eyebrow {
  font-size: var(--deck-eyebrow);
  font-weight: var(--mc-type-eyebrow-weight);
  letter-spacing: var(--mc-type-eyebrow-tracking);
  text-transform: var(--mc-type-eyebrow-case);
  line-height: 1.2;
  color: var(--mc-text-label);
}
.is-inverse .eyebrow, .on-photo .eyebrow { color: var(--mc-text-inverse-secondary); }

.bar { display: block; width: var(--deck-bar-w); height: var(--deck-bar-h); background: var(--mc-accent); }
.is-inverse .bar { background: var(--mc-accent-on-inverse); }
/* On a photo the bar is white. Land aerials carry a red boundary line burned in, and a red bar beside it reads as part of the annotation. */
.on-photo .bar { background: var(--mc-text-inverse); }

.h1 {
  font-size: var(--deck-h1);
  font-weight: var(--mc-weight-extrabold);
  line-height: 1.06;
  letter-spacing: var(--mc-type-h1-tracking);
  color: var(--mc-text-heading);
}
.is-inverse .h1, .on-photo .h1 { color: var(--mc-text-inverse); }

.h3 {
  font-size: var(--deck-h3);
  font-weight: var(--mc-weight-bold);
  line-height: 1.2;
  color: var(--mc-text-heading);
}
.lede {
  font-size: var(--deck-lede);
  font-weight: var(--mc-weight-light);
  line-height: 1.4;
  color: var(--mc-text-secondary);
}
.is-inverse .lede, .on-photo .lede { color: var(--mc-text-inverse-secondary); }
.body { font-size: var(--deck-body); line-height: 1.45; color: var(--mc-text-secondary); }
.small { font-size: var(--deck-small); line-height: 1.45; color: var(--mc-text-secondary); }
.num { font-variant-numeric: var(--mc-numeric-tabular); }

.opener { display: flex; flex-direction: column; gap: var(--mc-space-06); }

/* Fit engine output */
.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }

/* Footer, every slide except cover and closing */
.foot {
  position: absolute;
  left: var(--deck-margin-x);
  right: var(--deck-margin-x);
  bottom: var(--deck-footer-y);
  display: flex;
  align-items: center;
  gap: var(--mc-space-07);
  font-size: var(--deck-footer);
  font-weight: var(--mc-weight-semibold);
  color: var(--mc-text-tertiary);
  letter-spacing: 0.02em;
}
.foot img { height: var(--deck-logo-footer); width: auto; display: block; }
.foot .foot-rule { width: 1px; height: 22px; background: var(--mc-border-strong); }
.foot .foot-page { margin-left: auto; font-variant-numeric: var(--mc-numeric-tabular); letter-spacing: 0.1em; }
.is-inverse .foot, .on-photo .foot { color: var(--mc-text-inverse-tertiary); }
.is-inverse .foot .foot-rule, .on-photo .foot .foot-rule { background: var(--mc-border-inverse); }

/* Editor note, draft mode only. Never ships to a client. */
.ednote {
  position: absolute;
  top: 20px;
  right: var(--deck-margin-x);
  width: 760px;
  z-index: 5;
  background: var(--mc-surface-highlight);
  border-left: var(--deck-bar-h) solid var(--mc-border-accent);
  padding: 12px 20px 14px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--mc-text-primary);
  box-shadow: var(--mc-shadow-2);
}
.ednote b { display: block; font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mc-text-label); margin-bottom: 4px; }
.ednote p + p { margin-top: 6px; }
.ednote .warn { font-weight: var(--mc-weight-semibold); }
.is-final .ednote { display: none; }
.on-photo .ednote { top: auto; bottom: 40px; }

/* Photo layer, shared by cover and full bleed */
.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* 1. Cover */
.cover-panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: 1056px;
  padding: 96px 112px 104px var(--deck-margin-x);
  display: flex; flex-direction: column; justify-content: space-between;
}
.cover-panel .logo { height: var(--deck-logo-cover); width: auto; align-self: flex-start; }
.cover-photo { position: absolute; top: 0; bottom: 0; right: 0; left: 1056px; overflow: hidden; }
.cover-body { display: flex; flex-direction: column; gap: var(--mc-space-08); }
.cover-title {
  font-size: var(--deck-cover);
  font-weight: var(--mc-weight-black);
  line-height: 1.0;
  letter-spacing: var(--mc-type-cover-tracking);
  color: var(--mc-text-inverse);
}
.cover-meta { font-size: var(--deck-small); font-weight: var(--mc-weight-semibold); color: var(--mc-text-inverse-tertiary); letter-spacing: 0.04em; }

/* 2. Agenda */
.agenda { position: absolute; inset: var(--deck-margin-top) var(--deck-margin-x) var(--deck-margin-bottom); display: grid; grid-template-columns: 5fr 7fr; column-gap: 128px; }
.agenda-list { list-style: none; align-self: start; border-top: var(--mc-border-width-hairline) solid var(--mc-border-subtle); }
.agenda-list li { display: grid; grid-template-columns: 96px 1fr; column-gap: var(--mc-space-07); padding: 26px 0 28px; border-bottom: var(--mc-border-width-hairline) solid var(--mc-border-subtle); }
.agenda-list .n { font-size: var(--deck-h3); font-weight: var(--mc-weight-bold); color: var(--mc-text-label); font-variant-numeric: var(--mc-numeric-tabular); line-height: 1.2; }
.agenda-list .t { font-size: var(--deck-h3); font-weight: var(--mc-weight-bold); color: var(--mc-text-heading); line-height: 1.2; }
.agenda-list .d { font-size: var(--deck-small); color: var(--mc-text-secondary); line-height: 1.45; margin-top: 6px; }

/* 3. Section divider */
.section-num {
  position: absolute; right: 96px; bottom: 150px;
  font-size: var(--deck-numeral); font-weight: var(--mc-weight-extrabold); line-height: 0.8;
  letter-spacing: -0.04em; color: var(--mc-surface-inverse-raised);
  font-variant-numeric: var(--mc-numeric-tabular);
}
.section-body { position: absolute; left: var(--deck-margin-x); bottom: 216px; width: 1100px; display: flex; flex-direction: column; gap: var(--mc-space-08); }
.section-body .h1 { font-size: 112px; }

/* 4. Big idea */
.idea { position: absolute; left: var(--deck-margin-x); top: var(--deck-margin-top); bottom: var(--deck-margin-bottom); width: 1480px; display: flex; flex-direction: column; justify-content: center; gap: var(--mc-space-09); }
.idea-text { font-size: 112px; font-weight: var(--mc-weight-extrabold); line-height: 1.04; letter-spacing: -0.025em; color: var(--mc-text-heading); }
.idea .lede { max-width: 1180px; }

/* 5. Stat. Always a navy field, the numbers are the focal point at about a third of slide height. */
.stat-wrap { position: absolute; inset: var(--deck-margin-top) var(--deck-margin-x) var(--deck-margin-bottom); display: flex; flex-direction: column; justify-content: space-between; }
.stat-wrap .h1 { max-width: 1400px; }
.stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: var(--deck-gutter); }
.stat { min-width: 0; display: flex; flex-direction: column; gap: var(--mc-space-04); padding-top: var(--mc-space-06); border-top: var(--deck-bar-h) solid var(--mc-border-inverse); }
.stat.is-key { border-top-color: var(--mc-accent-on-inverse); }
.stat-n { overflow: hidden; font-size: var(--deck-stat); font-weight: var(--mc-weight-extrabold); line-height: 0.86; letter-spacing: -0.05em; color: var(--mc-text-inverse); font-variant-numeric: var(--mc-numeric-tabular); white-space: nowrap; margin-left: -0.04em; padding-right: 0.1em; padding-bottom: 0.04em; }
.stat-n small { font-size: 0.26em; font-weight: var(--mc-weight-bold); letter-spacing: 0; margin-left: 0.12em; }
.stat-l { font-size: var(--deck-h3); font-weight: var(--mc-weight-bold); color: var(--mc-text-inverse); line-height: 1.2; }
.stat-d { font-size: var(--deck-small); color: var(--mc-text-inverse-secondary); line-height: 1.45; max-width: 480px; }

/* 6. Chart */
.chart-slide { position: absolute; inset: var(--deck-margin-top) var(--deck-margin-x) var(--deck-margin-bottom); display: grid; grid-template-columns: 4fr 8fr; column-gap: 112px; }
.chart-side { display: flex; flex-direction: column; gap: var(--mc-space-07); }
.chart-side .h1 { font-size: var(--deck-h2); line-height: 1.1; }
.chart-side .source { margin-top: auto; font-size: var(--deck-footer); color: var(--mc-text-tertiary); line-height: 1.45; }
.chart-box { display: flex; flex-direction: column; justify-content: center; gap: var(--mc-space-07); }
.chart-unit { font-size: var(--deck-eyebrow); font-weight: var(--mc-weight-bold); letter-spacing: var(--mc-type-eyebrow-tracking); text-transform: uppercase; color: var(--mc-text-tertiary); }
.chart-box svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-box svg text { font-family: var(--mc-font); font-variant-numeric: var(--mc-numeric-tabular); }
.c-label { font-size: 26px; font-weight: var(--mc-weight-semibold); fill: var(--mc-text-primary); }
.c-label.is-key { font-weight: var(--mc-weight-bold); fill: var(--mc-text-heading); }
.c-value { font-size: 26px; font-weight: var(--mc-weight-bold); fill: var(--mc-text-heading); }
.c-value.is-key { fill: var(--mc-data-highlight); }
.c-bar { fill: var(--mc-data-3); }
.c-bar.is-key { fill: var(--mc-data-highlight); }
.chart-box.all-measure .c-bar { fill: var(--mc-data-1); }
.chart-box.all-measure .c-bar.is-key { fill: var(--mc-data-highlight); }
.c-axis { stroke: var(--mc-data-axis); stroke-width: 2; }
.c-tick { font-size: 20px; font-weight: var(--mc-weight-semibold); fill: var(--mc-data-axis); }

/* 7. Full bleed image */
.scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--mc-scrim-photo-strong) 0%, var(--mc-scrim-photo) 34%, var(--mc-scrim-photo-clear) 68%),
    linear-gradient(to bottom, var(--mc-scrim-photo) 0%, var(--mc-scrim-photo-clear) 22%);
}
.bleed-body { position: absolute; left: var(--deck-margin-x); bottom: var(--deck-margin-bottom); width: 1240px; display: flex; flex-direction: column; gap: var(--mc-space-07); }
.bleed-body .h1 { font-size: 80px; }
.bleed-caption { font-size: var(--deck-small); font-weight: var(--mc-weight-semibold); color: var(--mc-text-inverse-secondary); line-height: 1.45; max-width: 1000px; }
.on-photo .foot { top: 52px; bottom: auto; }

/* 8. Two column */
.two { position: absolute; inset: var(--deck-margin-top) var(--deck-margin-x) var(--deck-margin-bottom); display: flex; flex-direction: column; gap: 72px; }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 128px; }
.col { display: flex; flex-direction: column; gap: var(--mc-space-06); }
.col .h3 { padding-top: var(--mc-space-06); border-top: var(--deck-bar-h) solid var(--mc-border-subtle); }
.col.is-key .h3 { border-top-color: var(--mc-border-accent); }
.col ul { list-style: none; display: flex; flex-direction: column; }
.col li { position: relative; padding: 18px 0 18px 36px; font-size: var(--deck-body); line-height: 1.4; color: var(--mc-text-primary); border-bottom: var(--mc-border-width-hairline) solid var(--mc-border-subtle); }
.col li::before { content: ""; position: absolute; left: 0; top: 36px; width: 16px; height: 3px; background: var(--mc-accent); }

/* 9. Quote */
.quote { position: absolute; left: var(--deck-margin-x); top: var(--deck-margin-top); bottom: var(--deck-margin-bottom); width: 1520px; display: flex; flex-direction: column; justify-content: center; gap: var(--mc-space-09); }
.quote-mark { font-size: 240px; line-height: 0.6; height: 96px; font-weight: var(--mc-weight-extrabold); color: var(--mc-accent); }
.quote-text { font-size: 72px; font-weight: var(--mc-weight-bold); line-height: 1.16; letter-spacing: -0.02em; color: var(--mc-text-heading); }
.quote-by { display: flex; align-items: center; gap: var(--mc-space-07); }
.quote-by .bar { width: 60px; }
.quote-name { font-size: var(--deck-body); font-weight: var(--mc-weight-bold); color: var(--mc-text-heading); }
.quote-role { font-size: var(--deck-small); font-weight: var(--mc-weight-semibold); color: var(--mc-text-tertiary); margin-top: 4px; }

/* 10. Team */
.team { position: absolute; inset: var(--deck-margin-top) var(--deck-margin-x) var(--deck-margin-bottom); display: flex; flex-direction: column; justify-content: space-between; }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--deck-gutter); row-gap: 56px; }
.person { display: grid; grid-template-columns: 136px 1fr; column-gap: var(--mc-space-07); align-items: center; }
.avatar { width: 136px; height: 136px; background: var(--mc-surface-inverse); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.avatar span { font-size: 48px; font-weight: var(--mc-weight-extrabold); letter-spacing: 0.02em; color: var(--mc-text-inverse); }
.avatar::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40%; height: var(--deck-bar-h); background: var(--mc-accent-on-inverse); }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person-name { font-size: 30px; font-weight: var(--mc-weight-bold); color: var(--mc-text-heading); line-height: 1.2; }
.person-role { font-size: var(--deck-small); font-weight: var(--mc-weight-semibold); color: var(--mc-text-label); margin-top: 6px; line-height: 1.3; }
.person-d { font-size: var(--deck-small); color: var(--mc-text-secondary); margin-top: 6px; line-height: 1.4; }

/* 11. Timeline */
.tl { position: absolute; inset: var(--deck-margin-top) var(--deck-margin-x) var(--deck-margin-bottom); display: flex; flex-direction: column; justify-content: space-between; }
.tl-track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: var(--mc-space-08); padding-top: 64px; }
.tl-track::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 2px; background: var(--mc-border-strong); }
.tl-step { min-width: 0; position: relative; display: flex; flex-direction: column; gap: var(--mc-space-04); }
.tl-step::before { content: ""; position: absolute; left: 0; top: -64px; width: 32px; height: 32px; border-radius: var(--mc-radius-pill); background: var(--mc-surface-page); border: 4px solid var(--mc-text-heading); }
.tl-step.is-key::before { background: var(--mc-accent); border-color: var(--mc-accent); }
.tl-when { font-size: var(--deck-eyebrow); font-weight: var(--mc-weight-bold); letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.2; color: var(--mc-text-tertiary); font-variant-numeric: var(--mc-numeric-tabular); }
.tl-step.is-key .tl-when { color: var(--mc-text-label); }
.tl-title { font-size: 30px; font-weight: var(--mc-weight-bold); color: var(--mc-text-heading); line-height: 1.2; }
.tl-d { font-size: var(--deck-small); color: var(--mc-text-secondary); line-height: 1.45; }

/* 12. Closing */
.close-body { position: absolute; left: var(--deck-margin-x); top: 112px; width: 1000px; display: flex; flex-direction: column; gap: var(--mc-space-08); }
.close-body .h1 { font-size: 108px; }
.cta {
  align-self: flex-start; margin-top: var(--mc-space-05);
  display: inline-flex; align-items: center; gap: var(--mc-space-05);
  padding: 26px 40px; background: var(--mc-action-inverse); color: var(--mc-action-inverse-text);
  font-size: 26px; font-weight: var(--mc-weight-bold); letter-spacing: 0.01em; border-radius: var(--mc-radius-sm);
}
.cta::after { content: ""; width: 28px; height: var(--deck-bar-h); background: var(--mc-accent); }
.close-contact { position: absolute; right: var(--deck-margin-x); top: 112px; width: 560px; display: flex; flex-direction: column; border-top: var(--mc-border-width-hairline) solid var(--mc-border-inverse); }
.close-contact .row { padding: 22px 0; border-bottom: var(--mc-border-width-hairline) solid var(--mc-border-inverse); }
.close-contact .k { font-size: 15px; font-weight: var(--mc-weight-bold); letter-spacing: 0.2em; text-transform: uppercase; color: var(--mc-text-inverse-tertiary); }
.close-contact .v { font-size: 28px; font-weight: var(--mc-weight-semibold); color: var(--mc-text-inverse); margin-top: 6px; line-height: 1.3; overflow-wrap: anywhere; }
.close-logo { position: absolute; left: var(--deck-margin-x); bottom: 96px; height: 64px; width: auto; }
.close-bars { position: absolute; right: var(--deck-margin-x); bottom: 108px; font-size: var(--deck-footer); font-weight: var(--mc-weight-semibold); letter-spacing: 0.2em; text-transform: uppercase; color: var(--mc-text-inverse-tertiary); }
content.js171 lines, 7.8 KB
/* ================================================================
   EDIT THIS FILE TO MAKE A DECK. Nothing else needs to change.
   Rules: keep the quote marks and commas exactly as they are, one slide per { } block,
   delete a whole block to drop a slide, copy a block to repeat a slide type.
   Set "draft": false before you export the copy that goes to a client.
   ================================================================ */
window.DECK = {
  "meta": {
    "deckName": "Marathon Creative capabilities",
    "draft": true,
    "photoFolder": "../../../../brief/real-photos/"
  },

  "slides": [
    {
      "type": "cover",
      "eyebrow": "Capabilities, 2026",
      "title": "One team for the whole job.",
      "lede": "Strategy, photo, video, social, paid ads, CRM, web, and print, planned and run under one roof in Greater Houston.",
      "meta": "Marathon Creative · October 2026",
      "photo": "mc_rosehill_18.jpg",
      "focus": "50% 40%"
    },

    {
      "type": "agenda",
      "eyebrow": "Agenda",
      "title": "What we will cover in 45 minutes",
      "items": [
        { "title": "How we work", "text": "Strategy first, then production, then the reporting that proves it." },
        { "title": "What we make", "text": "Photo, video, drone, social, paid, email and SMS, CRM, web, and print." },
        { "title": "Where the hours go", "text": "A real month on a full-service retainer, broken down by service." },
        { "title": "Your first 90 days", "text": "Kickoff to first quarterly review, week by week." },
        { "title": "Who you work with", "text": "The six people who answer when you call." }
      ]
    },

    {
      "type": "section",
      "number": "01",
      "eyebrow": "Section 01",
      "title": "How we work",
      "lede": "Most agencies execute. We plan first, then we build it, run it, and report on it ourselves."
    },

    {
      "type": "idea",
      "eyebrow": "The core idea",
      "statement": "The plan comes before the shoot.",
      "support": "Every engagement starts with a written strategy brief you sign off on. Production follows the brief, and the monthly report measures against it."
    },

    {
      "type": "stat",
      "eyebrow": "By the numbers",
      "title": "What one team under one roof looks like",
      "stats": [
        { "number": "13", "label": "Services in house", "text": "Photo, video, drone, 3D tours, strategy, social, paid, email and SMS, CRM, branding, web, print, and headshots." },
        { "number": "24", "unit": "hr", "label": "Listing media turnaround", "text": "Edited photos delivered the next business day after the shoot.", "key": true },
        { "number": "0", "label": "Vendor handoffs", "text": "Nothing is referred out. The person who planned it is the person you call." }
      ],
      "note": "Confirm the 24 hour turnaround with Jacob before this goes to a client."
    },

    {
      "type": "chart",
      "eyebrow": "Where the hours go",
      "title": "A full-service month, by the hour",
      "takeaway": "Strategy is eight fixed hours every month. When a month gets busy, production flexes and the plan does not.",
      "unit": "Hours per month, full-service retainer",
      "source": "Source: Marathon time tracking, typical month on a full-service retainer.",
      "data": [
        { "label": "Strategy and planning", "value": 8, "key": true },
        { "label": "Photo and video", "value": 22 },
        { "label": "Social management", "value": 24 },
        { "label": "Paid ads", "value": 10 },
        { "label": "Email and SMS", "value": 8 },
        { "label": "CRM upkeep", "value": 6 },
        { "label": "Reporting", "value": 6 }
      ],
      "note": "Hours are a working example. Jacob to confirm against real time tracking before sending."
    },

    {
      "type": "image",
      "eyebrow": "Drone and aerial",
      "title": "Rosehill Reserve, the whole community in one frame.",
      "caption": "Aerial photo and video shot on the same visit as the ground shoot, delivered in the same folder.",
      "photo": "mc_rosehill_16.jpg",
      "focus": "50% 55%"
    },

    {
      "type": "twocol",
      "eyebrow": "What you get",
      "title": "We run it. You own it.",
      "left": {
        "heading": "What Marathon runs",
        "bullets": [
          "Zillow Showcase listing media: photos, 3D tour, and floor plan",
          "Social calendar, posting, and replies, five days a week",
          "Paid ads on Meta and Google, with a budget check every Monday",
          "Email and SMS drips built inside PaceCRM"
        ]
      },
      "right": {
        "heading": "What you keep",
        "bullets": [
          "Every raw and edited file, in a shared drive in your name",
          "Your PaceCRM account, pipelines, and contact list",
          "Ad accounts in your name, never ours",
          "A monthly report with the numbers and our recommendation"
        ]
      },
      "note": "Confirm the Zillow Showcase certification wording and the five day posting cadence."
    },

    {
      "type": "quote",
      "quote": "Most agencies execute. We think first, then we build it, run it, and stay on the hook for the result.",
      "name": "Jacob Dow",
      "role": "Founder, Marathon Creative",
      "note": "Jacob to approve the quote wording."
    },

    {
      "type": "team",
      "eyebrow": "Who you work with",
      "title": "Six people, one team, no handoffs",
      "people": [
        { "name": "Jacob Dow", "role": "Founder", "text": "Strategy, pricing, and final approval." },
        { "name": "Taylor Treybig", "role": "Brand and client operations", "text": "Your day-to-day contact." },
        { "name": "Philip", "role": "Video and post production", "text": "Edits in DaVinci Resolve." },
        { "name": "Hector", "role": "Web and internal apps", "text": "Sites, forms, and integrations." },
        { "name": "Rey", "role": "Photography and drone", "text": "Listing, aerial, and headshots." },
        { "name": "Hunter", "role": "Social and paid ads", "text": "Calendar, community, and budgets." }
      ],
      "note": "Confirm roles and last names for Philip, Hector, Rey, and Hunter. Add a headshot with \"photo\" when the shoot library lands."
    },

    {
      "type": "timeline",
      "eyebrow": "Your first 90 days",
      "title": "From kickoff to the first quarterly review",
      "steps": [
        { "when": "Week 1", "title": "Kickoff", "text": "Asset request workbook, account access, and goals in writing." },
        { "when": "Week 2", "title": "Strategy brief", "text": "A written plan with targets you sign off on." },
        { "when": "Weeks 3 to 4", "title": "Build", "text": "Brand kit, PaceCRM pipelines, and the content calendar." },
        { "when": "Week 5", "title": "Shoot day", "text": "Photo, video, and drone in one visit." },
        { "when": "Week 6", "title": "Launch", "text": "Social, ads, and email go live the same week.", "key": true },
        { "when": "Day 90", "title": "First review", "text": "Quarterly report, what worked, and the next plan." }
      ]
    },

    {
      "type": "closing",
      "eyebrow": "Next step",
      "title": "Bring us the whole job.",
      "lede": "A 30 minute call. You tell us where the business is going, we tell you what we would build first and what it costs.",
      "cta": "Book a strategy call",
      "contact": [
        { "label": "Contact", "value": "Jacob Dow, Founder" },
        { "label": "Email", "value": "jacob@marathoncreative.co" },
        { "label": "Web", "value": "marathoncreative.co" },
        { "label": "Based in", "value": "Greater Houston, Texas" }
      ],
      "signoff": "Strategic first · Fully in-house · Long game"
    }
  ]
};
deck.js306 lines, 15.8 KB
/* Marathon Creative deck builder. Reads window.DECK from the content file and draws the slides.
   Nobody needs to edit this file to make a deck. Edit content.js instead.
   Text from content.js is always inserted as plain text, so a stray tag cannot break a slide. */
(function () {
  var TOKENS = '../../../tokens/v/best/';
  var LOGO_WHITE = TOKENS + 'logos/marathon-logo-white.svg';
  var LOGO_DARK = TOKENS + 'logos/marathon-logo-dark.svg';

  /* Hard limits. Anything past these is dropped and reported in the editor note. */
  var LIMITS = { agenda: 6, stats: 3, chart: 8, people: 6, steps: 6, bullets: 5, contact: 5 };

  function esc(s) {
    return String(s == null ? '' : s)
      .replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;');
  }
  function pad(n) { return n < 10 ? '0' + n : String(n); }
  function take(list, max, warn, what) {
    list = list || [];
    if (list.length > max) warn.push((list.length - max) + ' ' + what + ' dropped, this slide holds ' + max + '.');
    return list.slice(0, max);
  }
  /* A fitted text block. lines = most lines allowed, min = smallest size it may shrink to. */
  function fitted(tag, cls, text, lines, min) {
    return '<' + tag + ' class="' + cls + '" data-lines="' + lines + '" data-min="' + min + '">' + esc(text) + '</' + tag + '>';
  }
  function opener(s, h1Lines) {
    return '<div class="opener">' +
      (s.eyebrow ? fitted('div', 'eyebrow', s.eyebrow, 1, 16) : '') +
      fitted('h2', 'h1', s.title, h1Lines || 2, 48) +
      '</div>';
  }
  function photoSrc(meta, file) { return esc((meta.photoFolder || '') + file); }
  function photo(meta, file, focus) {
    if (!file) return '';
    return '<img class="photo" src="' + photoSrc(meta, file) + '" alt="" style="object-position:' + esc(focus || '50% 50%') + '">';
  }
  /* Over a photo the lockup is left off: the brand guide never puts the mark on busy imagery
     without a colour block behind it. */
  function foot(meta, n, total, inverse, onPhoto) {
    return '<div class="foot">' + (onPhoto ? '' : '<img src="' + (inverse ? LOGO_WHITE : LOGO_DARK) + '" alt="Marathon Creative">' +
      '<span class="foot-rule"></span>') + '<span>' + esc(meta.deckName) + '</span>' +
      '<span class="foot-page">' + pad(n) + ' / ' + pad(total) + '</span></div>';
  }

  var R = {};

  R.cover = function (s, m) {
    return { inverse: true, footer: false, html:
      '<div class="cover-panel">' +
        '<img class="logo" src="' + LOGO_WHITE + '" alt="Marathon Creative">' +
        '<div class="cover-body">' +
          '<span class="bar"></span>' +
          (s.eyebrow ? fitted('div', 'eyebrow', s.eyebrow, 1, 16) : '') +
          fitted('h1', 'cover-title', s.title, 3, 80) +
          (s.lede ? fitted('p', 'lede', s.lede, 3, 28) : '') +
          (s.meta ? fitted('div', 'cover-meta', s.meta, 1, 16) : '') +
        '</div>' +
      '</div>' +
      '<div class="cover-photo">' + photo(m, s.photo, s.focus) + '</div>' };
  };

  R.agenda = function (s, m, warn) {
    var items = take(s.items, LIMITS.agenda, warn, 'agenda items');
    return { html:
      '<div class="agenda">' + opener(s, 3) +
        '<ol class="agenda-list">' + items.map(function (it, i) {
          return '<li><span class="n">' + pad(i + 1) + '</span><div>' +
            fitted('div', 't', it.title, 1, 26) +
            (it.text ? fitted('div', 'd', it.text, 2, 18) : '') + '</div></li>';
        }).join('') + '</ol>' +
      '</div>' };
  };

  R.section = function (s) {
    return { inverse: true, html:
      '<div class="section-num" aria-hidden="true">' + esc(s.number) + '</div>' +
      '<div class="section-body"><span class="bar"></span>' +
        (s.eyebrow ? fitted('div', 'eyebrow', s.eyebrow, 1, 16) : '') +
        fitted('h2', 'h1', s.title, 2, 64) +
        (s.lede ? fitted('p', 'lede', s.lede, 3, 26) : '') +
      '</div>' };
  };

  R.idea = function (s) {
    return { html:
      '<div class="idea">' +
        (s.eyebrow ? fitted('div', 'eyebrow', s.eyebrow, 1, 16) : '') +
        '<span class="bar"></span>' +
        fitted('h2', 'idea-text', s.statement, 3, 64) +
        (s.support ? fitted('p', 'lede', s.support, 3, 26) : '') +
      '</div>' };
  };

  R.stat = function (s, m, warn) {
    var stats = take(s.stats, LIMITS.stats, warn, 'stats');
    return { inverse: true, html:
      '<div class="stat-wrap">' + opener(s, 2) +
        '<div class="stats">' + stats.map(function (st) {
          return '<div class="stat' + (st.key ? ' is-key' : '') + '">' +
            '<div class="stat-n" data-fitw="1">' + esc(st.number) + (st.unit ? '<small>' + esc(st.unit) + '</small>' : '') + '</div>' +
            fitted('div', 'stat-l', st.label, 2, 24) +
            (st.text ? fitted('div', 'stat-d', st.text, 3, 18) : '') + '</div>';
        }).join('') + '</div>' +
      '</div>' };
  };

  R.chart = function (s, m, warn) {
    var data = take(s.data, LIMITS.chart, warn, 'bars');
    var max = 0; data.forEach(function (d) { max = Math.max(max, +d.value || 0); });
    var W = 1040, labelW = 360, valueW = 90, row = 96, barH = 52;
    var plot = W - labelW - valueW;
    var H = data.length * row;
    var svg = '<svg viewBox="0 0 ' + W + ' ' + (H + 8) + '" role="img" aria-label="' + esc(s.title) + '">';
    data.forEach(function (d, i) {
      var y = i * row, w = max ? Math.max(4, plot * (+d.value / max)) : 4, k = d.key ? ' is-key' : '';
      svg += '<text class="c-label' + k + '" x="' + (labelW - 24) + '" y="' + (y + row / 2 + 9) + '" text-anchor="end">' + esc(d.label) + '</text>';
      svg += '<rect class="c-bar' + k + '" x="' + labelW + '" y="' + (y + (row - barH) / 2) + '" width="' + w.toFixed(1) + '" height="' + barH + '"></rect>';
      svg += '<text class="c-value' + k + '" x="' + (labelW + w + 16).toFixed(1) + '" y="' + (y + row / 2 + 9) + '">' + esc(d.display || d.value) + '</text>';
    });
    svg += '<line class="c-axis" x1="' + labelW + '" x2="' + labelW + '" y1="0" y2="' + H + '"></line></svg>';
    return { html:
      '<div class="chart-slide">' +
        '<div class="chart-side">' + opener(s, 3) +
          (s.takeaway ? fitted('p', 'body', s.takeaway, 6, 22) : '') +
          (s.source ? fitted('p', 'source', s.source, 3, 14) : '') +
        '</div>' +
        '<div class="chart-box' + (s.palette === 'measure' ? ' all-measure' : '') + '">' +
          (s.unit ? '<div class="chart-unit">' + esc(s.unit) + '</div>' : '') + svg +
        '</div>' +
      '</div>' };
  };

  R.image = function (s, m) {
    return { photo: true, html:
      photo(m, s.photo, s.focus) + '<div class="scrim"></div>' +
      '<div class="bleed-body"><span class="bar"></span>' +
        (s.eyebrow ? fitted('div', 'eyebrow', s.eyebrow, 1, 16) : '') +
        fitted('h2', 'h1', s.title, 2, 52) +
        (s.caption ? fitted('p', 'bleed-caption', s.caption, 2, 18) : '') +
      '</div>' };
  };

  R.twocol = function (s, m, warn) {
    function col(c, key) {
      var items = take(c.bullets, LIMITS.bullets, warn, 'bullets');
      return '<div class="col' + (key ? ' is-key' : '') + '">' + fitted('h3', 'h3', c.heading, 1, 26) +
        '<ul>' + items.map(function (b) { return fitted('li', '', b, 2, 20); }).join('') + '</ul></div>';
    }
    return { html:
      '<div class="two">' + opener(s, 1) +
        '<div class="two-cols">' + col(s.left || {}, false) + col(s.right || {}, true) + '</div>' +
      '</div>' };
  };

  R.quote = function (s) {
    return { html:
      '<div class="quote"><div class="quote-mark" aria-hidden="true">“</div>' +
        fitted('blockquote', 'quote-text', s.quote, 4, 44) +
        '<div class="quote-by"><span class="bar"></span><div>' +
          '<div class="quote-name">' + esc(s.name) + '</div>' +
          (s.role ? '<div class="quote-role">' + esc(s.role) + '</div>' : '') +
        '</div></div>' +
      '</div>' };
  };

  R.team = function (s, m, warn) {
    var people = take(s.people, LIMITS.people, warn, 'people');
    return { html:
      '<div class="team">' + opener(s, 1) +
        '<div class="people">' + people.map(function (p) {
          var initials = String(p.name || '').split(/\s+/).map(function (w) { return w.charAt(0); }).join('').slice(0, 2).toUpperCase();
          return '<div class="person"><div class="avatar"><span>' + esc(initials) + '</span>' +
            (p.photo ? '<img src="' + photoSrc(m, p.photo) + '" alt="">' : '') + '</div><div>' +
            fitted('div', 'person-name', p.name, 1, 22) +
            fitted('div', 'person-role', p.role, 2, 16) +
            (p.text ? fitted('div', 'person-d', p.text, 2, 16) : '') + '</div></div>';
        }).join('') + '</div>' +
      '</div>' };
  };

  R.timeline = function (s, m, warn) {
    var steps = take(s.steps, LIMITS.steps, warn, 'steps');
    return { html:
      '<div class="tl">' + opener(s, 2) +
        '<div class="tl-track">' + steps.map(function (st) {
          return '<div class="tl-step' + (st.key ? ' is-key' : '') + '">' +
            fitted('div', 'tl-when', st.when, 1, 14) +
            fitted('div', 'tl-title', st.title, 2, 22) +
            (st.text ? fitted('div', 'tl-d', st.text, 4, 17) : '') + '</div>';
        }).join('') + '</div>' +
      '</div>' };
  };

  R.closing = function (s, m, warn) {
    var rows = take(s.contact, LIMITS.contact, warn, 'contact rows');
    return { inverse: true, footer: false, html:
      '<div class="close-body"><span class="bar"></span>' +
        (s.eyebrow ? fitted('div', 'eyebrow', s.eyebrow, 1, 16) : '') +
        fitted('h2', 'h1', s.title, 2, 64) +
        (s.lede ? fitted('p', 'lede', s.lede, 4, 26) : '') +
        (s.cta ? '<div class="cta">' + esc(s.cta) + '</div>' : '') +
      '</div>' +
      '<div class="close-contact">' + rows.map(function (r) {
        return '<div class="row"><div class="k">' + esc(r.label) + '</div>' + fitted('div', 'v', r.value, 2, 20) + '</div>';
      }).join('') + '</div>' +
      '<img class="close-logo" src="' + LOGO_WHITE + '" alt="Marathon Creative">' +
      (s.signoff ? '<div class="close-bars">' + esc(s.signoff) + '</div>' : '') };
  };

  /* Shrink a block one step at a time until it fits its line budget. If it still does not fit at
     the floor size, clamp it with an ellipsis and say so in the editor note. */
  function fitBlock(el, warn) {
    var lines = +el.getAttribute('data-lines'), min = +el.getAttribute('data-min');
    var cs = getComputedStyle(el), size = parseFloat(cs.fontSize);
    /* Count laid out lines from the content box, not scrollHeight, because glyph ink taller
       than a tight line height counts as overflow and would trip the check on short copy. */
    function tooTall() {
      var c = getComputedStyle(el), lh = parseFloat(c.lineHeight);
      if (!lh) lh = parseFloat(c.fontSize) * 1.2;
      var h = el.getBoundingClientRect().height - parseFloat(c.paddingTop) - parseFloat(c.paddingBottom) -
        parseFloat(c.borderTopWidth) - parseFloat(c.borderBottomWidth);
      return Math.round(h / lh) > lines;
    }
    var start = size;
    while (tooTall() && size > min) { size -= 2; el.style.fontSize = size + 'px'; }
    if (tooTall()) {
      el.classList.add('is-clamped');
      el.style.webkitLineClamp = String(lines);
      warn.push('Copy cut off: "' + el.textContent.slice(0, 48) + '..." Shorten it to ' + lines + (lines === 1 ? ' line.' : ' lines.'));
    } else if (size < start) {
      warn.push('Shrunk to fit: "' + el.textContent.slice(0, 40) + '..." Shorter copy reads better.');
    }
  }
  /* Chart labels: trim with an ellipsis so a long label never runs into the left column. */
  function fitLabel(el, warn) {
    var room = 336, full = el.textContent, t = full;
    if (el.getComputedTextLength() <= room) return;
    while (t.length > 4 && el.getComputedTextLength() > room) { t = t.slice(0, -1); el.textContent = t.replace(/[\s,]+$/, '') + '...'; }
    warn.push('Chart label cut: "' + full.slice(0, 40) + '" Keep labels to about 22 characters.');
  }
  /* Single line numbers: shrink to the column width. A number is never cut, because a cut number
     is a wrong number. If it has to go below the floor in deck.css, the editor note says to shorten it. */
  function fitWidth(el, warn) {
    var size = parseFloat(getComputedStyle(el).fontSize);
    var floor = parseFloat(getComputedStyle(document.documentElement).getPropertyValue('--deck-stat-floor')) || 300;
    while (el.scrollWidth > el.clientWidth + 1 && size > 96) { size -= 4; el.style.fontSize = size + 'px'; }
    if (size < floor) warn.push('Number too long: "' + el.textContent + '" Keep stat numbers to three characters, 48k not $48,500, so they print at full size.');
  }

  function build() {
    var D = window.DECK || { meta: {}, slides: [] };
    var meta = D.meta || {};
    var q = new URLSearchParams(location.search);
    var draft = q.has('draft') ? q.get('draft') !== '0' : meta.draft !== false;
    var root = document.getElementById('deck');
    root.innerHTML = '';
    document.title = meta.deckName || 'Marathon Creative deck';
    var total = D.slides.length;
    D.slides.forEach(function (s, i) {
      var warn = [];
      var make = R[s.type];
      var sec = document.createElement('section');
      sec.className = 'slide';
      if (!make) {
        sec.innerHTML = '<div class="ednote"><b>Editor note</b><p class="warn">Unknown slide type "' + esc(s.type) + '". Use one listed in README.md.</p></div>';
        root.appendChild(sec); return;
      }
      var out = make(s, meta, warn);
      if (out.inverse) sec.classList.add('is-inverse');
      if (out.photo) sec.classList.add('on-photo');
      if (!draft) sec.classList.add('is-final');
      sec.setAttribute('data-type', s.type);
      sec.innerHTML = out.html + (out.footer === false ? '' : foot(meta, i + 1, total, out.inverse || out.photo, out.photo));
      root.appendChild(sec);
      var nums = sec.querySelectorAll('[data-fitw]'), least = Infinity;
      Array.prototype.forEach.call(nums, function (el) { fitWidth(el, warn); least = Math.min(least, parseFloat(getComputedStyle(el).fontSize)); });
      /* Stats in one row always share one size, set by the widest number. */
      Array.prototype.forEach.call(nums, function (el) { el.style.fontSize = least + 'px'; });
      Array.prototype.forEach.call(sec.querySelectorAll('[data-lines]'), function (el) { fitBlock(el, warn); });
      Array.prototype.forEach.call(sec.querySelectorAll('.c-label'), function (el) { fitLabel(el, warn); });
      var notes = (s.note ? [s.note] : []);
      if (notes.length || warn.length) {
        var n = document.createElement('div');
        n.className = 'ednote';
        /* Keep the note inside the top margin: at most two fit warnings shown, the rest counted. */
        var shown = warn.slice(0, notes.length ? 1 : 2), more = warn.length - shown.length;
        n.innerHTML = '<b>Editor note' + (warn.length ? ', ' + warn.length + ' copy ' + (warn.length === 1 ? 'fix' : 'fixes') : '') + '</b>' +
          notes.map(function (t) { return '<p>' + esc(t) + '</p>'; }).join('') +
          shown.map(function (t) { return '<p class="warn">' + esc(t) + '</p>'; }).join('') +
          (more > 0 ? '<p class="warn">And ' + more + ' more on this slide. Open deck.html in Chrome, the console lists them all.</p>' : '');
        if (warn.length && window.console) console.warn('Slide ' + (i + 1) + ': ' + warn.join(' | '));
        sec.appendChild(n);
      }
    });
  }

  function start() {
    var fonts = document.fonts ? Promise.all([
      document.fonts.load('300 36px Montserrat'), document.fonts.load('600 22px Montserrat'),
      document.fonts.load('800 84px Montserrat'), document.fonts.load('900 128px Montserrat')
    ]) : Promise.resolve();
    return fonts.then(build, build);
  }
  window.MC_DECK_READY = start();
})();
deck.html23 lines, 732 bytes
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1920">
<title>Marathon Creative deck</title>
<link rel="stylesheet" href="../../../tokens/v/best/tokens.css">
<link rel="stylesheet" href="deck.css">
<script>
  /* Which content file to load. Default is content.js. deck.html?content=stress loads content-stress.js. */
  (function () {
    var name = new URLSearchParams(location.search).get('content');
    var file = name && /^[a-z0-9-]+$/.test(name) ? 'content-' + name + '.js' : 'content.js';
    document.write('<script src="' + file + '"><\/script>');
  })();
</script>
</head>
<body>
<main id="deck" aria-label="Slides"></main>
<script src="deck.js"></script>
</body>
</html>
content-photos.js15 lines, 1.9 KB
/* Photo test. The two slide types that carry a photo, the cover and the full bleed image, each run
   on a tight interior, a wide aerial with a red boundary line burned in, and a portrait frame.
   Open deck.html?content=photos. Do not edit, this is a test deck, not a template. */
window.DECK = {
  "meta": { "deckName": "Photo test, cover and full bleed", "draft": false, "photoFolder": "../../../../brief/real-photos/" },
  "slides": [
    { "type": "cover", "eyebrow": "Cangelosi, showroom launch", "title": "Make the trade remember the room.", "lede": "Photo, video, social, and print for the new showroom, planned and run by one team.", "meta": "Prepared for Cangelosi · Marathon Creative · October 2026", "photo": "mc_retouched_04.jpg" },
    { "type": "cover", "eyebrow": "Land listing, wooded acreage", "title": "Sell the lot from the air.", "lede": "Drone stills and video with the lot line drawn on.", "meta": "Marathon Creative · October 2026", "photo": "mc_fullres_12.jpg" },
    { "type": "cover", "eyebrow": "Cangelosi, slab gallery", "title": "The stone is the product.", "lede": "Slab racks shot like product, not like background.", "meta": "Marathon Creative · October 2026", "photo": "mc_retouched_08.jpg" },
    { "type": "image", "eyebrow": "Showroom interior", "title": "White marble, shot so the veining reads on a phone.", "caption": "Tight interior, Cangelosi showroom, Houston.", "photo": "mc_retouched_04.jpg" },
    { "type": "image", "eyebrow": "Land and lots", "title": "The whole parcel in one look.", "caption": "Wooded acreage on a golf course, shot by drone with the lot line drawn on.", "photo": "mc_fullres_12.jpg" },
    { "type": "image", "eyebrow": "Portrait frame", "title": "A vertical photo still fills a wide slide.", "caption": "Portrait shots are cropped from the centre. Use \"focus\" to move the crop up or down.", "photo": "mc_retouched_08.jpg", "focus": "50% 40%" }
  ]
};
content-stress.js40 lines, 7.7 KB
/* Stress test. Copy roughly twice as long as it should be, too many items, and different photos.
   Open deck.html?content=stress to see what the template does with ordinary misuse. */
window.DECK = {
  "meta": { "deckName": "Cangelosi showroom launch plan, prepared by Marathon Creative for the spring push", "draft": true, "photoFolder": "../../../../brief/real-photos/" },
  "slides": [
    { "type": "cover", "eyebrow": "Launch plan for the new showroom, spring 2027 season, draft three", "title": "A launch plan for the new showroom that brings in trade buyers, designers, and homeowners", "lede": "Photo, video, social, paid ads, email, and print for the showroom opening, planned around the trade calendar and run by one team from the first shoot to the 90 day report.", "meta": "Prepared for Cangelosi · Marathon Creative · October 2026 · Draft for review", "photo": "mc_retouched_07.jpg" },
    { "type": "agenda", "eyebrow": "Agenda", "title": "Everything we need to agree on before the shoot gets booked", "items": [
      { "title": "Goals for the showroom opening and how we will measure them", "text": "Foot traffic, trade account signups, and booked design consultations, tracked weekly inside PaceCRM so nobody argues about the numbers later." },
      { "title": "Shoot plan", "text": "Two days." }, { "title": "Social", "text": "Calendar." }, { "title": "Paid ads", "text": "Meta and Google." },
      { "title": "Email and SMS", "text": "Trade list." }, { "title": "Print", "text": "Postcards and signage." }, { "title": "Budget", "text": "Line by line." }, { "title": "Timeline", "text": "Week by week." } ] },
    { "type": "section", "number": "02", "eyebrow": "Section 02", "title": "The shoot plan for the showroom, the slab yard, and the team portraits", "lede": "Two shoot days. Day one is the showroom floor and slab racks in morning light, day two is the team, the trade desk, and the drone pass over the yard and the sign on the main road." },
    { "type": "idea", "eyebrow": "The core idea", "statement": "Designers buy from the showroom they remember, so every photo, post, and postcard has to look like the same room.", "support": "One shoot feeds every channel for the first 90 days. Nothing gets reshot for a different platform, it gets recropped from the same library, which keeps the look consistent and the cost down." },
    { "type": "stat", "eyebrow": "Targets", "title": "What the first 90 days should produce if the plan works the way we expect it to", "stats": [
      { "number": "1,250", "label": "Showroom visits from the trade and homeowners combined", "text": "Counted at the front desk and matched against PaceCRM contacts every Friday." },
      { "number": "$48,500", "label": "Pipeline", "text": "Quoted fabrication jobs.", "key": true },
      { "number": "320", "label": "New contacts", "text": "Trade and retail." }, { "number": "12", "label": "Extra stat", "text": "Should be dropped." } ] },
    { "type": "chart", "eyebrow": "Budget", "title": "Where the launch budget goes in the first 90 days, by channel and by month", "takeaway": "Paid ads carry the first month because the showroom has no organic reach yet. By month three social and email do most of the work and the ad budget comes down by half, which is the point of building the list early.", "unit": "Dollars, first 90 days", "palette": "measure", "source": "Source: Marathon draft budget, pending Jacob.", "data": [
      { "label": "Paid ads on Meta and Google, trade audiences", "value": 9000, "display": "$9,000", "key": true },
      { "label": "Photo and video", "value": 6500, "display": "$6,500" }, { "label": "Social", "value": 4800, "display": "$4,800" },
      { "label": "Email and SMS", "value": 2400, "display": "$2,400" }, { "label": "Print", "value": 3100, "display": "$3,100" },
      { "label": "CRM", "value": 1800, "display": "$1,800" }, { "label": "Reporting", "value": 900, "display": "$900" },
      { "label": "Strategy", "value": 1500, "display": "$1,500" }, { "label": "Contingency", "value": 1000, "display": "$1,000" } ] },
    { "type": "image", "eyebrow": "Showroom floor", "title": "The slab racks are the product, so the camera treats them like the product and not like the background of a team photo", "caption": "Shot at f/8 with the overheads off and window light only, so the stone colour on screen matches the stone colour in the room when a designer walks in with a client.", "photo": "mc_retouched_05.jpg" },
    { "type": "twocol", "eyebrow": "Who does what", "title": "What Marathon runs during the launch and what the Cangelosi team keeps doing", "left": { "heading": "What Marathon runs from the first shoot day onward", "bullets": [ "Two shoot days covering the showroom floor, the slab yard, the trade desk, and team portraits for the website", "Social calendar", "Paid ads", "Email drips", "Print", "Reporting" ] }, "right": { "heading": "What Cangelosi keeps", "bullets": [ "Front desk visit log", "Trade account approvals", "Quotes" ] } },
    { "type": "quote", "quote": "We did not want another agency that sends us a calendar and disappears. We wanted somebody who would come out to the yard, shoot the stone the way it actually looks, and then tell us every month what worked and what did not, in numbers we can check ourselves.", "name": "Client name to confirm", "role": "Owner, Cangelosi" },
    { "type": "team", "eyebrow": "Team", "title": "The people on the Cangelosi account for the launch and the 90 days after it", "people": [
      { "name": "Jacob Dow", "role": "Founder, strategy, pricing, and final approval on every deliverable", "text": "Owns the plan and the monthly report review with the Cangelosi owners." },
      { "name": "Taylor Treybig", "role": "Brand and client operations" }, { "name": "Philip", "role": "Video" }, { "name": "Hector", "role": "Web" },
      { "name": "Rey", "role": "Photo and drone" }, { "name": "Hunter", "role": "Social and paid" }, { "name": "Extra Person", "role": "Should be dropped" } ] },
    { "type": "timeline", "eyebrow": "Timeline", "title": "Twelve weeks from kickoff to the first quarterly review with the owners", "steps": [
      { "when": "Weeks 1 and 2, kickoff and access", "title": "Kickoff, asset request workbook, and account access for every platform", "text": "We collect logins, the trade list, the price sheet, and the brand files, and we put the goals in writing so the report has something to measure against." },
      { "when": "Week 3", "title": "Strategy brief", "text": "Signed off." }, { "when": "Week 4", "title": "Shoot days", "text": "Two days on site." },
      { "when": "Week 6", "title": "Launch", "text": "Everything live.", "key": true }, { "when": "Week 8", "title": "Open house", "text": "Trade night." },
      { "when": "Week 12", "title": "Review", "text": "Quarterly report." }, { "when": "Week 13", "title": "Extra", "text": "Dropped." } ] },
    { "type": "closing", "eyebrow": "Next step", "title": "Sign the plan this week and we book the shoot days for the first open dates on the calendar", "lede": "Reply to the proposal email with any changes. Once it is signed, Taylor sends the asset request workbook the same day and we hold two shoot dates for you while you fill it in.", "cta": "Approve the launch plan", "contact": [
      { "label": "Contact", "value": "Taylor Treybig, Brand and client operations, day-to-day contact for the account" },
      { "label": "Email", "value": "jacob@marathoncreative.co" }, { "label": "Web", "value": "marathoncreative.co" }, { "label": "Based in", "value": "Greater Houston, Texas" } ], "signoff": "Strategic first · Fully in-house · Long game" }
  ]
};
sheet.py15 lines, 761 bytes
# Contact sheet, 3 columns by 4 rows. Usage: python3 sheet.py <slides dir> <out.png>
# The background colour is read from tokens.css, never typed here.
import sys, re, glob, os
from PIL import Image
here = os.path.dirname(os.path.abspath(__file__))
css = open(os.path.join(here, '../../../tokens/v/best/tokens.css')).read()
bg = re.search(r'--mc-gray-200:\s*(\S+);', css).group(1)
files = sorted(glob.glob(os.path.join(sys.argv[1], 'p*.png')))[:12]
tw, th, g = 960, 540, 32
sheet = Image.new('RGB', (3 * tw + 4 * g, 4 * th + 5 * g), bg)
for i, f in enumerate(files):
    im = Image.open(f).convert('RGB').resize((tw, th), Image.LANCZOS)
    sheet.paste(im, (g + (i % 3) * (tw + g), g + (i // 3) * (th + g)))
sheet.save(sys.argv[2]); print('wrote', sys.argv[2])