Last
This commit is contained in:
1 parent
d08c3e030e
commit
f04c5128bd
30 files changed
+14283
-3386
No files matched your search
@@ -1,81 +0,0 @@
|
||||
---
|
||||
target: src/index.html
|
||||
total_score: 18
|
||||
max_score: 32
|
||||
na_heuristics: 7,10
|
||||
p0_count: 1
|
||||
p1_count: 2
|
||||
timestamp: 2026-08-24T00-06-13Z
|
||||
slug: src-index-html
|
||||
---
|
||||
# Design Critique — Harvey Monster Team landing (src/index.html)
|
||||
|
||||
Method: dual-agent (A: sa-0-5e2b5c69 · B: sa-0-13271fe9). Assessment A = design-director review; Assessment B = Impeccable detector + browser evidence. Browser overlay tool was down in both agents (camoufox :9377 client path 500/400); evidence is source-faithful + curl-verified serving + computed-contrast fallback signal. Note: A scored heuristics on a severity scale (0=no problem, 4=severe); normalized here to the reference guide's direction (4=excellent) for an honest total.
|
||||
|
||||
## Design Health Score
|
||||
|
||||
| # | Heuristic | Score | Key Issue |
|
||||
|---|-----------|-------|-----------|
|
||||
| 1 | Visibility of System Status | 3 | Strong feedback (submit state, role=status, aria-expanded); only gap is no active-section indicator in sticky nav |
|
||||
| 2 | Match System / Real World | 1 | Primary CTA «Скачать Лаунчер» → #contacts: names the wrong offer AND doesn't download; "Have fun, play and earn!" = player language on a client page |
|
||||
| 3 | User Control and Freedom | 2 | 3 dead nav links (#); mobile menu has no Escape-to-close and no focus trap / return-to-burger |
|
||||
| 4 | Consistency and Standards | 2 | Patterns/tokens very consistent, but tone inconsistent (RU copy vs EN slogan) and spec self-contradicts H1 size (104 vs 96px) |
|
||||
| 5 | Error Prevention | 3 | Client+server validation, honeypot, range checks, aria-invalid, disabled-during-submit; main gap = CTA misdirects |
|
||||
| 6 | Recognition Rather Than Recall | 3 | Anchors/sticky taglines orient well; hero omits the offer so client must scroll to About to learn the offer |
|
||||
| 7 | Flexibility and Efficiency | n/a | Single-page Persuade surface; no repeat-user task flow to optimize |
|
||||
| 8 | Aesthetic and Minimalist Design | 1 | Refined materials but not minimal in the persuasive sense: hero crowds 5 masses, portfolio leads with an empty placeholder case, 5-stage block repeated ×3, 19 em-dashes in body, green nudges past One-Accent |
|
||||
| 9 | Error Recovery | 3 | Per-field role=alert, server-422 mapped back, offline catch offers Telegram fallback |
|
||||
| 10 | Help and Documentation | n/a | No task docs expected on a landing; FAQ is the client help at the decision point |
|
||||
| **Total** | | **18 / 32** | **56% — Acceptable** |
|
||||
|
||||
## Design Specificity
|
||||
|
||||
**Verdict: Partial** — specific in the proof sections, generic in the hero-CTA-slogan entry.
|
||||
|
||||
The case-card measurable-process anatomy (Задача → Аналитика → UX/UI → Разработка → Результат), the real roster/roles (Тимур/Frontend-стратегия, Мария/PM, Ден/3D, Коля/Backend, Сергей/Strategy), concrete client FAQ answers (от 300 000 ₽ за MVP, 6–12 недель, NDA, Outstaff/Outsourcing/Fixed Price) and the 12-chip stack are all genuinely studio-specific and would not transfer to a generic template. But the **conversion spine is generic and aimed at the wrong person**: a hero that is the brand name ×3 with no value proposition, a single primary CTA «Скачать Лаунчер» that anchor-scrolls to the form, and the arcade tagline "Have fun, play and earn!". Those three would sit identically on any product-launch page — and they contradict PRODUCT.md's client-first goal.
|
||||
|
||||
**Deterministic scan:** 19 findings (warning/advisory). Real: `design-system-font-size` one-offs (logo 22px, badge 11px, role 13px, field-error 13px, mockup-glyph 48px, avatar 28px, demo 14px), `codex-grid-background` (hero radial dot-grid), `gradient-text` (hero H1 kinetic — intentionally @supports-guarded with AA dark stops), `overused-font` (Montserrat+Roboto — but both are DESIGN.md-mandated, so this is a false positive), `em-dash-overuse` (19 em-dashes in ~6.6 KB body). **False positives:** all `broken-image` hits (regex `<img>` matches; srcs are real, team photos use onerror→initials-avatar fallback so nothing renders broken).
|
||||
|
||||
**Browser evidence (fallback signal, no overlay):** exactly one `<h1>` at index.html:84; `lang="ru"`; landmarks header/main/nav[aria-label]/footer; non-empty alt on every img; labelled controls (theme-toggle aria-pressed, burger aria-expanded, 5 FAQ triggers, submit); `:focus-visible` rings + skip-link present; reduced-motion gated (base.css:143, components.css:340, main.js:80, planet.js:32); computed light-theme contrast all ≥4.5 AA — **one exception:** `--brand-active #00914C` on `--bg` = 3.80:1 (passes 3:1 large/UI, fails 4.5 for normal text).
|
||||
|
||||
## Overall Impression
|
||||
|
||||
The design system is clean, token-driven and accessible, and the case-card anatomy is a genuinely ownable trust keystone. But there is a **conversion-shape problem**: a client-first page whose hero, primary CTA and tagline are player-facing and don't name the offer, plus a proof section that is largely placeholder. The single biggest opportunity is retargeting the one CTA to a client action and putting the offer above the fold.
|
||||
|
||||
## What's Working
|
||||
|
||||
1. **Accessibility & state engineering** — skip-link, :focus-visible rings, aria-expanded/aria-controls, role=status + aria-live, labelled fields, aria-invalid + role=alert, reduced-motion gating for both planet and scroll-reveal, ≥44px touch targets, AA contrast tokens. Invisible-correct engineering that signals professionalism to a buyer or their dev.
|
||||
2. **Case-card measurable-process anatomy** — turns "we make games" into a visible repeatable method with a real metric trio: the exact thing PRODUCT.md says the page sells.
|
||||
3. **Interactive planet** — poster-first LCP, drag/scroll + keyboard, crossfaded frames, clean fallback chain (reduced-motion → poster; seq/ missing → animated webp; no-JS → poster); it proves the studio can ship interactive, performant art.
|
||||
|
||||
## Priority Issues
|
||||
|
||||
- **P0 — Primary CTA targets the wrong audience and contradicts its own label.** navbar .nav__cta and hero .hero__cta both say «Скачать Лаунчер» (index.html:55, :102) and both href=#contacts. The page's goal is a client lead; this single conversion action names the UZURON project's launcher (not the studio's service) and anchors to the form rather than downloading — a conversion mismatch and a label/action mismatch (Nielsen #2). Fix: retarget hero + navbar primary CTA to a client action («Оставить заявку» / «Обсудить проект» / «Получить оценку») → #contacts; move the launcher into the UZURON case card or a small project link. *Suggested command: /impeccable clarify*
|
||||
- **P1 — The trust section opens on an empty placeholder case.** UZURON (first card) has stack "—", metrics "—", copy "Описание, платформы и метрики уточняются командой."; the NDA card is three "—"; the only real-looking numbers (Ассоциации 4.8/120K/72%) are tagged оценочные in source. The section that should close the sale looks least finished, and the one visible proof set is unverified — the DESIGN.md no-fabrication commitment at risk. Fix: fill UZURON with real data, or reorder so the strongest shipped case leads and UZURON is a labelled teaser; explicitly mark estimated metrics or hide them until real. *Suggested command: /impeccable polish*
|
||||
- **P1 — The hero shouts the brand name ×3 and sells no offer.** Eyebrow "Harvey Monster Team" + H1 "HARVEY MONSTER TEAM" (104px) + logo "HARVEY MONSTER TEAM" with no value proposition above the fold. A skimming client learns "company name + play and earn" but nothing they can hire. Fix: make the eyebrow the offer, drop one redundant brand instance, and turn H1 or a new sub-headline into "Разрабатываем игры, мобильные приложения и веб-сервисы под ключ". *Suggested command: /impeccable clarify*
|
||||
- **P2 — Player-facing, tone-mismatched slogan as the emotional bookend.** "Have fun, play and earn!" in hero + footer is English arcade energy on a page whose north-star is "business-tech trust over playful arcade energy"; "earn" can read crypto/coin-ish and raises objections. Fix: propose a client-register tagline (a calm statement of approach) — customer brand decision, not unilaterally shipped. *Suggested command: /impeccable clarify*
|
||||
- **P3 — Dead nav links read as unfinished.** Новости / Roadmap / Игры all href="#" (excluded sections per D3). Fix: remove them (nav = О нас / Контакты / CTA) or relabel to live anchors ("Работы" → #portfolio, "Команда" → #team). *Suggested command: /impeccable layout*
|
||||
|
||||
## Persona Red Flags
|
||||
|
||||
- **Jordan (first-timer, scoping a build):** above the fold they get the brand ×3 + "play and earn", no offer — the offering is invisible until About. The lone CTA frames the page as a game's download site; first portfolio look (UZURON, empty) says "no finished work to judge".
|
||||
- **Riley (stress-tester):** clicks «Скачать Лаунчер» → anchor-scrolls to the form instead of a download (label/action mismatch kills trust up front). In portfolio, UZURON "—", NDA three "—", only numbers flagged as estimates. Новости/Roadmap/Игры do nothing. FAQ is genuine reassurance but empty proof undermines it.
|
||||
- **Casey (mobile, 390px):** hero = 52px brand + planet + slogan + full-width «Скачать Лаунчер»; offer still absent from first viewport; nav burger repeats the same misdirected CTA. Touch targets ≥44px and form is 4 fields (usable), but CTA is wrong and the mobile value prop is missing.
|
||||
|
||||
## Minor Observations
|
||||
|
||||
- H1 size self-contradicts across spec.md §1.2 (104px) / §2 (96px); tokens.css uses 104.
|
||||
- Green coverage likely exceeds One-Accent ≤10% in the hero viewport (planet + 620px glow + CTA + 3 eyebrows + green pills).
|
||||
- Kinetic H1 gradient pulls Orbit Blue — a second accent — into the display headline, bending the One-Accent literal reading.
|
||||
- All 5 team photos missing (assets/team/*.webp 404 → initials avatars); DESIGN.md commits to real photos — a second proof-valley.
|
||||
- No "drag to rotate" affordance hint on the planet (cursor/keys only; nothing on mobile).
|
||||
- Three case cards in a 2-col grid ≥900px leaves a lone card hanging on row 2.
|
||||
- The form card lifts translateY(-2px) on hover — a floating form on hover is odd/distracting.
|
||||
- No active-section highlight in the sticky nav.
|
||||
|
||||
## Questions to Consider
|
||||
|
||||
1. If a client keeps one message, why is it the studio's name + "play and earn" instead of "we'll build your game or web service end-to-end, measurably"?
|
||||
2. The signature hero artifact is a planet you can spin — is that for the UZURON player, or the client deciding whether to trust you with a budget?
|
||||
3. If the launcher is the UZURON project's artifact, what should the single primary CTA say to convert a client — and would you split CTAs if the page must serve both clients and players?
|
||||
4. If the team never supplies real case data, is showing placeholders better for trust than showing fewer fully-finished cases?
|
||||
@@ -0,0 +1,84 @@
|
||||
---
|
||||
target: src/index.html
|
||||
total_score: 27
|
||||
max_score: 32
|
||||
na_heuristics: 7,10
|
||||
p0_count: 1
|
||||
p1_count: 3
|
||||
timestamp: 2026-09-10T13-38-42Z
|
||||
slug: src-index-html
|
||||
---
|
||||
Method: dual-agent (A: sa-0-1c7a64b9 · B: sa-1-fbc098c0). Assessment A (design-director review, source-read + orchestrator's measured evidence; first attempt timed out after 600s and was re-run bounded) and Assessment B (impeccable detector CLI + in-page detect.js injection in a real Chromium) ran isolated. Detector: `node <skill>/scripts/detect.mjs --json src/index.html` -> exit 2, 34 findings across 12 rule ids; browser pass injected successfully (overlay really rendered), 15 in-page anti-patterns.
|
||||
|
||||
# Design Critique — Harvey Monster Team landing (src/index.html), run 2026-09-10
|
||||
|
||||
## Design Health Score (Nielsen, 0-4; 4 = excellent)
|
||||
|
||||
| # | Heuristic | Score | Key Issue |
|
||||
|---|-----------|-------|-----------|
|
||||
| 1 | Visibility of System Status | 3 | Dialogs/theme/aria-live states are reported well; nav has no active-section state, and with JS blocked #work/#team render empty with no message |
|
||||
| 2 | Match System / Real World | 4 | Buyer vocabulary throughout (NDA, MVP in weeks, ruble anchor, Outstaff/Fixed Price); one own-goal: English eyebrow «Game & Web Studio» above a Russian H1 |
|
||||
| 3 | User Control and Freedom | 4 | Escape + backdrop + 44px close on both dialogs, focus returns to the card; skip-link, theme choice, reduced-motion path all honoured |
|
||||
| 4 | Consistency and Standards | 3 | Two visually identical single-open accordions built two ways (native `details name` vs JS exclusivity); case cards are role=button on article with no disclosure affordance |
|
||||
| 5 | Error Prevention | 3 | novalidate + JS validation, honeypot, length caps, reserved 18px error space; the optional field is distinguished only by its label text |
|
||||
| 6 | Recognition Rather Than Recall | 3 | Labels/chips/leads keep options visible, #work even says «нажмите, чтобы раскрыть»; nothing signals the planet is draggable |
|
||||
| 7 | Flexibility and Efficiency | n/a | n/a for a single-job Persuade surface (excluded from the maximum) |
|
||||
| 8 | Aesthetic and Minimalist Design | 3 | One accent, flat sand, three-tier shadow ladder used as response; process descriptions run ~87ch/line at 650px, and the emptiest block is the densest-looking one |
|
||||
| 9 | Error Recognition and Recovery | 4 | Inline role=alert, aria-invalid, focus to first bad field, danger token 5.7:1 — no silent failure |
|
||||
| 10 | Help and Documentation | n/a | n/a — the FAQ is content, not help chrome (excluded from the maximum) |
|
||||
| **Total** | | **27/32 (84%)** | **Good** |
|
||||
|
||||
## Design Specificity Verdict
|
||||
|
||||
**LLM (A):** specific in intuition, aspirational in content. Authored: the planet is an index of the studio's own four projects (90-degree sector per project, plate names the facing one), copy uses the buyer's vocabulary, and the «printed sheets» rhythm is real in the DOM. Category-interchangeable: #work — the section that carries the promise — is four identical cards with one shared poster and one verbatim placeholder sentence.
|
||||
|
||||
**Deterministic scan (B):** 34 CLI findings, 12 rules; 15 in-page anti-patterns with a rendered overlay. 10 of them (dark-glow x5, thin-border-wide-shadow x5) are documented tokens/decisions -> false positives; the substantive deterministic findings are design-system-font-size x10 (off-ramp literals), design-system-color x5 (hard-coded literals), kicker-above-heading x6 in DOM (CLI saw 1), plus taste rules (cream-palette, marquee) firing on deliberate choices.
|
||||
|
||||
**Overlay:** injection succeeded and the overlay rendered in the assessment's own tab (12+ `.impeccable-overlay` nodes); that tab is closed now, so no overlay remains. Separately, the page itself pulls live-editing chrome from the running :8400 dev server via its own script tag — currently visible in your live tab.
|
||||
|
||||
## Overall Impression
|
||||
|
||||
A disciplined, genuinely authored shell whose credibility screen is a placeholder. Craft is real (tokens, contrast, focus, motion gating, poster-first LCP 896ms/CLS 0.001) and it is spent before the visitor decides to stay; the portfolio then pays the trust it just asked for with four copies of one card.
|
||||
|
||||
## What's Working
|
||||
|
||||
1. Contract fidelity with taste: hex-level token match, `#00CC66` never as text, one green fill in the hero, flat background with depth only from plate elevation and navbar separation.
|
||||
2. Accessibility as a build property: every text pair clears AA, UI borders 3.8-4.7:1, 44px minimum targets, correct heading order, dialogs manage focus in/out, reduced-motion yields a complete page, not a degraded one.
|
||||
3. Performance discipline where it is easy to be sloppy: LCP 896ms with a 16.5KB poster as the LCP element, CLS 0.001, no layout-property keyframes, will-change never used.
|
||||
|
||||
## Priority Issues
|
||||
|
||||
**[P0] The portfolio is one card repeated four times** — main.js:139/145/154, rendered into #cases (index.html:630). Success is a client lead; the screen that answers «can these people ship my game» answers with an absence, after the hero already spent the goodwill. Fix: ship the honest short version — «Проекты в работе» with the four real names, platforms and stack already present in content/*.md, no repeated sentence, no metrics row, one honest line in the lead. Fabricating metrics stays out (PRODUCT.md). Note: this is blocked on team content, not on code.
|
||||
|
||||
**[P1] Dev-only live-edit script in the shipping document** — index.html:798-800. It injects tooling UI, makes a localhost request, leaks a token, and is the first thing a technical prospect sees in the console. Fix: strip the block before deploy (do NOT run `live-server.mjs stop` without `--keep-inject`: plain stop rewrites src/index.html).
|
||||
|
||||
**[P1] Ghost button fails AA on hover** — index.html:159-161: `#007A3F` over `rgba(0,122,63,.09)` = 4.2:1. The only contrast failure in an otherwise rigorous AA build, and it sits on the hero's second CTA. Fix: wash `.05` or hover to a fill state.
|
||||
|
||||
**[P1] Signature interactions are undiscoverable** — `.planet` has no cursor cue or hint (index.html:210-213) though it is a draggable index of four projects; case/team cards signal clickability only via cursor:pointer (index.html:251/288), which does not exist on touch; the tooltip is gated to `hover: hover` (main.js:348). Mobile users get a decorative sphere and no path to the project index. Fix: grab cursor + a self-dismissing hint on the plate; visible disclosure affordance on cards.
|
||||
|
||||
**[P2] Two mechanisms for one pattern, and a default that costs conversion** — about uses native `details name="about-acc"` (index.html:582-614) while the FAQ re-implements exclusivity in JS (main.js:124-132); the first FAQ item ships `open` and cannot be collapsed back to zero, pushing the form below the FAQ at 390px. Fix: same `name` grouping for both, delete the JS path, choose the default for the conversion goal.
|
||||
|
||||
## Persona Red Flags
|
||||
|
||||
**Jordan (first-timer):** the draggable planet reads as decoration; English eyebrow above a Russian H1 makes them check they are on the right site; on tablet (≤1160px) the persistent CTA is `display:none` (index.html:430) and its only replacement hides inside a burger they have no reason to open; the FAQ's fourth answer offers «Outstaff, Outsourcing и Fixed Price» with no gloss at the exact decision point.
|
||||
|
||||
**Riley (stress tester):** the live-edit script at :798-800 requesting localhost — a screenshot of that console line outweighs any design flaw on the page; with JavaScript blocked, #cases and #team are empty regions (main.js:138-181) on a page that otherwise degrades with unusual care; a second nav landmark (`.nav-panel`) sits permanently in the DOM at desktop while being display:none; under reduced-motion the fallback planet asset is a single 4.86MB file.
|
||||
|
||||
**Casey (one-handed mobile) — parent-supplied from measured evidence:** the primary CTA lives at the top of an 819px hero (thumb-unreachable); the FAQ's open first item pushes the form further down; no tap affordance distinguishes case/team cards (no hover, no chevron, no «Подробнее»); the project index behind the planet is unreachable on touch entirely; the heavy sequence (236 requests / 3.8MB right after load) runs on a phone connection with no data-saver gate.
|
||||
|
||||
## Minor Observations
|
||||
|
||||
- [P2] Media backgrounds cycle `i % 3` (main.js:149): cards 1 and 4 share a background — visible repetition in a 2×2 grid.
|
||||
- [P2] Contract drift: DESIGN.md:198 documents a carousel quick-view (stage + thumbs + play tile); the shipped dialog is a single stage fed from `images[0]`. Also `main.js:4` cites a spec section for quick-views that does not exist — spec.md ends at §10.13.
|
||||
- [P2] PRODUCT.md:31 still says variant B ships «без тумблера тёмного режима» while the build ships a full AA dark theme (§10.9 supersedes).
|
||||
- [P3] `.about-acc` is a plain div with `aria-label` (index.html:581) — ignored by most AT; `role="group"` makes it announce.
|
||||
- [P3] Detector-confirmed literal drift: 10 off-ramp font sizes, 5 hard-coded colours, skip-link radius 8px (not on the rounded scale).
|
||||
- [P3] Process descriptions ~87 chars/line at 650px (index.html:645-665) — above the 66-75ch ideal; browser-only rule, static CLI never sees it.
|
||||
- Verified false positives: dark-glow and thin-border-wide-shadow (documented `--shadow-brand` / elevation, light theme), tight-leading (no matching rule or element), cramped-padding on .hero-ticker (children carry 22px/13px padding), Montserrat «overused-font» (not on the rule's list), kicker-above-heading, cream-palette, marquee, em-dash (deliberate design decisions / Russian editorial copy, all mitigated for reduced-motion and AT).
|
||||
- Corrections to child claims: (a) B reported dark `--brand-strong #00B85C`, `--brand-active #00A050`, `--brand-soft .16` and `#22201A` as undocumented drift — spec §10.9.1/§10.9.3 document exactly those overrides, so this is DESIGN.md that lacks the dark pairs, not the code; (b) A understated heuristic 5: the optional field IS labelled «Бюджет (необязательно)», and HTML `required` already exposes aria-required — the gap is visual differentiation only.
|
||||
|
||||
## Questions to Consider
|
||||
|
||||
1. If all four case cards are the same image and sentence, is #work doing any work — or teaching a prospect that this studio's portfolio is a placeholder? What would you ship instead if a non-real portfolio were forbidden?
|
||||
2. Your most authored idea — the draggable planet — reaches only visitors with a mouse, motion enabled and working JS; mobile gets a sphere with no tooltip. Was it designed for the visitor, or for the pitch?
|
||||
3. The hardest rule is «never invent metrics», yet the credibility stack leads with a self-referential 5/4/12+/100% board and a 300 000 ₽ anchor nothing substantiates. Which do you want more: real content, or the nerve to publish a shorter page until it exists?
|
||||
+186
-125
@@ -1,177 +1,238 @@
|
||||
{
|
||||
"schemaVersion": 2,
|
||||
"generatedAt": "2026-08-23T23:38:30Z",
|
||||
"title": "Design System: Harvey Monster Team",
|
||||
"generatedAt": "2026-09-10T14:05:59Z",
|
||||
"title": "Design System: Harvey Monster Team (вариант B)",
|
||||
"extensions": {
|
||||
"colorMeta": {
|
||||
"bg": {
|
||||
"role": "neutral",
|
||||
"displayName": "Mist Green-Grey",
|
||||
"canonical": "#F4F8F5",
|
||||
"tonalRamp": ["oklch(78% 0.02 150)", "oklch(85% 0.015 150)", "oklch(92% 0.008 150)", "oklch(96% 0.004 150)", "oklch(98% 0.002 150)", "oklch(99% 0.001 150)"]
|
||||
"canonical": "#F5EEE2"
|
||||
},
|
||||
"brand": {
|
||||
"role": "primary",
|
||||
"displayName": "Signal Meadow Green",
|
||||
"canonical": "#00CC66",
|
||||
"tonalRamp": ["oklch(32% 0.13 155)", "oklch(45% 0.17 155)", "oklch(58% 0.19 155)", "oklch(70% 0.19 155)", "oklch(82% 0.14 155)", "oklch(93% 0.06 155)"]
|
||||
"card": {
|
||||
"role": "neutral",
|
||||
"canonical": "#FFFCF7"
|
||||
},
|
||||
"brand-deep": {
|
||||
"role": "primary",
|
||||
"displayName": "Deep Forest Green",
|
||||
"canonical": "#007A3F",
|
||||
"tonalRamp": ["oklch(22% 0.10 155)", "oklch(33% 0.13 155)", "oklch(44% 0.15 155)", "oklch(55% 0.15 155)", "oklch(68% 0.12 155)", "oklch(82% 0.07 155)"]
|
||||
"line": {
|
||||
"role": "neutral",
|
||||
"canonical": "#E6DCCE"
|
||||
},
|
||||
"media-1": {
|
||||
"role": "neutral",
|
||||
"canonical": "#EAF4EE"
|
||||
},
|
||||
"media-2": {
|
||||
"role": "neutral",
|
||||
"canonical": "#DFEBE4"
|
||||
},
|
||||
"media-3": {
|
||||
"role": "neutral",
|
||||
"canonical": "#EDEBE6"
|
||||
},
|
||||
"media-4": {
|
||||
"role": "neutral",
|
||||
"canonical": "#F2E7D8"
|
||||
},
|
||||
"line-strong": {
|
||||
"role": "neutral",
|
||||
"canonical": "#847863"
|
||||
},
|
||||
"text-1": {
|
||||
"role": "neutral",
|
||||
"displayName": "Deep Forest Ink",
|
||||
"canonical": "#0A1F12",
|
||||
"tonalRamp": ["oklch(15% 0.04 160)", "oklch(28% 0.05 160)", "oklch(41% 0.05 160)", "oklch(55% 0.04 160)", "oklch(70% 0.03 160)", "oklch(88% 0.015 160)"]
|
||||
"canonical": "#211E18"
|
||||
},
|
||||
"accent": {
|
||||
"role": "secondary",
|
||||
"displayName": "Orbit Sky Blue",
|
||||
"canonical": "#3FA9F5",
|
||||
"tonalRamp": ["oklch(30% 0.09 250)", "oklch(45% 0.11 250)", "oklch(60% 0.11 250)", "oklch(74% 0.09 250)", "oklch(87% 0.05 250)", "oklch(96% 0.02 250)"]
|
||||
"text-2": {
|
||||
"role": "neutral",
|
||||
"canonical": "#5A5344"
|
||||
},
|
||||
"text-3": {
|
||||
"role": "neutral",
|
||||
"canonical": "#6A6453"
|
||||
},
|
||||
"brand": {
|
||||
"role": "primary",
|
||||
"canonical": "#00CC66"
|
||||
},
|
||||
"brand-strong": {
|
||||
"role": "primary",
|
||||
"canonical": "#00A857"
|
||||
},
|
||||
"brand-active": {
|
||||
"role": "primary",
|
||||
"canonical": "#00914C"
|
||||
},
|
||||
"brand-deep": {
|
||||
"role": "primary",
|
||||
"canonical": "#007A3F"
|
||||
},
|
||||
"brand-soft": {
|
||||
"role": "primary",
|
||||
"canonical": "rgba(0, 204, 102, 0.13)"
|
||||
},
|
||||
"danger": {
|
||||
"role": "tertiary",
|
||||
"displayName": "Danger Signal Red",
|
||||
"canonical": "#C5221F",
|
||||
"tonalRamp": ["oklch(26% 0.10 25)", "oklch(40% 0.13 25)", "oklch(54% 0.14 25)", "oklch(68% 0.12 25)", "oklch(82% 0.07 25)", "oklch(93% 0.03 25)"]
|
||||
"canonical": "#C5221F"
|
||||
},
|
||||
"on-brand": {
|
||||
"role": "neutral",
|
||||
"canonical": "#04180C"
|
||||
},
|
||||
"on-deep": {
|
||||
"role": "neutral",
|
||||
"canonical": "#FFFFFF"
|
||||
},
|
||||
"brand-ink": {
|
||||
"role": "primary",
|
||||
"canonical": "#006B37"
|
||||
},
|
||||
"backdrop": {
|
||||
"role": "neutral",
|
||||
"canonical": "rgba(24, 19, 12, 0.55)"
|
||||
},
|
||||
"btn-disabled-bg": {
|
||||
"role": "neutral",
|
||||
"canonical": "#B7C6BD"
|
||||
},
|
||||
"btn-disabled-text": {
|
||||
"role": "neutral",
|
||||
"canonical": "#5C6B62"
|
||||
}
|
||||
},
|
||||
"typographyMeta": {
|
||||
"display": { "displayName": "Display", "purpose": "Hero wordmark only; uppercase, kinetic gradient." },
|
||||
"headline": { "displayName": "Headline", "purpose": "Section titles (H2)." },
|
||||
"title": { "displayName": "Title", "purpose": "Card/FAQ titles (H3)." },
|
||||
"body": { "displayName": "Body", "purpose": "Paragraphs, nav, form." },
|
||||
"label": { "displayName": "Label", "purpose": "Eyebrows, field labels, badges, metric labels; uppercase." }
|
||||
"display": {
|
||||
"fontFamily": "Montserrat",
|
||||
"size": "clamp(38px, 6.5vw, 54px)",
|
||||
"weight": 800,
|
||||
"tracking": "0.04em"
|
||||
},
|
||||
"headline": {
|
||||
"fontFamily": "Montserrat",
|
||||
"size": "clamp(30px, 5vw, 44px)",
|
||||
"weight": 800,
|
||||
"tracking": "0.04em"
|
||||
},
|
||||
"title": {
|
||||
"fontFamily": "Montserrat",
|
||||
"size": "clamp(18px, 2vw, 20px)",
|
||||
"weight": 700,
|
||||
"tracking": "0.03em"
|
||||
},
|
||||
"body": {
|
||||
"fontFamily": "Roboto",
|
||||
"size": "16px",
|
||||
"weight": 400,
|
||||
"lineHeight": 1.5
|
||||
},
|
||||
"label": {
|
||||
"fontFamily": "Montserrat",
|
||||
"size": "12px",
|
||||
"weight": 700,
|
||||
"tracking": "0.10em"
|
||||
},
|
||||
"micro": {
|
||||
"fontFamily": "Montserrat",
|
||||
"size": "10px-15px",
|
||||
"weight": 600,
|
||||
"note": "тикер, бейджи, чипы, плашка планеты, подписи метрик — отдельный шаг вне основной шкалы"
|
||||
}
|
||||
},
|
||||
"shadows": [
|
||||
{ "name": "card", "value": "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)", "purpose": "Case cards, form card (rest)." },
|
||||
{ "name": "card-hover", "value": "inset 0 1px 0 rgba(255,255,255,.65), 0 2px 6px rgba(14,32,21,.07), 0 20px 48px rgba(14,32,21,.14)", "purpose": "Card hover, with translateY(-2px)." },
|
||||
{ "name": "card-small", "value": "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)", "purpose": "Team cards." },
|
||||
{ "name": "faq", "value": "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)", "purpose": "FAQ accordion." },
|
||||
{ "name": "cta-glow", "value": "0 0 20px rgba(0,204,102,.22)", "purpose": "Primary button halo." },
|
||||
{ "name": "focus-ring", "value": "2px solid #007A3F", "purpose": "Global :focus-visible, offset 2px." }
|
||||
],
|
||||
"motion": [
|
||||
{ "name": "ease", "value": "cubic-bezier(0.25,0.1,0.25,1)", "purpose": "Default easing for state changes." },
|
||||
{ "name": "ease-out", "value": "cubic-bezier(0.16,1,0.3,1)", "purpose": "Hover lift / reveal ease." },
|
||||
{ "name": "dur-fast", "value": "160ms", "purpose": "Color/border transitions." },
|
||||
{ "name": "dur-med", "value": "240ms", "purpose": "Card hover lift." },
|
||||
{ "name": "dur-slow", "value": "480ms", "purpose": "Scroll-reveal." }
|
||||
],
|
||||
"breakpoints": [
|
||||
{ "name": "sm", "value": "768px" },
|
||||
{ "name": "md", "value": "900px" },
|
||||
{ "name": "lg", "value": "1200px" },
|
||||
{ "name": "xl", "value": "1440px" }
|
||||
]
|
||||
"shadows": {
|
||||
"rest": "inset 0 1px 0 rgba(255,255,255,.7),0 1px 2px rgba(58,48,35,.05)",
|
||||
"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)",
|
||||
"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)",
|
||||
"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)",
|
||||
"brand": "0 0 20px rgba(0,204,102,.28),0 6px 18px rgba(0,204,102,.16)",
|
||||
"nav": "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)"
|
||||
},
|
||||
"motion": {
|
||||
"micro": "140ms",
|
||||
"fast": "200ms",
|
||||
"med": "320ms",
|
||||
"slow": "560ms",
|
||||
"motion-ease": "cubic-bezier(.22,1,.36,1)",
|
||||
"motion-ease-out": "cubic-bezier(.16,1,.3,1)"
|
||||
},
|
||||
"breakpoints": {
|
||||
"mobile": "390",
|
||||
"sm": "767",
|
||||
"md": "900",
|
||||
"lg": "1160",
|
||||
"desktop": "1440"
|
||||
}
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"name": "Primary Button",
|
||||
"kind": "button",
|
||||
"refersTo": "button-primary",
|
||||
"description": "Single brand-green CTA with glow, hover lift, AA-registered focus.",
|
||||
"html": "<button class=\"ds-btn-primary\">Оставить заявку</button>",
|
||||
"css": ".ds-btn-primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 24px;border-radius:12px;border:1px solid transparent;background:#00CC66;color:#04180C;font-family:Montserrat,system-ui,sans-serif;font-weight:700;font-size:14px;letter-spacing:1px;text-transform:uppercase;cursor:pointer;box-shadow:0 0 20px rgba(0,204,102,.22);transition:background 160ms cubic-bezier(0.25,0.1,0.25,1),box-shadow 160ms cubic-bezier(0.25,0.1,0.25,1),transform 160ms cubic-bezier(0.25,0.1,0.25,1)}.ds-btn-primary:hover{background:#00A857;box-shadow:0 0 28px rgba(0,204,102,.34),0 6px 20px rgba(0,204,102,.14);transform:translateY(-1px)}.ds-btn-primary:active{background:#00914C;transform:translateY(0);box-shadow:none}.ds-btn-primary:focus-visible{outline:2px solid #0A1F12;outline-offset:2px}.ds-btn-primary:disabled{background:#E4EAE6;color:#5C6B60;box-shadow:none;cursor:not-allowed}"
|
||||
"description": "Единственная зелёная заливка действия; glow-тень бренда, hover-подъём, AA-фокус.",
|
||||
"css": ".btn--primary{background:var(--brand);color:var(--on-brand);box-shadow:var(--shadow-brand)}"
|
||||
},
|
||||
{
|
||||
"name": "Ghost Button",
|
||||
"kind": "button",
|
||||
"refersTo": "button-ghost",
|
||||
"description": "Secondary quiet outline button for nav-secondary actions.",
|
||||
"html": "<button class=\"ds-btn-ghost\">О нас</button>",
|
||||
"css": ".ds-btn-ghost{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 24px;border-radius:12px;border:1px solid #75907F;background:transparent;color:#0A1F12;font-family:Montserrat,system-ui,sans-serif;font-weight:700;font-size:14px;letter-spacing:1px;text-transform:uppercase;cursor:pointer;transition:border-color 160ms cubic-bezier(0.25,0.1,0.25,1),color 160ms cubic-bezier(0.25,0.1,0.25,1),transform 160ms cubic-bezier(0.25,0.1,0.25,1)}.ds-btn-ghost:hover{border-color:#007A3F;color:#007A3F;transform:translateY(-1px)}.ds-btn-ghost:active{transform:translateY(0)}.ds-btn-ghost:focus-visible{outline:2px solid #007A3F;outline-offset:2px}.ds-btn-ghost:disabled{opacity:.4;cursor:not-allowed}"
|
||||
},
|
||||
{
|
||||
"name": "Status Badge",
|
||||
"kind": "chip",
|
||||
"refersTo": "badge-status",
|
||||
"description": "Soft green status chip for case headers (Shipped / Studio project).",
|
||||
"html": "<span class=\"ds-badge-status\">Proект студии</span>",
|
||||
"css": ".ds-badge-status{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:999px;background:rgba(0,204,102,.12);color:#007A3F;font-family:Montserrat,system-ui,sans-serif;font-weight:700;font-size:12px;letter-spacing:1px;text-transform:uppercase;white-space:nowrap}"
|
||||
},
|
||||
{
|
||||
"name": "Context Chip",
|
||||
"kind": "chip",
|
||||
"refersTo": "badge",
|
||||
"description": "Neutral pill for the tech stack list.",
|
||||
"html": "<span class=\"ds-badge\">Godot</span>",
|
||||
"css": ".ds-badge{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:999px;border:1px solid #D8E2DC;background:#FFFFFF;color:#455A4D;font-family:Montserrat,system-ui,sans-serif;font-weight:600;font-size:12px;letter-spacing:1px;text-transform:uppercase;white-space:nowrap;transition:border-color 160ms cubic-bezier(0.25,0.1,0.25,1),color 160ms cubic-bezier(0.25,0.1,0.25,1)}.ds-badge:hover{border-color:#007A3F;color:#007A3F}"
|
||||
},
|
||||
{
|
||||
"name": "Navbar",
|
||||
"kind": "nav",
|
||||
"refersTo": "button-ghost",
|
||||
"description": "Sticky light navbar with uppercase logo, links, brand CTA and theme toggle.",
|
||||
"html": "<header class=\"ds-nav\"><div class=\"ds-nav__inner\"><a class=\"ds-nav__logo\" href=\"#\">HARVEY MONSTER TEAM</a><nav class=\"ds-nav__list\"><a class=\"ds-nav__link\" href=\"#\">О нас</a><a class=\"ds-nav__link\" href=\"#\">Контакты</a></nav><a class=\"ds-nav__cta\" href=\"#\">Оставить заявку</a><button class=\"ds-nav__toggle\" aria-label=\"Переключить на тёмную тему\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\"><circle cx=\"12\" cy=\"12\" r=\"4\"/><line x1=\"12\" y1=\"2\" x2=\"12\" y2=\"4\"/><line x1=\"12\" y1=\"20\" x2=\"12\" y2=\"22\"/></svg></button></div></header>",
|
||||
"css": ".ds-nav{position:sticky;top:0;background:#FFFFFF;border-bottom:1px solid #D8E2DC}.ds-nav__inner{display:flex;align-items:center;justify-content:space-between;height:72px;padding:0 64px}.ds-nav__logo{font-family:Montserrat,system-ui,sans-serif;font-weight:800;font-size:22px;letter-spacing:2px;text-transform:uppercase;color:#0A1F12;text-decoration:none}.ds-nav__list{display:flex;gap:8px}.ds-nav__link{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;font-family:Roboto,system-ui,sans-serif;font-size:14px;font-weight:500;color:#455A4D;text-decoration:none;transition:color 160ms cubic-bezier(0.25,0.1,0.25,1)}.ds-nav__link:hover{color:#007A3F}.ds-nav__cta{display:inline-flex;align-items:center;min-height:44px;padding:12px 24px;border-radius:12px;background:#00CC66;color:#04180C;font-family:Montserrat,system-ui,sans-serif;font-weight:700;font-size:14px;letter-spacing:1px;text-transform:uppercase;text-decoration:none;cursor:pointer;transition:background 160ms cubic-bezier(0.25,0.1,0.25,1)}.ds-nav__cta:hover{background:#00A857}.ds-nav__toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #75907F;border-radius:12px;background:transparent;color:#0A1F12;cursor:pointer}.ds-nav__toggle:hover{border-color:#007A3F;color:#007A3F}.ds-nav__link:focus-visible,.ds-nav__cta:focus-visible,.ds-nav__toggle:focus-visible{outline:2px solid #007A3F;outline-offset:2px}"
|
||||
"description": "Прозрачная, brand-deep граница+текст; hover — тинт и текст/граница --brand-ink (5.12:1, AA).",
|
||||
"css": ".btn--ghost{background:transparent;color:var(--brand-deep);border-color:var(--brand-deep)}"
|
||||
},
|
||||
{
|
||||
"name": "Case Card",
|
||||
"kind": "card",
|
||||
"refersTo": "card",
|
||||
"description": "Portfolio card: title + status, media band, 5-stage process, metrics.",
|
||||
"html": "<article class=\"ds-card\"><div class=\"ds-card__head\"><h3 class=\"ds-card__title\">Ассоциации</h3><span class=\"ds-badge-status\">Shipped</span></div><div class=\"ds-card__media\" aria-hidden=\"true\"><span class=\"ds-card__glyph\">✦</span></div><p class=\"ds-card__task\">Словесный пасьянс: собери слова в категории.</p><ol class=\"ds-card__stages\"><li class=\"ds-stage\"><span class=\"ds-stage__num\">1</span><span class=\"ds-stage__label\">Задача</span></li><li class=\"ds-stage\"><span class=\"ds-stage__num\">2</span><span class=\"ds-stage__label\">Аналитика</span></li></ol><div class=\"ds-card__metrics\"><div><b>1M</b><span>Загрузок</span></div><div><b>4.8</b><span>Рейтинг</span></div></div></article>",
|
||||
"css": ".ds-card{display:flex;flex-direction:column;gap:16px;padding:24px;background:#FFFFFF;border:1px solid #D8E2DC;border-radius:16px;box-shadow: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);transition:box-shadow 240ms cubic-bezier(0.16,1,0.3,1),transform 240ms cubic-bezier(0.16,1,0.3,1)}.ds-card:hover{transform:translateY(-2px);box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 2px 6px rgba(14,32,21,.07),0 20px 48px rgba(14,32,21,.14)}.ds-card__head{display:flex;align-items:center;justify-content:space-between;gap:12px}.ds-card__title{font-family:Montserrat,system-ui,sans-serif;font-weight:700;font-size:20px;letter-spacing:1px;text-transform:uppercase;color:#0A1F12}.ds-card__media{display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;border-radius:12px;border:1px solid #D8E2DC;background:linear-gradient(135deg,rgba(0,204,102,.12) 0%,transparent 60%),#FFFFFF}.ds-card__glyph{font-size:48px;color:#007A3F;opacity:.5}.ds-card__task{font-size:15px;line-height:1.5;color:#455A4D}.ds-card__stages{display:flex;flex-direction:column;gap:12px;list-style:none;padding:0;margin:0}.ds-stage{display:flex;align-items:center;gap:12px}.ds-stage__num{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;border-radius:999px;background:rgba(0,204,102,.12);color:#007A3F;font-family:Montserrat,system-ui,sans-serif;font-weight:700;font-size:12px}.ds-stage__label{font-size:14px;font-weight:500;color:#0A1F12}.ds-card__metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.ds-card__metrics b{font-family:Montserrat,system-ui,sans-serif;font-weight:800;font-size:32px;color:#0A1F12}.ds-card__metrics span{font-family:Montserrat,system-ui,sans-serif;font-weight:600;font-size:12px;letter-spacing:1px;text-transform:uppercase;color:#5F7366}"
|
||||
"description": "Интерактивный контейнер (role=button, Enter/Space): имя, статус, медиа-тир, чипы платформ и стека; открывает quick-view. Метрики — только реальные.",
|
||||
"css": ".case-card{background:var(--card);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);cursor:pointer}"
|
||||
},
|
||||
{
|
||||
"name": "Team Card",
|
||||
"kind": "card",
|
||||
"refersTo": "card",
|
||||
"description": "Team member card with round initials-fallback avatar and role.",
|
||||
"html": "<div class=\"ds-team-card\"><div class=\"ds-team-card__avatar\">ТМ</div><div class=\"ds-team-card__name\">Тимур</div><div class=\"ds-team-card__role\">Frontend, стратегия</div></div>",
|
||||
"css": ".ds-team-card{display:flex;flex-direction:column;align-items:center;gap:12px;padding:16px;background:#FFFFFF;border:1px solid #D8E2DC;border-radius:16px;box-shadow: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);text-align:center;transition:box-shadow 240ms cubic-bezier(0.16,1,0.3,1),transform 240ms cubic-bezier(0.16,1,0.3,1)}.ds-team-card:hover{transform:translateY(-2px);box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 2px 6px rgba(14,32,21,.06),0 16px 36px rgba(14,32,21,.12)}.ds-team-card__avatar{display:flex;align-items:center;justify-content:center;width:96px;height:96px;border-radius:999px;background:rgba(0,204,102,.12);font-family:Montserrat,system-ui,sans-serif;font-weight:700;font-size:28px;color:#007A3F}.ds-team-card__name{font-family:Montserrat,system-ui,sans-serif;font-weight:700;font-size:16px;letter-spacing:1px;text-transform:uppercase;color:#0A1F12}.ds-team-card__role{font-size:13px;color:#5F7366}"
|
||||
"description": "Фото (или монограмма до фото) + имя + роль; открывает профиль участника.",
|
||||
"css": ".team-card{background:var(--card);border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}"
|
||||
},
|
||||
{
|
||||
"name": "Text Input",
|
||||
"name": "Chip",
|
||||
"kind": "chip",
|
||||
"refersTo": "badge",
|
||||
"description": "Чип факта: платформы, стек, категории. Граница --line-strong (≥3:1 UI).",
|
||||
"css": ".about-acc__chip{border:1px solid var(--line-strong);border-radius:999px;background:var(--card)}"
|
||||
},
|
||||
{
|
||||
"name": "Badge",
|
||||
"kind": "badge",
|
||||
"refersTo": "badge",
|
||||
"description": "Статус проекта (из content/*.md).",
|
||||
"css": ".badge{background:var(--brand-soft);color:var(--brand-deep);border-radius:999px}"
|
||||
},
|
||||
{
|
||||
"name": "Input / Textarea",
|
||||
"kind": "input",
|
||||
"refersTo": "input",
|
||||
"description": "Form field with uppercase label, deep-green focus, danger error state.",
|
||||
"html": "<label class=\"ds-field\"><span class=\"ds-field__label\">Имя</span><input class=\"ds-field__input\" placeholder=\"Как к вам обращаться?\"><span class=\"ds-field__error\">Укажите имя</span></label>",
|
||||
"css": ".ds-field{display:flex;flex-direction:column;gap:8px}.ds-field__label{font-family:Montserrat,system-ui,sans-serif;font-weight:700;font-size:12px;letter-spacing:1px;text-transform:uppercase;color:#455A4D}.ds-field__input{width:100%;height:46px;padding:0 16px;background:#F4F8F5;border:1px solid #75907F;border-radius:12px;color:#0A1F12;font-family:Roboto,system-ui,sans-serif;font-size:15px;transition:border-color 160ms cubic-bezier(0.25,0.1,0.25,1)}.ds-field__input::placeholder{color:#5F7366}.ds-field__input:focus{border-color:#007A3F}.ds-field__input:focus-visible{outline:2px solid #007A3F;outline-offset:2px}.ds-field__input[aria-invalid=true]{border-color:#C5221F}.ds-field__error{display:none;font-size:13px;color:#C5221F}.ds-field__error.is-visible{display:block}"
|
||||
"description": "2px --line-strong, фокус — border brand-deep + 3px glow; ошибка — --danger + role=alert.",
|
||||
"css": ".form-field input{border:2px solid var(--line-strong);border-radius:var(--radius-md);background:var(--input-bg)}"
|
||||
},
|
||||
{
|
||||
"name": "FAQ Item",
|
||||
"kind": "button",
|
||||
"name": "FAQ / About Accordion",
|
||||
"kind": "accordion",
|
||||
"refersTo": "card",
|
||||
"description": "Accordion FAQ entry with a soft pill toggle that swaps +/-.",
|
||||
"html": "<div class=\"ds-faq\" data-open=\"false\"><button class=\"ds-faq__trigger\">Как вы строите процесс?<span class=\"ds-faq__toggle\">+</span></button><div class=\"ds-faq__answer\">Задача → Аналитика → UX/UI → Разработка → Результат.</div></div>",
|
||||
"css": ".ds-faq{background:#FFFFFF;border:1px solid #D8E2DC;border-radius:12px;box-shadow: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);padding:16px}.ds-faq__trigger{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:44px;background:none;border:none;cursor:pointer;text-align:left;font-family:Montserrat,system-ui,sans-serif;font-weight:700;font-size:16px;color:#0A1F12}.ds-faq__toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border-radius:999px;background:rgba(0,204,102,.12);color:#007A3F;font-family:Montserrat,system-ui,sans-serif;font-weight:700;font-size:18px}.ds-faq__answer{display:none;margin-top:12px;font-size:15px;line-height:1.5;color:#455A4D}.ds-faq[data-open=true] .ds-faq__answer{display:block}.ds-faq__trigger:focus-visible{outline:2px solid #007A3F;outline-offset:2px}"
|
||||
"description": "Нативный <details> с групповым name — один открытый пункт без JS (name=\"faq\" / name=\"about-acc\").",
|
||||
"css": ".faq-item{background:var(--card);border:1px solid var(--hairline);border-radius:var(--radius-md)}"
|
||||
},
|
||||
{
|
||||
"name": "Planet Plate",
|
||||
"kind": "overlay",
|
||||
"refersTo": "card",
|
||||
"description": "Плашка проекта на планете, гаснет/вспыхивает по углу (рамп 12°); плюс самоснимающаяся подсказка drag-жеста.",
|
||||
"css": ".planet-tag{background:var(--card);border:1px solid var(--hairline);box-shadow:var(--shadow-card);border-radius:999px}"
|
||||
},
|
||||
{
|
||||
"name": "Quick-view / Team-view",
|
||||
"kind": "dialog",
|
||||
"refersTo": "card",
|
||||
"description": "Нативный <dialog> + showModal(): stage | body; закрытие — крестик 44×44, Escape, подложка; фокус возвращается на карточку.",
|
||||
"css": ".quickview__panel{background:var(--card);border:1px solid var(--hairline);border-radius:var(--radius-lg);box-shadow:var(--shadow-tab)}"
|
||||
}
|
||||
],
|
||||
"narrative": {
|
||||
"northStar": "Quiet Orbit",
|
||||
"overview": "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.",
|
||||
"keyCharacteristics": [
|
||||
"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."
|
||||
],
|
||||
"rules": [
|
||||
{ "name": "The One-Accent Rule", "body": "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.", "section": "colors" },
|
||||
{ "name": "The Uppercase Rule", "body": "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.", "section": "typography" },
|
||||
{ "name": "The Soft-Raise Rule", "body": "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.", "section": "elevation" },
|
||||
{ "name": "The No-Hero-Fade Rule", "body": "The hero planet is the LCP and never hides behind an opacity/entrance fade; motion on the hero is the wordmark gradient drift only.", "section": "elevation" }
|
||||
],
|
||||
"dos": [
|
||||
"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."
|
||||
],
|
||||
"donts": [
|
||||
"Don't use #00CC66 as text on white — 2.15:1 fails WCAG AA.",
|
||||
"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."
|
||||
]
|
||||
"northStar": "Editorial Calm — вариант B",
|
||||
"overview": "Тёплый бежевый фон (#F5EEE2) держит спокойный, почти печатный ритм: крупная Montserrat-типографика, мягкие многослойные тени (верхний highlight + контактная + ambient), один зелёный акцент, который всегда заливка, и «редакционная» слоистость — плашки-листы с Y-швами между плоским песком. Глубина читается подъёмом поверхностей и отрывом sticky-шапки, а не цветом. Планета — индекс четырёх проектов студии. Дефолт — светлая тема; тёмная (тёплый уголь) аддитивна через тумблер. Контент — только из content/*.md: незаполненное остаётся честной заглушкой, метрики не выдумываются."
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"files": ["variants/variant-b.html", "src/index.html"],
|
||||
"exclude": [],
|
||||
"insertBefore": "</body>",
|
||||
"commentSyntax": "html",
|
||||
"cspChecked": true
|
||||
}
|
||||
Reference in new issue
Block a user