# Rilego logo files

Draft 0.1, 1 December 2026. Generated by `tools/build-logos.mjs` from the two sources on the live site (rilego-landing.pages.dev): the mark `public/img/rilego-mark-ink.svg` and the wordmark paths in `components/BrandWordmark.vue`. Every SVG here is pure paths, no fonts, no text objects. Rebuild everything with `pnpm logos` in `C:\Claude\rilego-brand`.

## Shapes

| Name | What | Use |
|---|---|---|
| `wordmark` | "rilego" in Archivo (converted to outlines) with the registration mark as the i-dot | The primary logo. Web header, footer, documents, store listing, anywhere there is room for a word. |
| `mark` | The registration mark alone: ring plus cross, 5-unit stroke in a 64 box | Favicon, app icon, avatars, places narrower than 120 px. |
| `lockup` | Mark on the left at ascender height, wordmark on the right, gap 0.4 X | Only where a house style asks for an icon next to the name (partner pages, co-branding). The mark appears twice in this file (once as the i-dot). Prefer the wordmark. |
| `stacked` | Mark centred above the wordmark, gap 0.45 X | Square surfaces: stickers, social tiles, round labels. Same doubling as the lockup. |

X = the ascender height of the wordmark (the "l"), 72.4 units in the SVG. Every file carries its clear space as padding: half the mark height for the mark, lockup and stacked files, the width of the i-dot cross (28 units) for the wordmark. Colour-ground files fill the clear space with the ground.

## Colour variants

| Suffix | Ink | Ground | Where |
|---|---|---|---|
| `black-on-white` | #000000 | #ffffff, baked in | Documents, print proofs, anything that needs an opaque file |
| `white-on-red` | #ffffff | #bc0f22, baked in | Red hero surfaces, the app icon family, red social tiles |
| `red-on-white` | #bc0f22 | #ffffff, baked in | Accent use on white; use sparingly, the brand is black on white |
| `black` | #000000 | transparent | Light photos and light grounds in layouts |
| `white` | #ffffff | transparent | Dark photos, the black footer, dark product screens |

## Formats per variant

- `svg/`: cleaned vector, viewBox in wordmark units, no fonts. 20 files.
- `pdf/`: vector PDF printed by Chrome, page size equals the SVG, no raster objects, no fonts. 20 files.
- `png/`: 512, 1024, 2048 and 4096 px wide. The `black` and `white` variants are transparent; the three colour variants carry their ground. 80 files.
- `jpg/`: 2048 px wide, quality 92. Colour variants on their own ground, `black` on white. The `white` JPG sits on black, because white on white would be an empty file. 20 files.

## Favicon set (`favicon/`)

| File | Use |
|---|---|
| `favicon.svg` | Modern browsers. The mark in black on transparent, 64 box. |
| `favicon.ico` | 16, 32 and 48 px as PNG entries in one ICO. Legacy browsers and Windows shortcuts. |
| `favicon-16.png`, `favicon-32.png`, `favicon-48.png` | The same sizes as single PNGs (Google's result favicon wants 48). |
| `apple-touch-icon.png` | 180 px, white tile, black mark at 70 %, no transparency. |
| `icon-192.png`, `icon-512.png` | PWA icons, white tile. |
| `icon-192-maskable.png`, `icon-512-maskable.png` | Maskable PWA icons, red tile with white mark at 60 % so the safe zone holds. |
| `site.webmanifest` | Manifest naming the four PWA icons. |
| `head.html` | The four link tags to paste into `<head>`. |

## App icon (`app-icon/`)

| File | Use |
|---|---|
| `app-icon-template-1024.svg`, `.png` | The macOS template with guides: 1024 canvas, 824 x 824 rounded square (radius 185.4) with a 100 px margin for the system shadow, 72 px safe zone inside the shape. Layers `icon`, `guides` and `labels`. |
| `app-icon-red-1024.svg`, `.png` | The icon without guides: red tile, white mark at 56 % of the shape. Transparent margin as Apple's template expects. |
| `app-icon-ink-1024.svg`, `.png` | Alternative: white tile, black mark. |
| `avatar-red-1024.png`, `avatar-white-1024.png` | Full-bleed squares without the margin, for stores and platforms that apply their own mask, and for profile pictures. |

The app icon is a proposal. Which tile ships in the Mac App Store is Marco's and Nina's decision.

## File names

`rilego-<shape>-<variant>[-<width>].<ext>`, for example `rilego-wordmark-black-2048.png` or `rilego-mark-white-on-red.pdf`.

## Checks

`tools/check-logos.mjs` opens every raster and SVG with sharp, compares the width in the file name with the real width, checks each PDF for raster objects and renders two contact sheets into `tools/`. Last run: 160 files, all open, all sizes match, all PDFs vector only.
