# DESIGN.md (okti.design)

Design specification and agent ruleset for Oktay Elipek's personal portfolio.
Authored so both human contributors and AI coding agents produce consistent, restrained UI.

---

## 1. Design Thesis

Calm editorial minimalism. Typography, whitespace, and real product work carry the page.
Every element must earn its place; anything decorative or redundant is removed.

## 2. Color Tokens

| Token | Value | Usage |
| --- | --- | --- |
| `--bg` | `#FAFAF9` | Page canvas (warm off-white paper) |
| `--ink` | `#171717` | Primary text, headings, primary links |
| `--muted` | `#6E6D6A` | Secondary copy, role subtitles, descriptions |
| `--faint` | `#A3A29E` | Dates, section eyebrows, subtle notes |
| `--line` | `#E7E5E4` | 1px hairline section and row dividers |
| `--hover` | `#F3F2EF` | Subtle row hover surface |

Rule: Do not introduce accent gradients, glowing shadows, or colored pill badges. Color comes solely from real product screenshots.

## 3. Typography

- **Body & UI:** `DM Sans` (`15.5px`, line-height `1.68`)
- **Editorial Lead:** `Newsreader` (`clamp(23px, 3.2vw, 27px)`, line-height `1.38`, tracking `-0.012em`)
- **Dates & Metrics:** Tabular numerals (`font-variant-numeric: tabular-nums`)

## 4. Layout & Rhythm

- Single centered reading column: `max-width: 660px`
- Page padding: `72px 24px 96px` desktop, `40px 20px 64px` mobile
- Section spacing: `48px` vertical padding separated by `1px solid var(--line)`
- Lists use native `<details>` accordions for zero-bloat progressive disclosure

## 5. Interaction Principles

- Clicking email copies directly to clipboard with a quiet bottom toast (`Copied oktayelipek@gmail.com`). No redundant "Copy" links.
- Work screenshots open in a minimal native `<dialog>` lightbox on click.
- Prefer zero or near-zero client JavaScript; keep static builds under 1s.

## 6. Anti-Patterns (Do Not Generate)

- No fake live widgets, mock terminals, or decorative SVG schematics.
- No badge/tag soup, status pills, or boxed cards around plain text rows.
- No marketing superlatives or generic AI copy.
