# Valkea Design Handoff

A visual and interactive design reference for designers, developers, and agents implementing Valkea in any stack. This is a design handoff, not a production component SDK. Use the live examples to understand composition and behavior; use this guide for the intended rules.

## Start here

- [Design Handoff](https://valkea-design-preview.pages.dev/design-system/)
- [Home](https://valkea-design-preview.pages.dev/en/)
- [Cabin listings](https://valkea-design-preview.pages.dev/en/cabins/)
- [Cabin detail](https://valkea-design-preview.pages.dev/en/cabins/villa-winter/)
- [Destination](https://valkea-design-preview.pages.dev/en/pyhatunturi/)
- [Owners](https://valkea-design-preview.pages.dev/en/for-cabin-owners/)

The `/design-system/` URL is retained for existing links. Local updates are visible at the same paths on `http://127.0.0.1:3100`; public examples reflect the last deployment.

## How to build from this handoff

1. Choose the nearest existing composition before inventing a new one.
2. Start with Content Block, Button, and Icon + Label. Compose these into cards, banners, and sections.
3. Match the examples at desktop and mobile widths. Preserve spacing, hierarchy, and interaction states, not just a single screenshot.
4. Use the tokens below. Do not introduce almost-identical font sizes, grays, or radii for individual pages.
5. Keep application data and behavior separate from the illustrative content here. Implement actual search, availability, pricing, and booking in the target application.
6. Check keyboard focus, accessible names, touch behavior, and reduced motion alongside appearance.

If documentation and an example disagree, flag the discrepancy rather than silently inventing a third variation. Legacy CSS in this repository is implementation history, not a requirement to copy it.

## Foundations

### Color and surfaces

| Role | Value |
| --- | --- |
| Black / primary text | `#000000` |
| White | `#FFFFFF` |
| Muted text | `#757575` |
| Line | `#DDDDDD` |
| Muted surface | `#F5F5F5` |
| Accent violet | `#7C4DFF` (legacy token name: `--vh-blue`) |
| Light aurora | `linear-gradient(120deg, #F3F6F4 0%, #F2F6F5 30%, #F3F4F8 62%, #F6F3F8 100%)` |

Use aurora as a quiet background. For a tile or feature-card group, the gradient spans the group continuously rather than restarting on each item. Keep gaps visually separate.

Control and dropdown radius: **8px**. Panel radius: **12px**. Destination tiles round only the outer perimeter; internal corners are square.

### Typography

- **Outfit:** headings.
- **Inter:** body copy, labels, controls, and numbers unless the component specifies otherwise.
- **Cedarville Cursive:** handwritten eyebrows. Regular weight only.
- Medium: **500**. Large hero headings: **400**.

| Token | Size / line-height |
| --- | --- |
| xs | 12 / 16px |
| sm | 14 / 20px |
| base | 16 / 24px |
| lg | 18 / 28px |
| xl | 20 / 28px |
| 2xl | 24 / 32px |
| 3xl | 30 / 36px |
| 4xl | 36 / 40px |
| 5xl | 48 / 48px |
| 6xl | 60 / 60px |
| 7xl | 72 / 72px |

## Core components

### Content Block

[Examples](https://valkea-design-preview.pages.dev/design-system/#content-block)

Composition: optional eyebrow → heading → description → action. Supports light/dark surfaces and left/center alignment. Choose heading semantics for the page hierarchy independently of visual size.

| Variant | Heading mobile → desktop | Description mobile → desktop | Eyebrow | Content gap / action spacing |
| --- | --- | --- | --- | --- |
| Compact | 3xl → 3xl, 500 | base → base | 2xl | 12 / 20px |
| Default | 2xl → 4xl, 500 | base → lg | 2xl | 16 / 24px |
| Large | 5xl → 7xl, 400 | base → lg | 3xl | 24 / 28px |

Desktop typography changes at 1024px. Compact typography does not shrink on mobile. Use Compact for cards and supporting sections, Default for section introductions and banners, and Large for hero compositions. Cabin body descriptions fill their content column.

### Buttons

[Examples](https://valkea-design-preview.pages.dev/design-system/#buttons)

- Default height: **52px**. Compact: **44px**. XS icon control: **32px**.
- Default and compact text: **base, 500**. Icon-only controls are square.
- Plain black with white text is the standard primary button.
- **Aurora reveal is optional.** Reserve it for selected primary actions such as a hero CTA or booking. Do not apply it indiscriminately to all buttons.
- The aurora image is revealed around the pointer with soft fading edges. Keep text on a stable layer. Support keyboard focus and reduced motion; touch must not depend on hover.
- Supporting owner-banner and story-slider CTAs use 90% white with background blur and dark text, without aurora.
- A subtle inset white hover edge uses 1px at 5% opacity; it must not change dimensions.
- Neutral icon controls use 5% black, increasing to 9% on hover.

### Icon + Label

[Examples](https://valkea-design-preview.pages.dev/design-system/#icon-label)

| Variant | Icon | Text | Gap |
| --- | --- | --- | --- |
| Default | 20px | sm, 500 | 10px |
| Large | 24px | base, 500 | 10px |

Use Large for cabin facts and amenity highlights. Use Default beneath nearby-distance values and for partner-card metadata.

Use **Lucide** for UI icons: 24-unit viewBox, 2-unit strokes, rounded caps and joins, inherited color. Icon-only buttons need accessible names; decorative SVGs are hidden from assistive technology. Logos and handwritten artwork are not UI icons.

### Fields, filters, and checkboxes

[Examples](https://valkea-design-preview.pages.dev/design-system/#form-controls)

- Fields follow button heights and the 8px control radius.
- Search/booking filter controls: white surface, light gray border, very subtle shadow (`0 1px 2px rgb(0 0 0 / .025)`). Border is the line token mixed 60% with white.
- Control labels: sm regular, muted. Values: base medium.
- Filter controls can reveal the light aurora gradient around the cursor; labels must remain stationary.
- Destination dropdown matches its trigger width. Dropdown windows use 8px radius and close on Escape or outside click.
- Standard checkbox: **24px**, 2px black border, black fill and white Lucide check when selected.
- **Extras exception:** 32px add/check control; plus when unchecked, violet with a white check when selected.

### Modal and calendar

[Interactive example](https://valkea-design-preview.pages.dev/design-system/#calendar)

- Centered modal, 12px radius, dimmed/blurred backdrop.
- Heading uses 3xl / 500 and aligns vertically within a 44px row beside the close button.
- Calendar: 44px square day tiles, close button, and month arrows.
- Two 308px-wide month grids + 20px gap + 20px side padding = **676px desktop width**.
- Single month on mobile, with smaller-screen adaptation to avoid overflow.
- Day numbers: base / 500. Month labels: 16px / 500.
- Selected endpoints use accent violet; intervening dates use a 10% violet tint. Hover tiles have rounded corners.
- Unavailable days are muted and struck through. Today is red.
- Footer: minimum-night note at sm / 500, compact Clear and Confirm dates actions.
- The demo's date, blocked ranges, and two-night minimum are sample configuration, not universal product rules.

## Composed blocks

- **Hero:** Large Content Block over photography. Height is content/layout driven, not proportional to viewport height. See paired desktop/mobile examples.
- **Navbar:** compact buttons. Hero navigation overlays imagery; cabin listings/detail use the standard surface. Translucent white scrolled surface; no navbar shadow on cabin listing/detail pages.
- **Feature cards:** Compact Content Block with intentional two-line headings, Lucide icons, and a continuous light aurora gradient across the group.
- **Destination tiles:** 2×2, 2×3, or 3×2 layouts; 8px gaps; outside corners rounded. Values use 4xl / 500 on both breakpoints, labels sm / 500.
- **Nearby cabin tiles:** three columns × two rows on desktop, two columns on mobile. Numeric distance above Default Icon + Label, bottom aligned. One light aurora gradient spans the group. Example distances are illustrative.
- **Image gallery:** shared large-image/secondary-image composition. Compact white controls with dark text/icons.
- **Banners and split layouts:** compose existing Content Blocks with images. Use the documented compact/default variant rather than local font overrides.
- **Cabin story slider:** timed progress controls and fading image transitions. Respect reduced motion.
- **Owner technology slider:** same interaction, with dark illustrative platform views. Replace these mock views with real product screenshots before a production handoff.
- **Booking widget:** 20px padding; light aurora background, no outer border or shadow. White field/extras surfaces. Total amount uses the shared stylized underline; VAT note uses normal body type.

## Assets and implementation boundaries

Fonts and images are available in the repository's `public/media/`; license notices are in `public/licenses/`. Use the supplied assets where authorized, and retain applicable notices. Do not substitute arbitrary icons or approximate the wordmark.

This preview is static and intentionally does not implement real inventory filtering, quotes, reservations, payment, authentication, or submissions. Calendar and checkbox interactions demonstrate design behavior. The target application must supply real data, validation, and actions.

For implementation review, compare desktop/mobile layouts, hover/focus/selected/disabled states, wrapping, and component alignment against the handoff—not only the home-page screenshot.
