Last
This commit is contained in:
1 parent
d08c3e030e
commit
f04c5128bd
30 files changed
+14283
-3386
No files matched your search
@@ -1,38 +1,46 @@
|
||||
---
|
||||
name: Harvey Monster Team
|
||||
description: Calm, client-trust studio landing — restrainted depth, business tech tone, brand green as the single accent.
|
||||
description: Editorial-Agency studio landing (вариант B) — warm beige surfaces, layered casual depth, single meadow-green accent.
|
||||
colors:
|
||||
bg: "#F4F8F5"
|
||||
bg-elev: "#FFFFFF"
|
||||
bg-card: "#FFFFFF"
|
||||
line: "#D8E2DC"
|
||||
line-strong: "#75907F"
|
||||
text-1: "#0A1F12"
|
||||
text-2: "#455A4D"
|
||||
text-3: "#5F7366"
|
||||
bg: "#F5EEE2"
|
||||
card: "#FFFCF7"
|
||||
line: "#E6DCCE"
|
||||
media-1: "#EAF4EE"
|
||||
media-2: "#DFEBE4"
|
||||
media-3: "#EDEBE6"
|
||||
media-4: "#F2E7D8"
|
||||
line-strong: "#847863"
|
||||
text-1: "#211E18"
|
||||
text-2: "#5A5344"
|
||||
text-3: "#6A6453"
|
||||
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"
|
||||
brand-soft: "rgba(0, 204, 102, 0.13)"
|
||||
danger: "#C5221F"
|
||||
on-brand: "#04180C"
|
||||
btn-disabled-bg: "#E4EAE6"
|
||||
btn-disabled-text: "#5C6B60"
|
||||
input-disabled-bg: "#F0F4F1"
|
||||
on-deep: "#FFFFFF"
|
||||
brand-ink: "#006B37"
|
||||
backdrop: "rgba(24, 19, 12, 0.55)"
|
||||
btn-disabled-bg: "#B7C6BD"
|
||||
btn-disabled-text: "#5C6B62"
|
||||
typography:
|
||||
display:
|
||||
fontFamily: "Montserrat, system-ui, sans-serif"
|
||||
fontSize: "clamp(52px, 8vw, 104px)"
|
||||
fontSize: "clamp(38px, 6.5vw, 54px)"
|
||||
fontWeight: 800
|
||||
lineHeight: 1.0
|
||||
letterSpacing: "0.06em"
|
||||
lineHeight: 1.1
|
||||
letterSpacing: "0.04em"
|
||||
headline:
|
||||
fontFamily: "Montserrat, system-ui, sans-serif"
|
||||
fontSize: "clamp(32px, 4vw, 44px)"
|
||||
fontSize: "clamp(30px, 5vw, 44px)"
|
||||
fontWeight: 800
|
||||
lineHeight: 1.1
|
||||
letterSpacing: "0.04em"
|
||||
headline-compact:
|
||||
fontFamily: "Montserrat, system-ui, sans-serif"
|
||||
fontSize: "clamp(23px, 7vw, 30px)"
|
||||
fontWeight: 800
|
||||
lineHeight: 1.1
|
||||
letterSpacing: "0.04em"
|
||||
@@ -44,7 +52,7 @@ typography:
|
||||
letterSpacing: "0.03em"
|
||||
body:
|
||||
fontFamily: "Roboto, system-ui, sans-serif"
|
||||
fontSize: "clamp(15px, 1.5vw, 16px)"
|
||||
fontSize: "16px"
|
||||
fontWeight: 400
|
||||
lineHeight: 1.5
|
||||
label:
|
||||
@@ -53,10 +61,17 @@ typography:
|
||||
fontWeight: 700
|
||||
lineHeight: 1.2
|
||||
letterSpacing: "0.1em"
|
||||
micro:
|
||||
fontFamily: "Montserrat, system-ui, sans-serif"
|
||||
fontSize: "10px-15px"
|
||||
fontWeight: 600
|
||||
lineHeight: 1.2
|
||||
letterSpacing: "0.05em-0.15em"
|
||||
rounded:
|
||||
sm: "8px"
|
||||
sm: "10px"
|
||||
md: "12px"
|
||||
lg: "16px"
|
||||
xl: "22px"
|
||||
pill: "999px"
|
||||
spacing:
|
||||
"1": "4px"
|
||||
@@ -73,160 +88,156 @@ components:
|
||||
backgroundColor: "{colors.brand}"
|
||||
textColor: "{colors.on-brand}"
|
||||
rounded: "{rounded.md}"
|
||||
padding: "12px 24px"
|
||||
padding: "12px 26px"
|
||||
button-primary-hover:
|
||||
backgroundColor: "{colors.brand-strong}"
|
||||
button-primary-active:
|
||||
backgroundColor: "{colors.brand-active}"
|
||||
button-ghost:
|
||||
backgroundColor: "transparent"
|
||||
textColor: "{colors.text-1}"
|
||||
textColor: "{colors.brand-deep}"
|
||||
borderColor: "{colors.brand-deep}"
|
||||
rounded: "{rounded.md}"
|
||||
padding: "12px 24px"
|
||||
padding: "12px 26px"
|
||||
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"
|
||||
padding: "4px 12px"
|
||||
card:
|
||||
backgroundColor: "{colors.bg-card}"
|
||||
backgroundColor: "{colors.card}"
|
||||
border: "1px solid {colors.line}"
|
||||
rounded: "{rounded.lg}"
|
||||
padding: "24px"
|
||||
input:
|
||||
backgroundColor: "{colors.bg}"
|
||||
backgroundColor: "#ffffff"
|
||||
border: "2px solid {colors.line-strong}"
|
||||
textColor: "{colors.text-1}"
|
||||
rounded: "{rounded.md}"
|
||||
height: "46px"
|
||||
height: "48px"
|
||||
---
|
||||
|
||||
# Design System: Harvey Monster Team
|
||||
# Design System: Harvey Monster Team (вариант B)
|
||||
|
||||
## Overview
|
||||
|
||||
**Creative North Star: "Quiet Orbit"**
|
||||
**Creative North Star: «Editorial Calm»**
|
||||
|
||||
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.
|
||||
Версия B — редакционная студийная страница. Тёплый бежевый фон держит спокойный, почти «печатный» ритм: крупная Montserrat-типографика, мягкие поверхностные слои, один зелёный акцент. Характер — сдержанный профессиональный (доверие) с лёгким editorial-оттенком. Глубина читается через многослойные тени (верхний highlight + контактная + ambient), а не через агрессивные цвета. Веб-часть остаётся клиенто-центричной: работать — на планете, говорить — о команде и проектах.
|
||||
|
||||
**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.
|
||||
- Тёплая бежевая база (`#F5EEE2`) + тёплые поверхности (`--card #FFFCF7`); зелёный — единственный акцент.
|
||||
- Многослойная глубина: верхний inset-highlight + 2–3 слоя тени; карточки приподнимаются на hover.
|
||||
- Хидден-строгие Montserrat 800 uppercase заголовки + Roboto body.
|
||||
- Планета = hero и LCP (poster-first), интерактив (drag-rotate).
|
||||
- Контент (проекты/команда) — data-driven из `content/*.md` → `src/data/*.js`; никакого выдуманного контента.
|
||||
|
||||
## 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).
|
||||
- **Signal Meadow Green** (`#00CC66`): единственный брендовый акцент. Только заливка — фон первичной CTA и статус-бейджей. Никогда как цвет текста на тёплом фоне.
|
||||
- **Deep Forest Green** (`#007A3F` / `brand-deep`): «текстовая» форма зелёного — eyebrows, ссылки, номера этапов, статус-метки. Единственный способ писать зелёным текст на светлом (`≥4.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`).
|
||||
### Neutral (warm)
|
||||
- **Warm Parchment** (`#F5EEE2`): фон страницы.
|
||||
- **Deep Parchment** (`#EDE4D3`): альтернативные поверхности / медиа-баннеры.
|
||||
- **Warm White** (`#FFFDF8`): приподнятые поверхности — карточки, форма, навбар, футер.
|
||||
- **Soft Warm Hairline** (`#E2D9C8`): тонкие разделители и тихие очертания.
|
||||
- **Ink** (`#211D15`): заголовки и основной текст (`~14:1` на бежевом).
|
||||
- **Warm Slate** (`#5A5347`): вторичный текст (`~7:1`).
|
||||
- **Muted Clay** (`#786F5E`): подписи, плейсхолдеры (`≥4.5: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.
|
||||
**Один акцент.** Зелёный занимает ≤10% экрана. Его редкость — одна заливка CTA плюс несколько deep-green меток — делает страницу уверенной, а не «игровой». `#00CC66` никогда не текст; текст-зелёный всегда `brand-deep`. На hero ровно одна зелёная заливка — первичная CTA.
|
||||
|
||||
## 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).
|
||||
**Display:** Montserrat 800 (заголовки, кнопки, метки). **Body:** Roboto 400–500.
|
||||
|
||||
**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.
|
||||
**Hierarchy:**
|
||||
- **Display** (Montserrat 800, `clamp(38px,6.5vw,54px)`, lh 1.1, ls 0.04em): hero H1.
|
||||
- **Headline** (Montserrat 800, `clamp(30px,5vw,44px)`): секционные H2.
|
||||
- **Headline-compact** (Montserrat 800, `clamp(23px,7vw,30px)`, ≤380px): та же роль H2 в compatibility-полосе ниже дизайн-матрицы (390). Второй шаг шкалы, ратифицирован 2026-09-10 (spec.md §10.17): слово «СПЕЦИАЛИСТОВ» при 30px = 290.6px (системный фолбэк — 298.6px) не влезает в контент-бокс 240px на 320px; 23px дают 225.6 / 231.7px.
|
||||
- **Title** (Montserrat 700, `clamp(18px,2vw,20px)`): заголовки карточек (H3).
|
||||
- **Body** (Roboto 400–500, 16px, lh 1.5): абзацы.
|
||||
- **Label** (Montserrat 700, 12px, ls 0.1em, uppercase): eyebrows, метки полей, бейджи.
|
||||
|
||||
## 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.
|
||||
Mobile-first. Брейкпоинты 390 / 768 / 900 / 1160 / 1440. Контейнер max 1200px, padding 24px. Секция: 64px (моб) / 88px (деск) vertical. Навбар sticky (`--nav-bg` + `blur(6px)`). **Первый экран = hero + лента-дайджест** (2026-09-10): `min-height: calc(100vh − var(--nav-h) − var(--ticker-h))` (замерено: шапка 85px, лента 49px), контент центрован. Итог: hero и тикер занимают ровно один экран (проверено на 1920×1080, 1600×900, 1536×864, 1512×982, 1440×900, 1366×768, 1280×800, 1280×720, 1024×768, 768×1024, 820×1180 — переполнение 0 px) и несут всю «о нас». **Структура hero (2026-09-10, вечер-3…5):** hero **прижат к верху** (`.hero{align-items:flex-start}`), база **не меняет масштаб** — H1 + оффер + CTA в левой колонке, планета `max-width:520px` в правой; ниже — полоса «Студия полного цикла» на всю ширину контейнера (`.hero-about{grid-column:1/-1}`: заголовок + лид · цифры 2×2); ещё ниже, в свободном поле первого экрана — раскрывающиеся пункты «о нас» (`.about-acc`, `grid-column:1/-1`), каждая строка самостоятельная плашка (`.faq-list` + `.faq-item`). Раскрытие пункта не перецентровывает hero: H1, оффер, CTA, планета и полоса остаются на месте. Отступы задаёт сетка (`row-gap:26px`, `column-gap:48px`). ⚠️ На окнах ниже ~1050 px контент hero перестаёт помещаться в `100vh − nav − тикер` — тикер уходит за фолд (база при этом не ужимается; см. spec.md §10.15). Отдельной секции `#about` нет: ниже фолда — работы, процесс, команда. Мобильный (≤767) — `min-height:auto`, порядок задаёт DOM: копия → планета (LCP) → полоса → плашки «о нас» → тикер. Hero — двухколоночный, на мобильном 1 колонка. Проекты — сетка 2×2 (4 кейса), команда 5-col (3-col @900, 2-col @767), контакты 2-col → 1-col. **Compatibility-полоса <390 (2026-09-10):** поддерживаемая ширина начинается с 320 (WCAG 1.4.10 Reflow) — сетка, отступы и контейнер в полосе не меняются, но роли шкалы получают второй шаг: H2 `clamp(23px,7vw,30px)` (`typography.headline-compact`). Заголовки не выходят за контент-бокс контейнера и не клиппятся, `.h2` несёт `overflow-wrap:break-word` как последнюю сетку — обоснование, замеры и инварианты в spec.md §10.17.
|
||||
|
||||
## 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)`).
|
||||
Поверхности подняты многослойной тенью: inset top-highlight (`inset 0 1px 0 rgba(255,255,255,.75)`) + контактная тень + мягкая ambient. Карточки приподнимаются на hover (`translateY(-3px)` + углублённая тень).
|
||||
|
||||
### 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.
|
||||
### Shadow Vocabulary (§10.2 — тёплый коричневый + верхний highlight)
|
||||
- **rest** `inset 0 1px 0 rgba(255,255,255,.7), 0 1px 2px rgba(58,48,35,.05)` — hairline-поверхности, стек, футер.
|
||||
- **card** `inset 0 1px 0 rgba(255,255,255,.7), 0 2px 4px rgba(58,48,35,.06), 0 5px 14px rgba(58,48,35,.10)` — baseline карточек (кейс/команда/форма). Тень «менее рассеянная»: внешний ambient-слой ужат с 24px до 14px blur, чуть поднята непрозрачность — край читается чётче (2026-09-04).
|
||||
- **tab** `inset 0 1px 0 rgba(255,255,255,.75), 0 3px 6px rgba(58,48,35,.07), 0 8px 18px rgba(58,48,35,.14)` — открытый пункт аккордеона, hero-планета, диалог (blur 40→18).
|
||||
- **hover** `inset 0 1px 0 rgba(255,255,255,.8), 0 4px 9px rgba(58,48,35,.08), 0 12px 26px rgba(58,48,35,.18)` — hover-усиление (+ `translateY(-2px)`) (blur 64→26).
|
||||
- **brand** `0 0 20px rgba(0,204,102,.28), 0 6px 18px rgba(0,204,102,.16)` — первичная CTA (свечение бренда).
|
||||
- **nav** (top-chrome) `inset 0 1px 0 rgba(255,255,255,.8), 0 2px 5px rgba(58,48,35,.10), 0 8px 20px rgba(58,48,35,.16)` — sticky-шапка, постоянный отрыв от контента (blur 40→20). Dark: `inset 0 1px 0 rgba(255,255,255,.05), 0 2px 4px rgba(0,0,0,.5), 0 8px 20px rgba(0,0,0,.55)`.
|
||||
|
||||
### 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).
|
||||
**Шапка отдельным слоем (D-b5/§10.13).** `.navbar` — единственный **постоянный** верхний слой (`position:sticky; top:0; z-index:50`), всегда поверх секций. Подложка `--alt-b-nav: rgba(245,238,226,.94)` (dark `rgba(18,16,12,.94)`) + `blur(6px)` — контент мягко просвечивает, text-1 на nav 16.41:1. Отрыв — тень `nav`.
|
||||
|
||||
**Слоистая структура секций — «печатные листы» (D-b7/§10.13).** Горизонтальный ритм: `фон --alt-b-bg` → приподнятая плашка `--alt-b-card` → снова фон. Каждая плашка очерчена парой Y-швов (`border-top/bottom: 1px solid --alt-b-hairline`). Плашки во всю ширину: `.hero-ticker`, `.footer`, `.hero-about` (полоса «Студия полного цикла»); «острова» на фоне (радиус + тень): `.case-card`, `.team-card`, `.form-card`, плашки «о нас» (`.about-acc .faq-item`). `.process-row` — «напечатанные» строки с Y-швами, без подложки. Фон всегда плоский — глубина только подъёмом плашек и отрывом шапки, никогда тенями на `body`/`.section`.
|
||||
|
||||
## 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.
|
||||
Мягкая, но чистая геометрия: 10–12px кнопки/инпуты/FAQ, 16px карточки, 22px hero-планета/диалог, pills (`999px`) для бейджей и аватаров. Всё достаточно скруглено, чтобы быть дружелюбным, но не «пузыристым».
|
||||
|
||||
## Dark variant (аддитивная тема, §10.9)
|
||||
|
||||
Светлый тёплый вариант B — дефолт (D7). Тёмный — второй режим через тумблер 44×44 (`aria-pressed`), no-FOUC bootstrap в `<head>` до CSS-паинта, persist `localStorage['hm-theme']`, дефолт всегда светлый (`prefers-color-scheme` не читается). Тёмная палитра `[data-theme='dark']` — тёплый уголь: `--bg #12100C`, `--card #1C1913`, `--hairline #2E2A20`, `--line-strong #8B8375` (≥3:1 UI), `--text-1 #F3EEE2`, `--text-2 #C6BFAE`, `--text-3 #9A9280`, `--brand-deep #3FCB79` (зелёный ТЕКСТ, 9.08:1), `color-scheme:dark`. Тени — чёрные со слабым верхним highlight. Подписи на зелёных заливках всегда `--on-brand #04180C`. **Токенизировано 2026-09-10:** `--on-deep` (#fff / dark #04180C) для подписей на `brand-deep`, `--media-1..4` (тинты медиа-подложек), `--ghost-hover`, `--backdrop`, `--focus-ring`, `--glow`, `--brand-ink` — жёсткие литералы из §10.9.3 больше не дублируются оверрайдами.
|
||||
|
||||
## Hero-дайджест бегущей строкой (§10.10)
|
||||
|
||||
Под hero отдельная editorial-тикер-лента (`aria-hidden`): медленный цикл фактов со страницы: `5 специалистов · 4 проекта в работе · свой продакшн · Unreal Engine · Unity · Godot · C++ · C# · GDScript · Three.js · WebGL · NDA до старта · MVP 6–12 недель · Outstaff · Outsourcing · Fixed Price`, два одинаковых `.hero-ticker__group` для бесшовного `translateX(-50%)`, 44s linear, `prefers-reduced-motion` → стоп + скрыт дубль. AT-текст — `sr-only`.
|
||||
|
||||
## Плашка проекта на планете (§10.11, переработана 2026-09-13)
|
||||
|
||||
Планета = символ 4 проектов студии; соответствие «объект на арте → проект» задано **явной таблицей** (`PLANET_ART` в `main.js`), потому что порядок объектов на арте не совпадает с алфавитным порядком данных: **0 грузовик — World Wide Wheels · 1 жёлтый герой — Moba · 2 зелёная фишка — BattleCaps · 3 корабль — Aquatherium**. Плашка `.planet-tag` (`aria-hidden`) — **паспорт объекта**: имя + платформы в пилюле, сводка и стек проекта — в карточке над/под пилюлей. Она висит на точке объекта, едет вместе с ним по обороту (`planet.js` эмитит `planet:rotate` с углом каждый кадр) и **гаснет, когда объект уходит за кадр**; карточка со сводкой раскрыта, пока объект смотрит на зрителя (|Δ| ≤ 25°), иначе остаётся лёгкая пилюля. Параметры объектов (front/travel/высота) замерены по `Work_files/Planet/seq/` — таблица и формулы в spec.md §10.11. Для верхних объектов карточка разворачивается вниз (`.planet-tag--below`), чтобы не уходить за верх экрана; translateX подрезан по краям вьюпорта (иначе на телефоне получается горизонтальный скролл). **Раскрытие по наведению (2026-09-13):** карточка сводки сложена и разворачивается либо когда объект смотрит на зрителя (|Δ| ≤ 45°), либо по `:hover` на плашке в любом положении; в развёрнутом виде пилюля с именем растягивается на ширину карточки. **Наведение на плашку или на текст** плавно тормозит вращение планеты (замер: 30 → 0.6 °/с) и после ухода плавно возвращает (29.4 °/с). **Порядок проектов** (карточки `#work` и плашка) = порядок объектов на арте: World Wide Wheels → Moba → BattleCaps → Aquatherium (`ART_ORDER` в `scripts/generate-content.mjs`). **Аффорданс:** на canvas `cursor:grab` / `:active` `grabbing`, под планетой — `.planet-hint` «Потяните, чтобы посмотреть проекты», самоснимается при первом касании, через 9 s, при уходе планеты в статичный фолбэк (`planet:static`) или при `prefers-reduced-motion`. Hover по плашке плавно тормозит планету, уход — плавно разгоняет. `prefers-reduced-motion` → вращения нет, объект 0 подписан статично. Отдельного hover-тултипа нет — §10.12 отменён.
|
||||
|
||||
## 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", "Проект студии".
|
||||
- Primary: `#00CC66` заливка, подпись `#04180C`, `--shadow-brand` glow. Hover `#00A857` (dark `#00B85C`) + `translateY(-1px)`; active `#00914C` (dark `#00A050`); disabled `#B7C6BD`/`#5C6B62` (dark `#3A3F37`/`#7A7A72`, WCAG-exempt).
|
||||
- Ghost: прозрачный, `brand-deep` граница + текст; hover — тинт `--ghost-hover` И текст/граница `--brand-ink #006B37` (5.12:1; прежде label на тинте давал 4.2:1 — провал AA, исправлено 2026-09-10).
|
||||
- `:focus-visible` — ring `brand-deep` 2px, offset 2px.
|
||||
|
||||
### 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.
|
||||
16px radius, `var(--card) #FFFCF7`, hairline или без границы, shadow **card** + top-highlight. Hover: `translateY(-2px)` + shadow **hover** (не применяется к форме). Кейс-карточки и форма — интерактивные контейнеры (клик = quick-view); форма не hover-lift (реагирует только на focus полей).
|
||||
|
||||
### 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).
|
||||
Белый фон (`--input-bg`, dark `#242018`), 2px `--line-strong #847863` граница (≥3:1 UI; dark `#8B8375`), 12px radius, 48px height. Focus: border `brand-deep` + 3px `rgba(0,204,102,.25)` glow. Error `#C5221F`; honeypot скрыт.
|
||||
|
||||
### 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.
|
||||
Sticky `z-index:50` (`--nav-bg rgba(245,238,226,.94)`, dark `rgba(18,16,12,.94)` + `blur(6px)`), 1px bottom hairline. Логотип Montserrat 800 20px. Ссылки Montserrat 600 13px uppercase `text-2`, hover `brand-deep`. CTA в баре видна на десктопе И планшете (≤1160 остаётся только она + бургер), скрыта лишь на телефоне (≤767) — её дубль живёт в burger-панели. Тумблер темы 44×44 (`aria-pressed`) — ровно один видимый: в баре (`#theme-toggle`, рядом с CTA) при >767px, включая планшет; на телефоне (≤767) бар = только логотип + бургер, тумблер живёт в burger-панели (`#theme-toggle-panel`, §10.16); дефолт всегда светлый (§10.9).
|
||||
|
||||
### 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.
|
||||
### Signature: Case Card + Quick-view
|
||||
Кейс: title + status badge → медиа-баннер → **факты** (чипы платформ и стека из `content/projects/*.md`) → divider → метрики (если есть). Анатомия «Задача → … → Результат» живёт в `#process`, не в карточках (§10.6). Кнопка **«Подробнее»** — единственная интерактивная точка карточки (role=button на `<article>` давал вложенную интерактивность); клик по карточке остался удобством мыши. Открывает **quick-view** (`<dialog>`, `showModal()`) — двухколоночное окно: **слева stage** с изображением проекта, **справа** бейдж+платформы → стек-чипы → summary → метрики (если есть) → detail из `content/*.md` → ссылки проекта. Контракт — spec.md §10.14 (актуальный); более раннее описание карусели с миниатюрами не отгружено. Пока карточек-скриншотов нет, портфолио в режиме «Проекты в работе» (см. PRODUCT.md).
|
||||
|
||||
## Do's and Don'ts
|
||||
### Signature: About Accordion
|
||||
**Плашки в свободном поле первого экрана (2026-09-10):** аккордеон **Кто мы / Стек и технологии / Подход к работе** стоит внутри hero, под полосой «Студия полного цикла» (`.about-acc`, `grid-column:1/-1`), — **каждая строка самостоятельная плашка** (`.faq-list` + `.faq-item`: bg `--card`, radius 12px, `--shadow-rest` → `[open] --shadow-tab`, gap 12px — тот же компонент, что в `#contacts`). Hero прижат к верху (`.hero{align-items:flex-start}`), поэтому раскрытие пункта не перецентровывает базу: H1, оффер, CTA, планета и полоса остаются на месте (замерено: 0 px сдвига на 1440×900, 1536×864, 390×844). Один пункт открыт, предыдущий закрывается — нативным `<details name="about-acc">`. Пункт «Стек и технологии» группирует чипы (класс `.chip`): **Движки** (Unreal Engine, Unity, Godot) · **Языки** (C++, C#, GDScript) · **Web 3D** (Three.js, WebGL) — §10.4. `prefers-reduced-motion` уважается. Файл-манифест — `src/index.html`.
|
||||
|
||||
### 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.
|
||||
## Motion
|
||||
- Гейтед за `prefers-reduced-motion: no-preference`; `reduce` снимает движение, но сохраняет состояние и содержание (обратная связь — цвет/контраст). Контракт — `design/spec.md` §10.5, замеры — §10.18.
|
||||
- **Hero — один отрепетированный проход** (CSS-only): навбар → H1 (маска `clip-path`) → планета (`planetIn`, LCP) → оффер → 2 CTA → полоса «Студия полного цикла» → плашки «о нас» → тикер. Цифры полосы считаются (`main.js`, старт по `animationstart` полосы). Материал входа — `translate`/`scale`/`opacity`; **`transform` зарезервирован за интерактивными состояниями** (`:hover`/`:active`), иначе reveal перебивает подъём по специфичности.
|
||||
- **Reveal ниже фолди** (`IntersectionObserver`, `.reveal → .is-visible`): `.section-head`, `.case-card`, `.team-card` — подъём 16px + fade; `.process-row` — линия шага рисуется (`::before scaleX`), номер всплывает, текст догоняет. Каскад — `--reveal-delay` (70ms × индекс внутри родителя, ≤ 4). Transition объявлен **только** в `.is-visible` (иначе на загрузке идёт обратный fade-out на 560ms). Форма/FAQ/кнопки — вне reveal (конверсия не ждёт анимации).
|
||||
- **Обратная связь**: hover-lift карточек + `transform:scale(1.05)` медиа кейса, `:active` кнопок, `answerIn` ответа аккордеона, `panelIn` + backdrop-fade диалогов, nudge невалидного поля, подъём статуса формы.
|
||||
- Токены: `--motion-ease`, `--motion-ease-out`, `--dur-micro/fast/med/slow/hero` (таблица — §10.5). Замеры (LCP 1060 мс, CLS 0.002, 1 активная анимация в покое) — `design/spec.md` §10.18.
|
||||
|
||||
### 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.
|
||||
## A11y
|
||||
- WCAG 2.1 AA (замерено 2026-09-10): text-1 14.41/16.24:1, text-2 6.61/7.45:1, text-3 `#6A6453` 5.11/5.76:1, brand-deep 4.72/5.32:1, ghost-hover `--brand-ink` 5.12:1; UI-границы (`--line-strong`) 4.23/3.76/4.33:1. Тёмная тема: 16.41 / 10.37 / 6.15 / 9.08:1. Focus-visible на всех интерактивных, keyboard-навигация (карточки — Enter/Space, диалоги — Escape/подложка/крестик с возвратом фокуса), `prefers-reduced-motion`, skip-link, touch-таргеты ≥44px. Honeypot — `aria-hidden` + `tabindex="-1"`.
|
||||
|
||||
## Do / Don't
|
||||
|
||||
### Do
|
||||
- Зелёный — только заливка CTA или `brand-deep` текст.
|
||||
- Многослойные тени (top-highlight + ambient) для глубины; hover-подъём.
|
||||
- Контент из `content/*.md`; никакого выдуманного контента, метрик, фото.
|
||||
- Планета poster-first (LCP); интерактив drag-rotate.
|
||||
|
||||
### Don't
|
||||
- `#00CC66` как текст (низкий контраст).
|
||||
- Второй акцент в hero (только зелёный).
|
||||
- Hover-lift для формы.
|
||||
- Врать контентом / выдумывать метрики.
|
||||
Reference in new issue
Block a user