Files
Harvey_Team_Page/DESIGN.md
T
2026-08-26 12:45:51 +03:00

233 lines
13 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
name: Harvey Monster Team
description: Calm, client-trust studio landing — restrainted depth, business tech tone, brand green as the single accent.
colors:
bg: "#F4F8F5"
bg-elev: "#FFFFFF"
bg-card: "#FFFFFF"
line: "#D8E2DC"
line-strong: "#75907F"
text-1: "#0A1F12"
text-2: "#455A4D"
text-3: "#5F7366"
brand: "#00CC66"
brand-strong: "#00A857"
brand-active: "#00914C"
brand-deep: "#007A3F"
brand-soft: "rgba(0, 204, 102, 0.12)"
planet: "#3C9D3F"
accent: "#3FA9F5"
accent-deep: "#1A6FC4"
danger: "#C5221F"
on-brand: "#04180C"
btn-disabled-bg: "#E4EAE6"
btn-disabled-text: "#5C6B60"
input-disabled-bg: "#F0F4F1"
typography:
display:
fontFamily: "Montserrat, system-ui, sans-serif"
fontSize: "clamp(52px, 8vw, 104px)"
fontWeight: 800
lineHeight: 1.0
letterSpacing: "0.06em"
headline:
fontFamily: "Montserrat, system-ui, sans-serif"
fontSize: "clamp(32px, 4vw, 44px)"
fontWeight: 800
lineHeight: 1.1
letterSpacing: "0.04em"
title:
fontFamily: "Montserrat, system-ui, sans-serif"
fontSize: "clamp(18px, 2vw, 20px)"
fontWeight: 700
lineHeight: 1.2
letterSpacing: "0.03em"
body:
fontFamily: "Roboto, system-ui, sans-serif"
fontSize: "clamp(15px, 1.5vw, 16px)"
fontWeight: 400
lineHeight: 1.5
label:
fontFamily: "Montserrat, system-ui, sans-serif"
fontSize: "12px"
fontWeight: 700
lineHeight: 1.2
letterSpacing: "0.1em"
rounded:
sm: "8px"
md: "12px"
lg: "16px"
pill: "999px"
spacing:
"1": "4px"
"2": "8px"
"3": "12px"
"4": "16px"
"5": "24px"
"6": "32px"
"7": "48px"
"8": "64px"
"9": "96px"
components:
button-primary:
backgroundColor: "{colors.brand}"
textColor: "{colors.on-brand}"
rounded: "{rounded.md}"
padding: "12px 24px"
button-primary-hover:
backgroundColor: "{colors.brand-strong}"
button-primary-active:
backgroundColor: "{colors.brand-active}"
button-ghost:
backgroundColor: "transparent"
textColor: "{colors.text-1}"
rounded: "{rounded.md}"
padding: "12px 24px"
badge:
backgroundColor: "{colors.bg-card}"
textColor: "{colors.text-2}"
rounded: "{rounded.pill}"
padding: "10px 16px"
badge-status:
backgroundColor: "{colors.brand-soft}"
textColor: "{colors.brand-deep}"
rounded: "{rounded.pill}"
padding: "6px 12px"
card:
backgroundColor: "{colors.bg-card}"
rounded: "{rounded.lg}"
padding: "24px"
input:
backgroundColor: "{colors.bg}"
textColor: "{colors.text-1}"
rounded: "{rounded.md}"
height: "46px"
---
# Design System: Harvey Monster Team
## Overview
**Creative North Star: "Quiet Orbit"**
Harvey Monster Team is a calm, client-trust studio page. The system reads as a single quiet planet held in suspense: a bright, airy light surface (`#F4F8F5`) with one clear brand accent — the vivid meadow green — orbiting the centerpiece (the planet art). The visual voice is business-tech and professional: confident uppercase headings, disciplined spacing, and depth that is felt, never loud. Restraint is the signal of trust; the green accent is the single point of energy.
The planet is the hero and the LCP. The layout never hides it behind a fade. Depth on the light surface comes from two-layer shadows (a subtle inset top-light plus a soft ambient) so cards feel gently raised rather than floating. Motion is micro — a 2px hover lift, an 8s wordmark gradient drift — gated behind `prefers-reduced-motion: no-preference`. The result is a page that speaks quietly and lets the work speak first.
**Key Characteristics:**
- Single brand accent (meadow green) used only as a fill or as deep text.
- Restrained, two-layer depth; surfaces rest at one raised level and lift 2px on hover.
- Confident Montserrat 800 uppercase headings; Roboto for body.
- Planet-first hero, no entrance fades; posters-first LCP.
- Business-tech trust over playful arcade energy, per client-first positioning.
## Colors
The palette is a warm, mint-tinted light system with one green accent and a small set of saturated accents reserved for data and status.
### Primary
- **Signal Meadow Green** (`#00CC66`): the single brand accent. Used only as a fill — the primary CTA background and status-chip badges, always under the dark `on-brand` label. Never as body text (2.15:1 on white fails AA).
- **Deep Forest Green** (`#007A3F` / `brand-deep`): the *text* form of green — eyebrows, links, stage numbers, status labels. The only way to write green text on light (`5.5:1` AA).
### Secondary
- **Orbit Sky Blue** (`#3FA9F5`): a small decorative accent for metric graphics; **Deep Orbit Blue** (`#1A6FC4`) is its readable text form.
### Neutral
- **Mist Green-Grey** (`#F4F8F5`): page background (body), the airy light field.
- **Paper White** (`#FFFFFF`): elevated surfaces — cards, form, navbar, footer.
- **Soft Sage Border** (`#D8E2DC`): thin dividers and quiet card outlines.
- **Sage Steel Border** (`#75907F`): stronger borders for inputs and ghost buttons (`≥3:1` UI contrast).
- **Deep Forest Ink** (`#0A1F12`): headings and primary text (`17.3:1`).
- **Muted Forest** (`#455A4D`): secondary body text (`7.4:1`).
- **Moss Grey** (`#5F7366`): muted captions, placeholders (`5.1:1`).
### Named Rules
**The One-Accent Rule.** Green is used on ≤10% of any given screen. Its rarity — a single CTA fill plus a few deep-green labels — is what makes the page feel confident rather than gamey. Never push `#00CC66` as a text color; text green is always `brand-deep`. **In the hero this resolves to exactly one green fill — the primary CTA.** The old hero ghost-CTA row was removed (2026-08-24) so green stays within 10% even with the green planet art; the eyebrow is `brand-deep` text, the planet glow is a faint `#00CC6633`. The kinetic H1 gradient stays within brand-green + ink (`brand-deep → text-1`) — **no Orbit Blue second accent** in the hero.
## Typography
**Display Font:** Montserrat (700–800) — headings, buttons, labels, eyebrows, metrics.
**Body Font:** Roboto (400–500) — paragraphs, nav, form.
**Label/Mono Font:** Montserrat 600–700 uppercase (no dedicated mono system).
**Character:** Montserrat's wide, geometric uppercase for headings pairs with Roboto's neutral, readable body — a confident-but-clean tech/gamedev voice. All structural type is uppercase with tracked letters; only body copy is sentence-case.
### Hierarchy
- **Display** (Montserrat 800, `clamp(52px,8vw,104px)`, lh 1.0, ls 0.06em): the hero wordmark only. Letter-spacing 2px mobile / 4px desktop; gradient-kinetic on supported browsers.
- **Headline** (Montserrat 800, `clamp(32px,4vw,44px)`, lh 1.1, ls 0.04em): section titles (H2).
- **Title** (Montserrat 700, `clamp(18px,2vw,20px)`, lh 1.2, ls 0.03em): card/FAQ titles (H3).
- **Body** (Roboto 400–500, `clamp(15px,1.5vw,16px)`, lh 1.5): paragraphs; max line length ~640px for subtitles.
- **Label** (Montserrat 700, 12px, ls 0.1em, uppercase): eyebrows, field labels, badges, metric labels.
### Named Rules
**The Uppercase Rule.** Everything structural — headings, buttons, badges, eyebrows, field labels, footer slogan — is uppercase. Body copy stays sentence-case, so the uppercase reads as "system voice," not shouting.
## Layout
Mobile-first. Breakpoints: 390 / 768 / 900 / 1200 / 1440. The `.container` centers content at `1312px` (desktop), capping at `1200px` between 768–1439px. Section rhythm is `64px` block on mobile, `96px` on desktop, with `24px` / `48px` / `64px` inline padding by breakpoint. Navbar height `60px` mobile / `72px` desktop. The hero is centered and vertical: eyebrow → wordmark → planet (320px mobile / 480px desktop) → slogan → single CTA. The about grid and contacts grid collapse to one column on mobile; the stack rises 2-col → 3-col; cases 1-col → 2-col at 900px; team 2-col (2+2+1) → 3-col at 768 → 5-col at 1200.
## Elevation & Depth
Light surfaces are raised by a **two-layer shadow**: an inset top-light highlight (`inset 0 1px 0 rgba(255,255,255,.65)`) plus a tight contact shadow and a soft ambient — so cards read as gently lifted (volume) rather than dropped or flat. Cards rest at one raised level; the hero planet sits behind a radial green glow (`#00CC6633`) and a faint dot-grid texture. On the dark theme the inset highlight is dropped and the shadows go deeper/black. The primary CTA carries a green glow (`0 0 20px rgba(0,204,102,.22)`).
### Shadow Vocabulary
- **Card** (`inset 0 1px 0 rgba(255,255,255,.65), 0 1px 2px rgba(14,32,21,.05), 0 8px 24px rgba(14,32,21,.08)`): case cards, form card.
- **Card hover** (`… 0 2px 6px rgba(14,32,21,.07), 0 20px 48px rgba(14,32,21,.14)`): + `translateY(-2px)`.
- **Card small** (`inset 0 1px 0 rgba(255,255,255,.65), 0 1px 2px rgba(14,32,21,.05), 0 6px 18px rgba(14,32,21,.07)`): team cards.
- **FAQ** (`inset 0 1px 0 rgba(255,255,255,.65), 0 1px 2px rgba(14,32,21,.04), 0 6px 18px rgba(14,32,21,.06)`): first-opened accordion.
- **CTA glow** (`0 0 20px rgba(0,204,102,.22)`): primary button halo.
### Named Rules
**The Soft-Raise Rule.** Surfaces rest at exactly one raised level; nothing tiers deep on a light card. Depth increases only as a response to hover (`translateY(-2px)` + deeper shadow), and on the dark theme the inset top-light is removed so nothing washes to grey. **The contact-form card is an interactive container, not a clickable card — it does not hover-lift**; it responds only through field focus (border `brand-deep` + outline).
## Shapes
Soft, friendly-but-clean geometry: `8px` small (skip-link), `12px` buttons/inputs/FAQ/toggles, `16px` cards, and full pills (`999px`) for badges, chips, metric counters, and avatars. The case-cards' media band is a rounded 16:9 (mobile) / 21:9 (desktop) crop. The form is a 560px raised card with 12px inputs. Everything is rounded enough to feel approachable, none of it bubbly.
## Components
Each component is listed with its character, then its shape, color, states, and distinctive behavior.
### Buttons
- **Shape:** soft corner (12px). Min-height 44px for touch (A11y); padding 12px 24px; uppercase Montserrat 700 14px, ls 1px.
- **Primary:** `#00CC66` fill with the dark `#04180C` label and a green glow. Hover `#00A857` + `translateY(-1px)` + deeper glow; active `#00914C` + press `translateY(0)`; disabled `#E4EAE6`/`#5C6B60`.
- **Frequency / Focus:** `:focus-visible` ring is the dark text-1 color (2.55:1 over green fills is the only ring that passes on every fill), offset 2px.
- **Ghost:** transparent with a `#75907F` border and `text-1` label; hover `brand-deep` border + label + `translateY(-1px)`.
### Chips (bads)
- **Style:** pill (999px), Montserrat 600, `12px`, uppercase, `#D8E2DC` border on a paper-white background with `text-2`. Stack/context chips use this.
- **Status variant:** no border, `brand-soft` background, `brand-deep` label, 700 weight — e.g. "SHIPPED", "Проект студии".
### Cards / Containers
- **Corner Style:** 16px. **Background:** paper-white. **Border:** 1px `#D8E2DC`. **Shadow:** Card elevation (see Elevation). **Internal Padding:** 24px (`sp-5`).
- **Hover:** `translateY(-2px)` + deeper shadow; **active:** `translateY(0)`. Case cards and the form card use the full Card shadow; team cards use Card-small.
### Inputs / Fields
- **Style:** `#F4F8F5` field over `#75907F` border, 12px radius, 46px height (textarea 110px → 120px desktop), `text-1` value, `text-3` placeholder.
- **Focus:** border shifts to `brand-deep` + 2px `brand-deep` outline (offset 2px).
- **Error:** border + note in `#C5221F`; **disabled:** `#F0F4F1` background.
- Labels uppercase Montserrat 700 12px `text-2`; honeypot field is visually hidden (anti-bot).
### Navigation
- Sticky bar (`#FFFFFF`, 1px `#D8E2DC` bottom border, 60px/72px). Logo = Montserrat 800 22px uppercase `text-1`. Links Roboto 14px 500 `text-2`; hover `brand-deep`. Primary CTA in the bar on desktop; hidden behind a 44px burger on mobile (46px panel). A 44px theme toggle with an inline sun/moon SVG swaps light↔dark.
### Signature Component: Case Card
The portfolio case follows kotelov.com anatomy: title + status badge → 16:9/21:9 media band → task copy → stack chips → a 5-stage process line (Задача → Аналитика → UX/UI → Разработка → Результат) with numbered pill counters → divider → three metrics (value in Montserrat 800 32px `text-1`, label uppercase 12px `text-3`). This is the studio's "measurable process" signature and the client-trust keystone.
## Do's and Don'ts
### Do:
- **Do** use green only as a CTA fill (with `#04180C` label) or as `brand-deep` text; never `#00CC66` on text.
- **Do** keep the 2px `brand-deep` focus ring (offset 2px) on all interactive elements.
- **Do** gate every animation behind `prefers-reduced-motion: no-preference`; keep the hero planet fully static under reduced motion.
- **Do** keep the planet poster-first (LCP) and never hide the hero behind an opacity/entrance fade.
- **Do** keep touch targets ≥44px.
### Don't:
- **Don't** use `#00CC66` as text on white — 2.15:1 fails WCAG AA.
- **Don't** introduce a second accent (Orbit Blue `#3FA9F5` / `#1A6FC4`) into the hero kinetic H1 — the gradient stays within brand green + ink (One-Accent).
- **Don't** add hover-lift to the contact-form card — it is an interactive container, not a clickable card.
- **Don't** animate hero-container opacity — the planet is the LCP (R1).
- **Don't** carry the light inset top-highlight into dark mode — it washes surfaces to grey.
- **Don't** fabricate case metrics, team photos, or client data — placeholders until the team provides real content.