# Design System Document: Editorial Excellence

## 1. Overview & Creative North Star

### Creative North Star: "The Digital Atelier"
This design system rejects the "templated" feel of traditional e-commerce. Instead, it adopts the persona of a high-end fashion editor. The experience is defined by **The Digital Atelier**—a philosophy where the UI serves as a curated gallery rather than a rigid warehouse. 

To achieve a "fashion-forward" aesthetic, we break the traditional grid through **Intentional Asymmetry**. Large-scale imagery should often bleed off-edge or overlap with typography, creating a sense of motion and depth. We move away from the "boxy" nature of the web by using layered surfaces and sophisticated tonal transitions that feel like physical textures.

---

## 2. Colors: Tonal Sophistication

The palette is anchored in high-contrast neutrals with two distinct power colors: **Royal Primary (#003B93)** for authority and **Impact Secondary (#B71507)** for urgency and flair.

### The "No-Line" Rule
**Explicit Instruction:** Designers are prohibited from using 1px solid borders to define sections. Layout boundaries must be established solely through background color shifts. 
*   *Example:* A `surface-container-low` section sitting directly on a `surface` background. This creates a soft, architectural division that feels premium and intentional.

### Surface Hierarchy & Nesting
Treat the UI as a series of stacked physical materials (fine paper or frosted glass). 
*   **Base:** `surface` (#FBF9F8)
*   **Nesting:** Use `surface-container-lowest` (#FFFFFF) for high-focus elements like product cards, and `surface-container-highest` (#E4E2E1) for persistent utility areas like filters or navigation rails.

### The "Glass & Gradient" Rule
Flatness is the enemy of premium. To add "soul" to the interface:
*   **Glassmorphism:** For floating elements (Modals, Dropdowns), use semi-transparent `surface` colors with a `backdrop-blur` of 20px. 
*   **Signature Textures:** Main CTAs should utilize a subtle linear gradient from `primary` (#003B93) to `primary-container` (#0051C3) at a 135-degree angle. This provides a deep, ink-like luster.

---

## 3. Typography: Editorial Authority

We use a tri-font system to create a rhythmic, sophisticated hierarchy.

*   **Display & Headlines (Plus Jakarta Sans):** These are the "Hero" of the layout. Use `display-lg` for campaign statements. The wide apertures of Plus Jakarta Sans convey a modern, open feel.
*   **Titles & Body (Inter):** The "Workhorse." Inter provides exceptional legibility for product descriptions and navigation. 
*   **Labels (Space Grotesk):** This is our "Technical Accent." Used for sizes, SKUs, and categories. The monospace-adjacent nature of Space Grotesk adds an industrial, high-fashion edge to small metadata.

**Hierarchy Strategy:** Always pair a large `display-sm` headline with a `label-md` uppercase subtitle to create the "magazine spread" look.

---

## 4. Elevation & Depth: Tonal Layering

Traditional shadows and borders are replaced by **Tonal Layering**.

### The Layering Principle
Depth is achieved by "stacking" surface tiers.
*   Place a `surface-container-lowest` card on a `surface-container-low` background. The slight shift in brightness creates a "lift" that is felt rather than seen.

### Ambient Shadows
If a floating effect is required (e.g., a "Quick Buy" drawer):
*   **Blur:** 40px – 60px.
*   **Opacity:** 4% – 8%.
*   **Color:** Use a tint of `on-surface` (#1B1C1C) rather than pure black to ensure the shadow feels like natural ambient light.

### The "Ghost Border" Fallback
If accessibility requires a container boundary, use a **Ghost Border**:
*   Token: `outline-variant` (#C3C6D6)
*   Opacity: 10% – 20% max.
*   **Forbid:** 100% opaque, high-contrast borders.

---

## 5. Components

### Buttons
*   **Primary:** Gradient (`primary` to `primary-container`), white text, `sm` (0.125rem) corner radius. Use high-tracking (0.05em) for labels.
*   **Secondary:** `surface-container-highest` background with `on-surface` text. No border.
*   **Tertiary:** Underlined `label-md` text only. The underline should be 1px and offset by 4px.

### Cards & Product Grids
*   **Prohibition:** No divider lines between cards. 
*   **Separation:** Use vertical white space (32px or 48px) and subtle background shifts (`surface` to `surface-container-low`).
*   **Imagery:** Product images should occupy 100% of the card width with a `md` (0.375rem) corner radius.

### Input Fields
*   **Style:** Minimalist. Only a bottom-aligned `outline` (#737785) at 30% opacity. 
*   **Focus State:** The bottom line transitions to `primary` (#003B93) and thickens to 2px.

### "Atelier" Navigation (Custom Component)
Instead of a standard top-bar, use a "Floating Header" with a backdrop-blur (Glassmorphism). The background should be `surface` at 80% opacity.

---

## 6. Do’s and Don’ts

### Do
*   **Do** use asymmetrical margins (e.g., 5% left, 10% right) for editorial sections to create visual interest.
*   **Do** lean heavily on `surface-bright` for high-end photography backdrops.
*   **Do** ensure all interactive elements have a minimum 44px hit zone, even if the visual "label" is smaller.

### Don’t
*   **Don’t** use pure black (#000000). Always use `on-surface` (#1B1C1C) for a softer, premium ink feel.
*   **Don’t** use standard "Drop Shadows." If an element doesn't feel separated enough, adjust the surface color tier instead.
*   **Don’t** crowd the layout. If you think there is enough white space, add 20% more. Premium is defined by the luxury of "empty" space.

---

## 7. Accessibility
While focusing on aesthetics, we maintain a **WCAG 2.1 AA** standard. 
*   All `primary` on `surface` combinations must maintain a 4.5:1 ratio. 
*   `secondary` (#B71507) is reserved for "Sale" and "Errors," ensuring its high-chroma nature is used sparingly and intentionally to guide the eye without causing fatigue.