# BR Atelier — Design System

> An editorial, three-variant design system by **Bartosz Rychlicki** for
> Rychlicki Holding / BR Labs. Glass-first, accent-led, restraint over
> ornament. Built originally on shadcn/ui + Tailwind v4; this folder is a
> framework-agnostic recreation aimed at design agents and HTML prototypes.

---

## 1. Company & Product Context

**Company.** Bartosz Rychlicki runs an analyst / AI-implementation practice
based in Warsaw. The product positioning (in the founder's own words, paraphrased):
*"I analyze processes, identify bottlenecks, and ship solutions — my own systems
and AI deployments inside organizations."*

This results in a fairly wide constellation of products under one visual
identity, all governed by the same BR Atelier design language. The brand reads
as part design-studio portfolio, part financial dashboard — calm, editorial,
confident without being loud.

**Representative products & surfaces** (a non-exhaustive sample from the
attached GitHub org — none of these are pre-loaded into this project; explore
them via GitHub when you need real reference for a specific surface):

| Kind | Examples |
|------|----------|
| Personal / consulting site | `bartoszrychlicki/bartoszrychlickicom`, `archive_bartoszrychlicki` |
| Landing pages | `cto-landing-page-04-2026`, `retail-gap-landing-page`, `meso-landing-v2`, `ai-development-10xfactor-lp`, `bartoszrychlicki-audyt-ai` |
| Internal tools / dashboards | `br-crm`, `br-budget`, `br-accounting`, `retailgap-v2` |
| Productized brands | `meso-*` (food / delivery / POS), `pirxey-*` (time / matrix / events) |
| Verticals | `med4you`, `damen` (shipbuilding), `katarzyna-migus-site-v2` |

For this project we built the system around the canonical **BR Atelier
Showcase** repo (`bartoszrychlicki/br-design-system`) — see Sources below.

### Sources

- **Primary design system codebase** —
  [`bartoszrychlicki/br-design-system`](https://github.com/bartoszrychlicki/br-design-system)
  (private). Next.js 16 · React 19 · Tailwind v4 · shadcn/ui with `radix-nova`.
  This project is now the canonical token + component source; the repo's old
  showcase CSS is kept in `_archive/` for reference only.
- **Brand assets** — `uploads/` from this project:
  - `sygnet_Rychlicki_Logo-podstawowe-czarno_białe.svg` → `assets/sygnet_Rychlicki.svg`
  - `Rychlicki_Logo-podstawowe-czarne.png` → `assets/Rychlicki_Logo-podstawowe-czarne.png`
  - Clash Display family → `fonts/` (Geist + Geist Mono load from the official `geist` npm package)
- **Suggested further exploration.** The reader is encouraged to clone the
  GitHub repo directly to pick up the full shadcn registry definitions, the
  charts library, and the long-form showcase examples. The URL above is the
  single canonical source of truth.

> **Agents: read `AGENTS.md` first.** It lists every allowed value, component class and a
> finish checklist. Source of truth = `tokens.css` → `base.css` → `components.css` (linked via `styles.css`).

---

## 2. Content Fundamentals

The BR voice is **editorial Polish-and-English bilingual, calm, declarative**.
Marketing copy stays in Polish when speaking to founders directly; the design
system itself is documented in English. Headlines mix the two ("Atelier of
interfaces.", "Built with quiet conviction.", "Stonowane.").

**Tone & rules.**
- **Voice:** Confident without being loud. Studio-portfolio cross-bred with a
  financial dashboard. Never breathless, never "vibrant", never "delightful".
- **Person:** Brand-as-author ("we" / "BR / Atelier" / signature). Direct
  second-person ("you") only inside CTAs and product copy ("Welcome back",
  "Sign in →"). Founder copy on the personal site is first-person ("I analyze
  processes…").
- **Case:** Sentence case for headlines. Trailing period on display headlines
  is a brand tic ("Atelier of interfaces.", "Calm. Confident.")
- **Eyebrows / labels:** ALL CAPS, tracked `letter-spacing: .14em`, in mono.
  Always short — "NOW SHOWING", "WORKSPACE", "FINANCE", "STUDIO", "FOUNDATIONS",
  "EDITION 01", "Q4 · 2026".
- **Indices:** Mono accent numbers prefix every section — `01`, `02`, `09.5`.
  Three-up, never four. They are decorative cadence, not literal counters.
- **Emoji:** None. Ever. The brand reads as type + hairline + one accent stroke.
  Iconography is the lucide-react line-icon set, never emoji.
- **Punctuation flourishes.** A middle-dot `·` is the brand connector
  ("Warsaw · 2026", "Q4 · Edition 01", "BR / Design System"). Em-dashes for
  asides. Trailing `→` on CTAs ("Sign in →", "Read more →").

**Specific lifted examples (verified from the repo):**

> **Atelier of interfaces.** *(hero, display-xxl, with "interfaces." in accent)*

> *"A component library built on top of the BR brand. Three variants, one
> accent, one ethos: elegance that survives at small sizes."* *(hero lede)*

> **Built with quiet conviction.** *(brand-card tagline, "quiet" highlighted)*

> *"An editorial design system. Three voices, one set of rules."* *(brand-card desc)*

> "BR / Atelier · Ed. 01"  ·  "Bartosz Rychlicki · Warsaw · 2026"

> Variant labels — **Glass / Frosted**, **Dark Premium**, **Sharp Modernist**
> — each gets a one-sentence haiku: "Refined translucency. Soft refractions
> over a warm paper base."

**Don'ts.**
- Don't pad. One sentence per idea. Whitespace is content.
- Don't use exclamation marks anywhere outside a code sample.
- Don't say "delight", "magical", "revolutionary", or "unlocks".
- Don't speak about features. Speak about the *posture* of the product.

---

## 3. Visual Foundations

### 3.1 The three-variant architecture

The entire system ships **three visual variants** that swap via a
`data-variant` attribute on `<html>`. Each variant has light + dark + a
glass-intensity toggle, and a single accent that is one of four curated hex
values. This is the most important thing to internalize before designing.

| Variant | Mood | Radius | Density | Use when |
|---|---|---|---|---|
| **A — Glass / Frosted** *(default)* | Translucent surfaces over warm paper; soft refractions | 12px | spacious | Marketing pages, portfolio, product UI |
| **B — Dark Premium** | Inverted, accent becomes light, faint inner glow | 10px | comfortable | Dashboards, command surfaces, deep-focus work |
| **C — Sharp Modernist** | Editorial, hairlines, dense type, near-square | 3px | compact | Print-feel docs, tables-heavy, archival |

> Variant C **has no shadows** — only hairlines. Variant A and B share the
> same glass + glow + grain stack with inverted palette.

### 3.2 Color

- **Single accent** drives every meaningful action, every "now showing", every
  one-word emphasis. Default is `#E74011` (Fire — BR signature). Three more
  curated alternates: `#C8462A` Terracotta, `#8C5A2C` Cognac, `#3A3833` Slate.
- **Surfaces ramp** `bg → surface-1 → surface-2 → surface-3` — each step
  roughly 7–15% more opaque or +5% tint. In Variant A surfaces are
  semi-transparent rgba(255,253,250,.55–.88) so the page glow shows through.
- **Accent roles:** `--accent` (marks, bars, focus), `--accent-fill` (bg under white text, AA),
  `--accent-text` (small accent text, AA), `--accent-soft/ghost` (tints).
- **Status: there is no destructive red.** Destructive **is** accent. `--success` and `--warning`
  exist for badges/alerts only.
- **Identity palette** `--id-1…6` — six muted hues used **only** as dots/tiles to tell projects or
  areas apart. Never text, controls or states.
- **No hardcoded hex.** Always `var(--token)`. The whole point of the system is
  that swapping variant/accent recolors everything for free.

### 3.3 Type

Three families, three roles, never a fourth.

| Family | Role | Var |
|---|---|---|
| **Clash Display** | Display headlines | `--font-display` |
| **Geist** | UI / body | `--font-ui` |
| **Geist Mono** | Eyebrows, labels, counters, kbd, code | `--font-mono` / `--font-meta` |

Marketing display sizes are **fluid-clamped** (`display-xxl` 56→168px). App UI uses a fixed
scale — `--text-2xs` 10 · `xs` 11 · `sm` 12 · `base` 13 (default UI) · `md` 14 (body) · `xl` 18 ·
`2xl` 22 · `3xl` 32 (page title). Full table in `AGENTS.md`.

### 3.4 Background, glow, grain

Behind every page sits a **fixed radial-gradient glow** (two layers — one
accent-tinted at top-right, one cool at bottom-left) plus an **SVG fractal
noise grain** at `opacity: .025–.05` and `mix-blend-mode: overlay`. Solid
backgrounds are forbidden — in apps too. `.br-canvas` (alias `.app`) provides both;
it is required on the root of every screen.

### 3.5 Backgrounds & imagery

- **No stock photography.** The brand is type-first. When imagery appears, it
  is a CSS-generated pattern placeholder (200px tall in CaseCards) or a
  monochrome architectural / studio shot processed warm.
- **Full-bleed images:** only on case cards and the editorial aside of the
  two-pane sign-in.
- **Hand-drawn illustrations:** none.
- **Repeating patterns / textures:** the grain noise is the only texture.
- **Gradients:** only the two background radial glows; **never** as button or
  card fills. Linear-gradient is reserved for the "marker" underline header
  flavor (a low-opacity accent painted over the bottom third of one word).

### 3.6 Motion & easing

- Standard duration **`.22s`**, entrance **`.42s`**. No bouncy easings.
- Easing tokens — `--ease: cubic-bezier(.2, .8, .2, 1)`,
  `--ease-out: cubic-bezier(.16, 1, .3, 1)`.
- Motion is fast and quiet.

### 3.7 Hover / press

- **Hover:** lifts at most 1px. Border darkens to `--border-strong` (~18%).
  Surface goes up one step (`surface-1 → surface-2`). On the primary button,
  brightness +6% plus a deeper accent halo. **No drop-shadow appears on hover**
  except on case cards.
- **Press:** translateY(0) returns + the inset highlight dims. No color flash,
  no scale-down.
- **Focus:** fields get accent border + `--focus-ring`; everything else a 2px accent outline.
- **Disabled:** neutral for every intent (`--disabled-bg/-fg/-border`) — never a faded accent.

### 3.8 Borders & shadows

- Borders are **hairlines** — 1px at 8% opacity (`--border`). On hover/focus,
  18% (`--border-strong`). An interior `--hairline` (lighter than border)
  divides nested content inside cards.
- **Three shadow tokens** per variant: `--shadow-1` (resting), `--shadow-2`
  (raised, e.g. hover on case cards / dropdown anchors), `--shadow-3`
  (floating — dialog, sheet, command palette).
- Every glass surface gets `--shadow-inset` (`inset 0 1px 0 rgba(255,255,255,.55)`)
  so its top edge catches light. Subtle but critical.
- **Variant C has NO shadows.** Only hairlines and outlines.

### 3.9 Transparency, blur, glass

- `backdrop-filter: blur(var(--blur)) saturate(var(--blur-sat))` is applied to
  surfaces (not text). `--blur` is `14px` by default; the glass-intensity
  toggle moves it through `0px / 14px / 28px` and saturation `100% / 130% / 180%`.
- Never apply `backdrop-filter` to text.
- **Protection gradients vs capsules:** the brand prefers capsules. Search
  pill, "Live" badge, hero-now-badge, command-palette anchor are all capsules
  (`border-radius: var(--radius-pill)`). Protection gradients are not used.

### 3.10 Corner radii (variant-driven)

| token | A (Glass) | B (Premium) | C (Sharp) |
|---|---|---|---|
| `--radius-control` | pill | 10px | 3px |
| `--radius-nav`  | 10px | 8px  | 2px |
| `--radius-card` | 18px | 14px | 3px |
| `--radius-sm`   | 8px  | 6px  | 2px |
| `--radius-base` | 12px | 10px | 3px |
| `--radius-lg`   | 18px | 14px | 4px |
| `--radius-xl`   | 24px | 20px | 6px |
| `--radius-pill` | 999px | 999px | 999px |

Radii are part of a variant's identity — **do not override them**.

### 3.11 Layout rules

- `.container-br` = `min(1280px, 100% - 48px)`. Default container.
- `.container-wide` = `min(1480px, 100% - 48px)`. Showcase artboards only.
- Section padding `clamp(48px, 6vw, 96px)` top/bottom.
- Inside cards: 18–24px padding depending on density.
- Topbar: sticky, 64px tall (56px in C), inner max 1280px.
- Apps: `.shell` with two canonical sidebars — `data-shell="floating"` (240px glass card) or
  `data-shell="rail"` (flat full-height, right hairline). Items are identical in both.

### 3.12 Cards (three families)

- **Card** — neutral content card. 20px padding. Eyebrow + display-s title +
  description + foot (avatars/badges + action).
- **StatCard** — KPI. 24px padding. Eyebrow + display value (clamp 40–56px)
  + trend pill + tiny sparkline. Numerals use `font-variant-numeric: tabular-nums`.
- **CaseCard** — portfolio plate. 200px image area on top (CSS-pattern
  placeholder unless real image), body with year/days badge + title + desc + tags.

All cards: `var(--surface-1)` + blur, hairline border, `--shadow-1` resting,
`--shadow-2` hover (variants A/B only), translate-up 1px on hover.

---

## 4. Iconography

The brand uses a **single icon system**, applied with discipline. There is no
custom icon font, no emoji, no decorative SVG glyphs beyond the brand
signature.

- **Icon library:** **[Lucide](https://lucide.dev/)** (via `lucide-react` in
  the source repo). **16px, stroke 1.75** (`--icon`, `--icon-stroke`); 14px in small buttons,
  20px in empty states. Line style, never filled, never colored. Icons inherit `currentColor` from their parent
  and so pick up `--text` / `--text-muted` / `--accent` naturally.
- **How we ship it here:** because we cannot bundle the npm package into a
  static design system, we **link Lucide from the CDN** in HTML files:
  pinned `lucide-static@0.469.0` via the `Icon` component. In Next.js use `lucide-react`
  with `strokeWidth={1.75}`. **Flagged substitution:** none —
  Lucide is what the source uses; we are linking the same upstream package.
- **Brand-specific glyphs:** the source repo defines a few custom SVGs in
  `src/components/br/icons.tsx` (in the GitHub repo) — `Logo`, `Google`, `ArrowUR`. These are
  drawn inline in JSX. For this project we have the **Rychlicki sygnet**
  (`assets/sygnet_Rychlicki.svg`) which fills via `currentColor` and the full
  wordmark (`assets/Rychlicki_Logo-podstawowe-czarne.png`).
- **Logo system.**
  - **Sygnet** (mark only) — `assets/sygnet_Rychlicki.svg`. Square aspect,
    `currentColor`-driven, scales down to a 16px favicon cleanly.
  - **Logotyp** (mark + wordmark) — `assets/Rychlicki_Logo-podstawowe-czarne.png`.
    Black-on-transparent. Used in the topbar and brand card.
- **Emoji:** never.
- **Unicode characters as icons:** the middle-dot `·` is the brand connector;
  the right-arrow `→` is the CTA tail. The slash `/` is the brand separator
  ("BR / Atelier", "BR / Design System"). These are unicode chars used as
  semantic punctuation, never replacing real icons.
- **Icon-only buttons** are square (`btn-icon`) — same height as the text
  button but with width equal to height, e.g. 38×38.

---

## 5. Index — what's in this folder

```
/
├── AGENTS.md          ← agent guide: exact values + checklist (read first)
├── README.md          ← this brief
├── SKILL.md           ← agent-skill manifest
├── styles.css         ← link this (imports the three below)
├── tokens.css         ← ALL tokens, variants A/B/C × light/dark, accents
├── base.css           ← reset, .br-canvas, type classes
├── components.css     ← component classes with every state
├── colors_and_type.css← deprecated shim → styles.css
├── src/app/globals.css← Next.js + Tailwind v4 + shadcn bridge (no values)
├── components/        ← React reference components + @dsCard previews
├── templates/app-shell← canonical app screen
├── templates/login, list-detail, form, states, dark-table ← reference screens
├── templates/br-deck, oferta-sprint ← decks
├── fonts/ assets/     ← Clash Display, sygnet, logotype
├── preview/           ← Design System tab cards
├── ui_kits/br-atelier ← marketing showcase (not a source)
└── _archive/          ← legacy, ignore
```

### Repos to explore further

- [`bartoszrychlicki/br-design-system`](https://github.com/bartoszrychlicki/br-design-system)
  — canonical source. Has the full shadcn registry, all 18 showcase sections,
  charts, command palette, calendar, dialog/sheet/drawer overlays. If you are
  building anything for BR, **read `AGENTS.md` in this project first** — it supersedes the repo.

---

## 6. Caveats & open questions

- **Clash Display ships as .woff (zlib) with .otf fallback** (~30% smaller). WOFF2 (Brotli) would save ~15% more — convert with `woff2_compress` in the app repo if it matters.
- **Charts component not recreated.** The source repo has a substantial
  `charts.tsx` (~14KB) using a custom BR-styled Recharts wrapper. Out of scope
  here — fetch it from the repo when needed.
- **No real product screenshots.** The system is documented from code, not
  from screenshots, per the brand brief.

## Deck / presentation kit

For slide decks ("PowerPointy"), use the **BR Deck** template: `templates/br-deck/BrDeck.dc.html`
(1920×1080, built on `deck-stage`, exports to PPTX/PDF). Twelve canonical slide layouts:

1. **Title** — kicker (accent number + mono eyebrow), 116px display headline with accent
   second line + trailing period, lede, pill tags, circular `<image-slot>`, mono contact footer.
2. **Agenda** — 76px display H2 + numbered editorial rows (mono accent index, display title,
   right-aligned mono meta), hairline `--border` separators with `--border-strong` at the ends.
3. **Divider** — dark (#1C1612), 320px accent number + 96px title. Dark slides use literal
   #FBF8F4 text with rgba(251,248,244,…) muted steps.
4. **Stats** — 3-column grid split by `--border-strong` hairlines; 88px accent tabular numbers,
   mini inline-SVG charts (line/bars) in accent with opacity steps, logo-strip footer.
5. **Case** — 560px copy column (kicker, H2, lede, pills, mono link) + image-slot collage.
6. **Clients (dark)** — logo wall, 5-col grid of real client logos from
   `bartoszrychlicki.com/assets/clients/` (white marks — keep on the dark bg), sector footer.
7. **Workflow** — horizontal 5-node process chain (surface-2 cards, accent → connectors,
   final node accent-outlined), human-in-the-loop footnote.
8. **Timeline** — 5-column day axis: 2px top rule, accent dots fading by opacity, mono day
   labels, display step titles.
9. **Scope** — asymmetric 1.25fr/1fr split: accent → list of deliverables vs muted
   "not in this stage" prose column.
10. **Pricing** — two 150px display figures (price accent, duration ink) + two-path fork
    (continue / stop) under a hairline split.
11. **How we work (dark)** — pills (filled accent + outlined), "→" principle list, QR + email footer.
12. **Closing** — 140px "Thank you." + sygnet + contact block over a `--border-strong` rule.

A second template, **Oferta · Discovery Sprint** (`templates/oferta-sprint/OfertaSprint.dc.html`),
is a 10-slide Polish consulting-offer deck (Decide/Learn, one thought per slide): tytuł, jak
rozumiem klienta (diagram), obecna koncepcja (chmura modułów → pytanie), problem (5 pytań),
potencjalne procesy (4 kolumny), hipoteza (łańcuch workflow), plan 5 dni (oś), zakres
(powstanie / nie w tym etapie), miara sukcesu (ciemny, 2 pytania), koszt i dalsze kroki.
Accent is a tweak — switch to graphite `#3A3833` for clients whose brand wants a quieter accent.

**Slide grammar** (reuse when composing new slides): canvas 1920×1080, padding
`100px 110px 80px`; light bg = two radial accent washes over #F5F1EC, dark = same over #1C1612
(max these 2 backgrounds per deck); min text 24px; kicker = accent slide number + mono ALL-CAPS
label at 24px/.14em; entrance animations via `data-rise`/`data-draw`/`data-grow`/`data-pop`
(keyframes in the template helmet). Accent is a deck-level tweak. Preview cards live under
`preview/deck/` (Deck group in the Design System tab).

## Components (compiled bundle)

Exported on `window.BRAtelierDesignSystem_dd1ad3`. App components are thin wrappers over
`components.css` classes, so plain HTML/Tailwind using the same classes renders identically.

- **Button** · **IconButton** — primary / ink / ghost / quiet / danger; sm / md / lg; icon, loading, neutral disabled.
- **Badge** · **CountBadge** · **Kbd** — status pills, mono counters, keyboard hints.
- **Icon** — Lucide pinned 0.469.0, stroke 1.75.
- **Input** · **SearchField** · **Textarea** · **Checkbox** · **Switch** — label/hint/error, kbd, affix, round task checkbox.
- **AppShell** · **Sidebar** · **NavSection** · **NavItem** · **IdentityDot** · **Topbar** — floating or rail shell.
- **Card** · **PageHeader** · **ListRow** · **EmptyState** — app page anatomy.
- **Kicker** · **StatBlock** · **TagPill** · **SegmentedControl** — editorial / deck pieces.

Template **App shell** (`templates/app-shell/AppShell.dc.html`) composes them into a full screen
with tweaks for shell, variant and theme.
