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

Training docs

Confirmed

Onboarding, SOPs, and how-to guides readable on a phone on a shoot day.

Champion r03Confirmed in r03Repo folder build/training-docs/v/best/
Training docs, 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

Four working docs plus a library page. Each one opens on a phone on a shoot day and prints on US Letter with Cmd+P. Same file, two layouts. No app, no build step.

FileWhat it is
index.htmlThe library. Save it to your phone's home screen.
sop-listing-shoot.htmlSOP 01, listing shoot day: photos, drone, and the Zillow 3D tour. 42 checks in six sections.
howto-hero-photo.htmlHow-to 01, pick the hero photo and crop it for MLS, feed, and story.
clickup.htmlClickUp 01, how work moves: task anatomy, statuses, and your morning.
onboarding.htmlOnboarding 01, your first week.
training.cssThe phone layout and the training components. Loads after doc.css.
training.jsSaves ticked boxes, runs the progress strip, and sizes photo frames.
icons-inline.pyCopies the icons a doc uses into that doc.
photos/Copies of the real shoot photos these docs use.

On a shoot day

  1. Open SOP 01 on your phone. The bar at the top shows how many boxes are done, and the chips jump to each section.
  2. Tick boxes as you go. They save on that phone, so a dead signal or a closed tab loses nothing.
  3. A red Hard stop means the shoot does not move on until that line is true.
  4. Next listing, tap New shoot to clear every box.

Print it

Cmd+P, Destination Save as PDF, Margins Default, Background graphics on. The phone header and chips drop out, the dark logo masthead comes in, checklists print as empty boxes in two columns, and the footer carries the doc name and page number.

Printed checklists sit on the 12 column doc grid, six columns each side. Checks fill row by row, so the two checks in a row share a top line and a bottom rule, and both columns end on the same rule. An odd last check runs the full width. A Hard stop tag prints on the title line. Lines wrap with text-wrap: pretty, so a reason line does not end on one word.

SOP 01 prints on five planned pages. Page one is the brief and the two tables, then two steps per page, and page five is the escalation callout, the notes, and a paper shoot log to fill in on site and photograph into the task. A step never splits across pages, and every page ends on the same line above the footer.

Change a printed SOP without breaking the pages

  1. Each printed page is a <div class="t-page">. On a phone it is invisible.
  2. Add a check to a step and the page may outgrow Letter. It will not overlap, it flows on, but the plan is broken. Check it before you print: node build/training-docs/v/r03/_measure.mjs <doc.html> prints each page's height in print layout. Every page must be 900 or under. Over that, shorten the longest reason line in the tallest row, or move the step to the next t-page.
  3. A row is as tall as its taller check. Keep the two checks in a row close in length, and keep a title to one line where you can.
  4. Keep two steps to a page. Spare height spreads between the steps, so a short page shows a wider gap, not an empty bottom.

Write a new SOP or how-to

  1. Copy the closest doc and rename it. Change the --doc-name and data-doc values on the <html> tag. data-doc must be unique, it is where the ticked boxes are saved.
  2. Keep the order: eyebrow, title, lede, meta list, then sections. One title per doc.
  3. Each section is a t-sect with an id. Add a matching chip in the sub-nav if the doc has one.
  4. Checklist item: bold the action, put the reason in t-check__why. Add t-check__stop only when skipping it costs a client, a card, or a flight.
  5. Photos only from Marathon shoots, copied into photos/. Never type on a photo and never put red on one. Captions go underneath.
  6. Every number Jacob has not approved goes in the editor note. Leave data-status="draft" until he clears it, then switch to final and the note disappears from the print.
  7. Used a new icon? Run python3 icons-inline.py in this folder.

Writing rules: direct and plain, real numbers, no em dashes, Oxford comma, one to nine spelled out, numerals for 10 and up and for money, percentages, and time. Texts and emails open Hello <Contact Name>,. Never type a colour code, use the token names.

Put it in an app

Copy training.css, training.js, and the docs into the app next to /brand/tokens.css, /brand/icons.css, and doc.css, then change the four stylesheet links to the /brand/ paths. The HTML has no backticks and no dollar-brace, so it drops into a String.raw page as is.

Render and test

From the repo root: sh build/training-docs/v/r03/render.sh. It writes every doc at 390px (renders/*-phone.png), every doc as a Letter PDF with 150dpi pages (renders/*-letter/), renders/primary.png, and the photo tests. photo-test.mjs drops one photo into every slot of How-to 01 and captures the hero and the crop strip. It runs on a tight interior, a wide aerial, a portrait original, and a lot with a red boundary line (renders/photo-*.png).

For Jacob to confirm

Each doc's editor note lists its working figures: the time-on-site table, the 20 mph wind limit, the 25% landing battery, the 6pm upload and 9am delivery, the 48 hour tour turnaround, the kit list, Aloft, export sizes and file naming, the ClickUp statuses and fields, the week one plan, and team roles for Hector, Rey, and Hunter.

Use it

Files to download and code to copy

  • Whole piece, source files22 files, zip, 4.4 MB. Paths inside follow the repo layout, so put tokens.css beside them as the README says.
    Download
  • clickup-letter.pdfPDF, 68.6 KB
    Download
  • howto-hero-photo-letter.pdfPDF, 2.6 MB
    Download
  • index-letter.pdfPDF, 44.2 KB
    Download
  • onboarding-letter.pdfPDF, 69.3 KB
    Download
  • sop-listing-shoot-letter.pdfPDF, 92.4 KB
    Download

Copy-paste code

training.css414 lines, 29.8 KB
/* Marathon training and internal docs, training.css v1.0.0.
   Link order: tokens.css, doc.css, icons.css, then this file.
   doc.css owns print (US Letter, footer, page numbers). This file adds two things:
     1. On screen, the same document reads as a phone page: a navy header, a single column,
        screen type sizes, and 44px tap targets. Built for a shoot day at 390px.
     2. Training components (t- prefix): checklists, steps, crop strips, status flows,
        and the task anatomy card. Each one has a screen rule and a print rule.
   Every colour, size, and space is a token. No hex, no numeric rgb(), no second typeface. */

:root {
  --t-col: 720px;                                   /* reading column on screen */
  --t-box: 22px;                                    /* checkbox, screen */
  --t-box-print: 10pt;                              /* checkbox, print */
  --t-num: 32px;                                    /* step number square, screen */
  --t-num-print: 20pt;
  --t-thumb: 92px;                                  /* library list thumbnail */
}

/* ------------------------------------------------------------ screen shell -- */

@media screen {
  html.doc.t-doc { background: var(--mc-surface-page); }
  html.doc.t-doc body {
    width: auto; margin: 0; padding: 0; box-shadow: none;
    font-size: var(--mc-type-body-size); line-height: var(--mc-type-body-leading);
    -webkit-text-size-adjust: 100%;
  }
  html.t-doc { --t-head: 56px; --t-sub: 0px; }
  html.t-doc.t-has-sub { --t-sub: 92px; }

  .t-main { max-width: var(--t-col); margin: 0 auto; padding: var(--mc-space-07) var(--mc-screen-margin) var(--mc-space-12); }
  .t-print-only { display: none !important; }

  /* Screen type. doc.css sets print sizes in pt, these swap in the screen roles. */
  .t-doc .doc-eyebrow, .t-doc .doc-note__label, .t-doc .doc-card__index { font-size: var(--mc-type-eyebrow-size); }
  .t-doc .doc-title { font-size: var(--mc-type-h1-size); max-width: none; }
  .t-doc .doc-h2 { font-size: var(--mc-type-h2-size); line-height: var(--mc-type-h2-leading); }
  .t-doc .doc-h3, .t-doc .doc-card__title, .t-doc .doc-callout__title { font-size: var(--mc-type-h3-size); }
  .t-doc .doc-lede { font-size: var(--mc-type-lede-size); max-width: none; }
  .t-doc .doc-small, .t-doc .doc-note, .t-doc .doc-card__text, .t-doc .doc-table, .t-doc .doc-stat__label { font-size: var(--mc-type-small-size); }
  .t-doc .doc-caption, .t-doc .doc-figure figcaption, .t-doc .doc-copy__meta, .t-doc .doc-meta dt,
  .t-doc .doc-table th, .t-doc .doc-card__foot, .t-doc .doc-table caption, .t-doc .doc-table td .doc-table__sub { font-size: var(--mc-type-caption-size); }
  .t-doc .doc-stat__value { font-size: var(--mc-type-h1-size); }
  .t-doc .doc-divider { margin: var(--mc-space-10) 0 var(--mc-space-06); }

  /* Phone: grids fold to one or two columns. */
  .t-doc .doc-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--mc-space-05); }
  .t-doc .doc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--mc-space-07); }
  .t-doc .doc-cards { grid-template-columns: minmax(0, 1fr); }
  .t-doc .doc-callout { margin-left: calc(-1 * var(--mc-screen-margin)); margin-right: calc(-1 * var(--mc-screen-margin)); padding: var(--mc-space-07) var(--mc-screen-margin); }
  .t-doc .doc-copy__body { padding: var(--mc-space-05); }
  .t-doc .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .t-doc .doc-grid > * { grid-column: 1 / -1; }

  @media (min-width: 768px) {
    .t-doc .doc-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .t-doc .doc-stats { grid-template-columns: repeat(var(--doc-stat-count, 4), minmax(0, 1fr)); }
    .t-doc .doc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .t-doc .doc-callout { margin-left: 0; margin-right: 0; padding: var(--mc-space-08); }
  }
}

/* -------------------------------------------------------------- the header -- */
/* The standard Marathon app header, rebuilt from tokens: navy bar, white lockup, hairline, app name. */

.t-top {
  position: sticky; top: 0; z-index: var(--mc-z-header);
  height: var(--t-head); background: var(--mc-surface-inverse); color: var(--mc-text-inverse);
  padding-top: var(--mc-safe-top);
}
.t-top__wrap {
  display: flex; align-items: center; gap: var(--mc-space-04); height: 100%;
  max-width: var(--t-col); margin: 0 auto; padding: 0 var(--mc-screen-margin);
}
.t-top__logo { display: block; height: var(--mc-screen-header-logo-sm); width: auto; flex: none; }
.t-top__app {
  padding-left: var(--mc-space-04); border-left: var(--mc-border-width-hairline) solid var(--mc-border-inverse);
  font-size: var(--mc-type-appname-size); font-weight: var(--mc-type-appname-weight);
  letter-spacing: var(--mc-type-appname-tracking); text-transform: var(--mc-type-appname-case);
  line-height: var(--mc-type-appname-leading); color: var(--mc-text-inverse-secondary); white-space: nowrap;
}
.t-top__back {
  margin-left: auto; display: inline-flex; align-items: center; gap: var(--mc-space-01);
  min-height: var(--mc-screen-touch-target); padding: 0 var(--mc-space-02);
  color: var(--mc-text-inverse); text-decoration: none;
  font-size: var(--mc-type-caption-size); font-weight: var(--mc-weight-semibold);
}
.t-doc .t-top__back { color: var(--mc-text-inverse); }

/* Sub-nav: progress and section chips. Sticks under the header. */
.t-sub {
  position: sticky; top: var(--t-head); z-index: var(--mc-z-sticky);
  height: var(--t-sub); background: var(--mc-surface-page);
  border-bottom: var(--mc-border-width-hairline) solid var(--mc-border-subtle);
}
.t-sub__wrap { max-width: var(--t-col); margin: 0 auto; padding: var(--mc-space-04) var(--mc-screen-margin) 0; }
.t-progress { display: flex; align-items: center; gap: var(--mc-space-04); }
.t-progress__text {
  flex: none; font-size: var(--mc-type-caption-size); font-weight: var(--mc-weight-bold);
  color: var(--mc-text-heading); font-variant-numeric: var(--mc-numeric-tabular);
}
.t-progress__bar { flex: 1 1 auto; height: var(--mc-border-width-bar); background: var(--mc-border-subtle); }
.t-progress__fill { display: block; height: 100%; width: var(--t-pct, 0%); background: var(--mc-accent); }
.t-progress__reset {
  flex: none; min-height: var(--mc-space-08); padding: 0 var(--mc-space-03);
  border: var(--mc-border-width-hairline) solid var(--mc-border-strong); border-radius: var(--mc-radius-md);
  background: var(--mc-surface-page); color: var(--mc-text-secondary); cursor: pointer;
  font: inherit; font-size: var(--mc-type-caption-size); font-weight: var(--mc-weight-semibold);
}
.t-chips {
  display: flex; gap: var(--mc-space-03); margin: var(--mc-space-03) calc(-1 * var(--mc-screen-margin)) 0;
  padding: 0 var(--mc-screen-margin) var(--mc-space-03); overflow-x: auto; scrollbar-width: none;
}
.t-chips::-webkit-scrollbar { display: none; }
.t-chip {
  flex: none; display: inline-flex; align-items: center; gap: var(--mc-space-02);
  min-height: var(--mc-screen-touch-target); padding: 0 var(--mc-space-04);
  border: var(--mc-border-width-hairline) solid var(--mc-border-strong); border-radius: var(--mc-radius-pill);
  color: var(--mc-text-heading); text-decoration: none; white-space: nowrap;
  font-size: var(--mc-type-caption-size); font-weight: var(--mc-weight-semibold);
}
.t-doc .t-chip { color: var(--mc-text-heading); text-decoration: none; }
.t-chip__count { color: var(--mc-text-tertiary); font-variant-numeric: var(--mc-numeric-tabular); }
.t-chip.is-done { background: var(--mc-surface-inverse); border-color: var(--mc-surface-inverse); color: var(--mc-text-inverse); }
.t-chip.is-done .t-chip__count { color: var(--mc-text-inverse-secondary); }

/* ------------------------------------------------------------- checklists -- */
/* One tap target per item, the whole row. State saves on the phone. */

.t-check { list-style: none; margin: 0 0 var(--mc-space-07); padding: 0; border-top: var(--mc-border-width-hairline) solid var(--mc-border-subtle); }
.t-check > li { border-bottom: var(--mc-border-width-hairline) solid var(--mc-border-subtle); break-inside: avoid; }
.t-check label {
  display: grid; grid-template-columns: var(--t-box) minmax(0, 1fr); column-gap: var(--mc-space-04);
  align-items: start; min-height: var(--mc-screen-touch-target); padding: var(--mc-space-04) 0; cursor: pointer;
}
.t-check input {
  appearance: none; -webkit-appearance: none; margin: var(--mc-space-01) 0 0; flex: none;
  width: var(--t-box); height: var(--t-box); border: var(--mc-border-width-strong) solid var(--mc-text-heading);
  border-radius: var(--mc-radius-sm); background: var(--mc-surface-page); display: grid; place-content: center; cursor: pointer;
}
.t-check input::after {
  content: ""; width: calc(var(--t-box) * 0.28); height: calc(var(--t-box) * 0.52); margin-top: calc(var(--t-box) * -0.1);
  border: solid var(--mc-text-inverse); border-width: 0 var(--mc-border-width-bar) var(--mc-border-width-bar) 0;
  transform: rotate(45deg); opacity: 0;
}
.t-check input:checked { background: var(--mc-surface-inverse); border-color: var(--mc-surface-inverse); }
.t-check input:checked::after { opacity: 1; }
.t-check input:focus-visible { outline: var(--mc-focus-ring-width) solid var(--mc-border-focus); outline-offset: var(--mc-focus-ring-offset); }
.t-check__text { display: block; color: var(--mc-text-primary); text-wrap: pretty; }
.t-check__text strong { font-weight: var(--mc-weight-semibold); color: var(--mc-text-heading); }
.t-check__why { display: block; text-wrap: pretty; margin-top: var(--mc-space-01); font-size: var(--mc-type-small-size); line-height: var(--mc-type-small-leading); color: var(--mc-text-secondary); }
.t-check input:checked + .t-check__text { color: var(--mc-text-tertiary); }
.t-check input:checked + .t-check__text .t-check__why { color: var(--mc-text-tertiary); }

/* Hard stop: the shoot does not continue until this is true. */
.t-check__stop {
  display: table; margin: 0 0 var(--mc-space-02); padding: var(--mc-space-01) var(--mc-space-02);
  background: var(--mc-accent); color: var(--mc-text-on-accent);
  font-size: var(--mc-type-eyebrow-size); font-weight: var(--mc-weight-bold); line-height: var(--mc-type-eyebrow-leading);
  letter-spacing: var(--mc-type-eyebrow-tracking); text-transform: uppercase;
}

/* Section head with its own count, used above each checklist. */
.t-sect { scroll-margin-top: calc(var(--t-head, 0px) + var(--t-sub, 0px) + var(--mc-space-04)); }
.t-sect__top { break-inside: avoid; break-after: avoid; }
.t-sect__top .doc-h2 { margin-bottom: var(--mc-space-03); }
.t-sect__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--mc-space-04); }
.t-sect__count { flex: none; font-size: var(--mc-type-caption-size); font-weight: var(--mc-weight-semibold); color: var(--mc-text-tertiary); font-variant-numeric: var(--mc-numeric-tabular); }
.t-sect__icon { display: flex; align-items: center; gap: var(--mc-space-03); }

/* ------------------------------------------------------------ how-to steps -- */

.t-steps { list-style: none; margin: 0; padding: 0; counter-reset: t-step; }
.t-step { position: relative; margin: 0 0 var(--mc-space-10); padding-left: calc(var(--t-num) + var(--mc-space-04)); counter-increment: t-step; }
.t-step::before {
  content: counter(t-step); position: absolute; left: 0; top: 0;
  width: var(--t-num); height: var(--t-num); display: grid; place-content: center;
  background: var(--mc-surface-inverse); color: var(--mc-text-inverse);
  font-weight: var(--mc-weight-extrabold); font-variant-numeric: var(--mc-numeric-tabular);
}
.t-step__title { margin: 0 0 var(--mc-space-03); padding-top: var(--mc-space-01); font-size: var(--mc-type-h3-size); font-weight: var(--mc-type-h3-weight); line-height: var(--mc-type-h3-leading); color: var(--mc-text-heading); }
.t-step > .t-wide { margin-left: calc(-1 * (var(--t-num) + var(--mc-space-04))); }

/* ---------------------------------------------------------- photo figures -- */
/* The photo never carries type, a scrim, or red. Labels sit under it on white.
   training.js reads each photo's real shape and sets data-orient:
   landscape fills a 3:2 frame, portrait keeps a 4:5 frame at a narrower width, so a tall
   original is never cut down to a strip. */

.t-shot { margin: 0 0 var(--mc-space-07); break-inside: avoid; }
.t-shot__frame { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--mc-surface-muted); }
.t-shot[data-orient="portrait"] .t-shot__frame { aspect-ratio: 4 / 5; width: 72%; }
.t-shot__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--t-focus, 50% 50%); display: block; }
.t-shot figcaption { margin-top: var(--mc-space-03); font-size: var(--mc-type-caption-size); line-height: var(--mc-type-caption-leading); color: var(--mc-text-secondary); }
.t-shot figcaption strong { color: var(--mc-text-heading); font-weight: var(--mc-weight-semibold); }
.t-shot__tag {
  display: block; margin-bottom: var(--mc-space-01);
  font-size: var(--mc-type-eyebrow-size); font-weight: var(--mc-weight-bold); letter-spacing: var(--mc-type-eyebrow-tracking);
  text-transform: uppercase; color: var(--mc-text-label);
}

/* Hero picks, three small examples side by side on print, stacked two up on phone. */
.t-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mc-space-05) var(--mc-space-04); margin: 0 0 var(--mc-space-07); }
.t-picks .t-shot { margin: 0; }
.t-picks .t-shot__frame { aspect-ratio: 3 / 2; width: 100%; }
.t-picks .t-shot[data-orient="portrait"] .t-shot__frame { aspect-ratio: 3 / 2; width: 100%; }

/* Crop strip: one original, every place it goes. Same focus point across all three. */
.t-crops { display: grid; grid-template-columns: 9fr 4fr; grid-template-areas: "a a" "b c"; gap: var(--mc-space-04); margin: 0 0 var(--mc-space-05); align-items: end; }
.t-crop { margin: 0; min-width: 0; }
.t-crop--32 { grid-area: a; } .t-crop--45 { grid-area: b; } .t-crop--916 { grid-area: c; }
.t-crop__frame { position: relative; overflow: hidden; background: var(--mc-surface-muted); }
.t-crop--32 .t-crop__frame { aspect-ratio: 3 / 2; }
.t-crop--45 .t-crop__frame { aspect-ratio: 4 / 5; }
.t-crop--916 .t-crop__frame { aspect-ratio: 9 / 16; }
.t-crop__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--t-focus, 50% 50%); display: block; }
/* Story safe area drawn as a hairline frame, never filled. 250px top and 340px bottom of 1920. */
.t-crop--916 .t-crop__frame::after {
  content: ""; position: absolute; left: 7.4%; right: 7.4%; top: 13%; bottom: 17.7%;
  border: var(--mc-border-width-hairline) dashed var(--mc-text-inverse);
}
.t-crop figcaption { margin-top: var(--mc-space-02); font-size: var(--mc-type-caption-size); line-height: var(--mc-type-caption-leading); color: var(--mc-text-secondary); }
.t-crop figcaption strong { display: block; color: var(--mc-text-heading); font-weight: var(--mc-weight-bold); }

/* --------------------------------------------------- ClickUp status flow -- */

.t-flow { list-style: none; margin: 0 0 var(--mc-space-07); padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.t-flow > li {
  position: relative; display: grid; grid-template-columns: var(--mc-space-05) minmax(0, 1fr); column-gap: var(--mc-space-04);
  padding: 0 0 var(--mc-space-05);
}
.t-flow > li::before { content: ""; width: var(--mc-space-05); height: var(--mc-space-05); margin-top: var(--mc-space-01); border: var(--mc-border-width-strong) solid var(--mc-text-heading); background: var(--mc-surface-page); box-sizing: border-box; }
.t-flow > li::after { content: ""; position: absolute; left: calc(var(--mc-space-05) / 2 - var(--mc-border-width-hairline)); top: calc(var(--mc-space-05) + var(--mc-space-02)); bottom: var(--mc-space-01); width: var(--mc-border-width-strong); background: var(--mc-border-strong); }
.t-flow > li:last-child::after { display: none; }
.t-flow > li.is-end::before { background: var(--mc-surface-inverse); }
.t-flow > li.is-key::before { border-color: var(--mc-accent); background: var(--mc-accent); }
.t-flow__name { display: block; font-weight: var(--mc-weight-bold); color: var(--mc-text-heading); }
.t-flow__who { display: block; font-size: var(--mc-type-small-size); line-height: var(--mc-type-small-leading); color: var(--mc-text-secondary); }

/* ----------------------------------------------------- task anatomy card -- */
/* A drawing of a ClickUp task, built from tokens, with numbered pins that match the list below it. */

.t-task {
  margin: 0 0 var(--mc-space-05); border: var(--mc-border-width-hairline) solid var(--mc-border-strong);
  background: var(--mc-surface-raised); box-shadow: var(--mc-shadow-1); break-inside: avoid;
}
.t-task__bar { display: flex; align-items: center; gap: var(--mc-space-03); padding: var(--mc-space-04) var(--mc-space-05); border-bottom: var(--mc-border-width-hairline) solid var(--mc-border-subtle); }
.t-task__status {
  display: inline-flex; align-items: center; min-height: var(--mc-space-07); padding: 0 var(--mc-space-03);
  background: var(--mc-surface-inverse); color: var(--mc-text-inverse);
  font-size: var(--mc-type-eyebrow-size); font-weight: var(--mc-weight-bold); letter-spacing: var(--mc-type-eyebrow-tracking); text-transform: uppercase;
}
.t-task__crumb { font-size: var(--mc-type-caption-size); color: var(--mc-text-tertiary); font-weight: var(--mc-weight-semibold); }
.t-task__body { padding: var(--mc-space-05); }
.t-task__name { margin: 0 0 var(--mc-space-05); font-size: var(--mc-type-h3-size); font-weight: var(--mc-weight-bold); line-height: var(--mc-type-h3-leading); color: var(--mc-text-heading); }
.t-task__fields { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; border-top: var(--mc-border-width-hairline) solid var(--mc-border-subtle); }
.t-task__fields > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); column-gap: var(--mc-space-04); padding: var(--mc-space-03) 0; border-bottom: var(--mc-border-width-hairline) solid var(--mc-border-subtle); }
.t-task__fields dt { font-size: var(--mc-type-caption-size); font-weight: var(--mc-weight-semibold); color: var(--mc-text-tertiary); display: flex; align-items: center; gap: var(--mc-space-02); }
.t-task__fields dd { margin: 0; font-size: var(--mc-type-small-size); font-weight: var(--mc-weight-semibold); color: var(--mc-text-heading); font-variant-numeric: var(--mc-numeric-tabular); min-width: 0; }
.t-task__fields dd .t-muted { font-weight: var(--mc-weight-regular); color: var(--mc-text-secondary); }
.t-pin {
  display: inline-grid; place-content: center; flex: none;
  width: var(--mc-space-06); height: var(--mc-space-06); border-radius: var(--mc-radius-pill);
  background: var(--mc-accent); color: var(--mc-text-on-accent);
  font-size: var(--mc-type-eyebrow-size); font-weight: var(--mc-weight-bold); font-variant-numeric: var(--mc-numeric-tabular); line-height: 1;
}
.t-task__comment { margin: var(--mc-space-05) 0 0; padding: var(--mc-space-04); background: var(--mc-surface-muted); font-size: var(--mc-type-small-size); line-height: var(--mc-type-small-leading); }
.t-task__comment b { color: var(--mc-text-heading); font-weight: var(--mc-weight-semibold); }

.t-pins { list-style: none; margin: 0 0 var(--mc-space-07); padding: 0; }
.t-pins > li { display: grid; grid-template-columns: var(--mc-space-06) minmax(0, 1fr); column-gap: var(--mc-space-04); padding: var(--mc-space-03) 0; }
.t-pins strong { color: var(--mc-text-heading); }

/* ------------------------------------------------------- small utilities -- */

.t-swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mc-space-04); margin: 0 0 var(--mc-space-07); }
.t-swatch { margin: 0; border: var(--mc-border-width-hairline) solid var(--mc-border-subtle); break-inside: avoid; }
.t-swatch__chip { height: var(--mc-space-11); }
.t-swatch__chip--navy { background: var(--mc-surface-inverse); }
.t-swatch__chip--red { background: var(--mc-accent); }
.t-swatch__chip--charcoal { background: var(--mc-text-primary); }
.t-swatch__chip--gray { background: var(--mc-surface-muted); }
.t-swatch figcaption { padding: var(--mc-space-03) var(--mc-space-04) var(--mc-space-04); font-size: var(--mc-type-caption-size); line-height: var(--mc-type-caption-leading); color: var(--mc-text-secondary); }
.t-swatch figcaption strong { display: block; color: var(--mc-text-heading); font-weight: var(--mc-weight-bold); }
.t-swatch code { display: block; margin-top: var(--mc-space-02); font-family: inherit; font-weight: var(--mc-weight-semibold); color: var(--mc-text-heading); }

.t-logo-demo { display: flex; align-items: center; justify-content: center; padding: var(--mc-space-08); margin: 0 0 var(--mc-space-03); border: var(--mc-border-width-hairline) solid var(--mc-border-subtle); }
.t-logo-demo img { height: var(--mc-space-09); width: auto; display: block; }
.t-logo-demo--navy { background: var(--mc-surface-inverse); border-color: var(--mc-surface-inverse); }

.t-icon-row { display: flex; align-items: center; gap: var(--mc-space-03); }
.t-doc .t-ref { font-weight: var(--mc-weight-semibold); }

/* Library list on the index page. */
.t-lib { list-style: none; margin: 0 0 var(--mc-space-07); padding: 0; border-top: var(--mc-border-width-hairline) solid var(--mc-border-subtle); }
.t-lib > li { border-bottom: var(--mc-border-width-hairline) solid var(--mc-border-subtle); }
.t-lib a { display: grid; grid-template-columns: var(--mc-space-10) minmax(0, 1fr) var(--mc-space-05); column-gap: var(--mc-space-04); align-items: center; padding: var(--mc-space-05) 0; text-decoration: none; color: var(--mc-text-primary); }
.t-doc .t-lib a { color: var(--mc-text-primary); text-decoration: none; }
.t-lib__icon { width: var(--mc-space-10); height: var(--mc-space-10); display: grid; place-content: center; background: var(--mc-surface-inverse); color: var(--mc-text-inverse); }
.t-lib__kind { display: block; margin-bottom: var(--mc-space-01); font-size: var(--mc-type-eyebrow-size); font-weight: var(--mc-weight-bold); letter-spacing: var(--mc-type-eyebrow-tracking); text-transform: uppercase; color: var(--mc-text-label); }
.t-lib__title { display: block; font-weight: var(--mc-weight-bold); color: var(--mc-text-heading); line-height: var(--mc-type-h3-leading); }
.t-lib__note { display: block; margin-top: var(--mc-space-01); font-size: var(--mc-type-small-size); line-height: var(--mc-type-small-leading); color: var(--mc-text-secondary); }

/* Stacked table: on a phone each row becomes a card, the header text moves into each cell. */
@media screen and (max-width: 767px) {
  .t-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .t-stack, .t-stack tbody, .t-stack tr, .t-stack td { display: block; width: 100%; }
  .t-stack tbody tr { padding: var(--mc-space-03) 0; border-bottom: var(--mc-border-width-hairline) solid var(--mc-border-strong); }
  .t-stack tbody tr:first-child { border-top: var(--mc-border-width-bar) solid var(--mc-accent); }
  .t-stack.doc-table tbody tr:nth-child(even) td { background: transparent; box-shadow: none; }
  .t-stack.doc-table td { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); column-gap: var(--mc-space-04); padding: var(--mc-space-01) 0; border: 0; text-align: left; }
  .t-stack.doc-table td::before { content: attr(data-label); font-size: var(--mc-type-caption-size); font-weight: var(--mc-weight-semibold); color: var(--mc-text-tertiary); }
  .t-stack.doc-table td:first-child { display: block; padding-bottom: var(--mc-space-02); font-size: var(--mc-type-body-size); }
  .t-stack.doc-table td:first-child::before { content: none; }
  .t-stack.doc-table .num { text-align: left; }
  .t-stack caption { display: block; }
  .t-stack--plain.doc-table td { display: block; }
  .t-stack--plain.doc-table td::before { content: none; }
}


/* Print page plan. On screen a page wrapper is invisible, the doc reads as one scroll. */
.t-page { display: contents; }

/* ------------------------------------------------------------------ print -- */

@media print {
  .t-screen-only, .t-top, .t-sub { display: none !important; }
  .t-main { padding: 0; }
  html.t-doc { --t-box: var(--t-box-print); --t-num: var(--t-num-print); }

  /* Checklists print as paper checklists: empty boxes, two columns where marked. */
  .t-check { font-size: var(--mc-print-type-body-size); }
  /* Two columns on the 12 column doc grid, six columns each. Items fill row by row, so the two
     items in a row share a top line, a first baseline, and a bottom rule, and both columns end on
     the same rule. An odd last item spans the full width instead of leaving one column short. */
  .t-check--cols {
    display: grid; grid-template-columns: repeat(var(--mc-doc-columns), minmax(0, 1fr));
    column-gap: var(--mc-doc-gutter); row-gap: 0; align-items: stretch;
  }
  .t-check--cols > li { grid-column: span 6; break-inside: avoid; }
  .t-check--cols > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .t-check--cols > li { display: flex; }
  .t-check--cols > li > label { flex: 1 1 auto; }
  /* Hard stop sits on the title line in print, so its title shares a baseline with its neighbour. */
  .t-check__stop { display: inline-block; margin: 0 var(--mc-space-02) 0 0; vertical-align: text-top; }
  .t-check label { min-height: 0; padding: var(--mc-space-03) 0; column-gap: var(--mc-space-03); }
  .t-check input { margin-top: var(--mc-space-01); border-width: var(--mc-border-width-hairline); }
  .t-check input:checked { background: var(--mc-surface-page); border-color: var(--mc-text-heading); }
  .t-check input:checked::after { opacity: 0; }
  .t-check input:checked + .t-check__text, .t-check input:checked + .t-check__text strong, .t-check input:checked + .t-check__text .t-check__why { color: inherit; text-decoration: none; }
  .t-check input:checked + .t-check__text strong { color: var(--mc-text-heading); }
  .t-check__why { font-size: var(--mc-print-type-small-size); }
  .t-check__stop { font-size: var(--mc-print-type-eyebrow-size); }
  .t-sect__count { display: none; }

  /* Page control. A step never splits, its head always travels with its checklist. */
  .t-sect, .t-log { break-inside: avoid; }
  .t-sect__top, .t-sect__head, .t-sect .doc-h2, .t-sect .doc-eyebrow { break-after: avoid; }
  .t-check > li { break-inside: avoid; }

  /* Planned pages. Each wrapper is one Letter page tall, the content area between the top margin
     and the bottom margin, so the last block on every page lands on the same line above the footer. A page that
     outgrows its plan grows and flows on, it never overlaps.
     Spare height goes between sections, never under the last one. */
  .t-page {
    display: flex; flex-direction: column; justify-content: space-between;
    min-height: calc(var(--mc-doc-page-height) - var(--mc-doc-margin-top) - var(--mc-doc-margin-bottom) - var(--mc-space-01));
    break-after: page;
  }
  .t-page:last-of-type { break-after: auto; }
  .t-page > * { flex: none; }
  .t-page > .t-sect:not(:first-child), .t-page > .t-log:not(:first-child) { padding-top: var(--mc-space-07); }
  .t-page > .t-sect > .t-sect__top > .doc-divider, .t-page > .t-log > .t-sect__top > .doc-divider { margin-top: 0; }
  .t-page .t-check label { padding: var(--mc-space-02) 0 var(--mc-space-03); }
  .t-page > :last-child, .t-page .t-check:last-child, .t-page .t-sect > :last-child { margin-bottom: 0; }
  .t-page .doc-title { max-width: none; }

  /* Shoot log, the paper record. Tall rows to write in by hand. */
  .t-log .doc-h2 { font-size: var(--mc-print-type-h3-size); }
  .t-log__table td { height: var(--mc-space-08); vertical-align: top; }
  .t-log__opts { font-size: var(--mc-print-type-caption-size); color: var(--mc-text-tertiary); }

  .t-step { margin-bottom: var(--mc-space-08); break-inside: avoid; }
  .t-step::before { font-size: var(--mc-print-type-h3-size); }
  .t-step__title { font-size: var(--mc-print-type-h3-size); }
  .t-shot figcaption, .t-crop figcaption, .t-swatch figcaption, .t-task__crumb, .t-task__fields dt { font-size: var(--mc-print-type-caption-size); }
  .t-shot__tag, .t-task__status, .t-pin, .t-lib__kind { font-size: var(--mc-print-type-eyebrow-size); }
  .t-shot[data-orient="portrait"] .t-shot__frame { width: 34%; }
  .t-main > .t-shot .t-shot__frame { aspect-ratio: 5 / 2; }
  .t-main > .t-shot[data-orient="portrait"] .t-shot__frame { aspect-ratio: 4 / 5; }
  .t-shot--print-half { width: calc(50% - var(--mc-doc-gutter) / 2); }
  .t-picks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--mc-doc-gutter); }
  .t-crops { grid-template-columns: 8fr 3.2fr 2fr; grid-template-areas: "a b c"; gap: var(--mc-doc-gutter); }

  .t-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--mc-doc-gutter); row-gap: var(--mc-space-05); }
  .t-flow > li::after { display: none; }
  .t-flow__who { font-size: var(--mc-print-type-small-size); }

  .t-task { box-shadow: none; }
  .t-task__name { font-size: var(--mc-print-type-h3-size); }
  .t-task__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--mc-doc-gutter); }
  .t-task__fields dd, .t-task__comment { font-size: var(--mc-print-type-small-size); }
  .t-pins { columns: 2; column-gap: var(--mc-doc-gutter); }
  .t-pins > li { break-inside: avoid; }

  .t-swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--mc-doc-gutter); }
  .t-swatch__chip { height: var(--mc-space-10); }
  .t-logo-demo { padding: var(--mc-space-06); }
  .t-logo-demo img { height: var(--mc-space-08); }
  .t-print-cols { columns: 2; column-gap: var(--mc-doc-gutter); }
  .t-print-cols > * { break-inside: avoid; }
}
clickup.html115 lines, 8.9 KB
<!doctype html>
<html lang="en" class="doc t-doc" data-status="draft" data-doc="clickup-01" style="--doc-name: 'Marathon Creative, ClickUp 01, How work moves'">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>ClickUp 01, How work moves, Marathon Creative</title>
<link rel="icon" type="image/svg+xml" href="../../../tokens/v/best/logos/marathon-mark-lines.svg">
<link rel="stylesheet" href="../../../tokens/v/best/tokens.css">
<link rel="stylesheet" href="../../../docs-kit/v/best/doc.css">
<link rel="stylesheet" href="../../../icons/v/best/icons.css">
<link rel="stylesheet" href="training.css">
</head>
<body>
<!-- icons:start -->
<svg xmlns="http://www.w3.org/2000/svg" style="display:none" aria-hidden="true"><symbol id="mc-icon-chevron-left" viewBox="0 0 24 24"><title>Chevron left</title><path d="M15 5l-7 7 7 7"/></symbol><symbol id="mc-icon-lock" viewBox="0 0 24 24"><title>Locked</title><rect x="4" y="10" width="16" height="11" rx="2"/><path d="M8 10V7a4 4 0 0 1 8 0v3M12 14v3"/></symbol></svg>
<!-- icons:end -->

<header class="t-top">
  <div class="t-top__wrap">
    <img class="t-top__logo" src="../../../tokens/v/best/logos/marathon-logo-white.svg" alt="Marathon Creative">
    <span class="t-top__app">Training</span>
    <a class="t-top__back" href="index.html"><svg class="mc-icon mc-icon--16" aria-hidden="true"><use href="#mc-icon-chevron-left"></use></svg>Library</a>
  </div>
</header>

<main class="t-main">

  <header class="doc-masthead t-print-only">
    <img class="doc-masthead__logo" src="../../../tokens/v/best/logos/marathon-logo-dark.svg" alt="Marathon Creative">
    <p class="doc-masthead__meta">Internal, not for clients<br>Owner Taylor Treybig, approver Jacob Dow</p>
  </header>

  <div class="doc-opener">
    <span class="doc-eyebrow">ClickUp 01, Training</span>
    <h1 class="doc-title">How work moves through ClickUp.</h1>
    <p class="doc-lede">If it isn't in ClickUp, it isn't happening. One task per deliverable, one owner per task, and the status tells everyone where it is without anyone texting you.</p>
  </div>

  <div class="doc-stats">
    <div class="doc-stat doc-stat--key"><span class="doc-stat__value">1</span><span class="doc-stat__label">Owner per task. Two names means nobody owns it.</span></div>
    <div class="doc-stat"><span class="doc-stat__value">6</span><span class="doc-stat__label">Statuses, plus Blocked</span></div>
    <div class="doc-stat"><span class="doc-stat__value">10<span class="doc-stat__unit">am</span></span><span class="doc-stat__label">Flag anything due today you can't hit</span></div>
    <div class="doc-stat"><span class="doc-stat__value">0</span><span class="doc-stat__label">Job details sent by DM</span></div>
  </div>

  <div class="t-sect__top"><hr class="doc-divider"><span class="doc-eyebrow">01, Anatomy of a task</span><h2 class="doc-h2">Every task looks like this.</h2></div>
  <p>Six fields are filled before a task leaves To do. The seventh, the delivery link, goes in at Review. The pins match the list underneath.</p>

  <div class="t-task">
    <div class="t-task__bar">
      <span class="t-task__status">Scheduled</span>
      <span class="t-task__crumb">Production, Listing shoots</span>
    </div>
    <div class="t-task__body">
      <p class="t-task__name"><span class="t-pin">1</span> Cangelosi, Houston showroom, photos and 3D tour</p>
      <dl class="t-task__fields">
        <div><dt><span class="t-pin">2</span>Assignee</dt><dd>One name only</dd></div>
        <div><dt><span class="t-pin">3</span>Due</dt><dd>Shoot date and arrival time</dd></div>
        <div><dt><span class="t-pin">4</span>Listing type</dt><dd>Commercial <span class="t-muted">and size in sq ft</span></dd></div>
        <div><dt><span class="t-pin">5</span>Booked</dt><dd>Photos, Zillow 3D tour</dd></div>
        <div><dt><span class="t-pin">6</span>Access</dt><dd><span class="t-icon-row"><svg class="mc-icon mc-icon--16" aria-hidden="true"><use href="#mc-icon-lock"></use></svg>On-site contact, lockbox code</span></dd></div>
        <div><dt><span class="t-pin">7</span>Delivery link</dt><dd><span class="t-muted">Added when it moves to Review</span></dd></div>
      </dl>
      <p class="t-task__comment"><b>@Taylor</b> Agent says the side gate sticks, lift and push. Staff can be in frame on the main floor only.</p>
    </div>
  </div>

  <ol class="t-pins">
    <li><span class="t-pin">1</span><span><strong>Name it client, place, service.</strong> Somebody searching in six months should find it in one try.</span></li>
    <li><span class="t-pin">2</span><span><strong>One assignee.</strong> Need help? Add a subtask with its own owner.</span></li>
    <li><span class="t-pin">3</span><span><strong>Real due dates.</strong> The day it actually has to happen, not a day that feels safe.</span></li>
    <li><span class="t-pin">4</span><span><strong>Listing type and size.</strong> Residential, commercial, land, or industrial. Square feet or acres. It sets the shot list and time on site.</span></li>
    <li><span class="t-pin">5</span><span><strong>What was booked.</strong> Shoot what is here, nothing more. Upsells go in a comment.</span></li>
    <li><span class="t-pin">6</span><span><strong>Access lives in the task.</strong> Lockbox codes and gate codes never go in a text.</span></li>
    <li><span class="t-pin">7</span><span><strong>Delivery link.</strong> The one place the client's files live. Paste it before you move to Review.</span></li>
  </ol>

  <div class="t-sect__top"><hr class="doc-divider"><span class="doc-eyebrow">02, Statuses</span><h2 class="doc-h2">Move it the minute it changes.</h2></div>
  <ol class="t-flow">
    <li><span><span class="t-flow__name">To do</span><span class="t-flow__who">Taylor creates it from the booking. Fields not filled yet.</span></span></li>
    <li><span><span class="t-flow__name">Scheduled</span><span class="t-flow__who">Date, owner, and access are set. The shooter moves nothing until shoot day.</span></span></li>
    <li><span><span class="t-flow__name">Shot</span><span class="t-flow__who">The shooter, after the backup, with frame count and notes in a comment.</span></span></li>
    <li><span><span class="t-flow__name">In edit</span><span class="t-flow__who">The editor, when they open the folder.</span></span></li>
    <li class="is-key"><span><span class="t-flow__name">Review</span><span class="t-flow__who">The editor, with the delivery link. Taylor checks it against the order.</span></span></li>
    <li class="is-end"><span><span class="t-flow__name">Delivered</span><span class="t-flow__who">Taylor, after the client has the link.</span></span></li>
  </ol>
  <aside class="doc-note doc-note--compliance">
    <span class="doc-note__label">Blocked</span>
    <p>Blocked is allowed from any status, but only with a comment that says what is stuck, who can unstick it, and by when. A Blocked task with no comment goes back to its last status.</p>
  </aside>

  <div class="t-sect__top"><hr class="doc-divider"><span class="doc-eyebrow">03, Your morning</span><h2 class="doc-h2">Five minutes, before anything else.</h2></div>
  <ol class="t-check">
    <li><label><input type="checkbox"><span class="t-check__text"><strong>Open My Work and sort by due date.</strong></span></label></li>
    <li><label><input type="checkbox"><span class="t-check__text"><strong>Update anything that's stale.</strong><span class="t-check__why">If the status is wrong, fix it now. A wrong status costs someone else a phone call.</span></span></label></li>
    <li><label><input type="checkbox"><span class="t-check__text"><strong>Clear your notifications.</strong><span class="t-check__why">Answer the @ mentions in the task, not by text.</span></span></label></li>
    <li><label><input type="checkbox"><span class="t-check__text"><strong>Flag anything due today you can't hit, by 10am.</strong><span class="t-check__why">Comment and @Taylor. At 10am it's a plan, at 4pm it's a problem.</span></span></label></li>
  </ol>

  <aside class="doc-callout">
    <span class="doc-eyebrow">The rule under all the rules</span>
    <p class="doc-callout__title">Comments, not DMs.</p>
    <p>A text gets lost. A comment stays with the job, and the next person to touch it can read why. If you told someone something about a job and it isn't in the task, you didn't tell them.</p>
  </aside>

  <aside class="doc-note doc-note--editor">
    <span class="doc-note__label">Editor note, internal only</span>
    <p><strong>Taylor and Jacob to confirm before this is final.</strong> The space and list names, the six statuses and who moves each one, the seven task fields, and the 10am flag time are a proposed setup. Match them to the live workspace before this goes to the team.</p>
  </aside>

</main>
<script src="training.js"></script>
</body>
</html>
howto-hero-photo.html108 lines, 7.7 KB
<!doctype html>
<html lang="en" class="doc t-doc" data-status="draft" data-doc="howto-01-hero-photo" style="--doc-name: 'Marathon Creative, How-to 01, The hero photo'">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>How-to 01, Pick and crop the hero photo, Marathon Creative</title>
<link rel="icon" type="image/svg+xml" href="../../../tokens/v/best/logos/marathon-mark-lines.svg">
<link rel="stylesheet" href="../../../tokens/v/best/tokens.css">
<link rel="stylesheet" href="../../../docs-kit/v/best/doc.css">
<link rel="stylesheet" href="../../../icons/v/best/icons.css">
<link rel="stylesheet" href="training.css">
</head>
<body>
<!-- icons:start -->
<svg xmlns="http://www.w3.org/2000/svg" style="display:none" aria-hidden="true"><symbol id="mc-icon-chevron-left" viewBox="0 0 24 24"><title>Chevron left</title><path d="M15 5l-7 7 7 7"/></symbol></svg>
<!-- icons:end -->

<header class="t-top">
  <div class="t-top__wrap">
    <img class="t-top__logo" src="../../../tokens/v/best/logos/marathon-logo-white.svg" alt="Marathon Creative">
    <span class="t-top__app">Training</span>
    <a class="t-top__back" href="index.html"><svg class="mc-icon mc-icon--16" aria-hidden="true"><use href="#mc-icon-chevron-left"></use></svg>Library</a>
  </div>
</header>

<main class="t-main">

  <header class="doc-masthead t-print-only">
    <img class="doc-masthead__logo" src="../../../tokens/v/best/logos/marathon-logo-dark.svg" alt="Marathon Creative">
    <p class="doc-masthead__meta">Internal, not for clients<br>Owner Taylor Treybig, approver Jacob Dow</p>
  </header>

  <div class="doc-opener">
    <span class="doc-eyebrow">How-to 01, Editing</span>
    <h1 class="doc-title">Pick the hero photo, then crop it for every place it goes.</h1>
    <p class="doc-lede">The hero is the first frame anyone sees on the MLS, on Zillow, and in the feed. Pick it on purpose. It takes 10 minutes per listing.</p>
  </div>

  <figure class="t-shot" data-focus-slot>
    <div class="t-shot__frame"><img data-photo-slot src="photos/mc_retouched_05.jpg" alt="Hero photo for this listing"></div>
    <figcaption><span class="t-shot__tag">The hero</span><span data-caption-slot>Cangelosi showroom, the widest interior that still shows product. Slab wall, sample racks, and the design table in one frame.</span></figcaption>
  </figure>

  <ol class="t-steps">

    <li class="t-step">
      <h2 class="t-step__title">Cull to the keepers.</h2>
      <p>Flag anything soft, crooked, or a repeat of a better frame. A home usually lands at 25 to 40 keepers, land at eight to 12. If you can't decide between two, keep the one with straighter verticals.</p>
    </li>

    <li class="t-step">
      <h2 class="t-step__title">Pick the hero by listing type.</h2>
      <p>The hero answers the buyer's first question. For a showroom that's "what do they sell," for a community it's "what's around it," for land it's "where exactly is the lot."</p>
      <div class="t-picks t-wide">
        <figure class="t-shot"><div class="t-shot__frame"><img src="photos/mc_retouched_03.jpg" alt="Cangelosi showroom interior"></div><figcaption><strong>Showroom or retail.</strong> Widest interior that shows product.</figcaption></figure>
        <figure class="t-shot"><div class="t-shot__frame"><img src="photos/mc_rosehill_16.jpg" alt="Rosehill Reserve community aerial"></div><figcaption><strong>Community.</strong> The aerial that shows the amenities, here the lakes and trails.</figcaption></figure>
        <figure class="t-shot"><div class="t-shot__frame"><img src="photos/mc_fullres_12.jpg" alt="Wooded lot on a golf course, with the lot line drawn in post"></div><figcaption><strong>Land.</strong> Straight-down overhead with the lot line drawn in post.</figcaption></figure>
      </div>
    </li>

    <li class="t-step">
      <h2 class="t-step__title">Crop from the original for each place it goes.</h2>
      <p>Same photo, three shapes. Set the crop from the full-size original every time, never crop a crop. Keep the subject in the middle third so it survives all three.</p>
      <div class="t-crops t-wide" data-focus-slot>
        <figure class="t-crop t-crop--32"><div class="t-crop__frame"><img data-photo-slot src="photos/mc_retouched_05.jpg" alt="3 by 2 crop"></div><figcaption><strong>3:2, MLS and Zillow</strong>Landscape, the listing hero.</figcaption></figure>
        <figure class="t-crop t-crop--45"><div class="t-crop__frame"><img data-photo-slot src="photos/mc_retouched_05.jpg" alt="4 by 5 crop"></div><figcaption><strong>4:5, feed</strong>1080 by 1350.</figcaption></figure>
        <figure class="t-crop t-crop--916"><div class="t-crop__frame"><img data-photo-slot src="photos/mc_retouched_05.jpg" alt="9 by 16 crop"></div><figcaption><strong>9:16, story</strong>Dashed line is the safe area.</figcaption></figure>
      </div>
    </li>

    <li class="t-step">
      <h2 class="t-step__title">Leave tall photos tall.</h2>
      <p>Some subjects only work vertical: a sample rack, a monument sign, a row of homes from above. Never force them into the 3:2 hero. They go to the 4:5 feed and to stories, where tall is the native shape.</p>
      <figure class="t-shot">
        <div class="t-shot__frame"><img src="photos/mc_retouched_08.jpg" alt="Cangelosi sample rack, shot vertical"></div>
        <figcaption><strong>Shot vertical, delivered vertical.</strong> Cangelosi sample rack. Cropped to 3:2 it becomes a gray stripe.</figcaption>
      </figure>
    </li>

    <li class="t-step">
      <h2 class="t-step__title">Check every crop before export.</h2>
      <ol class="t-check">
        <li><label><input type="checkbox"><span class="t-check__text"><strong>The subject is whole in all three shapes.</strong></span></label></li>
        <li><label><input type="checkbox"><span class="t-check__text"><strong>The lot line sits inside the frame with room to spare.</strong><span class="t-check__why">A line that runs off the edge reads as a mistake.</span></span></label></li>
        <li><label><input type="checkbox"><span class="t-check__text"><strong>Verticals are straight.</strong></span></label></li>
        <li><label><input type="checkbox"><span class="t-check__text"><strong>No bins, cars, or people without a yes.</strong></span></label></li>
        <li><label><input type="checkbox"><span class="t-check__text"><strong>Nothing important in the top 250px or bottom 340px of a story.</strong><span class="t-check__why">Instagram covers those with the name bar and the reply box.</span></span></label></li>
        <li><label><input type="checkbox"><span class="t-check__text"><strong>No Marathon red on the photo.</strong><span class="t-check__why">Lot lines are the only red that goes on an image. Labels sit under the photo, never on it.</span></span></label></li>
      </ol>
    </li>

    <li class="t-step">
      <h2 class="t-step__title">Export, name, and deliver.</h2>
      <p>Export the 3:2 at 2400px on the long edge, the feed and story crops at their exact pixel sizes. Name the hero <strong>01</strong> so it sorts first: <span class="doc-tag">&lt;Client&gt;_&lt;Street&gt;_01.jpg</span>. Drop the link in the ClickUp task and move it to Review.</p>
    </li>

  </ol>

  <aside class="doc-note doc-note--editor">
    <span class="doc-note__label">Editor note, internal only</span>
    <p><strong>Jacob to confirm before this is final.</strong> The 2400px export size, the file naming pattern, the keeper counts, and that MLS heroes go out at 3:2. The story safe area comes from the token layer, which reflects Instagram's overlays in October 2026.</p>
  </aside>

</main>
<script src="training.js"></script>
</body>
</html>
index.html47 lines, 4.5 KB
<!doctype html>
<html lang="en" class="doc t-doc" data-status="draft" data-doc="training-index" style="--doc-name: 'Marathon Creative, Training library'">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>Training library, Marathon Creative</title>
<link rel="icon" type="image/svg+xml" href="../../../tokens/v/best/logos/marathon-mark-lines.svg">
<link rel="stylesheet" href="../../../tokens/v/best/tokens.css">
<link rel="stylesheet" href="../../../docs-kit/v/best/doc.css">
<link rel="stylesheet" href="../../../icons/v/best/icons.css">
<link rel="stylesheet" href="training.css">
</head>
<body>
<!-- icons:start -->
<svg xmlns="http://www.w3.org/2000/svg" style="display:none" aria-hidden="true"><symbol id="mc-icon-check" viewBox="0 0 24 24"><title>Done</title><path d="M4 12.5l5.5 5.5L20 6.5"/></symbol><symbol id="mc-icon-chevron-right" viewBox="0 0 24 24"><title>Chevron right</title><path d="M9 5l7 7-7 7"/></symbol><symbol id="mc-icon-image" viewBox="0 0 24 24"><title>Image file</title><rect x="3" y="4" width="18" height="16" rx="2"/><circle cx="9" cy="9.5" r="1.5"/><path d="M3 17l5-5 4 4 3-3 6 6"/></symbol><symbol id="mc-icon-photography" viewBox="0 0 24 24"><title>Photography</title><path d="M3 9a2 2 0 0 1 2-2h3l1.5-3h5L16 7h3a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><circle cx="12" cy="13.5" r="3.5"/><path style="display:var(--mc-icon-detail,inline)" d="M17.5 10.5h1"/></symbol><symbol id="mc-icon-user" viewBox="0 0 24 24"><title>Account</title><circle cx="12" cy="7" r="4"/><path d="M4 21a8 7 0 0 1 16 0"/></symbol></svg>
<!-- icons:end -->

<header class="t-top">
  <div class="t-top__wrap">
    <img class="t-top__logo" src="../../../tokens/v/best/logos/marathon-logo-white.svg" alt="Marathon Creative">
    <span class="t-top__app">Training</span>
  </div>
</header>

<main class="t-main">
  <header class="doc-masthead t-print-only">
    <img class="doc-masthead__logo" src="../../../tokens/v/best/logos/marathon-logo-dark.svg" alt="Marathon Creative">
    <p class="doc-masthead__meta">Internal, not for clients<br>Owner Taylor Treybig, approver Jacob Dow</p>
  </header>

  <div class="doc-opener">
    <span class="doc-eyebrow">Training library</span>
    <h1 class="doc-title">How we do the work.</h1>
    <p class="doc-lede">Save this page to your home screen. Every SOP opens on your phone and prints on Letter.</p>
  </div>

  <ul class="t-lib">
    <li><a href="sop-listing-shoot.html"><span class="t-lib__icon"><svg class="mc-icon mc-icon--24" aria-hidden="true"><use href="#mc-icon-photography"></use></svg></span><span><span class="t-lib__kind">SOP 01</span><span class="t-lib__title">Listing shoot day: photos, drone, and the Zillow 3D tour</span><span class="t-lib__note">42 checks, six sections. Run it on every listing.</span></span><svg class="mc-icon mc-icon--16 mc-icon--muted" aria-hidden="true"><use href="#mc-icon-chevron-right"></use></svg></a></li>
    <li><a href="howto-hero-photo.html"><span class="t-lib__icon"><svg class="mc-icon mc-icon--24" aria-hidden="true"><use href="#mc-icon-image"></use></svg></span><span><span class="t-lib__kind">How-to 01</span><span class="t-lib__title">Pick the hero photo, then crop it for every place it goes</span><span class="t-lib__note">Six steps, 10 minutes per listing.</span></span><svg class="mc-icon mc-icon--16 mc-icon--muted" aria-hidden="true"><use href="#mc-icon-chevron-right"></use></svg></a></li>
    <li><a href="clickup.html"><span class="t-lib__icon"><svg class="mc-icon mc-icon--24" aria-hidden="true"><use href="#mc-icon-check"></use></svg></span><span><span class="t-lib__kind">ClickUp 01</span><span class="t-lib__title">How work moves through ClickUp</span><span class="t-lib__note">Task anatomy, statuses, and your morning.</span></span><svg class="mc-icon mc-icon--16 mc-icon--muted" aria-hidden="true"><use href="#mc-icon-chevron-right"></use></svg></a></li>
    <li><a href="onboarding.html"><span class="t-lib__icon"><svg class="mc-icon mc-icon--24" aria-hidden="true"><use href="#mc-icon-user"></use></svg></span><span><span class="t-lib__kind">Onboarding 01</span><span class="t-lib__title">Your first week at Marathon</span><span class="t-lib__note">Start here. 12 minute read.</span></span><svg class="mc-icon mc-icon--16 mc-icon--muted" aria-hidden="true"><use href="#mc-icon-chevron-right"></use></svg></a></li>
  </ul>
</main>
<script src="training.js"></script>
</body>
</html>
onboarding.html146 lines, 11.3 KB
<!doctype html>
<html lang="en" class="doc t-doc" data-status="draft" data-doc="onboarding-01" style="--doc-name: 'Marathon Creative, Onboarding 01, Your first week'">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>Onboarding 01, Your first week, Marathon Creative</title>
<link rel="icon" type="image/svg+xml" href="../../../tokens/v/best/logos/marathon-mark-lines.svg">
<link rel="stylesheet" href="../../../tokens/v/best/tokens.css">
<link rel="stylesheet" href="../../../docs-kit/v/best/doc.css">
<link rel="stylesheet" href="../../../icons/v/best/icons.css">
<link rel="stylesheet" href="training.css">
</head>
<body>
<!-- icons:start -->
<svg xmlns="http://www.w3.org/2000/svg" style="display:none" aria-hidden="true"><symbol id="mc-icon-chevron-left" viewBox="0 0 24 24"><title>Chevron left</title><path d="M15 5l-7 7 7 7"/></symbol></svg>
<!-- icons:end -->

<header class="t-top">
  <div class="t-top__wrap">
    <img class="t-top__logo" src="../../../tokens/v/best/logos/marathon-logo-white.svg" alt="Marathon Creative">
    <span class="t-top__app">Training</span>
    <a class="t-top__back" href="index.html"><svg class="mc-icon mc-icon--16" aria-hidden="true"><use href="#mc-icon-chevron-left"></use></svg>Library</a>
  </div>
</header>

<main class="t-main">

  <header class="doc-masthead t-print-only">
    <img class="doc-masthead__logo" src="../../../tokens/v/best/logos/marathon-logo-dark.svg" alt="Marathon Creative">
    <p class="doc-masthead__meta">Internal, not for clients<br>Owner Taylor Treybig, approver Jacob Dow</p>
  </header>

  <div class="doc-opener">
    <span class="doc-eyebrow">Onboarding 01, Start here</span>
    <h1 class="doc-title">Your first week at Marathon.</h1>
    <p class="doc-lede">Read this on day one. It's short on purpose. By Friday you should know what we sell, how work moves, who decides what, and what gets you a phone call.</p>
  </div>

  <dl class="doc-meta">
    <div><dt>For</dt><dd>Everyone new on the team</dd></div>
    <div><dt>Read time</dt><dd>12 minutes</dd></div>
    <div><dt>Owner</dt><dd>Taylor Treybig</dd></div>
    <div><dt>Version</dt><dd>1.0, October 2026</dd></div>
  </dl>

  <div class="t-sect__top"><hr class="doc-divider doc-divider--top"><span class="doc-eyebrow">01, What we are</span><h2 class="doc-h2">One team owns the whole job.</h2></div>
  <p>Marathon Creative is a full-service media, marketing, and print agency in Greater Houston. Strategy, production, and execution all happen here, and nothing gets referred out. Photo, video and DaVinci post, social, paid ads, email and SMS, CRM builds on PaceCRM, branding, web, and print.</p>
  <p><strong>We are not a real estate company. Most of our clients are.</strong> That matters every day: we make listing media, but our own brand never looks like a brokerage.</p>

  <div class="doc-stats doc-stats--3">
    <div class="doc-stat doc-stat--key"><span class="doc-stat__value">60<span class="doc-stat__unit">%</span></span><span class="doc-stat__label">Real estate organizations: agents, teams, builders, and communities</span></div>
    <div class="doc-stat"><span class="doc-stat__value">35<span class="doc-stat__unit">%</span></span><span class="doc-stat__label">Local service businesses: roofers, public adjusters, contractors</span></div>
    <div class="doc-stat"><span class="doc-stat__value">5<span class="doc-stat__unit">%</span></span><span class="doc-stat__label">Everyone else</span></div>
  </div>

  <h3 class="doc-h3">The four things we hold ourselves to</h3>
  <div class="doc-cards doc-cards--2">
    <article class="doc-card"><span class="doc-card__index">01</span><h3 class="doc-card__title">Strategic first</h3><p class="doc-card__text">The plan comes before the camera. When a client asks for posts, ask what the posts are for.</p></article>
    <article class="doc-card"><span class="doc-card__index">02</span><h3 class="doc-card__title">Fully in house</h3><p class="doc-card__text">We don't hand work to a vendor, so we don't get to blame one. If it's ours, it's yours to finish.</p></article>
    <article class="doc-card"><span class="doc-card__index">03</span><h3 class="doc-card__title">Operationally sticky</h3><p class="doc-card__text">We build the systems clients run on: PaceCRM pipelines, automations, booking. When it works, we become infrastructure.</p></article>
    <article class="doc-card"><span class="doc-card__index">04</span><h3 class="doc-card__title">Long game</h3><p class="doc-card__text">Marathon, not sprint. Treat an agent's 50th listing like their first one.</p></article>
  </div>

  <div class="t-sect__top"><hr class="doc-divider"><span class="doc-eyebrow">02, Your week</span><h2 class="doc-h2">Five days, one thing each.</h2></div>
  <table class="doc-table doc-table--fixed t-stack">
    <colgroup><col class="doc-col-w11"><col><col></colgroup>
    <thead><tr><th>Day</th><th>What you do</th><th>Done when</th></tr></thead>
    <tbody>
      <tr><td class="item">Monday</td><td data-label="Do">Get your logins: ClickUp, PaceCRM, the Marathon internal apps, and the shared drive. Read this doc and SOP 01.</td><td data-label="Done when">You can open every app from your phone.</td></tr>
      <tr><td class="item">Tuesday</td><td data-label="Do">Ride along on a listing shoot. Run SOP 01 on your phone while someone else shoots.</td><td data-label="Done when">Every box is ticked, by you.</td></tr>
      <tr><td class="item">Wednesday</td><td data-label="Do">Read the ClickUp training page, then move three real tasks with Taylor watching.</td><td data-label="Done when">Statuses and comments are right without help.</td></tr>
      <tr><td class="item">Thursday</td><td data-label="Do">Read the brand guide: colour, type, and voice. Rewrite one real client caption in the client's voice.</td><td data-label="Done when">Taylor signs off on the caption.</td></tr>
      <tr><td class="item">Friday</td><td data-label="Do">Own one small job end to end, then a 30 minute review with Jacob.</td><td data-label="Done when">It's delivered and the task says Delivered.</td></tr>
    </tbody>
  </table>

  <h3 class="doc-h3">Who to ask</h3>
  <table class="doc-table doc-table--fixed t-stack">
    <colgroup><col><col class="doc-col-w2"></colgroup>
    <thead><tr><th>Question about</th><th>Ask</th></tr></thead>
    <tbody>
      <tr><td class="item">Pricing, quotes, and anything that costs the client money</td><td data-label="Ask">Jacob prices, Taylor sends</td></tr>
      <tr><td class="item">Brand, templates, and "is this on brand"</td><td data-label="Ask">Taylor, Jacob approves changes</td></tr>
      <tr><td class="item">Shoot schedule and ClickUp</td><td data-label="Ask">Taylor</td></tr>
      <tr><td class="item">Video edit, motion, and DaVinci Resolve</td><td data-label="Ask">Philip</td></tr>
      <tr><td class="item">Internal apps and logins</td><td data-label="Ask">Hector</td></tr>
    </tbody>
  </table>

  <div class="t-sect__top"><hr class="doc-divider"><span class="doc-eyebrow">03, How we write</span><h2 class="doc-h2">Say it plainly, with a number in it.</h2></div>
  <ul class="doc-list">
    <li><strong>Direct over diplomatic.</strong> "I'd push back on that, here's why" beats a paragraph of maybes.</li>
    <li><strong>Specific over impressive.</strong> "Photos by 9am Thursday," not "fast turnaround."</li>
    <li><strong>Own it.</strong> "I'll handle it" and "I got that wrong, here's the fix, it's done by 3pm."</li>
    <li><strong>Every email opens "Hello &lt;Contact Name&gt;,"</strong> Never Hi, Hey, or Dear.</li>
    <li><strong>No em dashes.</strong> Use a comma. Oxford comma, always.</li>
    <li><strong>Numbers:</strong> spell out one to nine, numerals for 10 and up, and always numerals for money, percentages, time, and data.</li>
    <li><strong>No agency filler.</strong> The brand guide lists the banned words. If a sentence would fit any agency's website, rewrite it.</li>
  </ul>
  <p><strong>Client copy is in the client's voice, not ours.</strong> A roofer does not talk like a designer. Read three of their old posts before you write one.</p>

  <div class="t-sect__top"><hr class="doc-divider"><span class="doc-eyebrow">04, The brand in a minute</span><h2 class="doc-h2">Two colours, one typeface, one logo.</h2></div>
  <div class="t-swatches">
    <figure class="t-swatch"><div class="t-swatch__chip t-swatch__chip--navy"></div><figcaption><strong>Marathon Navy</strong>Headlines, covers, dark callouts, primary buttons. <code>--mc-text-heading</code></figcaption></figure>
    <figure class="t-swatch"><div class="t-swatch__chip t-swatch__chip--red"></div><figcaption><strong>Marathon Red</strong>Labels, rules, small accents. Never body copy, never big fills. <code>--mc-accent</code></figcaption></figure>
    <figure class="t-swatch"><div class="t-swatch__chip t-swatch__chip--charcoal"></div><figcaption><strong>Charcoal</strong>Body copy on white. <code>--mc-text-primary</code></figcaption></figure>
    <figure class="t-swatch"><div class="t-swatch__chip t-swatch__chip--gray"></div><figcaption><strong>Grays</strong>About 80% of every page. Backgrounds, rules, rows. <code>--mc-surface-muted</code></figcaption></figure>
  </div>
  <div class="doc-grid">
    <div class="doc-col-6">
      <div class="t-logo-demo t-logo-demo--navy"><img src="../../../tokens/v/best/logos/marathon-logo-white.svg" alt="Marathon Creative logo, white"></div>
      <p class="doc-caption">White lockup on navy. The default.</p>
    </div>
    <div class="doc-col-6">
      <div class="t-logo-demo"><img src="../../../tokens/v/best/logos/marathon-logo-dark.svg" alt="Marathon Creative logo, dark"></div>
      <p class="doc-caption">Dark lockup on white, for print and documents.</p>
    </div>
  </div>
  <ul class="doc-list doc-mt-m">
    <li><strong>Montserrat only.</strong> No second font, not even for "just this one slide."</li>
    <li><strong>Use the logo files, never rebuild them.</strong> No recolouring, stretching, shadows, or cropping. Under 22px, use the lines mark.</li>
    <li><strong>Never type a colour code.</strong> Apps and docs use the token names. A typed colour drifts, that is how six of our 14 apps went off brand.</li>
  </ul>

  <aside class="doc-callout">
    <span class="doc-eyebrow">What gets you a phone call</span>
    <p class="doc-callout__title">Five things we never do.</p>
    <ul class="doc-list">
      <li>Post client work before the client approves it.</li>
      <li>Fly the drone without LAANC where it's needed.</li>
      <li>Format a card before the shoot is in two places.</li>
      <li>Send a price Jacob hasn't approved.</li>
      <li>Hand-build an app header instead of using the shared one.</li>
    </ul>
  </aside>

  <aside class="doc-note doc-note--editor">
    <span class="doc-note__label">Editor note, internal only</span>
    <p><strong>Jacob to confirm before this is final.</strong> The week one plan, the tool list, and the "who to ask" table. Roles for Hector, Rey, and Hunter are not in the brief yet, so Hector on apps is a working assumption and Rey and Hunter are not listed. The 12 minute read time is an estimate.</p>
  </aside>

</main>
<script src="training.js"></script>
</body>
</html>
sop-listing-shoot.html240 lines, 23.7 KB
<!doctype html>
<html lang="en" class="doc t-doc t-has-sub" data-status="draft" data-doc="sop-01-listing-shoot" style="--doc-name: 'Marathon Creative, SOP 01, Listing shoot day'">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>SOP 01, Listing shoot day, Marathon Creative</title>
<link rel="icon" type="image/svg+xml" href="../../../tokens/v/best/logos/marathon-mark-lines.svg">
<link rel="stylesheet" href="../../../tokens/v/best/tokens.css">
<link rel="stylesheet" href="../../../docs-kit/v/best/doc.css">
<link rel="stylesheet" href="../../../icons/v/best/icons.css">
<link rel="stylesheet" href="training.css">
</head>
<body>
<!-- icons:start -->
<svg xmlns="http://www.w3.org/2000/svg" style="display:none" aria-hidden="true"><symbol id="mc-icon-chevron-left" viewBox="0 0 24 24"><title>Chevron left</title><path d="M15 5l-7 7 7 7"/></symbol><symbol id="mc-icon-drone" viewBox="0 0 24 24"><title>Drone and aerial</title><path d="M2 6h7M15 6h7"/><path d="M5.5 6v3h13V6"/><path d="M8.5 9v3a2 2 0 0 0 2 2h3a2 2 0 0 0 2-2V9"/><circle cx="12" cy="19" r="2"/></symbol><symbol id="mc-icon-photography" viewBox="0 0 24 24"><title>Photography</title><path d="M3 9a2 2 0 0 1 2-2h3l1.5-3h5L16 7h3a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><circle cx="12" cy="13.5" r="3.5"/><path style="display:var(--mc-icon-detail,inline)" d="M17.5 10.5h1"/></symbol><symbol id="mc-icon-tour-3d" viewBox="0 0 24 24"><title>3D tours</title><path d="M12 3l8.5 4.5v9.5L12 21.5 3.5 17V7.5z"/><path d="M3.5 7.5L12 12l8.5-4.5M12 12v9.5"/></symbol></svg>
<!-- icons:end -->

<header class="t-top">
  <div class="t-top__wrap">
    <img class="t-top__logo" src="../../../tokens/v/best/logos/marathon-logo-white.svg" alt="Marathon Creative">
    <span class="t-top__app">Training</span>
    <a class="t-top__back" href="index.html"><svg class="mc-icon mc-icon--16" aria-hidden="true"><use href="#mc-icon-chevron-left"></use></svg>Library</a>
  </div>
</header>

<nav class="t-sub" aria-label="Checklist sections">
  <div class="t-sub__wrap">
    <div class="t-progress">
      <span class="t-progress__text" data-progress-text>0 of 0 done</span>
      <span class="t-progress__bar" data-progress-bar><span class="t-progress__fill"></span></span>
      <button class="t-progress__reset" type="button" data-reset>New shoot</button>
    </div>
    <div class="t-chips">
      <a class="t-chip" href="#night">Night before <span class="t-chip__count"></span></a>
      <a class="t-chip" href="#arrive">Arrive <span class="t-chip__count"></span></a>
      <a class="t-chip" href="#photos">Photos <span class="t-chip__count"></span></a>
      <a class="t-chip" href="#tour">3D tour <span class="t-chip__count"></span></a>
      <a class="t-chip" href="#drone">Drone <span class="t-chip__count"></span></a>
      <a class="t-chip" href="#wrap">Wrap <span class="t-chip__count"></span></a>
    </div>
  </div>
</nav>

<main class="t-main">

  <div class="t-page" data-page="1">
  <header class="doc-masthead t-print-only">
    <img class="doc-masthead__logo" src="../../../tokens/v/best/logos/marathon-logo-dark.svg" alt="Marathon Creative">
    <p class="doc-masthead__meta">Internal, not for clients<br>Owner Taylor Treybig, approver Jacob Dow</p>
  </header>

  <div class="doc-opener">
    <span class="doc-eyebrow">SOP 01, Shoot day</span>
    <h1 class="doc-title">Listing shoot day: photos, drone, and the Zillow 3D tour.</h1>
    <p class="doc-lede">Run this top to bottom on every listing. Home, showroom, or land, same order. Tick boxes as you go, they save on this phone.</p>
  </div>

  <dl class="doc-meta">
    <div><dt>Owner</dt><dd>Taylor Treybig</dd></div>
    <div><dt>Approver</dt><dd>Jacob Dow</dd></div>
    <div><dt>Applies to</dt><dd>Every listing shoot</dd></div>
    <div><dt>Version</dt><dd>1.0, October 2026</dd></div>
  </dl>

  <h2 class="doc-h3">Pull these from the ClickUp task before you leave</h2>
  <table class="doc-table doc-table--fixed doc-keep t-stack t-stack--plain">
    <colgroup><col class="doc-col-w15"><col></colgroup>
    <thead><tr><th>Field</th><th>What to look for</th></tr></thead>
    <tbody>
      <tr><td class="item">Listing type</td><td data-label="Look for">Residential, commercial, land, or industrial. It decides the shot list below.</td></tr>
      <tr><td class="item">Size</td><td data-label="Look for">Square feet for a building, acres and frontage for land. It sets your time on site.</td></tr>
      <tr><td class="item">Booked</td><td data-label="Look for">Photos, drone, Zillow 3D tour, video. Shoot only what is booked, upsell in a comment, not on site.</td></tr>
      <tr><td class="item">Access</td><td data-label="Look for">Lockbox code lives in the task. Never in a text, never on a sticky note in the car.</td></tr>
      <tr><td class="item">On-site contact</td><td data-label="Look for">Agent, owner, or store manager, with a cell number you have actually saved.</td></tr>
    </tbody>
  </table>

  <h2 class="doc-h3">How long you have</h2>
  <table class="doc-table doc-table--fixed doc-keep t-stack">
    <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>Listing</th><th class="num">Photos</th><th class="num">3D tour</th><th class="num">Drone</th><th class="num">On site</th></tr></thead>
    <tbody>
      <tr><td class="item">Under 2,500 sq ft</td><td class="num" data-label="Photos">60 min</td><td class="num" data-label="3D tour">30 min</td><td class="num" data-label="Drone">20 min</td><td class="num" data-label="On site">1 hr 50 min</td></tr>
      <tr><td class="item">2,500 to 4,999 sq ft</td><td class="num" data-label="Photos">90 min</td><td class="num" data-label="3D tour">45 min</td><td class="num" data-label="Drone">20 min</td><td class="num" data-label="On site">2 hr 35 min</td></tr>
      <tr><td class="item">5,000 sq ft and up, or a showroom</td><td class="num" data-label="Photos">120 min</td><td class="num" data-label="3D tour">75 min</td><td class="num" data-label="Drone">30 min</td><td class="num" data-label="On site">3 hr 45 min</td></tr>
      <tr><td class="item">Land, any acreage</td><td class="num" data-label="Photos">20 min</td><td class="num" data-label="3D tour">None</td><td class="num" data-label="Drone">45 min</td><td class="num" data-label="On site">1 hr 5 min</td></tr>
    </tbody>
    <caption>Running long by more than 30 min? Text Taylor so the next shoot can move.</caption>
  </table>

  </div>

  <div class="t-page" data-page="2">
  <!-- 1 -->
  <section class="t-sect" id="night">
    <div class="t-sect__top"><hr class="doc-divider"><span class="doc-eyebrow">Step 1</span><div class="t-sect__head"><h2 class="doc-h2">The night before</h2><span class="t-sect__count"></span></div></div>
    <ol class="t-check t-check--cols">
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Read the task end to end.</strong><span class="t-check__why">Address, access, what is booked, and every agent note. Gap in it? @Taylor by 5pm.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><span class="t-check__stop">Hard stop</span><strong>Check the airspace in Aloft.</strong><span class="t-check__why">IAH and Hobby put much of Houston in Class B. Need LAANC? Request it tonight.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Check the forecast.</strong><span class="t-check__why">Wind over 20 mph or rain means no drone. Tell Taylor tonight, the agent hears it from us.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Charge everything.</strong><span class="t-check__why">Every drone battery, camera batteries, the 360 camera, the flash, and your phone.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Run firmware updates now.</strong><span class="t-check__why">Drone, controller, and 360 camera. An update in the driveway costs you 20 minutes.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><span class="t-check__stop">Hard stop</span><strong>Format cards only after the last shoot is in two places.</strong><span class="t-check__why">Shoot folder and backup drive. Not sure? Don't format, bring a new card.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Pack the kit.</strong><span class="t-check__why">Camera and wide lens, leveling tripod, flash and trigger, drone and controller, 360 camera and monopod, two cards, a cloth, and your Part 107.</span></span></label></li>
    </ol>
  </section>

  <!-- 2 -->
  <section class="t-sect" id="arrive">
    <div class="t-sect__top"><hr class="doc-divider"><span class="doc-eyebrow">Step 2</span><div class="t-sect__head"><h2 class="doc-h2">Arrive and walk it</h2><span class="t-sect__count"></span></div></div>
    <ol class="t-check t-check--cols">
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Be there 10 minutes early.</strong><span class="t-check__why">Park on the street, the driveway is in the shot.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Text the contact you are on site.</strong><span class="t-check__why">Use the message below, word for word.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Walk every room before the first frame.</strong><span class="t-check__why">Lights on, blinds open to the same height, fans off, TVs off, counters clear, toilet seats down.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Clean up outside.</strong><span class="t-check__why">Bins hidden, hoses rolled, cars off the drive, garage down.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Commercial: ask who can be in frame.</strong><span class="t-check__why">Nobody appears without a yes. Ask the manager where staff and customers can be.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Land: find the corners.</strong><span class="t-check__why">Plat or corner stakes. Post draws the lot line from your overhead, so every corner goes in it.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Can't fix it? Photograph it and comment.</strong><span class="t-check__why">Never move furniture you can't put back exactly.</span></span></label></li>
    </ol>

    <div class="doc-copy">
      <div class="doc-copy__head"><span class="doc-eyebrow">Text on arrival</span><span class="doc-copy__meta">SMS, from your phone</span></div>
      <div class="doc-copy__body"><p>Hello <span class="doc-tag">&lt;Contact Name&gt;</span>, this is <span class="doc-tag">&lt;Your Name&gt;</span> with Marathon Creative. I'm on site at <span class="doc-tag">&lt;Listing address&gt;</span> and starting now. I'll text you when I'm done, around <span class="doc-tag">&lt;Finish time&gt;</span>.</p></div>
    </div>
  </section>

  </div>

  <div class="t-page" data-page="3">
  <!-- 3 -->
  <section class="t-sect" id="photos">
    <div class="t-sect__top"><hr class="doc-divider"><span class="doc-eyebrow">Step 3</span><div class="t-sect__head"><h2 class="doc-h2 t-sect__icon"><svg class="mc-icon mc-icon--24 mc-icon--accent" aria-hidden="true"><use href="#mc-icon-photography"></use></svg>Photos</h2><span class="t-sect__count"></span></div></div>
    <ol class="t-check t-check--cols">
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Tripod at chest height, about 5 ft.</strong><span class="t-check__why">Drop to about 4 ft in bathrooms and small rooms.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Level the head, verticals straight in camera.</strong><span class="t-check__why">Don't plan on fixing walls in post. It costs the editor 30 seconds a frame.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Bracket every frame.</strong><span class="t-check__why">Five exposures, 1 stop apart, same tripod spot.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Shoot in the order a buyer walks it.</strong><span class="t-check__why">Home: entry, living, kitchen, primary, baths, then the rest. Showroom: entrance, main floor, displays, offices.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Two angles in main rooms, one everywhere else.</strong><span class="t-check__why">Aim for 25 to 40 keepers. More is not better, repeats get culled.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Commercial: get the product close-ups.</strong><span class="t-check__why">Slabs, fixtures, and signage. Square on, no glare.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Front exterior when the sun is on it.</strong><span class="t-check__why">Wrong light in the morning? Shoot it last, or comment that it needs a return trip.</span></span></label></li>
    </ol>
  </section>

  <!-- 4 -->
  <section class="t-sect" id="tour">
    <div class="t-sect__top"><hr class="doc-divider"><span class="doc-eyebrow">Step 4</span><div class="t-sect__head"><h2 class="doc-h2 t-sect__icon"><svg class="mc-icon mc-icon--24 mc-icon--accent" aria-hidden="true"><use href="#mc-icon-tour-3d"></use></svg>Zillow 3D tour</h2><span class="t-sect__count"></span></div></div>
    <p>Shoot the tour after photos, with the house exactly as you staged it. The interactive floor plan is built from these captures, so a skipped room is a hole in the plan.</p>
    <ol class="t-check t-check--cols">
      <li><label><input type="checkbox"><span class="t-check__text"><span class="t-check__stop">Hard stop</span><strong>Right account, right address.</strong><span class="t-check__why">Zillow 3D Home, signed in as Marathon. The tour attaches by address, a typo puts it on someone else's home.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>360 camera on a monopod, lens at 5 ft.</strong><span class="t-check__why">Same height in every room, or the tour jumps.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Get out of the room for every capture.</strong><span class="t-check__why">The 360 sees everything, including you. Step behind a wall or into the next room.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Middle of every room, plus every doorway.</strong><span class="t-check__why">The doorway captures are what link rooms together.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Every room, including closets, laundry, and garage.</strong><span class="t-check__why">Showrooms: every aisle, plus the office and restroom if the client wants them in.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Walk the preview before you leave.</strong><span class="t-check__why">Look for missing rooms and ghosting. A redo is 2 minutes now and a second trip later.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Start the upload before you pull away.</strong><span class="t-check__why">Wi-Fi if the owner offers it, strong LTE if not.</span></span></label></li>
    </ol>
  </section>

  </div>

  <div class="t-page" data-page="4">
  <!-- 5 -->
  <section class="t-sect" id="drone">
    <div class="t-sect__top"><hr class="doc-divider"><span class="doc-eyebrow">Step 5</span><div class="t-sect__head"><h2 class="doc-h2 t-sect__icon"><svg class="mc-icon mc-icon--24 mc-icon--accent" aria-hidden="true"><use href="#mc-icon-drone"></use></svg>Drone</h2><span class="t-sect__count"></span></div></div>
    <ol class="t-check t-check--cols">
      <li><label><input type="checkbox"><span class="t-check__text"><span class="t-check__stop">Hard stop</span><strong>Part 107 on you, LAANC approved if needed.</strong><span class="t-check__why">No approval, no flight. Shoot everything else and rebook the drone.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Preflight on the ground.</strong><span class="t-check__why">Props tight, battery seated, compass good, GPS locked, home point set.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Stay under 400 ft, and off people and traffic.</strong><span class="t-check__why">Most homes look best from 80 to 200 ft. A neighbor asks? Be polite, show your certificate.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Four corner obliques at about 45 degrees.</strong><span class="t-check__why">Then the front, high and low, and the street approach.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Get what sells the location.</strong><span class="t-check__why">Golf course, lake, entry monument, retail nearby. If it is in reach and in the listing copy, shoot it.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><span class="t-check__stop">Hard stop</span><strong>Land: one straight-down overhead with every corner in frame.</strong><span class="t-check__why">Plus one oblique from each side. If a corner is outside the frame, post cannot draw the line.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Video booked? Two slow passes for Philip.</strong><span class="t-check__why">About 20 seconds each, steady speed, no yaw.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Land with 25% battery left, not 10%.</strong><span class="t-check__why">Houston wind picks up in the afternoon. Leave yourself the margin.</span></span></label></li>
    </ol>
  </section>

  <!-- 6 -->
  <section class="t-sect" id="wrap">
    <div class="t-sect__top"><hr class="doc-divider"><span class="doc-eyebrow">Step 6</span><div class="t-sect__head"><h2 class="doc-h2">Wrap and hand off</h2><span class="t-sect__count"></span></div></div>
    <ol class="t-check t-check--cols">
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Put back everything you moved.</strong><span class="t-check__why">Lights off, blinds as you found them, doors locked.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Key in the lockbox, lockbox closed.</strong><span class="t-check__why">Take a photo of it closed. That photo ends every "who left it open" call.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Text the contact you are done.</strong><span class="t-check__why">Use the message below.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><span class="t-check__stop">Hard stop</span><strong>Back up to two places before anything else.</strong><span class="t-check__why">Shoot folder and backup drive, before you charge a battery or start the next shoot.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Move the ClickUp task to Shot.</strong><span class="t-check__why">Comment with frame count, tour status, drone status, and anything the editor needs to know.</span></span></label></li>
      <li><label><input type="checkbox"><span class="t-check__text"><strong>Upload by 6pm the same day.</strong><span class="t-check__why">That is what lets edited photos land by 9am the next business day.</span></span></label></li>
    </ol>

    <div class="doc-copy">
      <div class="doc-copy__head"><span class="doc-eyebrow">Text on wrap</span><span class="doc-copy__meta">SMS, from your phone</span></div>
      <div class="doc-copy__body"><p>Hello <span class="doc-tag">&lt;Contact Name&gt;</span>, all done at <span class="doc-tag">&lt;Listing address&gt;</span>. Lights off, doors locked, key back in the lockbox. Edited photos land by 9am <span class="doc-tag">&lt;Delivery day&gt;</span>, and the 3D tour within 48 hours.</p></div>
    </div>
  </section>

  </div>

  <div class="t-page t-page--last" data-page="5">
  <aside class="doc-callout">
    <span class="doc-eyebrow">Something went wrong on site</span>
    <p class="doc-callout__title">Call, don't text. Taylor first, then Jacob.</p>
    <ul class="doc-list">
      <li>Say what happened, what you already did, and what you need.</li>
      <li>Keep shooting whatever you still can. A partial shoot beats a second trip.</li>
      <li>Broke something? Say so in the first sentence. We own it, we fix it.</li>
    </ul>
  </aside>

  <aside class="doc-note doc-note--compliance">
    <span class="doc-note__label">Compliance</span>
    <p>Aerials are flown under FAA Part 107 by a certificated remote pilot. No flight inside controlled airspace without LAANC authorization, no flight over people or moving vehicles, and no flight above 400 ft above ground level.</p>
  </aside>

  <aside class="doc-note doc-note--editor">
    <span class="doc-note__label">Editor note, internal only</span>
    <p><strong>Jacob to confirm before this is final.</strong> The time-on-site table, the 20 mph wind limit, the 25% landing battery, the 6pm upload, the 9am next business day delivery, the 48 hour tour turnaround, the kit list, Aloft as the airspace app, and Taylor as first call. No approved SOP or rate card exists yet, so these are working figures.</p>
  </aside>

  <section class="t-log t-print-only" aria-label="Shoot log">
    <div class="t-sect__top"><hr class="doc-divider"><span class="doc-eyebrow">Shoot log</span><h2 class="doc-h2">Fill it in on site, photograph it into the task</h2></div>
    <table class="doc-table doc-table--fixed t-log__table">
      <colgroup><col class="doc-col-w15"><col><col class="doc-col-w15"><col></colgroup>
      <thead><tr><th>Field</th><th>Entry</th><th>Field</th><th>Entry</th></tr></thead>
      <tbody>
        <tr><td class="item">Listing address</td><td></td><td class="item">Shoot date</td><td></td></tr>
        <tr><td class="item">Shooter</td><td></td><td class="item">On site, off site</td><td></td></tr>
        <tr><td class="item">Booked</td><td class="t-log__opts">Photos, 3D tour, drone, video</td><td class="item">LAANC number</td><td></td></tr>
        <tr><td class="item">Frames kept</td><td></td><td class="item">Tour captures</td><td></td></tr>
        <tr><td class="item">Drone flown</td><td class="t-log__opts">Yes, no, rebook</td><td class="item">Landing battery</td><td></td></tr>
        <tr><td class="item">Backed up twice</td><td class="t-log__opts">Initials</td><td class="item">Task moved to Shot</td><td class="t-log__opts">Time</td></tr>
      </tbody>
      <caption>Circle what applies. Anything you could not shoot goes in the ClickUp comment, with the reason.</caption>
    </table>
  </section>
  </div>

</main>
<script src="training.js"></script>
</body>
</html>
training.js71 lines, 3.7 KB
/* Marathon training docs, training.js v1.0.0. No framework, no build step, no template literals,
   so it can sit inside a Worker String.raw page unchanged.
   1. Checklist boxes save on this phone, per document, so a dropped signal or a closed tab loses nothing.
   2. The progress strip and each section count update as boxes are ticked.
   3. "New shoot" clears every box for the next listing.
   4. Photos report their real shape, so a tall original gets a tall frame.
   5. ?photo=<file>&caption=<text> swaps the photo in every [data-photo-slot], for testing the template. */
(function () {
  var doc = document.documentElement;
  var key = 'mc-training:' + (doc.getAttribute('data-doc') || location.pathname);
  var params = new URLSearchParams(location.search);
  var boxes = Array.prototype.slice.call(document.querySelectorAll('.t-check input[type="checkbox"]'));
  var saved = {};
  try { saved = JSON.parse(localStorage.getItem(key) || '{}'); } catch (e) { saved = {}; }

  var demo = parseInt(params.get('done') || '', 10);
  boxes.forEach(function (box, i) {
    box.checked = isNaN(demo) ? !!saved[i] : i < demo;
    box.addEventListener('change', function () {
      if (box.checked) { saved[i] = 1; } else { delete saved[i]; }
      try { localStorage.setItem(key, JSON.stringify(saved)); } catch (e) {}
      update();
    });
  });

  function update() {
    var done = boxes.filter(function (b) { return b.checked; }).length;
    var total = boxes.length;
    document.querySelectorAll('[data-progress-text]').forEach(function (el) { el.textContent = done + ' of ' + total + ' done'; });
    document.querySelectorAll('[data-progress-bar]').forEach(function (el) { el.style.setProperty('--t-pct', (total ? Math.round(done / total * 100) : 0) + '%'); });
    document.querySelectorAll('.t-sect[id]').forEach(function (sect) {
      var own = sect.querySelectorAll('.t-check input[type="checkbox"]');
      var n = 0; own.forEach(function (b) { if (b.checked) { n++; } });
      var label = n + ' of ' + own.length;
      sect.querySelectorAll('.t-sect__count').forEach(function (el) { el.textContent = label; });
      document.querySelectorAll('.t-chip[href="#' + sect.id + '"]').forEach(function (chip) {
        var c = chip.querySelector('.t-chip__count'); if (c) { c.textContent = label; }
        chip.classList.toggle('is-done', own.length > 0 && n === own.length);
      });
    });
  }

  document.querySelectorAll('[data-reset]').forEach(function (btn) {
    btn.addEventListener('click', function () {
      if (!window.confirm('Clear every box for a new shoot?')) { return; }
      saved = {}; try { localStorage.removeItem(key); } catch (e) {}
      boxes.forEach(function (b) { b.checked = false; }); update(); window.scrollTo(0, 0);
    });
  });

  var photo = params.get('photo');
  if (photo && /^[a-z0-9_]+$/.test(photo)) {
    document.querySelectorAll('[data-photo-slot]').forEach(function (img) { img.src = 'photos/' + photo + '.jpg'; });
    var cap = params.get('caption');
    if (cap) { document.querySelectorAll('[data-caption-slot]').forEach(function (el) { el.textContent = cap; }); }
    var focus = params.get('focus');
    if (focus && /^[0-9% ]+$/.test(focus)) { document.querySelectorAll('[data-focus-slot]').forEach(function (el) { el.style.setProperty('--t-focus', focus); }); }
  }

  function orient(img) {
    var fig = img.closest('.t-shot'); if (!fig || !img.naturalWidth) { return; }
    fig.setAttribute('data-orient', img.naturalHeight > img.naturalWidth ? 'portrait' : 'landscape');
  }
  document.querySelectorAll('.t-shot img').forEach(function (img) {
    if (img.complete) { orient(img); }
    img.addEventListener('load', function () { orient(img); });
  });

  update();
})();
_measure.mjs18 lines, 1.4 KB
// Prints each planned Letter page height in print layout. Usage: node build/training-docs/v/r03/_measure.mjs <doc.html>
import { chromium } from 'playwright-core';
import fs from 'node:fs'; import os from 'node:os'; import path from 'node:path';
const profile = fs.mkdtempSync(path.join(os.tmpdir(), 'mc-chrome-'));
const ctx = await chromium.launchPersistentContext(profile, { executablePath: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome', headless: true, viewport: { width: 1000, height: 900 } });
const page = await ctx.newPage();
await page.emulateMedia({ media: 'print' });
await page.goto('file://' + path.resolve(process.argv[2]), { waitUntil: 'networkidle' });
await page.evaluate(() => document.fonts.ready);
const r = await page.evaluate(() => {
  const m = document.querySelector('.t-main') || document.body;
  m.style.width = '7.2in';
  const px = parseFloat(getComputedStyle(document.documentElement).getPropertyValue('--mc-doc-page-height')) ;
  return [...document.querySelectorAll('.t-page')].map(p => ({ page: p.dataset.page, h: Math.round(p.getBoundingClientRect().height), kids: [...p.children].map(c => (c.id||c.className).slice(0,20) + ':' + Math.round(c.getBoundingClientRect().height)) }));
});
console.log(JSON.stringify(r, null, 1), 'available px at 96dpi:', (11-0.75-0.85)*96);
await ctx.close(); fs.rmSync(profile, { recursive: true, force: true });
photo-test.mjs30 lines, 2.0 KB
// Photo robustness test for How-to 01. Loads the page at 390px with ?photo= swapped into every
// photo slot, then captures the hero and the crop strip for that photo. Throwaway Chrome profile.
// Usage, from the repo root: node build/training-docs/v/r03/photo-test.mjs <photo> <out-prefix> [caption] [width]
import { chromium } from 'playwright-core';
import fs from 'node:fs'; import os from 'node:os'; import path from 'node:path';
const [photo, out, caption = '', width = '390'] = process.argv.slice(2);
const here = path.dirname(new URL(import.meta.url).pathname);
const profile = fs.mkdtempSync(path.join(os.tmpdir(), 'mc-chrome-'));
const ctx = await chromium.launchPersistentContext(profile, {
  executablePath: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome',
  headless: true, viewport: { width: +width, height: 900 }, deviceScaleFactor: 2,
});
const page = await ctx.newPage();
const q = new URLSearchParams({ photo, caption });
await page.goto('file://' + path.join(here, 'howto-hero-photo.html') + '?' + q, { waitUntil: 'networkidle' });
await page.evaluate(() => document.fonts.ready);
await page.waitForTimeout(200);
const boxes = await page.evaluate(() => {
  const r = (el) => { const b = el.getBoundingClientRect(); return { x: 0, y: b.top + scrollY, width: innerWidth, height: b.height }; };
  const hero = document.querySelector('.t-main > .t-shot');
  const top = document.querySelector('.doc-opener');
  const step = document.querySelector('.t-crops').closest('.t-step');
  const a = r(top), b = r(hero);
  return { head: { x: 0, y: a.y - 24, width: innerWidth, height: (b.y + b.height) - a.y + 48 }, crops: { x: 0, y: r(step).y - 24, width: innerWidth, height: r(step).height + 24 } };
});
await page.screenshot({ path: out + '-a.png', clip: boxes.head, fullPage: true });
await page.screenshot({ path: out + '-b.png', clip: boxes.crops, fullPage: true });
await ctx.close(); fs.rmSync(profile, { recursive: true, force: true });
console.log('wrote', out + '-a.png', out + '-b.png');
compose.py13 lines, 663 bytes
# Joins render captures with Pillow. Usage:
#   python3 compose.py primary <in.png> <out.png>      first 1.6 screens of a phone render
#   python3 compose.py pair <a.png> <b.png> <out.png>  two phone captures side by side, top aligned
import sys
from PIL import Image
mode = sys.argv[1]
if mode == 'primary':
    im = Image.open(sys.argv[2]); im.crop((0, 0, im.width, min(im.height, 1688))).save(sys.argv[3])
else:
    a, b = Image.open(sys.argv[2]), Image.open(sys.argv[3]); gap = 40
    out = Image.new('RGB', (a.width + b.width + gap, max(a.height, b.height)), (225, 229, 235))
    out.paste(a, (0, 0)); out.paste(b, (a.width + gap, 0)); out.save(sys.argv[4])
icons-inline.py23 lines, 1.5 KB
# Copies the icons each training doc uses out of the icon system's sprite and into the doc,
# between the icons:start and icons:end markers. Browsers block a sprite on another path when a
# file is opened straight from the shared drive, so each doc carries the few symbols it needs.
# Run after adding an icon:  python3 icons-inline.py   (from this folder)
# Never draw or edit an icon here. The drawings live in icons/v/best/icons_src.py.
import os, re, glob
here = os.path.dirname(os.path.abspath(__file__))
sprite = open(os.path.join(here, '../../../icons/v/best/icons.svg'), encoding='utf-8').read()
symbols = {m.group(1): m.group(0) for m in re.finditer(r'(?s)<symbol id="(mc-icon-[a-z0-9-]+)".*?</symbol>', sprite)}
for path in sorted(glob.glob(os.path.join(here, '*.html'))):
    html = open(path, encoding='utf-8').read()
    if '<!-- icons:start -->' not in html:
        continue
    used = sorted(set(re.findall(r'href="#(mc-icon-[a-z0-9-]+)"', html)))
    missing = [u for u in used if u not in symbols]
    if missing:
        raise SystemExit(os.path.basename(path) + ': no such icon ' + ', '.join(missing))
    block = ('<!-- icons:start -->\n<svg xmlns="http://www.w3.org/2000/svg" style="display:none" aria-hidden="true">'
             + ''.join(symbols[u] for u in used) + '</svg>\n<!-- icons:end -->')
    html = re.sub(r'(?s)<!-- icons:start -->.*?<!-- icons:end -->', lambda m: block, html)
    open(path, 'w', encoding='utf-8').write(html)
    print(os.path.basename(path), len(used), 'icons')
render.sh26 lines, 1.9 KB
#!/bin/sh
# Renders every training doc at 390px phone width and as a Letter PDF rasterized at 150dpi,
# plus the How-to photo tests. Run from the repo root: sh build/training-docs/v/r03/render.sh
set -e
R=$(dirname "$0"); O="$R/renders"
python3 "$R/icons-inline.py"
rm -rf "${O:?}"; mkdir -p "$O"
for d in sop-listing-shoot onboarding howto-hero-photo clickup index; do
  node build/_shared/render.mjs png "$R/$d.html" "$O/$d-phone.png" 390 844 1 2
  node build/_shared/render.mjs pdf "$R/$d.html" "$O/$d-letter.pdf"
  python3 build/_shared/raster.py "$O/$d-letter.pdf" "$O/$d-letter" 150
done
# Primary: the SOP on a phone mid-shoot, nine boxes ticked. First screen beside the Arrive section.
node build/_shared/render.mjs png "$R/sop-listing-shoot.html?done=9" "$O/sop-phone-midshoot.png" 390 844 1 2
node build/_shared/render.mjs png "$R/sop-listing-shoot.html?done=9#arrive" "$O/_p-b.png" 390 844 0 2
python3 "$R/compose.py" primary "$O/sop-phone-midshoot.png" "$O/_p-a.png"
python3 "$R/compose.py" pair "$O/_p-a.png" "$O/_p-b.png" "$O/primary.png"
rm -f "${O:?}"/_p-*.png
# Photo robustness: the same template on a tight interior, a wide aerial, a portrait original, and a red lot line.
node "$R/photo-test.mjs" mc_retouched_05 "$O/_t-interior" "Cangelosi showroom, tight interior. Slab wall, sample racks, and the design table."
node "$R/photo-test.mjs" mc_rosehill_16 "$O/_t-aerial" "Rosehill Reserve, wide aerial. Lakes, trails, and the first phase of homes."
node "$R/photo-test.mjs" mc_retouched_08 "$O/_t-portrait" "Cangelosi sample rack, a portrait original. Kept tall, never cut to a strip."
node "$R/photo-test.mjs" mc_fullres_12 "$O/_t-boundary" "Wooded golf course lot. The red lot line is drawn in post. Marathon Red stays off the photo."
for t in interior aerial portrait boundary; do python3 "$R/compose.py" pair "$O/_t-$t-a.png" "$O/_t-$t-b.png" "$O/photo-$t.png"; done
rm -f "${O:?}"/_t-*.png