Skip to content
Design system
v1.0
Tier 4, Client production chassis

Client docs chassis

Confirmed

Client reports and decks that carry the client palette and typeface without collapsing.

Champion r03Confirmed in r03Repo folder build/chassis-docs/v/best/
Client docs chassis, primary render

Primary render. Select it to open full size.

Renders

Every render from the champion round

Showing 40 of 70 renders. The rest are in build/chassis-docs/v/best/renders/.

Rules

How to use it, from the piece README

A monthly report and a five slide review deck in the client's brand. The layout, grid, sizes, fit rules, and chart kit are Marathon's. The client's colours, typefaces, and logo drop in from one folder. Marathon shows up once, as a plain text line: "Prepared by Marathon Creative."

Use this when the report goes inside the client's business: the owner forwards it to a partner, the sales manager prints it for a meeting. When the report is Marathon selling Marathon, use the Marathon-branded report in charts/ and the docs kit instead.

What is in here

FileWhat it isEdit it?
report-cangelosi.htmlFour page Letter report, Cangelosi themeYes, words and numbers
report-cypress-creek-roofing.htmlThe same report, roofer theme and roofer voiceYes, words and numbers
deck.htmlThe deck. deck.html?client=cangelosi picks the clientNo
clients/<name>/theme.cssThe client's colours and typefaces, the only place they liveYes, once per client
clients/<name>/logo.svg, logo-reverse.svgThe client's logo, dark and whiteReplace with their file
clients/<name>/deck.jsThe deck's words, five blocksYes
chassis.css, chassis.js, cx-deck.jsThe mechanicsNo
photos/Copies of the shoot photos the pieces useAdd photos here
tests/Test-only stylesheets layered on with ?probe=<name>No
render.sh, sheets.pyRenders everything to renders/No

It links three other pieces by relative path: docs-kit/v/best/doc.css, charts/v/best/, and deck-template/v/best/deck.css. Copy the folders together so the paths still work.

Add a new client

  1. Copy clients/cangelosi/ to clients/<their-name>/, lowercase with hyphens.
  2. Put their logo in as logo.svg (for white paper) and logo-reverse.svg (for the dark panel). Use their file. Never redraw or recolour a client's mark.
  3. Open theme.css and fill every slot from their brand guide. Three typeface slots: display for titles, text for everything else, figures for big numbers. If they have one typeface, put it in all three. --cx-figures-leading is the line height of the big numbers, 1.0 unless the check below asks for more. Slab and serif faces such as Rockwell, and any face with a tall "$", need more.
  4. Open a report in Chrome. If a slot is missing or a colour pair is too faint to read, a dashed "Chassis check" note at the top of page 1, or on deck slide 1, tells you which slot to fix. If the big numbers lose their tops or bottoms, the report check and the deck stat slide say "Big numbers clipped" and give the exact --cx-figures-leading value to set. Fix it in theme.css. Never fix it in chassis.css.

Make this month's report

  1. Copy a report file and rename it for the client. Change the theme.css and logo links at the top.
  2. Change --doc-name on the <html> line. It prints bottom left on every page.
  3. Replace the words, numbers, and the JSON inside each chart. Every number comes from the client's PaceCRM, Google Ads, and Meta exports.
  4. Write the copy in the client's voice. A roofer says "212 leads, the most we have ever had." A stone showroom can say "the best month this year." Neither says anything Marathon would say about itself.
  5. Swap the page 1 photo. Any shoot photo works, wide or tall: the frame crops to a fixed band and type never sits on the photo. Move the crop with style="object-position: 50% 40%".
  6. Print: Cmd+P, Save as PDF, Margins Default, Background graphics on.
  7. Clear every editor note with Jacob, then change data-status="draft" to "final". The notes and the DRAFT flag disappear.

Make this month's deck

  1. Open clients/<name>/deck.js. Five blocks: cover, stat, chart, image, plan. Change the words.
  2. Open deck.html?client=<name> in Chrome. Pink notes show anything shrunk or cut. Fix the copy.
  3. Set draft: false, then Cmd+P, Save as PDF, Margins None, Background graphics on.

What the chassis does for you

  • Page 1 is one fixed sheet. Long copy shrinks the photo, never pushes the stats to page 2.
  • Titles and ledes shrink a step when they run long, then cut with "..." and say which line to shorten.
  • Big numbers in a row shrink together to the widest one.
  • Big numbers are measured glyph by glyph against their box. A clipped number is never silent.
  • On the photo slide the words sit on a solid client-colour panel, never on the photo, so white marble, a busy aerial, and a lot with a red boundary line all stay readable.
  • No slot falls back to Marathon navy or red. A missing slot shows up in the check note.

Tests in renders/

  • photo-interior.png, photo-aerial.png, photo-portrait.png, photo-boundary.png: report page 1, deck cover, and deck photo slide for both clients, on mc_retouched_03, mc_rosehill_16, mc_retouched_08, and mc_fullres_12.
  • figures-test.png: a third, taller figures face (Rockwell) over both themes. Row one is the old 0.86 leading, row two the 1.0 default, both flagged. Row three uses the 1.40 the check asked for and is clean. Open deck.html?client=cangelosi&only=2&probe=tall-figures to see it live.
  • stress-report-p1.png and deck-roofer-stress-sheet.png: copy about twice as long as it should be. Open report-cangelosi.html?stress=1 or deck.html?client=cypress-creek-roofing&content=stress.

For Jacob to confirm

  • Every figure in both reports and both decks is example data. Nothing goes to a client until it is replaced with their exports.
  • The Cangelosi colours are sampled from Marathon's own shoot. The logo is a stand-in typeset from the showroom wall, and Baskerville and Avenir Next are stand-ins. Replace all three with Cangelosi's files.
  • Cypress Creek Roofing is an invented example client. Its aerials are Rosehill Reserve photos standing in until Marathon shoots a real roofer's jobs.
  • The prepared-by line names Taylor Treybig as the contact on every client report.
Use it

Files to download and code to copy

  • Whole piece, source files28 files, zip, 7.4 MB. Paths inside follow the repo layout, so put tokens.css beside them as the README says.
    Download
  • deck-cangelosi.pdfPDF, 1.7 MB
    Download
  • deck-cypress-creek-roofing.pdfPDF, 2.3 MB
    Download
  • deck-roofer-stress.pdfPDF, 2.4 MB
    Download
  • report-cangelosi.pdfPDF, 1.7 MB
    Download
  • report-roofer.pdfPDF, 2.4 MB
    Download

Copy-paste code

chassis.css228 lines, 13.9 KB
/* Marathon client chassis, chassis.css v1.0.0. Reports and decks in a client's brand.

   Link order:
     1. tokens/v/best/tokens.css            Marathon tokens, sizes and spacing
     2. docs-kit/v/best/doc.css             report pages        (or deck-template/v/best/deck.css for decks)
     3. charts/v/best/charts.css            charts, reports only
     4. chassis.css                         this file
     5. clients/<name>/theme.css            the client, last, so it wins

   How it works. The docs kit, the chart kit, and the deck template only ever read semantic tokens
   such as --mc-text-heading. On html.cx this file points each semantic token at a client slot such
   as --cx-ink, and the client's theme.css fills the slots. Layout, spacing, the 12 column grid,
   and every size stay Marathon's, so a new palette or typeface cannot collapse the page.

   There are no fallbacks on purpose. A slot the theme leaves out resolves to nothing, and the draft
   view lists it in an editor note. Client work never quietly turns Marathon navy. The one optional
   slot is --cx-figures-leading, the line height of big numbers, which defaults to 1.0. When a
   figures face is too tall for it, the chassis check measures the clipped glyphs and says so.

   Marathon's primitives (--mc-navy-100, --mc-red-100, and the rest) are not remapped, and nothing
   in client work reads them. Marathon's presence is one text line, set in the client's type. */

html.cx {
  /* text */
  --mc-text-primary: var(--cx-text);
  --mc-text-heading: var(--cx-ink);
  --mc-text-secondary: var(--cx-text-2);
  --mc-text-tertiary: var(--cx-text-3);
  --mc-text-label: var(--cx-accent-text);
  --mc-text-link: var(--cx-accent-text);
  --mc-text-link-hover: var(--cx-ink);
  --mc-text-inverse: var(--cx-on-dark);
  --mc-text-inverse-secondary: var(--cx-on-dark-2);
  --mc-text-inverse-tertiary: var(--cx-on-dark-3);
  --mc-text-on-accent: var(--cx-on-accent);
  /* surfaces */
  --mc-surface-page: var(--cx-paper);
  --mc-surface-raised: var(--cx-paper);
  --mc-surface-subtle: var(--cx-surface-alt);
  --mc-surface-muted: var(--cx-surface-alt);
  --mc-surface-row-alt: var(--cx-surface-alt);
  --mc-surface-row-alt-print: var(--cx-surface-alt);
  --mc-surface-inverse: var(--cx-dark);
  --mc-surface-inverse-raised: var(--cx-dark-2);
  --mc-surface-table-header: var(--cx-table-head);
  /* borders and accent */
  --mc-border-subtle: var(--cx-rule);
  --mc-border-strong: var(--cx-rule);
  --mc-border-inverse: var(--cx-rule-on-dark);
  --mc-border-accent: var(--cx-accent);
  --mc-accent: var(--cx-accent);
  --mc-accent-on-inverse: var(--cx-accent-on-dark);
  --mc-action-inverse: var(--cx-paper);
  --mc-action-inverse-text: var(--cx-ink);
  /* charts */
  --mc-data-1: var(--cx-data-1);
  --mc-data-2: var(--cx-data-2);
  --mc-data-3: var(--cx-data-3);
  --mc-data-4: var(--cx-data-4);
  --mc-data-highlight: var(--cx-data-highlight);
  --mc-data-gridline: var(--cx-data-grid);
  --mc-data-axis: var(--cx-data-axis);
  /* type: the docs kit reads --doc-font for body copy and the page footer */
  --doc-font: var(--cx-font-text);
}

/* Shared type roles. Display face for titles, text face for the rest, figures face for numbers. */
html.cx body { font-family: var(--cx-font-text); }
.cx-display {
  font-family: var(--cx-font-display); font-weight: var(--cx-display-weight);
  text-transform: var(--cx-display-case); letter-spacing: var(--cx-display-tracking);
  line-height: var(--cx-display-leading);
}

/* ================================================================== REPORT (Letter) == */

html.cx .doc-title, html.cx .doc-h2, html.cx .doc-h3, html.cx .doc-callout__title, html.cx .cx-tile__title {
  font-family: var(--cx-font-display); font-weight: var(--cx-display-weight);
  text-transform: var(--cx-display-case); letter-spacing: var(--cx-display-tracking);
  line-height: var(--cx-display-leading);
}
html.cx .doc-title { font-size: calc(var(--mc-print-type-h1-size) * var(--cx-display-scale)); max-width: none; }
html.cx .doc-h2 { font-size: calc(var(--mc-print-type-h2-size) * var(--cx-display-scale)); }
html.cx .doc-h3, html.cx .doc-callout__title { font-size: calc(var(--mc-print-type-h3-size) * var(--cx-display-scale)); }
html.cx .doc-eyebrow, html.cx .doc-note__label {
  font-family: var(--cx-font-text); font-weight: var(--cx-label-weight); letter-spacing: var(--cx-label-tracking);
}
html.cx .doc-stat__value {
  font-family: var(--cx-font-figures); font-weight: var(--cx-figures-weight);
  font-size: calc(var(--mc-print-type-stat-size) * var(--cx-display-scale));
  letter-spacing: 0; line-height: var(--cx-figures-leading, 1);
}
html.cx .doc-stat__unit { font-weight: var(--cx-figures-weight); }
html.cx .doc-lede { font-weight: var(--cx-lede-weight); }
html.cx .doc-table tfoot tr.total td { font-family: var(--cx-font-figures); font-weight: var(--cx-figures-weight); }
html.cx .doc-table th { font-weight: var(--cx-label-weight); letter-spacing: 0.04em; }
html.cx .mcc, html.cx .mcc-svg text { font-family: var(--cx-font-text); }

/* Masthead. Client logo left. Report name and the prepared-by line right. No Marathon logo. */
.cx-mast {
  display: flex; justify-content: space-between; align-items: flex-end; gap: var(--mc-space-06);
  padding-bottom: var(--mc-space-04); margin-bottom: var(--mc-space-06);
  border-bottom: var(--mc-border-width-hairline) solid var(--mc-border-strong);
}
.cx-mast__logo { display: block; height: 0.42in; width: auto; max-width: 3.2in; object-fit: contain; object-position: left bottom; }
.cx-mast__meta { margin: 0; text-align: right; font-size: var(--mc-print-type-caption-size); line-height: var(--mc-type-caption-leading); color: var(--mc-text-tertiary); }
.cx-mast__meta b { display: block; font-weight: var(--mc-weight-semibold); color: var(--mc-text-heading); }
.cx-mast--small { margin-bottom: var(--mc-space-07); }
.cx-mast--small .cx-mast__logo { height: 0.26in; }

/* The prepared-by line. This is all of Marathon on a client report: one line of text, client type. */
.cx-prepared { font-size: var(--mc-print-type-caption-size); font-weight: var(--mc-weight-regular); color: var(--mc-text-tertiary); }

/* Hero photo. Type never sits on the photo, so no photo can make a headline unreadable and no
   burned-in annotation can collide with the accent. A fixed frame crops any original, wide or tall,
   to the same 12 by 5 band. Move the crop with style="object-position: 50% 40%". */
.cx-hero { margin: 0 0 var(--mc-space-06); break-inside: avoid; }
.cx-hero__frame { position: relative; width: 100%; aspect-ratio: 12 / 5; overflow: hidden; background: var(--mc-surface-muted); }
.cx-hero__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cx-hero figcaption {
  display: flex; justify-content: space-between; gap: var(--mc-space-05); margin-top: var(--mc-space-02);
  font-size: var(--mc-print-type-caption-size); line-height: var(--mc-type-caption-leading); color: var(--mc-text-secondary);
}
.cx-hero figcaption span:last-child { flex: none; color: var(--mc-text-tertiary); }

/* Page 1 is one fixed sheet. The photo takes whatever height the words leave, never less than
   2.2in, so long copy shrinks the photo instead of pushing the stats onto page 2. */
.cx-page1 {
  height: calc(var(--mc-doc-page-height) - var(--mc-doc-margin-top) - var(--mc-doc-margin-bottom));
  display: flex; flex-direction: column; overflow: hidden; break-after: page;
}
.cx-page1 > * { flex: none; }
.cx-page1 > .cx-hero { flex: 1 1 0; min-height: 2.2in; display: flex; flex-direction: column; }
.cx-page1 .cx-hero__frame { flex: 1 1 0; aspect-ratio: auto; min-height: 0; }
.cx-page1 > :last-child { margin-bottom: 0; }

/* Copy pair under the stats. */
.cx-copy { font-size: var(--mc-print-type-body-size); color: var(--mc-text-primary); }
.cx-copy strong { color: var(--mc-text-heading); font-weight: var(--mc-weight-semibold); }

html.cx .doc-stats { margin-bottom: var(--mc-space-07); }
html.cx .doc-stat__label { font-weight: var(--mc-weight-regular); }
html.cx .doc-stat__value { overflow: hidden; }

/* Closing line on the last page. */
.cx-signoff {
  display: flex; justify-content: space-between; gap: var(--mc-space-06); margin-top: var(--mc-space-08);
  padding-top: var(--mc-space-04); border-top: var(--mc-border-width-hairline) solid var(--mc-border-strong);
}

/* Draft only: the chassis check, written by chassis.js. Internal, never ships. */
.cx-check { margin: 0 0 var(--mc-space-06); }
html.doc[data-status="final"] .cx-check { display: none; }
.cx-check--flag {
  display: flex; align-items: center; gap: var(--mc-space-03); margin: 0 0 var(--mc-space-04);
  font-size: var(--mc-print-type-caption-size); font-weight: var(--mc-weight-semibold); color: var(--mc-text-primary);
}
.cx-check--flag::before { content: ""; width: var(--mc-space-03); height: var(--mc-space-03); background: var(--mc-status-warning); flex: none; }
html.cx .doc-note--editor .doc-note__label { color: var(--mc-text-primary); }

/* ===================================================================== DECK (1920) == */

.cx-deck .slide, .cx-deck .chart-box svg text { font-family: var(--cx-font-text); }
.cx-deck .h1, .cx-deck .cover-title, .cx-deck .h3, .cx-deck .stat-l, .cx-deck .cx-step__title {
  font-family: var(--cx-font-display); font-weight: var(--cx-display-weight);
  text-transform: var(--cx-display-case); letter-spacing: var(--cx-display-tracking);
}
.cx-deck .h1 { font-size: calc(var(--deck-h1) * var(--cx-display-scale)); line-height: var(--cx-display-leading); }
.cx-deck .cover-title { font-size: calc(104px * var(--cx-display-scale)); line-height: var(--cx-display-leading); }
.cx-deck .stat-l { font-size: calc(var(--deck-h3) * var(--cx-display-scale)); }
.cx-deck .stat-n {
  font-family: var(--cx-font-figures); font-weight: var(--cx-figures-weight); letter-spacing: 0; margin-left: 0;
  /* deck.css sets 0.86 for Montserrat. A client figures face with taller numerals or a taller "$"
     loses its tops at that leading behind overflow hidden, so the theme owns it. Default 1.0. */
  line-height: var(--cx-figures-leading, 1); padding-bottom: 0;
}
.cx-deck .stat-n small { font-weight: var(--cx-figures-weight); }
.cx-deck .lede { font-weight: var(--cx-lede-weight); }
.cx-deck .eyebrow { font-weight: var(--cx-label-weight); letter-spacing: var(--cx-label-tracking); }
.cx-deck .is-inverse .eyebrow { color: var(--mc-accent-on-inverse); }
.cx-deck .c-label, .cx-deck .c-value { font-family: var(--cx-font-text); }

/* Cover: client logo top left on the dark panel, photo right. */
.cx-deck .cover-panel .cx-logo { height: 76px; width: auto; max-width: 560px; align-self: flex-start; object-fit: contain; object-position: left top; }
.cx-deck .cover-meta { color: var(--mc-text-inverse-tertiary); }
.cx-deck .cover-photo img { object-fit: cover; }

/* Footer: client logo, deck name, page. */
.cx-deck .foot img.cx-foot-logo { height: 36px; max-width: 280px; object-fit: contain; object-position: left center; }

/* Photo slide. The words sit on a solid panel, never on the photo. That one rule is what keeps
   white marble, a busy aerial, and a lot with a red boundary line all legible. */
.cx-bleed-panel {
  position: absolute; left: 0; bottom: 0; width: 1000px;
  padding: 64px 96px 72px var(--deck-margin-x);
  background: var(--mc-surface-inverse); color: var(--mc-text-inverse);
  display: flex; flex-direction: column; gap: var(--mc-space-06);
}
.cx-bleed-panel .bar { background: var(--mc-accent-on-inverse); }
.cx-bleed-panel .eyebrow { color: var(--mc-accent-on-inverse); }
.cx-bleed-panel .h1 { color: var(--mc-text-inverse); font-size: calc(64px * var(--cx-display-scale)); }
.cx-bleed-panel .bleed-caption { color: var(--mc-text-inverse-secondary); }
.cx-bleed-page {
  position: absolute; right: var(--deck-margin-x); bottom: 0; padding: 18px 24px;
  background: var(--mc-surface-inverse); color: var(--mc-text-inverse-tertiary);
  font-size: var(--deck-footer); font-weight: var(--mc-weight-semibold); letter-spacing: 0.1em; font-variant-numeric: var(--mc-numeric-tabular);
}

/* Plan slide: three numbered steps, then the prepared-by line. */
.cx-plan { position: absolute; inset: var(--deck-margin-top) var(--deck-margin-x) 200px; display: flex; flex-direction: column; justify-content: flex-start; gap: 128px; }
.cx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--deck-gutter); }
.cx-step { min-width: 0; display: flex; flex-direction: column; gap: var(--mc-space-05); padding-top: var(--mc-space-07); border-top: var(--deck-bar-h) solid var(--mc-border-subtle); }
.cx-step.is-key { border-top-color: var(--mc-border-accent); }
.cx-step__n { font-family: var(--cx-font-figures); font-weight: var(--cx-figures-weight); line-height: var(--cx-figures-leading, 1); font-size: 34px; color: var(--mc-text-label); font-variant-numeric: var(--mc-numeric-tabular); }
.cx-step__title { font-size: calc(44px * var(--cx-display-scale)); line-height: 1.12; color: var(--mc-text-heading); }
.cx-step__when { font-size: var(--deck-eyebrow); font-weight: var(--cx-label-weight); letter-spacing: var(--cx-label-tracking); text-transform: uppercase; color: var(--mc-text-tertiary); }
.cx-deck-prepared {
  position: absolute; left: var(--deck-margin-x); right: var(--deck-margin-x); bottom: 112px;
  padding-top: var(--mc-space-05); border-top: var(--mc-border-width-hairline) solid var(--mc-border-subtle);
  display: flex; justify-content: space-between; gap: var(--mc-space-07);
  font-size: var(--deck-small); color: var(--mc-text-tertiary);
}
.cx-deck-prepared b { font-weight: var(--mc-weight-semibold); color: var(--mc-text-secondary); }

/* One slide on its own, for single-slide renders: deck.html?only=4 */
.cx-only #deck { padding: 0; gap: 0; }
.cx-step .small { font-size: var(--deck-body); color: var(--mc-text-secondary); }
clients/cangelosi/theme.css59 lines, 2.6 KB
/* Cangelosi, client theme for the Marathon client chassis.
   This file is the only place Cangelosi's colours and typefaces live. The chassis reads every
   slot below. Leave a slot out and the draft view flags it, it never falls back to Marathon.

   WORKING VALUES. Colours are sampled from Marathon's own Cangelosi shoot: the granite monument
   sign, the charcoal showroom floor, and the marble wall. Typefaces are stand-ins that ship with
   every Mac. Replace both with Cangelosi's brand files once they supply them, Taylor confirms. */
html.cx {
  --cx-client: "Cangelosi";

  /* Type. Display is for titles, text is for everything else, figures is for big numbers. */
  --cx-font-display: "Baskerville", "Big Caslon", Georgia, serif;
  --cx-font-text: "Avenir Next", "Avenir", "Helvetica Neue", Arial, sans-serif;
  --cx-font-figures: "Avenir Next", "Avenir", "Helvetica Neue", Arial, sans-serif;
  --cx-display-weight: 600;
  --cx-display-case: none;
  --cx-display-tracking: -0.005em;
  --cx-display-scale: 1.06;        /* Baskerville sets small on the body, so titles run 6% larger */
  --cx-display-leading: 1.12;
  --cx-figures-weight: 600;
  --cx-figures-leading: 1.0;      /* line height of big numbers. Raise it if the chassis check says figures are clipped */
  --cx-lede-weight: 400;          /* ledes are the light voice, use the lightest weight that holds on press */
  --cx-label-weight: 600;
  --cx-label-tracking: 0.18em;

  /* Ink and paper. */
  --cx-ink: #262320;               /* Showroom Charcoal, titles */
  --cx-text: #2e2b28;              /* body */
  --cx-text-2: #5c5751;            /* ledes and captions */
  --cx-text-3: #6f6a63;            /* footers, prepared-by line */
  --cx-paper: #ffffff;
  --cx-surface-alt: #f2eee8;       /* Marble, row bands and quiet panels */
  --cx-rule: #d8d1c7;

  /* Accent. Monument Granite. Text version is darkened so eyebrows clear 4.5:1 on paper. */
  --cx-accent: #8a6a55;            /* divider bars, key stat rule */
  --cx-accent-text: #7a5c48;       /* eyebrows, links */
  --cx-table-head: #7a5c48;
  --cx-on-accent: #ffffff;

  /* Dark panel: covers and callouts. */
  --cx-dark: #262320;
  --cx-dark-2: #36322e;
  --cx-on-dark: #ffffff;
  --cx-on-dark-2: #e3ddd5;
  --cx-on-dark-3: #bdb5ab;
  --cx-accent-on-dark: #c9a78d;
  --cx-rule-on-dark: #4a4540;

  /* Charts, in order of use. Highlight is the one finding per chart. */
  --cx-data-1: #262320;
  --cx-data-2: #8c857d;
  --cx-data-3: #cfc7bd;
  --cx-data-4: #5c5751;
  --cx-data-highlight: #a8734c;
  --cx-data-grid: #e6e0d8;
  --cx-data-axis: #6f6a63;
}
clients/cypress-creek-roofing/theme.css54 lines, 2.0 KB
/* Cypress Creek Roofing, client theme for the Marathon client chassis.
   An example Houston roofer, used to prove the chassis carries a loud trade brand as well as a
   quiet showroom one. Swap this folder for a real roofing client's files.

   WORKING VALUES. Typefaces are stand-ins that ship with every Mac: DIN Condensed reads like
   the truck-door lettering roofers use. Replace with the client's own files, Taylor confirms. */
html.cx {
  --cx-client: "Cypress Creek Roofing";

  --cx-font-display: "DIN Condensed", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --cx-font-text: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --cx-font-figures: "DIN Condensed", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --cx-display-weight: 700;
  --cx-display-case: uppercase;
  --cx-display-tracking: 0.01em;
  --cx-display-scale: 1.22;        /* condensed caps set small, so titles run 22% larger */
  --cx-display-leading: 1.0;
  --cx-figures-weight: 700;
  --cx-figures-leading: 1.2;      /* DIN Condensed numerals and "$" stand tall, the chassis check asked for 1.20 */
  --cx-lede-weight: 300;          /* ledes are the light voice, use the lightest weight that holds on press */
  --cx-label-weight: 700;
  --cx-label-tracking: 0.14em;

  --cx-ink: #1f2022;               /* Shingle Black */
  --cx-text: #2a2b2e;
  --cx-text-2: #53565b;
  --cx-text-3: #686b70;
  --cx-paper: #ffffff;
  --cx-surface-alt: #f0f1f2;
  --cx-rule: #d3d5d8;

  /* Safety Orange. The bright one is for bars and dark panels, the text one for small type. */
  --cx-accent: #d9520f;
  --cx-accent-text: #ad3f06;
  --cx-table-head: #ad3f06;
  --cx-on-accent: #ffffff;

  --cx-dark: #1f2022;
  --cx-dark-2: #2e3033;
  --cx-on-dark: #ffffff;
  --cx-on-dark-2: #dfe1e3;
  --cx-on-dark-3: #b3b6ba;
  --cx-accent-on-dark: #f5843f;
  --cx-rule-on-dark: #45484c;

  --cx-data-1: #1f2022;
  --cx-data-2: #868a90;
  --cx-data-3: #c8cbcf;
  --cx-data-4: #4b4e53;
  --cx-data-highlight: #d9520f;
  --cx-data-grid: #e3e5e7;
  --cx-data-axis: #686b70;
}
tests/tall-figures-fixed.css8 lines, 322 bytes
/* Test only. Rockwell figures with --cx-figures-leading set to the value the chassis check asked
   for on ?probe=tall-figures. Every big number must render whole and the check must stay quiet. */
html.cx {
  --cx-font-figures: Rockwell, "Rockwell Nova", serif;
  --cx-figures-weight: 700;
  --cx-figures-leading: 1.4;
}
tests/tall-figures-tight.css8 lines, 323 bytes
/* Test only. The same Rockwell figures at the 0.86 leading deck.css uses for Montserrat, which is
   what clipped the tops before the slot existed. The chassis check must flag every big number. */
html.cx {
  --cx-font-figures: Rockwell, "Rockwell Nova", serif;
  --cx-figures-weight: 700;
  --cx-figures-leading: 0.86;
}
tests/tall-figures.css8 lines, 354 bytes
/* Test only, never linked from a client deliverable. Layers over any client theme with
   ?probe=tall-figures to prove a taller figures face keeps the tops of its numbers.
   Rockwell ships with macOS. Its numerals and "$" stand taller than Montserrat's. */
html.cx {
  --cx-font-figures: Rockwell, "Rockwell Nova", serif;
  --cx-figures-weight: 700;
}
deck.html32 lines, 1.4 KB
<!doctype html>
<html lang="en" class="cx cx-deck">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1920">
<title>Client deck</title>
<link rel="stylesheet" href="../../../tokens/v/best/tokens.css">
<link rel="stylesheet" href="../../../deck-template/v/best/deck.css">
<link rel="stylesheet" href="chassis.css">
<script>
  /* deck.html?client=cangelosi loads clients/cangelosi/theme.css and clients/cangelosi/deck.js.
     &content=stress loads clients/<client>/deck-stress.js instead.
     &probe=tall-figures layers tests/tall-figures.css over the theme, a test only. */
  (function () {
    var q = new URLSearchParams(location.search);
    var ok = /^[a-z0-9-]+$/;
    var client = ok.test(q.get('client') || '') ? q.get('client') : 'cangelosi';
    var content = ok.test(q.get('content') || '') ? 'deck-' + q.get('content') + '.js' : 'deck.js';
    if (q.get('only')) document.documentElement.classList.add('cx-only');
    document.write('<link rel="stylesheet" href="clients/' + client + '/theme.css">');
    if (ok.test(q.get('probe') || '')) document.write('<link rel="stylesheet" data-probe href="tests/' + q.get('probe') + '.css">');
    document.write('<script src="clients/' + client + '/' + content + '"><\/script>');
  })();
</script>
<script src="chassis.js"></script>
</head>
<body>
<main id="deck" aria-label="Slides"></main>
<script src="cx-deck.js"></script>
</body>
</html>
report-cangelosi.html196 lines, 12.6 KB
<!doctype html>
<html lang="en" class="doc mc-doc cx" data-status="draft" style="--doc-name: 'Cangelosi, September 2026 marketing report'">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Cangelosi, September 2026 marketing report</title>
<link rel="stylesheet" href="../../../tokens/v/best/tokens.css">
<link rel="stylesheet" href="../../../docs-kit/v/best/doc.css">
<link rel="stylesheet" href="../../../charts/v/best/charts.css">
<link rel="stylesheet" href="chassis.css">
<link rel="stylesheet" href="clients/cangelosi/theme.css">
<script src="../../../charts/v/best/charts.js" defer></script>
<script src="chassis.js" defer></script>
</head>
<body>

<!-- ============================================================ Page 1 -->
<section class="cx-page1">
<div class="cx-check"></div>

<header class="cx-mast">
  <img class="cx-mast__logo" src="clients/cangelosi/logo.svg" alt="Cangelosi">
  <p class="cx-mast__meta"><b>September 2026 marketing report</b><span class="cx-prepared">Prepared by Marathon Creative, October 6, 2026</span></p>
</header>

<div class="doc-opener">
  <span class="doc-eyebrow">September at a glance</span>
  <h1 class="doc-title" data-lines="2" data-min="0.78"
      data-long="86 showroom appointments in September, the best month this year, and every one of them came from homeowners, designers, and builders who found the new slab wall photos first">86 showroom appointments, our best month this year</h1>
  <p class="doc-lede" data-lines="3" data-min="0.85"
     data-long="New showroom photos went live on September 18, and search ads using them booked 31 appointments. Paid appointments now cost $45 each, down from $71 in April, and the trade list opened at 38%. We also moved budget away from searches that brought clicks and no visits, rebuilt the appointment form, and started texting every request back inside six minutes.">New showroom photos went live on September 18, and search ads using them booked 31 appointments. Paid appointments now cost $45 each, down from $71 in April.</p>
</div>

<figure class="cx-hero">
  <div class="cx-hero__frame"><img data-photo src="photos/mc_retouched_03.jpg" alt="Cangelosi showroom with slab wall, sample racks, and design table" style="object-position: 50% 58%"></div>
  <figcaption><span data-photo-caption data-long="The Cangelosi showroom on September 9: the slab wall, the quartz and porcelain sample racks, and the design table where designers and homeowners meet with the Cangelosi team to choose stone">The showroom on September 9. These photos now run in every search and Meta ad.</span><span>Photo, Marathon Creative</span></figcaption>
</figure>

<div class="doc-stats">
  <div class="doc-stat">
    <span class="doc-stat__value">86</span>
    <span class="doc-stat__label" data-lines="3" data-min="0.9" data-long="Showroom appointment requests from every channel combined, up 16 on August and the most in any month this year">Appointment requests, up 16 on August</span>
  </div>
  <div class="doc-stat doc-stat--key">
    <span class="doc-stat__value">$45</span>
    <span class="doc-stat__label" data-lines="3" data-min="0.9" data-long="Paid cost per appointment across Google Search Ads and Meta Ads, down from $71 in April when the account moved over">Paid cost per appointment, down from $71 in April</span>
  </div>
  <div class="doc-stat">
    <span class="doc-stat__value">214</span>
    <span class="doc-stat__label" data-lines="3" data-min="0.9" data-long="Phone calls from the Google Business Profile listing, up 9% on August, most of them during showroom hours">Calls from Google Business Profile, up 9%</span>
  </div>
  <div class="doc-stat">
    <span class="doc-stat__value">38%</span>
    <span class="doc-stat__label" data-lines="3" data-min="0.9" data-long="Open rate on the September trade email, sent to 1,240 designers, builders, and remodelers on the PaceCRM list">Trade email open rate, 1,240 on the list</span>
  </div>
</div>

<div class="doc-grid">
  <p class="cx-copy doc-col-6" data-lines="4" data-min="0.9"><strong>What worked.</strong> The September 9 shoot gave the ads real photos of the slab wall and the sample racks. Search ads using them booked 31 appointments, up from 19 in August.</p>
  <p class="cx-copy doc-col-6" data-lines="4" data-min="0.9"><strong>What we changed.</strong> We stopped bidding on searches like "cheap granite near me." They brought clicks and no visits. That freed $310 for quartz and porcelain searches.</p>
</div>
</section>

<!-- ============================================================ Page 2 -->
<header class="cx-mast cx-mast--small">
  <img class="cx-mast__logo" src="clients/cangelosi/logo.svg" alt="Cangelosi">
  <p class="cx-mast__meta">September 2026 marketing report</p>
</header>

<span class="doc-divider doc-divider--top"></span>
<div class="doc-opener">
  <span class="doc-eyebrow">01 Where appointments came from</span>
  <h2 class="doc-h2">Google Search sent 31 of 86 appointments</h2>
</div>
<div class="doc-grid">
  <figure class="mcc doc-col-8" data-mcc="bar">
    <div class="mcc-plot"></div>
    <figcaption class="mcc-source">Appointment requests by first touch. Source: PaceCRM, September 1 to 30, 2026.</figcaption>
    <script type="application/json">
      {"label": "Appointment requests by channel, September 2026", "share": true, "data": [
        {"label": "Google Search Ads", "value": 31, "highlight": true},
        {"label": "Meta Ads", "value": 22},
        {"label": "Google Business Profile", "value": 17},
        {"label": "Trade email", "value": 11},
        {"label": "Organic search and referral", "value": 5}
      ]}
    </script>
  </figure>
  <div class="doc-col-4 cx-copy">
    <p><strong>Why it matters.</strong> People searching "quartz countertops Houston" are ready to pick a slab. They book at three times the rate of people scrolling Instagram.</p>
    <p><strong>What we watch.</strong> Meta costs about the same per request, $44, but fewer of those visitors buy. Meta stays on for the showroom events only.</p>
  </div>
</div>

<span class="doc-divider"></span>
<div class="doc-opener">
  <span class="doc-eyebrow">02 Cost per appointment</span>
  <h2 class="doc-h2">Paid appointments fell from $71 to $45 in six months</h2>
</div>
<figure class="mcc" data-mcc="line">
  <div class="mcc-plot"></div>
  <figcaption class="mcc-source">Google Search and Meta spend divided by paid appointment requests, April to September 2026. Source: Google Ads, Meta Ads Manager, and PaceCRM.</figcaption>
  <script type="application/json">
    {"label": "Paid cost per appointment by month", "format": {"type": "money"},
     "categories": ["Apr", "May", "Jun", "Jul", "Aug", "Sep"],
     "series": [
       {"name": "Paid cost per appointment", "values": [71, 66, 61, 55, 51, 45], "highlight": true}
     ],
     "annotations": [{"series": 0, "index": 5, "text": "New showroom photos in every ad"}]}
  </script>
</figure>


<!-- ============================================================ Page 3 -->
<header class="cx-mast cx-mast--small doc-newpage">
  <img class="cx-mast__logo" src="clients/cangelosi/logo.svg" alt="Cangelosi">
  <p class="cx-mast__meta">September 2026 marketing report</p>
</header>

<span class="doc-divider doc-divider--top"></span>
<div class="doc-opener">
  <span class="doc-eyebrow">03 Spend and results</span>
  <h2 class="doc-h2">$2,370 in ads, 53 paid appointments</h2>
</div>
<table class="doc-table doc-table--fixed">
  <colgroup><col><col class="doc-col-w1"><col class="doc-col-w125"><col class="doc-col-w1"><col class="doc-col-w1"></colgroup>
  <thead><tr><th>Channel</th><th class="num">Spend</th><th class="num">Appointments</th><th class="num">Cost each</th><th class="num">August</th></tr></thead>
  <tbody>
    <tr><td class="item">Google Search Ads<span class="doc-table__sub">Quartz and porcelain searches</span></td><td class="num">$1,410</td><td class="num">31</td><td class="num">$45</td><td class="num">$51</td></tr>
    <tr><td class="item">Meta Ads<span class="doc-table__sub">Instagram and Facebook</span></td><td class="num">$960</td><td class="num">22</td><td class="num">$44</td><td class="num">$53</td></tr>
    <tr><td class="item">Google Business Profile<span class="doc-table__sub">Listing, posts, and photos</span></td><td class="num">$0</td><td class="num">17</td><td class="num">$0</td><td class="num">$0</td></tr>
    <tr><td class="item">Trade email<span class="doc-table__sub">Two PaceCRM sends, 1,240 contacts</span></td><td class="num">$0</td><td class="num">11</td><td class="num">$0</td><td class="num">$0</td></tr>
    <tr><td class="item">Organic search and referral</td><td class="num">$0</td><td class="num">5</td><td class="num">$0</td><td class="num">$0</td></tr>
  </tbody>
  <tfoot>
    <tr class="total"><td>Total</td><td class="num">$2,370</td><td class="num">86</td><td class="num">$28</td><td class="num">$34</td></tr>
    <tr class="minor"><td>Paid channels only</td><td class="num">$2,370</td><td class="num">53</td><td class="num">$45</td><td class="num">$51</td></tr>
  </tfoot>
</table>

<div class="doc-opener">
  <span class="doc-eyebrow">04 Work delivered</span>
  <h2 class="doc-h2">What Marathon shipped in September</h2>
</div>
<div class="doc-cards">
  <div class="doc-card"><span class="doc-card__index">Photography</span><p class="doc-card__title cx-tile__title">One showroom shoot</p><p class="doc-card__text">42 retouched photos of the slab wall, sample racks, and design table, delivered two days after the shoot.</p><span class="doc-card__foot">September 9 and 11</span></div>
  <div class="doc-card"><span class="doc-card__index">Social</span><p class="doc-card__title cx-tile__title">16 posts, four Reels</p><p class="doc-card__text">Instagram and Facebook. The slab close-up Reel reached 18,400 accounts, the most this year.</p><span class="doc-card__foot">Through September 30</span></div>
  <div class="doc-card"><span class="doc-card__index">PaceCRM</span><p class="doc-card__title cx-tile__title">Every request answered</p><p class="doc-card__text">86 requests routed to the showroom team. Median first reply by text: six minutes.</p><span class="doc-card__foot">Booking form rebuilt Sept 2</span></div>
</div>



<!-- ============================================================ Page 4 -->
<header class="cx-mast cx-mast--small doc-newpage">
  <img class="cx-mast__logo" src="clients/cangelosi/logo.svg" alt="Cangelosi">
  <p class="cx-mast__meta">September 2026 marketing report</p>
</header>

<span class="doc-divider doc-divider--top"></span>
<div class="doc-opener">
  <span class="doc-eyebrow">05 October</span>
  <h2 class="doc-h2">The new sample racks lead the October ads</h2>
</div>
<div class="doc-grid">
<div class="doc-callout doc-col-7">
  <span class="doc-eyebrow">October plan</span>
  <p class="doc-callout__title">Three things we do next</p>
  <ul class="doc-list">
    <li><strong>October 8.</strong> Send the Fall Kitchen Event invite to the 1,240 designers and builders on the trade list.</li>
    <li><strong>October 14 to 17.</strong> Shoot four finished kitchens with builder partners, for Instagram and the ads.</li>
    <li><strong>All month.</strong> Move $400 from Meta to Google Search for quartz and porcelain searches.</li>
  </ul>
</div>
  <figure class="doc-figure doc-figure--tall doc-col-5">
    <img data-photo-2 src="photos/mc_retouched_08.jpg" alt="Quartz sample rack in the Cangelosi showroom" style="object-position: 50% 30%">
    <figcaption><strong>Quartz sample rack, September 9.</strong> This photo runs in the October quartz search ads.</figcaption>
  </figure>
</div>

<aside class="doc-note doc-note--editor">
  <span class="doc-note__label">Editor note, for Jacob to confirm</span>
  <ul class="doc-list">
    <li>Every figure here is example data shaped for a Houston stone and tile showroom. Replace it with Cangelosi's PaceCRM, Google Ads, and Meta exports before this goes out.</li>
    <li>The Cangelosi logo is a stand-in set from the showroom wall. Drop their vector file into clients/cangelosi/logo.svg. The Baskerville and Avenir Next typefaces are stand-ins until Cangelosi sends brand files.</li>
    <li>The $400 October budget move and the event date need Cangelosi's sign-off.</li>
  </ul>
</aside>

<footer class="cx-signoff">
  <span class="cx-prepared">Prepared by Marathon Creative for Cangelosi. Questions go to Taylor Treybig.</span>
  <span class="cx-prepared doc-num">Next report: November 5, 2026</span>
</footer>

</body>
</html>
report-cypress-creek-roofing.html193 lines, 12.3 KB
<!doctype html>
<html lang="en" class="doc mc-doc cx" data-status="draft" style="--doc-name: 'Cypress Creek Roofing, September 2026 lead report'">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Cypress Creek Roofing, September 2026 lead report</title>
<link rel="stylesheet" href="../../../tokens/v/best/tokens.css">
<link rel="stylesheet" href="../../../docs-kit/v/best/doc.css">
<link rel="stylesheet" href="../../../charts/v/best/charts.css">
<link rel="stylesheet" href="chassis.css">
<link rel="stylesheet" href="clients/cypress-creek-roofing/theme.css">
<script src="../../../charts/v/best/charts.js" defer></script>
<script src="chassis.js" defer></script>
</head>
<body>

<!-- ============================================================ Page 1 -->
<section class="cx-page1">
<div class="cx-check"></div>

<header class="cx-mast">
  <img class="cx-mast__logo" src="clients/cypress-creek-roofing/logo.svg" alt="Cypress Creek Roofing">
  <p class="cx-mast__meta"><b>September 2026 lead report</b><span class="cx-prepared">Prepared by Marathon Creative, October 3, 2026</span></p>
</header>

<div class="doc-opener">
  <span class="doc-eyebrow">September in one page</span>
  <h1 class="doc-title" data-lines="2" data-min="0.78"
      data-long="212 leads in September, the most we have ever had in one month, and the cheapest month yet for paid search, even with two weeks of storm traffic in the mix">212 leads in September, the most we have ever had</h1>
  <p class="doc-lede" data-lines="3" data-min="0.85"
     data-long="Google ads brought in most of them, and every form got a text back in under a minute. We signed 31 roof replacements from 96 inspections. The storm on September 14 doubled calls for three days, and the crews kept up because PaceCRM booked the inspections straight onto the schedule instead of into a voicemail box.">Google ads brought in most of them, and every form got a text back in under a minute. We signed 31 roof replacements from 96 inspections.</p>
</div>

<figure class="cx-hero">
  <div class="cx-hero__frame"><img data-photo src="photos/mc_rosehill_16.jpg" alt="Aerial of a master-planned neighborhood northwest of Houston" style="object-position: 50% 55%"></div>
  <figcaption><span data-photo-caption data-long="A master-planned neighborhood northwest of Houston with roofs from 2009 to 2014, the age where hail damage turns into a full replacement, and the kind of street the October storm ads are aimed at">Neighborhoods like this one, roofs 10 to 15 years old, are where the October storm ads run.</span><span>Photo, Marathon Creative</span></figcaption>
</figure>

<div class="doc-stats">
  <div class="doc-stat">
    <span class="doc-stat__value">212</span>
    <span class="doc-stat__label" data-lines="3" data-min="0.9" data-long="Leads from every source combined, up 12% on August and the most in any month since we started tracking">Leads, up 12% on August</span>
  </div>
  <div class="doc-stat doc-stat--key">
    <span class="doc-stat__value">$68</span>
    <span class="doc-stat__label" data-lines="3" data-min="0.9" data-long="Cost per lead on Google Local Services Ads and Search Ads combined, down from $95 in April and still falling">Cost per lead on Google, down from $95 in April</span>
  </div>
  <div class="doc-stat">
    <span class="doc-stat__value">58 sec</span>
    <span class="doc-stat__label" data-lines="3" data-min="0.9" data-long="Median time from a form coming in to the first text back from PaceCRM, around the clock, weekends included">Median first text back, was over four hours</span>
  </div>
  <div class="doc-stat">
    <span class="doc-stat__value">31</span>
    <span class="doc-stat__label" data-lines="3" data-min="0.9" data-long="Signed roof replacements, from 96 inspections booked in September, which is a 32% close rate">Signed roof replacements, from 96 inspections</span>
  </div>
</div>

<div class="doc-grid">
  <p class="cx-copy doc-col-6" data-lines="4" data-min="0.9"><strong>What worked.</strong> Local Services Ads. You pay per lead, not per click, and the Google Guaranteed badge does the trust work before anyone picks up the phone.</p>
  <p class="cx-copy doc-col-6" data-lines="4" data-min="0.9"><strong>What we changed.</strong> We cut 41 search terms that brought clicks from people looking for jobs and DIY tips. That money went to Local Services Ads.</p>
</div>
</section>

<!-- ============================================================ Page 2 -->
<header class="cx-mast cx-mast--small">
  <img class="cx-mast__logo" src="clients/cypress-creek-roofing/logo.svg" alt="Cypress Creek Roofing">
  <p class="cx-mast__meta">September 2026 lead report</p>
</header>

<span class="doc-divider doc-divider--top"></span>
<div class="doc-opener">
  <span class="doc-eyebrow">01 Where leads came from</span>
  <h2 class="doc-h2">Local Services Ads brought in 74 of 212</h2>
</div>
<div class="doc-grid">
  <figure class="mcc doc-col-8" data-mcc="bar">
    <div class="mcc-plot"></div>
    <figcaption class="mcc-source">Leads by first touch. Source: PaceCRM, September 1 to 30, 2026.</figcaption>
    <script type="application/json">
      {"label": "Leads by channel, September 2026", "share": true, "data": [
        {"label": "Google Local Services Ads", "value": 74, "highlight": true},
        {"label": "Google Search Ads", "value": 52},
        {"label": "Meta Ads", "value": 41},
        {"label": "Google Business Profile and organic", "value": 28},
        {"label": "Referral and repeat customers", "value": 17}
      ]}
    </script>
  </figure>
  <div class="doc-col-4 cx-copy">
    <p><strong>Why it matters.</strong> Local Services leads call ready to book. Half of them booked an inspection the same day.</p>
    <p><strong>What we watch.</strong> Meta leads are cheaper, $54 each, but book inspections at half the rate. Meta runs in storm weeks only.</p>
  </div>
</div>

<span class="doc-divider"></span>
<div class="doc-opener">
  <span class="doc-eyebrow">02 Cost per lead</span>
  <h2 class="doc-h2">Google cost per lead fell from $95 to $68 since April</h2>
</div>
<figure class="mcc" data-mcc="line">
  <div class="mcc-plot"></div>
  <figcaption class="mcc-source">Monthly Google ad spend divided by new Google leads, April to September 2026. Source: Google Ads and PaceCRM.</figcaption>
  <script type="application/json">
    {"label": "Google cost per lead by month", "format": {"type": "money"},
     "categories": ["Apr", "May", "Jun", "Jul", "Aug", "Sep"],
     "series": [
       {"name": "Google cost per lead", "values": [95, 88, 81, 76, 71, 68], "highlight": true}
     ],
     "annotations": [{"series": 0, "index": 5, "text": "41 search terms cut"}]}
  </script>
</figure>

<!-- ============================================================ Page 3 -->
<header class="cx-mast cx-mast--small doc-newpage">
  <img class="cx-mast__logo" src="clients/cypress-creek-roofing/logo.svg" alt="Cypress Creek Roofing">
  <p class="cx-mast__meta">September 2026 lead report</p>
</header>

<span class="doc-divider doc-divider--top"></span>
<div class="doc-opener">
  <span class="doc-eyebrow">03 Spend and results</span>
  <h2 class="doc-h2">$10,940 in ads, 31 roofs signed</h2>
</div>
<table class="doc-table doc-table--fixed">
  <colgroup><col><col class="doc-col-w1"><col class="doc-col-w1"><col class="doc-col-w1"><col class="doc-col-w1"></colgroup>
  <thead><tr><th>Channel</th><th class="num">Spend</th><th class="num">Leads</th><th class="num">Cost per lead</th><th class="num">Inspections</th></tr></thead>
  <tbody>
    <tr><td class="item">Google Local Services Ads<span class="doc-table__sub">Charged per lead, Google Guaranteed</span></td><td class="num">$4,810</td><td class="num">74</td><td class="num">$65</td><td class="num">41</td></tr>
    <tr><td class="item">Google Search Ads<span class="doc-table__sub">Roof repair and replacement searches</span></td><td class="num">$3,640</td><td class="num">52</td><td class="num">$70</td><td class="num">27</td></tr>
    <tr><td class="item">Meta Ads<span class="doc-table__sub">Storm weeks only</span></td><td class="num">$2,490</td><td class="num">41</td><td class="num">$61</td><td class="num">11</td></tr>
    <tr><td class="item">Google Business Profile and organic</td><td class="num">$0</td><td class="num">28</td><td class="num">$0</td><td class="num">10</td></tr>
    <tr><td class="item">Referral and repeat customers</td><td class="num">$0</td><td class="num">17</td><td class="num">$0</td><td class="num">7</td></tr>
  </tbody>
  <tfoot>
    <tr class="total"><td>Total</td><td class="num">$10,940</td><td class="num">212</td><td class="num">$52</td><td class="num">96</td></tr>
    <tr class="minor"><td>Google only</td><td class="num">$8,450</td><td class="num">126</td><td class="num">$67</td><td class="num">68</td></tr>
  </tfoot>
</table>

<div class="doc-opener">
  <span class="doc-eyebrow">04 Work delivered</span>
  <h2 class="doc-h2">What Marathon did in September</h2>
</div>
<div class="doc-cards">
  <div class="doc-card"><span class="doc-card__index">Paid ads</span><p class="doc-card__title cx-tile__title">Storm response in two hours</p><p class="doc-card__text">Hail hit on September 14. Storm ads were live by 11am and ran for six days.</p><span class="doc-card__foot">September 14 to 19</span></div>
  <div class="doc-card"><span class="doc-card__index">PaceCRM</span><p class="doc-card__title cx-tile__title">Every lead texted back</p><p class="doc-card__text">212 leads, 212 texts. Inspections book straight onto the crew calendar.</p><span class="doc-card__foot">Median reply 58 seconds</span></div>
  <div class="doc-card"><span class="doc-card__index">Drone and photo</span><p class="doc-card__title cx-tile__title">Nine finished roofs shot</p><p class="doc-card__text">Drone and ground photos of nine jobs, used in the ads and on the Google profile.</p><span class="doc-card__foot">Delivered in 48 hours</span></div>
</div>

<!-- ============================================================ Page 4 -->
<header class="cx-mast cx-mast--small doc-newpage">
  <img class="cx-mast__logo" src="clients/cypress-creek-roofing/logo.svg" alt="Cypress Creek Roofing">
  <p class="cx-mast__meta">September 2026 lead report</p>
</header>

<span class="doc-divider doc-divider--top"></span>
<div class="doc-opener">
  <span class="doc-eyebrow">05 October</span>
  <h2 class="doc-h2">Hail season is not over</h2>
</div>
<div class="doc-grid">
  <div class="doc-callout doc-col-7">
    <span class="doc-eyebrow">October plan</span>
    <p class="doc-callout__title">Three things we do next</p>
    <ul class="doc-list">
      <li><strong>October 1.</strong> Storm ads stay built and paused. They go live within two hours of the next hail report.</li>
      <li><strong>October 7.</strong> Text the 116 leads who did not book an inspection, with a free roof check offer.</li>
      <li><strong>All month.</strong> Move $600 from Search Ads to Local Services Ads.</li>
    </ul>
  </div>
  <figure class="doc-figure doc-figure--tall doc-col-5">
    <img data-photo-2 src="photos/mc_rosehill_18.jpg" alt="Aerial of rooftops in a neighborhood northwest of Houston" style="object-position: 50% 60%">
    <figcaption><strong>The October target area.</strong> About 1,900 homes with roofs 10 to 15 years old.</figcaption>
  </figure>
</div>

<aside class="doc-note doc-note--editor">
  <span class="doc-note__label">Editor note, for Jacob to confirm</span>
  <ul class="doc-list">
    <li>Cypress Creek Roofing is an example client. Every figure is shaped from a Houston roofing account. Replace it with the real client's PaceCRM and Google Ads exports.</li>
    <li>The aerials are Marathon's Rosehill Reserve shoot, standing in until we shoot the roofer's own finished jobs. Do not send a real roofer a report with another client's neighborhood in it.</li>
    <li>The $600 budget move and the 1,900 home count need the client's sign-off.</li>
  </ul>
</aside>

<footer class="cx-signoff">
  <span class="cx-prepared">Prepared by Marathon Creative for Cypress Creek Roofing. Questions go to Taylor Treybig.</span>
  <span class="cx-prepared doc-num">Next report: November 3, 2026</span>
</footer>

</body>
</html>
chassis.js209 lines, 11.6 KB
/* Marathon client chassis, chassis.js v1.0.0. Used by reports and decks.
   Plain JavaScript, no backtick and no dollar-brace, safe inside a String.raw page.
   Nobody edits this file to make a report. It does four jobs:
     1. Theme check. Every slot in the client's theme.css is present, every text pair clears
        contrast, and no big number has its top or bottom cut off by the figures face. Failures go
        in a draft-only editor note, so a bad theme cannot ship unnoticed.
     2. Fit. Titles, ledes, and stat labels shrink a step at a time when copy runs long, then cut
        with "..." and say so. Big numbers shrink to their column.
     3. Photo test. page.html?photo=mc_rosehill_16.jpg&focus=50%25%2040%25 swaps the hero photo.
     4. Stress test. page.html?stress=1 swaps in the overlong copy kept in each data-long attribute.
        Probe test. page.html?probe=tall-figures layers tests/tall-figures.css over the client theme. */
(function () {
  'use strict';

  var SLOTS = ['--cx-font-display', '--cx-font-text', '--cx-font-figures', '--cx-display-weight', '--cx-display-case',
    '--cx-display-tracking', '--cx-display-scale', '--cx-display-leading', '--cx-figures-weight', '--cx-lede-weight', '--cx-label-weight',
    '--cx-label-tracking', '--cx-ink', '--cx-text', '--cx-text-2', '--cx-text-3', '--cx-paper', '--cx-surface-alt',
    '--cx-rule', '--cx-accent', '--cx-accent-text', '--cx-table-head', '--cx-on-accent', '--cx-dark', '--cx-dark-2',
    '--cx-on-dark', '--cx-on-dark-2', '--cx-on-dark-3', '--cx-accent-on-dark', '--cx-rule-on-dark', '--cx-data-1',
    '--cx-data-2', '--cx-data-3', '--cx-data-4', '--cx-data-highlight', '--cx-data-grid', '--cx-data-axis'];

  /* [foreground, background, minimum ratio, what it is] */
  var PAIRS = [
    ['--cx-text', '--cx-paper', 4.5, 'Body copy on paper'],
    ['--cx-text-2', '--cx-paper', 4.5, 'Ledes and captions on paper'],
    ['--cx-text-3', '--cx-paper', 4.5, 'Footer and prepared-by line on paper'],
    ['--cx-text-3', '--cx-surface-alt', 4.5, 'Footer type on a banded row'],
    ['--cx-accent-text', '--cx-paper', 4.5, 'Eyebrows on paper'],
    ['--cx-on-accent', '--cx-table-head', 4.5, 'Table header type'],
    ['--cx-on-dark', '--cx-dark', 4.5, 'Type on the dark panel'],
    ['--cx-on-dark-3', '--cx-dark', 4.5, 'Small type on the dark panel'],
    ['--cx-accent-on-dark', '--cx-dark', 4.5, 'Eyebrows on the dark panel'],
    ['--cx-accent', '--cx-paper', 3, 'Divider and key stat bar on paper'],
    ['--cx-data-highlight', '--cx-paper', 3, 'Chart highlight on paper'],
    ['--cx-data-1', '--cx-paper', 3, 'Chart measure on paper']
  ];

  var q = new URLSearchParams(location.search);
  var root = document.documentElement;
  var issues = [];

  /* Probe stylesheet, test only. deck.html loads it itself, reports load it here. */
  var probeReady = Promise.resolve();
  var probe = q.get('probe');
  if (probe && /^[a-z0-9-]+$/.test(probe) && !document.querySelector('link[data-probe]')) {
    var link = document.createElement('link');
    link.rel = 'stylesheet'; link.href = 'tests/' + probe + '.css'; link.setAttribute('data-probe', '');
    probeReady = new Promise(function (ok) { link.onload = ok; link.onerror = ok; });
    document.head.appendChild(link);
  }

  /* Clipped figures. Big numbers sit in a box with overflow hidden, so a figures face with tall
     numerals, a tall "$", or deep descenders loses ink at a tight --cx-figures-leading. Measure
     the real glyph ink against the box and say how far to raise the slot. */
  var pen = document.createElement('canvas').getContext('2d');
  function clipped(el) {
    var c = getComputedStyle(el), size = parseFloat(c.fontSize);
    var text = (el.firstChild && el.firstChild.nodeType === 3 ? el.firstChild.nodeValue : el.textContent).trim();
    if (!text || !size) return null;
    pen.font = c.fontStyle + ' ' + c.fontWeight + ' ' + c.fontSize + ' ' + c.fontFamily;
    var ink = pen.measureText(text);
    var mark = document.createElement('span');
    mark.style.cssText = 'display:inline-block;width:0;height:0;vertical-align:baseline';
    el.insertBefore(mark, el.firstChild);
    var base = mark.getBoundingClientRect().bottom;
    el.removeChild(mark);
    var box = el.getBoundingClientRect();
    var top = (box.top + parseFloat(c.borderTopWidth)) - (base - ink.actualBoundingBoxAscent);
    var bottom = (base + ink.actualBoundingBoxDescent) - (box.bottom - parseFloat(c.borderBottomWidth));
    var worst = Math.max(top, bottom);
    if (worst <= 0.5) return null;
    var lead = parseFloat(c.lineHeight) / size || 1;
    return { text: text, px: Math.round(worst), edge: top >= bottom ? 'top' : 'bottom', need: Math.ceil((lead + 2 * worst / size) * 20) / 20 };
  }
  /* One line per row of numbers: which are cut, by how much, and the one value that fixes them all. */
  function clipCheck(els) {
    var hits = [];
    Array.prototype.forEach.call(els, function (el) { var h = clipped(el); if (h) hits.push(h); });
    if (!hits.length) return [];
    var need = 0, worst = hits[0];
    hits.forEach(function (h) { need = Math.max(need, h.need); if (h.px > worst.px) worst = h; });
    return ['Big numbers clipped by the figures face: ' + hits.map(function (h) { return '"' + h.text + '"'; }).join(', ') +
      ', worst ' + worst.px + 'px off the ' + worst.edge + '. Set --cx-figures-leading to ' + need.toFixed(2) + ' in theme.css.'];
  }


  function slot(name) { return getComputedStyle(root).getPropertyValue(name).trim(); }

  function rgbOf(value) {
    var probe = document.createElement('span');
    probe.style.color = value;
    probe.style.display = 'none';
    document.body.appendChild(probe);
    var c = getComputedStyle(probe).color;
    document.body.removeChild(probe);
    var m = c.match(/\d+(\.\d+)?/g);
    return m ? m.slice(0, 3).map(Number) : null;
  }
  function lum(rgb) {
    var a = rgb.map(function (v) { v /= 255; return v <= 0.03928 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4); });
    return 0.2126 * a[0] + 0.7152 * a[1] + 0.0722 * a[2];
  }
  function ratio(a, b) { var x = lum(a), y = lum(b); return (Math.max(x, y) + 0.05) / (Math.min(x, y) + 0.05); }

  function themeCheck() {
    var missing = SLOTS.filter(function (s) { return !slot(s); });
    if (missing.length) issues.push('Theme is missing ' + missing.length + ' slot' + (missing.length === 1 ? '' : 's') + ': ' + missing.join(', ') + '. Add them to clients/<name>/theme.css.');
    PAIRS.forEach(function (p) {
      var f = slot(p[0]), b = slot(p[1]);
      if (!f || !b) return;
      var r = ratio(rgbOf(f), rgbOf(b));
      if (r < p[2]) issues.push(p[3] + ' is ' + r.toFixed(1) + ':1 and needs ' + p[2] + ':1. Darken ' + p[0] + ' in theme.css.');
    });
  }

  function photoSwap() {
    var file = q.get('photo');
    if (!file || !/^[a-z0-9_.-]+\.jpe?g$/i.test(file)) return;
    var focus = q.get('focus') || '50% 50%';
    Array.prototype.forEach.call(document.querySelectorAll('img[data-photo]'), function (img) {
      img.src = 'photos/' + file;
      img.style.objectPosition = focus;
      var cap = img.closest('figure') && img.closest('figure').querySelector('[data-photo-caption]');
      if (cap) cap.textContent = 'Photo test: ' + file;
    });
  }

  function stress() {
    if (q.get('stress') !== '1') return;
    Array.prototype.forEach.call(document.querySelectorAll('[data-long]'), function (el) { el.textContent = el.getAttribute('data-long'); });
  }

  function lines(el) {
    var c = getComputedStyle(el), lh = parseFloat(c.lineHeight) || parseFloat(c.fontSize) * 1.2;
    return Math.round(el.getBoundingClientRect().height / lh);
  }
  /* data-lines = most lines allowed, data-min = smallest size as a share of the starting size. */
  function fit(el) {
    var max = +el.getAttribute('data-lines'), floor = +(el.getAttribute('data-min') || 0.8);
    var start = parseFloat(getComputedStyle(el).fontSize), size = start;
    while (lines(el) > max && size > start * floor) { size -= 1; el.style.fontSize = size + 'px'; }
    if (lines(el) > max) {
      /* Trim whole words from the end and add "...". A CSS clamp only clips, and tall display
         glyphs from the hidden line still show through in print. */
      var full = el.textContent, node = el.lastChild;
      while (node && node.nodeType !== 3) node = node.lastChild;
      if (node) {
        var words = node.nodeValue.split(' ');
        while (words.length > 1 && lines(el) > max) { words.pop(); node.nodeValue = words.join(' ').replace(/[\s,.;:]+$/, '') + '...'; }
      }
      full = full.slice(0, 50);
      issues.push('Cut off: "' + full + '..." Shorten it to ' + max + (max === 1 ? ' line.' : ' lines.'));
    } else if (size < start) {
      issues.push('Shrunk to fit: "' + el.textContent.slice(0, 44) + '..." Shorter copy reads better.');
    }
  }
  function fitWidth(group) {
    var els = document.querySelectorAll(group), least = Infinity;
    Array.prototype.forEach.call(els, function (el) {
      var size = parseFloat(getComputedStyle(el).fontSize), floor = size * 0.6;
      while (el.scrollWidth > el.clientWidth + 1 && size > floor) { size -= 1; el.style.fontSize = size + 'px'; }
      least = Math.min(least, size);
    });
    /* Numbers in one row share one size, set by the widest. */
    Array.prototype.forEach.call(els, function (el) { el.style.fontSize = least + 'px'; });
  }

  /* Page 1 carries a one line flag. The full list prints after the last page's content, so the
     check itself never steals room from page 1. */
  function report() {
    var flag = document.querySelector('.cx-check');
    if (!flag) return;
    function write() {
      var html = '<span class="doc-note__label">Chassis check, ' + issues.length + (issues.length === 1 ? ' fix' : ' fixes') + '</span><ul class="doc-list">';
      issues.forEach(function (t) { var li = document.createElement('li'); li.textContent = t; html += li.outerHTML; });
      full.innerHTML = html + '</ul>';
      flag.textContent = 'Chassis check: ' + issues.length + (issues.length === 1 ? ' fix' : ' fixes') + ', listed at the end of this report.';
    }
    var pg = document.querySelector('.cx-page1');
    if (!issues.length && !(pg && pg.scrollHeight > pg.clientHeight + 1)) return;
    flag.className = 'cx-check cx-check--flag';
    var full = document.createElement('aside');
    full.className = 'cx-check doc-note doc-note--editor doc-mt-m';
    document.body.appendChild(full);
    write();
    var page = document.querySelector('.cx-page1');
    if (page && page.scrollHeight > page.clientHeight + 1) { issues.push('Page 1 is overfull and the bottom is cut off. Shorten the title, lede, or stat labels.'); write(); }
    if (window.console) console.warn('Chassis check: ' + issues.join(' | '));
  }

  function run() {
    if (document.querySelector('.doc')) {
      themeCheck();
      photoSwap();
      stress();
      fitWidth('.doc-stat__value');
      issues.push.apply(issues, clipCheck(document.querySelectorAll('.doc-stat__value')));
      Array.prototype.forEach.call(document.querySelectorAll('[data-lines]'), fit);
      report();
    }
  }

  window.MC_CHASSIS = { slots: SLOTS, clipCheck: clipCheck, check: function () { var keep = issues.length; themeCheck(); return issues.splice(keep); } };
  function fontsReady() { return document.fonts && document.fonts.ready ? document.fonts.ready : Promise.resolve(); }
  function go() { probeReady.then(fontsReady).then(run); }
  if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', go);
  else go();
})();
clients/cangelosi/deck.js58 lines, 3.0 KB
/* Cangelosi, September 2026 marketing review. Five slides.
   Change the words between the quote marks. Keep the slide order: cover, stat, chart, image, plan.
   Photos come from the round's photos/ folder. "focus" moves the crop, "50% 30%" keeps the top. */
window.DECK = {
  meta: {
    client: "Cangelosi",
    deckName: "September 2026 marketing review",
    logo: "clients/cangelosi/logo.svg",
    logoReverse: "clients/cangelosi/logo-reverse.svg",
    preparedBy: "Prepared by Marathon Creative, October 6, 2026",
    photoFolder: "photos/",
    draft: true
  },
  slides: [
    { type: "cover",
      eyebrow: "September 2026 marketing review",
      title: "More showroom visits for less",
      lede: "86 appointment requests, the best month this year, at $45 per paid appointment.",
      photo: "mc_retouched_03.jpg", focus: "45% 55%",
      note: "Example figures and stand-in logo and typefaces. Jacob confirms every number before this goes to Cangelosi." },
    { type: "stat",
      eyebrow: "September in three numbers",
      title: "The new photos paid for themselves in two weeks",
      stats: [
        { number: "86", label: "Appointment requests", text: "Up 16 on August. Every one answered by text inside six minutes." },
        { number: "$45", label: "Per paid appointment", text: "Down from $71 in April, across Google Search and Meta.", key: true },
        { number: "214", label: "Calls from Google", text: "From the Business Profile listing, up 9% on August." }
      ] },
    { type: "chart",
      eyebrow: "Where appointments came from",
      title: "Google Search sent 31 of 86",
      takeaway: "People searching for quartz and porcelain are ready to pick a slab. They book at three times the rate of people scrolling Instagram.",
      unit: "Appointment requests, September 2026",
      source: "Source: PaceCRM, September 1 to 30, 2026.",
      data: [
        { label: "Google Search Ads", value: 31, key: true },
        { label: "Meta Ads", value: 22 },
        { label: "Business Profile", value: 17 },
        { label: "Trade email", value: 11 },
        { label: "Organic and referral", value: 5 }
      ] },
    { type: "image",
      eyebrow: "Shot September 9",
      title: "The quartz racks lead the October ads",
      caption: "42 retouched photos from one showroom shoot, delivered two days later.",
      photo: "mc_retouched_08.jpg", focus: "50% 35%" },
    { type: "plan",
      eyebrow: "October plan",
      title: "Three things we do next",
      steps: [
        { when: "October 8", title: "Fall Kitchen Event invite to the trade list", text: "1,240 designers, builders, and remodelers, sent from PaceCRM.", key: true },
        { when: "October 14 to 17", title: "Shoot four finished kitchens", text: "With builder partners, for Instagram and the ads." },
        { when: "All month", title: "Move $400 from Meta to Search", text: "Quartz and porcelain searches book more visits." }
      ],
      contact: "Questions go to Taylor Treybig." }
  ]
};
clients/cypress-creek-roofing/deck-stress.js57 lines, 3.5 KB
/* STRESS TEST. The roofer deck with copy about twice as long as it should be. Open deck.html?client=cypress-creek-roofing&content=stress.
   Change the words between the quote marks. Keep it plain, the way the owner talks. */
window.DECK = {
  meta: {
    client: "Cypress Creek Roofing",
    deckName: "September 2026 lead review",
    logo: "clients/cypress-creek-roofing/logo.svg",
    logoReverse: "clients/cypress-creek-roofing/logo-reverse.svg",
    preparedBy: "Prepared by Marathon Creative, October 3, 2026",
    photoFolder: "photos/",
    draft: true
  },
  slides: [
    { type: "cover",
      eyebrow: "September 2026 lead review",
      title: "212 leads in September and 31 signed roof replacements, our best month since we opened the Cypress office",
      lede: "The most leads we have ever had in a single month, the cheapest month yet on Google, and the first month every single lead got a text back inside a minute, even during storm week.",
      photo: "mc_rosehill_16.jpg", focus: "40% 55%",
      note: "Example client and example figures. The aerials are Rosehill Reserve stand-ins until we shoot the roofer's own jobs." },
    { type: "stat",
      eyebrow: "September in three numbers",
      title: "More calls, cheaper calls, and faster answers than any month since we started working with Marathon",
      stats: [
        { number: "212", label: "Leads", text: "Up 12% on August. Storm week on the 14th doubled calls for three days." },
        { number: "$68", label: "Per Google lead", text: "Down from $95 in April.", key: true },
        { number: "58", unit: "sec", label: "To the first text", text: "Every lead got a PaceCRM text back. It used to take four hours." }
      ] },
    { type: "chart",
      eyebrow: "Where leads came from",
      title: "Google Local Services Ads brought in 74 of the 212 leads, more than any other channel by a wide margin",
      takeaway: "You pay per lead, not per click, and the Google Guaranteed badge does the trust work before anyone calls.",
      unit: "Leads, September 2026",
      source: "Source: PaceCRM, September 1 to 30, 2026.",
      data: [
        { label: "Google Local Services Ads, Google Guaranteed", value: 74, key: true },
        { label: "Google Search Ads", value: 52 },
        { label: "Meta Ads", value: 41 },
        { label: "Google Business Profile", value: 28 },
        { label: "Referral and repeat", value: 17 }
      ] },
    { type: "image",
      eyebrow: "October target area",
      title: "About 1,900 roofs between 10 and 15 years old, the age where hail damage turns into a full replacement",
      caption: "Storm ads stay built and paused all month. They go live within two hours of the next hail report from the National Weather Service, with the Rosehill and Cypress zip codes first.",
      photo: "mc_rosehill_17.jpg", focus: "50% 45%" },
    { type: "plan",
      eyebrow: "October plan",
      title: "Three things we do next",
      steps: [
        { when: "October 1", title: "Storm ads ready to go", text: "Live within two hours of a hail report.", key: true },
        { when: "October 7", title: "Text the 116 September leads who asked for a quote but never booked an inspection", text: "Free roof check offer, sent from PaceCRM." },
        { when: "All month", title: "Move $600 to Local Services Ads", text: "Out of Search Ads, which cost more per lead." }
      ],
      contact: "Questions go to Taylor Treybig." }
  ]
};
clients/cypress-creek-roofing/deck.js57 lines, 2.9 KB
/* Cypress Creek Roofing, September 2026 lead review. Five slides. Example client.
   Change the words between the quote marks. Keep it plain, the way the owner talks. */
window.DECK = {
  meta: {
    client: "Cypress Creek Roofing",
    deckName: "September 2026 lead review",
    logo: "clients/cypress-creek-roofing/logo.svg",
    logoReverse: "clients/cypress-creek-roofing/logo-reverse.svg",
    preparedBy: "Prepared by Marathon Creative, October 3, 2026",
    photoFolder: "photos/",
    draft: true
  },
  slides: [
    { type: "cover",
      eyebrow: "September 2026 lead review",
      title: "212 leads. 31 roofs signed.",
      lede: "The most leads we have ever had in a month, and the cheapest month yet on Google.",
      photo: "mc_rosehill_16.jpg", focus: "40% 55%",
      note: "Example client and example figures. The aerials are Rosehill Reserve stand-ins until we shoot the roofer's own jobs." },
    { type: "stat",
      eyebrow: "September in three numbers",
      title: "More calls, cheaper calls, faster answers",
      stats: [
        { number: "212", label: "Leads", text: "Up 12% on August. Storm week on the 14th doubled calls for three days." },
        { number: "$68", label: "Per Google lead", text: "Down from $95 in April.", key: true },
        { number: "58", unit: "sec", label: "To the first text", text: "Every lead got a PaceCRM text back. It used to take four hours." }
      ] },
    { type: "chart",
      eyebrow: "Where leads came from",
      title: "Local Services Ads brought in 74",
      takeaway: "You pay per lead, not per click, and the Google Guaranteed badge does the trust work before anyone calls.",
      unit: "Leads, September 2026",
      source: "Source: PaceCRM, September 1 to 30, 2026.",
      data: [
        { label: "Local Services Ads", value: 74, key: true },
        { label: "Google Search Ads", value: 52 },
        { label: "Meta Ads", value: 41 },
        { label: "Google Business Profile", value: 28 },
        { label: "Referral and repeat", value: 17 }
      ] },
    { type: "image",
      eyebrow: "October target area",
      title: "1,900 roofs between 10 and 15 years old",
      caption: "Storm ads stay built and paused. They go live within two hours of the next hail report.",
      photo: "mc_rosehill_17.jpg", focus: "50% 45%" },
    { type: "plan",
      eyebrow: "October plan",
      title: "Three things we do next",
      steps: [
        { when: "October 1", title: "Storm ads ready to go", text: "Live within two hours of a hail report.", key: true },
        { when: "October 7", title: "Text 116 leads who did not book", text: "Free roof check offer, sent from PaceCRM." },
        { when: "All month", title: "Move $600 to Local Services Ads", text: "Out of Search Ads, which cost more per lead." }
      ],
      contact: "Questions go to Taylor Treybig." }
  ]
};
cx-deck.js184 lines, 11.1 KB
/* Marathon client chassis, cx-deck.js v1.0.0. Builds a five slide client deck from window.DECK.
   Nobody edits this file to make a deck. Edit clients/<name>/deck.js instead.
   Uses the deck template's slide box, type roles, and footer from deck-template/v/best/deck.css.
   The client's logo goes on the cover and in the footer. Marathon appears once, as the
   prepared-by line on the cover and the last slide. Text is always inserted as plain text.
   No backtick and no dollar-brace, safe inside a String.raw page. */
(function () {
  'use strict';
  var LIMITS = { stats: 3, chart: 6, steps: 3 };
  var q = new URLSearchParams(location.search);

  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);
  }
  function fitted(tag, cls, text, lines, min) {
    return '<' + tag + ' class="' + cls + '" data-lines="' + lines + '" data-min="' + min + '">' + esc(text) + '</' + tag + '>';
  }
  /* A photo test overrides every photo in the deck: deck.html?photo=mc_fullres_12.jpg&focus=50%25%2050%25 */
  function photo(meta, s) {
    var file = q.get('photo') && /^[a-z0-9_.-]+\.jpe?g$/i.test(q.get('photo')) ? q.get('photo') : s.photo;
    var focus = q.get('photo') ? (q.get('focus') || '50% 50%') : (s.focus || '50% 50%');
    if (!file) return '';
    return '<img class="photo" src="' + esc((meta.photoFolder || 'photos/') + file) + '" alt="" style="object-position:' + esc(focus) + '">';
  }
  function foot(meta, n, total, inverse) {
    return '<div class="foot"><img class="cx-foot-logo" src="' + esc(inverse ? meta.logoReverse : meta.logo) + '" alt="' + esc(meta.client) + '">' +
      '<span class="foot-rule"></span><span>' + esc(meta.deckName) + '</span>' +
      '<span class="foot-page">' + pad(n) + ' / ' + pad(total) + '</span></div>';
  }
  function opener(s, lines) {
    return '<div class="opener">' + (s.eyebrow ? fitted('div', 'eyebrow', s.eyebrow, 1, 16) : '') +
      fitted('h2', 'h1', s.title, lines || 2, 48) + '</div>';
  }

  var R = {};

  R.cover = function (s, m) {
    return { inverse: true, footer: false, html:
      '<div class="cover-panel">' +
        '<img class="cx-logo" src="' + esc(m.logoReverse) + '" alt="' + esc(m.client) + '">' +
        '<div class="cover-body"><span class="bar"></span>' +
          (s.eyebrow ? fitted('div', 'eyebrow', s.eyebrow, 1, 16) : '') +
          fitted('h1', 'cover-title', s.title, 3, 64) +
          (s.lede ? fitted('p', 'lede', s.lede, 3, 26) : '') +
          '<div class="cover-meta">' + esc(m.preparedBy) + '</div>' +
        '</div>' +
      '</div>' +
      '<div class="cover-photo">' + photo(m, s) + '</div>' };
  };

  R.stat = function (s, m, warn) {
    var stats = take(s.stats, LIMITS.stats, warn, 'stats');
    /* Dark field, as in the deck template: the numbers are the focal point. */
    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, 22) + (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 = 110, row = 104, barH = 56, plot = W - labelW - valueW, 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 all-measure">' + (s.unit ? '<div class="chart-unit">' + esc(s.unit) + '</div>' : '') + svg + '</div></div>' };
  };

  R.image = function (s, m, warn, n, total) {
    return { photo: true, footer: false, html: photo(m, s) +
      '<div class="cx-bleed-panel"><span class="bar"></span>' +
        (s.eyebrow ? fitted('div', 'eyebrow', s.eyebrow, 1, 16) : '') +
        fitted('h2', 'h1', s.title, 2, 44) +
        (s.caption ? fitted('p', 'bleed-caption', s.caption, 3, 18) : '') +
      '</div><div class="cx-bleed-page">' + pad(n) + ' / ' + pad(total) + '</div>' };
  };

  R.plan = function (s, m, warn) {
    var steps = take(s.steps, LIMITS.steps, warn, 'steps');
    return { html: '<div class="cx-plan">' + opener(s, 2) + '<div class="cx-steps">' + steps.map(function (st, i) {
      return '<div class="cx-step' + (st.key ? ' is-key' : '') + '"><div class="cx-step__n">' + pad(i + 1) + '</div>' +
        fitted('div', 'cx-step__when', st.when, 1, 14) + fitted('div', 'cx-step__title', st.title, 3, 24) +
        (st.text ? fitted('div', 'small', st.text, 3, 18) : '') + '</div>';
    }).join('') + '</div></div>' +
    '<div class="cx-deck-prepared"><span><b>' + esc(m.preparedBy) + '</b></span><span>' + esc(s.contact || '') + '</span></div>' };
  };

  /* Same fit engine as the deck template: shrink a step at a time, then clamp and say so. */
  function fitBlock(el, warn) {
    var lines = +el.getAttribute('data-lines'), min = +el.getAttribute('data-min');
    var size = parseFloat(getComputedStyle(el).fontSize), start = size;
    function tooTall() {
      var c = getComputedStyle(el), lh = parseFloat(c.lineHeight) || parseFloat(c.fontSize) * 1.2;
      return Math.round(el.getBoundingClientRect().height / lh) > lines;
    }
    while (tooTall() && size > min) { size -= 2; el.style.fontSize = size + 'px'; }
    if (tooTall()) {
      /* Trim whole words and add "...". A CSS clamp only clips, and tall display glyphs from the
         hidden line show through. */
      var full = el.textContent, node = el.lastChild;
      while (node && node.nodeType !== 3) node = node.lastChild;
      if (node) {
        var words = node.nodeValue.split(' ');
        while (words.length > 1 && tooTall()) { words.pop(); node.nodeValue = words.join(' ').replace(/[\s,.;:]+$/, '') + '...'; }
      }
      warn.push('Copy cut off: "' + full.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.');
    }
  }
  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.');
  }
  function fitWidth(el) {
    var size = parseFloat(getComputedStyle(el).fontSize);
    while (el.scrollWidth > el.clientWidth + 1 && size > 72) { size -= 4; el.style.fontSize = size + 'px'; }
  }

  function build() {
    var D = window.DECK || { meta: {}, slides: [] }, meta = D.meta || {};
    var draft = q.has('draft') ? q.get('draft') !== '0' : meta.draft !== false;
    var only = +q.get('only') || 0;
    var root = document.getElementById('deck');
    var themeIssues = window.MC_CHASSIS ? window.MC_CHASSIS.check() : [];
    root.innerHTML = '';
    document.title = meta.deckName || 'Client deck';
    var total = D.slides.length;
    D.slides.forEach(function (s, i) {
      if (only && only !== i + 1) return;
      var warn = i === 0 ? themeIssues.slice() : [];
      var sec = document.createElement('section');
      sec.className = 'slide';
      var make = R[s.type];
      if (!make) { sec.innerHTML = '<div class="ednote"><b>Editor note</b><p class="warn">Unknown slide type "' + esc(s.type) + '". Use cover, stat, chart, image, or plan.</p></div>'; root.appendChild(sec); return; }
      var out = make(s, meta, warn, i + 1, total);
      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));
      root.appendChild(sec);
      var nums = sec.querySelectorAll('[data-fitw]'), least = Infinity;
      Array.prototype.forEach.call(nums, function (el) { fitWidth(el); least = Math.min(least, parseFloat(getComputedStyle(el).fontSize)); });
      Array.prototype.forEach.call(nums, function (el) { el.style.fontSize = least + 'px'; });
      if (nums.length && window.MC_CHASSIS) warn.push.apply(warn, window.MC_CHASSIS.clipCheck(nums));
      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';
        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. The browser console lists them all.</p>' : '');
        if (warn.length && window.console) console.warn('Slide ' + (i + 1) + ': ' + warn.join(' | '));
        sec.appendChild(n);
      }
    });
  }

  var ready = document.fonts && document.fonts.ready ? document.fonts.ready : Promise.resolve();
  window.MC_DECK_READY = ready.then(build, build);
})();
clients/cangelosi/logo-reverse.svg5 lines, 374 bytes
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 520 72" role="img" aria-label="Cangelosi">
  <!-- STAND-IN wordmark set from the showroom wall lettering. Replace with Cangelosi's vector logo. -->
  <text x="260" y="54" text-anchor="middle" font-family="Baskerville, 'Big Caslon', Georgia, serif" font-size="60" letter-spacing="9" fill="#ffffff">CANGELOSI</text>
</svg>
clients/cangelosi/logo.svg5 lines, 374 bytes
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 520 72" role="img" aria-label="Cangelosi">
  <!-- STAND-IN wordmark set from the showroom wall lettering. Replace with Cangelosi's vector logo. -->
  <text x="260" y="54" text-anchor="middle" font-family="Baskerville, 'Big Caslon', Georgia, serif" font-size="60" letter-spacing="9" fill="#262320">CANGELOSI</text>
</svg>

4 more source files are in the zip above.