Initial commit
No files matched your search
@@ -0,0 +1,2 @@
|
|||||||
|
# Auto detect text files and perform LF normalization
|
||||||
|
* text=auto
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# Secrets — never commit
|
||||||
|
api/config.php
|
||||||
|
|
||||||
|
# Runtime rate-limit storage
|
||||||
|
var/
|
||||||
@@ -0,0 +1,81 @@
|
|||||||
|
---
|
||||||
|
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,177 @@
|
|||||||
|
{
|
||||||
|
"schemaVersion": 2,
|
||||||
|
"generatedAt": "2026-08-23T23:38:30Z",
|
||||||
|
"title": "Design System: Harvey Monster Team",
|
||||||
|
"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)"]
|
||||||
|
},
|
||||||
|
"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)"]
|
||||||
|
},
|
||||||
|
"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)"]
|
||||||
|
},
|
||||||
|
"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)"]
|
||||||
|
},
|
||||||
|
"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)"]
|
||||||
|
},
|
||||||
|
"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)"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"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." }
|
||||||
|
},
|
||||||
|
"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" }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"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}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"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}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"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}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"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}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Text Input",
|
||||||
|
"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}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FAQ Item",
|
||||||
|
"kind": "button",
|
||||||
|
"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}"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"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."
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,122 @@
|
|||||||
|
# AGENTS.md — Harvey Monster Team Page
|
||||||
|
|
||||||
|
> Single source of truth: analysis, decisions, contracts, handoffs. User-facing docs are RU; this file is EN for token efficiency.
|
||||||
|
> **Карта всех `.md` — `[[INDEX]]` / `INDEX.md`.** Правда по доменам (не дублировать, ссылаться): AGENTS.md = решения/статус (роутер) · PRODUCT.md = аудитория/цель/бренд · DESIGN.md = визуальная система · design/spec.md = дизайн-контракт для кода · docs/cases-template.md = контент-шаблон кейсов.
|
||||||
|
|
||||||
|
## Project
|
||||||
|
|
||||||
|
Landing page for **Harvey Monster Team** — game-dev studio of 5 developers.
|
||||||
|
- Domain: https://harveymonsterteam.ru/
|
||||||
|
- Root: `G:\Project\Haevey_Monster_Team_Page`
|
||||||
|
- Status: **design v2.1 delivered (2026-08-20): hero-планета + hero-бренд HARVEY MONSTER TEAM (D10, ребрендинг UZURON → HMT выполнен design-profile, t_aa225fe5 done), светлая тема (D7) сохранена**. ⚠️ Draft build в `src/` (index.html 7 секций, tokens/base/components.css, main/planet/form.js, partials) — workers self-verified (390/768/1440, AA, form e2e), static-ревью 2026-08-20: PASS (2 субагента), browser-QA таймаут. **Ждёт: отмашка пользователя**; quality gate (t_74cfbd1e) crashed x2 — needs recovery + human review.
|
||||||
|
- TZ source: `Harvey_Team_Page_Notes.md` (analysis of current page + full spec for the new site + analytics module spec).
|
||||||
|
|
||||||
|
## Goal (D0)
|
||||||
|
|
||||||
|
Single-page landing (anchor sections), **light** tech/game-dev style (user override 2026-08-19, see D7; TZ originally mandated dark), desktop + mobile. Team: 5 developers. Design references: midhard.com (visual), kotelov.com (case anatomy).
|
||||||
|
|
||||||
|
## Reference analysis (from TZ)
|
||||||
|
|
||||||
|
| Source | Take |
|
||||||
|
|---|---|
|
||||||
|
| midhard.com | Primary visual/structural ref: dark UI, 3D centerpiece, step cards, portfolio grid, team block, contact form |
|
||||||
|
| kotelov.com | Case card anatomy: Problem → Analytics → UX/UI → Frontend/Backend → Results in numbers |
|
||||||
|
| appfox.ru / app-android.ru | Services grid (stack/platforms/integrations), FAQ, cooperation models (Outstaff / Outsourcing / Fixed Price) |
|
||||||
|
|
||||||
|
## Decisions
|
||||||
|
|
||||||
|
- **D1** Vanilla HTML/CSS/JS, no framework/build. One landing page — SPA tooling is overhead; shared-hosting friendly.
|
||||||
|
- **D2** Hero planet: **both variants in scope** — (1) static loop via `<img src=".../planet_15fps.webp">` (browser handles looping itself; verified in `Work_files/Planet/NOTES.md`), (2) drag-rotate prototype using `seq/` frames + canvas (`clearRect` before every `drawImage`). **Интерактив (drag-rotate) теперь дефолт** (design-улучшение P1, 2026-08-23, t_e1668b1e done); статичный loop — фолбэк (reduced-motion → постер; seq/ недоступно → статичный webp-луп). Poster-first LCP сохраняется (R1/D9).
|
||||||
|
- **D3** Design source of truth = Pencil file. Canonical `.pen` lives at project root (`Harvey_Monster_Team_Page.pen`, Pencil has it open); snapshot at `design/Harvey_Monster_Team_Page.pen`. ⚠️ Pencil MCP does NOT persist `.pen` to disk — after MCP edits the file must be serialized/written manually (design-profile lesson). Implementer consumes `design/spec.md`.
|
||||||
|
- **D4** Mobile-first; breakpoints 390 / 768 / 1440. Hero planet 320×320 (mobile) / 480×480 (desktop) per TZ, centered (`margin: 0 auto`).
|
||||||
|
- **D5** Contact form = trust boundary: client-side validation + POST to backend endpoint (TBD — R4) with server-side validation + rate limiting.
|
||||||
|
- **D6** Analytics module «Буквика» (offline batches ≤1 MB, admin metrics) is **phase 2**, decoupled from the landing. No analytics code in landing v1.
|
||||||
|
- **D7** **Light theme** (user decision 2026-08-19) — overrides the dark-UI mandate in TZ. Brand green (#00CC66 / #3C9D3F) stays as accents; structure, typography, breakpoints unchanged. **Delivered 2026-08-19:** light palette spec §1.1 (27 variables); dark archive §1.1b + `design/archive/Harvey_Monster_Team_Page.dark.pen`.
|
||||||
|
- **D8** **Deployment = self-host**: plain `.html` + PHP (`api/contact.php`), no external hosting/CDN dependency. Deploy: upload static build + `api/` to the user's server. PHP availability confirmed (2026-08-19).
|
||||||
|
- **D9** **Mobile planet = `planet_15fps.webp` (full quality)** (user 2026-08-20, «пока что»): swap target on ≤767 px is the same 4.65 MB webp as desktop (`src/js/planet.js` ANIMATED list). `planet_mobile.webp` (1.45 MB) kept as lighter alternate — revert is a one-line change in planet.js. LCP still poster-first (R1 mechanism intact); the heavy file loads only after window load.
|
||||||
|
- **D10** **Бренд страницы = Harvey Monster Team; UZURON — это ПРОЕКТ студии, не команда** (поправка заказчика 2026-08-20). UZURON попал в макет как hero-бренд из ТЗ-нот (`Harvey_Team_Page_Notes.md`, анализ текущей страницы harveymonsterteam.ru) — заказчик данные не давал, использование как бренда неверно. **Resolved 2026-08-20 (user: «Никак не обыгрывать. просто вместо uzuron должен быть harvey monster team»):** прямая текстовая замена UZURON → HARVEY MONSTER TEAM во всех артефактах — `src/` (index, partials, demo), previews, `design/spec.md` §1.2/§2, `.pen` (корень + design/ + light). Дизайн-переработка НЕ требуется. Планета: alt/aria нейтрализованы → «Планета» (арт — не бренд). UZURON добавлен в портфолио 2026-08-20 как третий кейс (заглушка: «Проект студии», стек/метрики «—», контент от команды).
|
||||||
|
- **D11** **Дизайн-улучшения P1+P2 в дефолте (2026-08-23, kanban t_e1668b1e/t_f40d7e53 done; запись вручную — AGENTS.md защищён от записи для headless-воркеров)** — интерактивная планета (drag-rotate) дефолт с poster-first LCP и фолбэками (обновляет D2); иерархия конверсии: **одна главная CTA «Скачать Лаунчер»** вместо 5 равновесных ghost (те в navbar); движение/микро-взаимодействия + объём/глубина (motion-токены `--ease/--dur-*`, слоистые тени с top-highlight и hover-вариантами, hover-lift карточек/кнопок, точечная сетка hero) + типо-центричный hero (кинетический градиентный H1 — только AA-тёмные стопы, дрейф background-position 8s, без opacity-фейда hero: планета = LCP); scroll-reveal ниже фолди (IntersectionObserver). Всё **аддитивно**; светлая тема (D7) и hero-центр планеты не тронуты; контраст посчитан (стопы/мидпоинты ≥4.5:1), headless-рендер 390/1440/reduced-motion чист.
|
||||||
|
- **D12** **Тёмный режим-тумблер + арт-режиссура медиа (2026-08-23, kanban t_99e106c3 done; запись вручную)** — аддитивная тема `[data-theme='dark']` (AA-токены `--brand-deep #3FCB79`/`--accent-deep #6CC0FF`/`--danger #FF6B6B`/`--line-strong #467153`), no-FOUC bootstrap в `<head>` **до** CSS-паинта, персист localStorage `hm-theme`, toggle 44×44 с `aria-pressed`; **дефолт = светлая (D7 сохранён)**. Кейсы — визуал по R2 (макеты, не реальные данные; UZURON — реальный арт планеты). Фото команды — `src/assets/team/<slug>.webp` с инициалами-фолбэком до реальных фото. Контент (реальные фото/скриншоты/UZURON) — ждём от заказчика, не выдумано.
|
||||||
|
- **D13** **Клиенто-центричная аудитория + артефакты impeccable (2026-08-24)** — заказчик подтвердил: страница ПРЕЖДЕ ВСЕГО для **клиентов** (показать подход, работы, видение разработки + форма связи); **лаунчер относится к ПРОЕКТУ (UZURON), не к странице студии**. Зафиксированы `PRODUCT.md` (аудитория/цель/позиционирование/бренд) и `DESIGN.md` (North Star **Quiet Orbit**, сдержанно-профессиональный/доверие) + `.impeccable/design.json`. ⚠️ **Конфликт**: главная CTA «Скачать Лаунчер» (P1/D11) противоречит клиенто-центричной цели — решается в редизайне. Карточка редизайна: kanban **t_f2ef86db** (ready, design-profile; фаза 1 — анализ+макет, фаза 2 — src).
|
||||||
|
- **D14** **Копия лендинга — клиенто-центричный clarify (2026-08-24, /impeccable clarify)** — по ходу critique (18/32) и согласовано заказчиком: **«Скачать Лаунчер» → «Оставить заявку»** во всех 3 CTA (nav desktop/panel + hero), hero-оффер над фолдом (`hero__subtitle`: «Разрабатываем игры, мобильные приложения и веб-сервисы под ключ»), submit «Отправить» → «Отправить заявку», **слоган «Have fun, play and earn!» → «От прототипа до релиза и поддержки»** (hero + footer + meta description). UZURON-слоган убран из бренда студии (он — проект, D10). Ссылки **Roadmap/Игры НЕ удалены** — заказчик: «там будет наша площадка с нашими играми». **Осталось в редизайне t_f2ef86db:** портфолио-плейсхолдеры (UZURON/NDA «—»), One-Accent зелёного >10% в hero, второй акцент Orbit Blue в кинетичном H1, hover-lift формы, мёртвая ссылка «Новости», `--brand-active` 3.80:1.
|
||||||
|
|
||||||
|
## Design tokens (DELIVERED — design/spec.md §1.1 light, 27 variables; dark archive §1.1b)
|
||||||
|
|
||||||
|
- Palette (v2 light): brand green family (planet ~#3C9D3F, mascots ~#00CC66) as accents over **light** UI neutrals (D7). Full token set + AA contrast table: `design/spec.md` (T1–T3). Dark v1 palette (`$bg #0A100C` etc.) archived in spec history.
|
||||||
|
- Type: Montserrat 700–800 uppercase, letter-spacing 1–2 px (H1–H3); Roboto/Inter 400–500, 14–16 px, lh 1.5 (body).
|
||||||
|
- Hero copy (D14, 2026-08-24): eyebrow + H1 = бренд команды (D10); hero-оффер `hero__subtitle` «Разрабатываем игры, мобильные приложения и веб-сервисы под ключ»; слоган «От прототипа до релиза и поддержки»; CTA row: **Оставить заявку** (главная) / О нас / Новости / Roadmap / Игры / Контакты.
|
||||||
|
- Components named in .pen (contract for code-profile): CaseCard, TeamCard, FormField, FaqItem, PrimaryButton, GhostButton, Badge, SectionHead, MetricStat.
|
||||||
|
|
||||||
|
## Assets inventory
|
||||||
|
|
||||||
|
| Asset | Path | Spec |
|
||||||
|
|---|---|---|
|
||||||
|
| Planet loop | `Work_files/Planet/planet_15fps.webp` | 400×311, 300 frames, 15 s/rev, seamless, alpha, q70, 4.65 MB |
|
||||||
|
| Planet frames (optional) | `Work_files/Planet/seq/` | 300× webp, 5.6 MB total |
|
||||||
|
| Mascots/avatars | `Work_files/Char/1..5.png` | 5× kawaii green aliens, ~1.1 MB total (5.png = 984 KB) |
|
||||||
|
| Pencil design | `design/Harvey_Monster_Team_Page.pen` | stub: frame `bi8Au` 800×600 (P1) |
|
||||||
|
| Design previews | `preview-desktop.html`, `preview-mobile.html` (root) | self-contained HTML-CSS exports of the mockup (v1 dark; update for v2 light) |
|
||||||
|
| Form backend | `api/contact.php` + `api/config.sample.php` + `api/dev-stub.mjs` | PHP endpoint (TG forward, honeypot, rate-limit, 200/400/405/422/429/500) + local Node stub :8787 |
|
||||||
|
|
||||||
|
Perf note: planet 4.65 MB is the LCP risk on mobile (R1).
|
||||||
|
|
||||||
|
## Team roster (Команда)
|
||||||
|
|
||||||
|
| # | Name | Role | Photo |
|
||||||
|
|---|---|---|---|
|
||||||
|
| 1 | Тимур | Frontend, стратегия разработки | реальное фото (ждём от команды) |
|
||||||
|
| 2 | Мария | Product Manager | реальное фото (ждём от команды) |
|
||||||
|
| 3 | Ден | 3D / Animation / Visualization | реальное фото (ждём от команды) |
|
||||||
|
| 4 | Коля | Backend, network setup | реальное фото (ждём от команды) |
|
||||||
|
| 5 | Сергей | Strategy, analytics, planning | реальное фото (ждём от команды) |
|
||||||
|
|
||||||
|
⚠️ **На сайте — реальные фото участников, НЕ маскоты** (решение заказчика 2026-08-19). `Work_files/Char/1..5.png` — только плейсхолдеры в макете Pencil. Имена/роли выше — финальные. Фото положить в `src/assets/team/` (имя-по-номеру или slug), формат WebP/JPEG ≤ 100 КБ каждое.
|
||||||
|
|
||||||
|
## Cases (Портфолио)
|
||||||
|
|
||||||
|
- Fill-in template: `docs/cases-template.md` (kotelov.com anatomy: Задача → Аналитика → UX/UI → Разработка → Результаты в цифрах).
|
||||||
|
- Real content (cases, metrics) provided by team — pending; cards use template placeholders until then.
|
||||||
|
|
||||||
|
## Structure
|
||||||
|
|
||||||
|
```
|
||||||
|
AGENTS.md # this file — source of truth (роутер + решения D0–D13, R1–R4)
|
||||||
|
INDEX.md # карта всех .md (Obsidian MOC) + иерархия правды
|
||||||
|
PRODUCT.md # продукт-правда: аудитория, цель, позиционирование, бренд
|
||||||
|
DESIGN.md # визуальная система: палитра, типографика, компоненты, правила
|
||||||
|
(kanban: Hermes system board `team-page` — `hermes kanban boards switch team-page`)
|
||||||
|
design/ # Pencil .pen + spec.md (design-profile owns)
|
||||||
|
docs/ # user-facing RU docs, exported specs, decisions
|
||||||
|
src/ # implementation (code-profile): index.html,
|
||||||
|
# css/{tokens,base,components}.css,
|
||||||
|
# js/{main,planet,form}.js, assets/
|
||||||
|
Work_files/ # raw assets (source; build copies only used files)
|
||||||
|
```
|
||||||
|
|
||||||
|
## Risks
|
||||||
|
|
||||||
|
- **R1** Planet 4.65 MB → LCP risk on mobile. **Resolved (2026-08-19, default profile):** `Work_files/Planet/planet_mobile.webp` — 320×249, 150 frames, 10 fps, 15 s/rev, q50/cl6, **1.45 MB**, alpha + seamless preserved (seam_ratio 1.23). Source caveat: re-encoded from seq600 (q70 lossy), PNG masters absent in this copy — acceptable for mobile. Probe table + repro command in NOTES.md «Mobile variant». Landing uses `<picture>`/srcset: poster-first LCP (10–16 KB posters), animated swap post-load: ≤768 px → `planet_15fps.webp` (**D9**, 2026-08-20), desktop → `planet_15fps.webp`. Smoothness trade-off of mobile variant: 2.4°/frame vs 1.2° desktop; lighter alt = `planet_mobile.webp` (1.45 MB, 10 fps).
|
||||||
|
- **R2** NDA projects — **resolved (2026-08-19):** shown as **mockup/layout only** (макеты), never real client data or deliverables. Rule baked into `docs/cases-template.md`.
|
||||||
|
- **R3** Design gap — **resolved (2026-08-19):** full token set + layouts + states delivered (design/spec.md). ⚠️ Pencil MCP doesn't save `.pen` to disk — serialize manually after edits.
|
||||||
|
- **R4** Form backend — **implemented (api/, option a: PHP + TG forward), credentials deferred**. BOT_TOKEN/TG_CHAT_ID: NOT provided yet (user 2026-08-19: «пока оставь, заложи возможность») — mechanism ready via `config.sample.php` → `config.php` (gitignored); dev uses `node api/dev-stub.mjs` (127.0.0.1:8787). Self-host PHP confirmed (D8) → prod endpoint deployable when token arrives.
|
||||||
|
|
||||||
|
## Handoffs
|
||||||
|
|
||||||
|
- **design-profile** (delivered 2026-08-19, both): v1 dark → archive (`design/archive/`); **v2 light final** — spec §1.1, `.pen` (root + `design/*.light.pen` snapshots), previews updated. Implementation unblocked.
|
||||||
|
- **code-profile**: implements `src/` from `design/spec.md`. Quality gates below.
|
||||||
|
- **default** (dispatched 2026-08-19): mobile planet variant `planet_mobile.webp` ≤1.5 MB via its ffmpeg/webp pipeline → `Work_files/Planet/`.
|
||||||
|
|
||||||
|
## Blocked
|
||||||
|
|
||||||
|
- [x] ~~Ребрендинг hero/navbar~~ → **closed 2026-08-20 (D10)**: прямая текстовая замена, дизайнер не нужен, kanban-карточка не создавалась.
|
||||||
|
- [x] ~~Дизайн-задача v2.1~~ → **closed 2026-08-20 (kanban t_aa225fe5 done)**: live-канвас Pencil синхронизирован с D10 — 8 текстовых узлов HARVEY MONSTER TEAM (Logo/HeroEyebrow/HeroTitle/FootCopy + мобильные), UZURON в .pen = 0; hero-планета PlanetStage 480×480 (desktop) / 320×320 (mobile), image-fill planet_static.png (прод — анимированный webp); светлая тема (D7) не тронута. spec.md §2 + preview-desktop/mobile регенерированы (HARVEY ×4, UZURON ×0). .pen пересобран вручную (корень + design/ + design/.light.pen — 116,575 B, 261 узел, 9 reusable, 94 refs валидны, fileToken сохранён).
|
||||||
|
- [ ] Quality gate t_74cfbd1e #blocked/awaiting-quality-profile (упал ×2, `pid not alive` — **среда профиля, не код**; static-ревью CSS/HTML/JS выполнено 2026-08-20 — PASS, см. кэш делегирования; browser-QA субагент таймаутнулся 600s — прогнать вручную: `python -m http.server 8765` + `node api/dev-stub.mjs`; восстановить: `hermes kanban` → reassign на рабочий профиль или set-model, затем reclaim)
|
||||||
|
- [ ] Контент UZURON → kanban **t_3d0db0a8 triage** (default): данные по проекту обещаны заказчиком, повторная проверка 2026-08-23 — **НЕ поступили** (карточка/файлы проекта/сессии/viking/публичный сайт — пусто). Для заполнения нужны (по `docs/cases-template.md`): описание продукта/ЦА, платформы, движок/стек, статус+дата релиза, метрики (DAU/загрузки/retention), срок разработки/состав/ссылка. Выдумывать нельзя — только реальные или явно оценочные метрики.
|
||||||
|
- [ ] Актуальные направления дизайна → kanban **t_68beb4a3 triage** (design-profile, создано 2026-08-22 @dashboard): ресёрч актуальных дизайнов/направлений для сайтов-studio + определить, что сейчас актуально, и предложить идеи улучшения текущего макета.
|
||||||
|
|
||||||
|
## Quality gates (DoD)
|
||||||
|
|
||||||
|
- **Integrity**: functional, reproducible, doesn't break existing workspace/system state.
|
||||||
|
- **Performance**: weight budget stated (target first paint incl. planet < 6 MB), DOM depth sane, LCP < 2.5 s on 4G.
|
||||||
|
- **A11y**: WCAG 2.1 AA — contrast, focus order, keyboard nav, `prefers-reduced-motion`.
|
||||||
|
- **Security**: all form inputs untrusted by default; server-side validation mandatory.
|
||||||
@@ -0,0 +1,232 @@
|
|||||||
|
---
|
||||||
|
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.
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
> ⚠️ **Исторический источник (original TZ)** — анализ старой страницы harveymonsterteam.ru + исходная спека + спека модуля аналитики «Буквика» (фаза 2, D6). Актуальная правда: [[AGENTS]] (решения) / [[PRODUCT]] / [[DESIGN]] / [[spec]]. Не SoT — только исходные данные.
|
||||||
|
|
||||||
|
1. Анализ текущей страницы ([https://harveymonsterteam.ru/](https://harveymonsterteam.ru/))Планета / 3D-объект / Центральный графический элемент:Разрешение и размеры: Объект вписан в центральный контейнер первого экрана. Адаптивный размер контейнера составляет от 280×280 px до 320×320 px на мобильных устройствах и от 400×400 px до 480×480 px (максимально 500×500 px) на десктопных экранах.Расположение: По центру экрана (display: flex; justify-content: center; align-items: center;), позиционирование относительно первого блока Hero (margin: 0 auto;).Надписи и текстовые блоки:Главный заголовок: UZURON (или логотип команды/проекта).Подзаголовок / Сlogan: Have fun, play and earn!Кнопки / CTA: Скачать Лаунчер, О нас, Новости, Roadmap, Игры, Контакты.Типографика и шрифты:Основная гарнитура (Font Family): Без засечек, санс-сериф класс — Montserrat, Roboto или системный sans-serif.Параметры заголовков (H1 / Logo): Шрифт жирный (font-weight: 700 или 800), заглавные буквы (text-transform: uppercase), увеличенный межбуквенный интервал (letter-spacing: 1px – 2px).Параметры подзаголовка / описаний: font-weight: 400 / 500, размер от 14px до 18px.2. Экспресс-анализ референсов из диалогаmidhard.com (Выбран командой как главный визуальный и структурный ориентир):Визуальный стиль: Тёмный технологичный/геймдев-дизайн (Dark UI), контрастные акцентные цвета, крупный акцент на 3D/графику.Ключевые блоки: Пошаговая схема работы («Этапы разработки»), гибкая карточная сетка портфолио с фильтрацией по платформам/движкам, лаконичный блок команды и контактная форма.kotelov.com (Ориентир для структуры кейсов):Формат подачи кейсов: Глубокая декомпозиция проекта по шагам: Проблема/Задача $\rightarrow$ Аналитика $\rightarrow$ UX/UI Проектирование $\rightarrow$ Frontend/Backend Разработка $\rightarrow$ Результаты в цифрах.Визуализация: Интерактивные гифки, видеодемонстрации интерфейса, чёткие информационные блоки.appfox.ru и app-android.ru (Проанализированы как конкуренты):Плюсы для заимствования: Наглядная сетка оказываемых услуг (указание стека, платформ, интеграций), четкие блоки FAQ и варианты сотрудничества (Outstaff / Outsourcing / Fixed Price).3. Полное ТЗ для AI-агента (Разработка сайта + Модуль аналитики)Блок 1. Технические параметры UI/UX и ТипографикиТема и стиль: Dark UI, технологичный GameDev/IT-стиль по аналогии с midhard.com.Шрифтовая система:Заголовки (H1-H3): Montserrat, sans-serif, font-weight: 700-800, Uppercase, letter-spacing: 1px-2px.Основной текст: Roboto / Inter, font-weight: 400-500, размер 14px-16px, межстрочный интервал 1.5.Геометрия Hero-блока:Центральный интерактивный 3D-элемент (планета/сфера): рендер в адаптивном холсте/контейнере размером 320×320 px (Mobile) / 480×480 px (Desktop), выравнивание строго по центру (margin: 0 auto).Блок 2. Структура страниц и элементов сайтаHero Section:Заголовок: Custom software for business automation & Game Development.Подзаголовок: Создаем удобные мобильные приложения, игры и веб-сервисы.Кнопки: «Обсудить проект», «Смотреть кейсы».Блок «О нас & Стек технологий»:Описание профиля и экспертизы студии.Бейджи/карточки стека разработок (Unreal Engine, Godot, React, Node.js, PythLine truncated
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
---
|
||||||
|
title: Harvey Monster Team — карта источников
|
||||||
|
tags: [moc, harvey-monster-team]
|
||||||
|
---
|
||||||
|
# Harvey Monster Team — карта источников
|
||||||
|
|
||||||
|
> **Единый source of truth.** Эта заметка — карта всех `.md` проекта: что где лежит и какую правду читать. Открой папку проекта как хранилище (vault) в Obsidian — граф покажет связи между заметками.
|
||||||
|
|
||||||
|
## Иерархия правды (что читать для чего)
|
||||||
|
|
||||||
|
| Что нужно | Читай |
|
||||||
|
|---|---|
|
||||||
|
| Решения (D0–D13), риски (R1–R4), статус, этапы, хэндоффы | **[[AGENTS]]** |
|
||||||
|
| Продукт: аудитория, цель, позиционирование, бренд-обязательства, evidence | **[[PRODUCT]]** |
|
||||||
|
| Визуальная система: палитра, типографика, layout, тени, компоненты, правила | **[[DESIGN]]** |
|
||||||
|
| Дизайн-контракт для кода: токены, состояния, структура секций (RU) | **[[spec]]** |
|
||||||
|
| Контент-шаблон кейса портфолио (anatomy kotelov) | **[[cases-template]]** |
|
||||||
|
| Планета: производство, варианты, probe / repro | **[[NOTES]]** |
|
||||||
|
| Фото команды: нейминг, формат | **[[README]]** |
|
||||||
|
| Исходное ТЗ (анализ старой страницы + спека; исторический источник) | **[[Harvey_Team_Page_Notes]]** |
|
||||||
|
|
||||||
|
## Правило единой правды
|
||||||
|
|
||||||
|
- **[[AGENTS]]** — роутер и реестр решений. Читается первым; содержит только решения/статус/этапы, не переписывает контент.
|
||||||
|
- Продуктовая правда → **[[PRODUCT]]**. Визуальная правда → **[[DESIGN]]**. Код-контракт → **[[spec]]**.
|
||||||
|
- **Не дублируй.** Если факт уже есть в PRODUCT / DESIGN / spec — ссылайся на него, а не переписывай в другом файле. Duplication → drift.
|
||||||
|
- Правка: продукт → `PRODUCT.md`; визуал → `DESIGN.md`; макет/токены → `design/spec.md`; решение/статус → `AGENTS.md`.
|
||||||
|
|
||||||
|
## Карта связей (для графа Obsidian)
|
||||||
|
|
||||||
|
```
|
||||||
|
AGENTS ──► PRODUCT, DESIGN, spec, cases-template, NOTES, Harvey_Team_Page_Notes
|
||||||
|
PRODUCT ──► DESIGN (бренд-обязательства → визуальная система)
|
||||||
|
DESIGN ──► spec, PRODUCT (токены → код-контракт)
|
||||||
|
```
|
||||||
|
|
||||||
|
## Открыть как хранилище
|
||||||
|
|
||||||
|
Obsidian → «Открыть папку как хранилище» → `G:\Project\Haevey_Monster_Team_Page` (или директорию выше, если нужен более широкий контекст). Граф (Ctrl+G) покажет эти заметки и их связи.
|
||||||
@@ -0,0 +1,62 @@
|
|||||||
|
# Product
|
||||||
|
|
||||||
|
<!-- impeccable:product-schema 1 -->
|
||||||
|
|
||||||
|
## Platform
|
||||||
|
|
||||||
|
web
|
||||||
|
|
||||||
|
## Users
|
||||||
|
|
||||||
|
Primary: prospective clients / partners evaluating Harvey Monster Team as a game-dev & web-services studio. They land to see the studio's **approach, portfolio and vision of development**, and to reach out through the contact form. Confirmed 2026-08-24 (user): «Это страница для клиентов в основном, показывающая наш подход, работы и наше видение разработки, и форма связи с нами.» No player-facing audience is primary; the in-game launcher is a project artifact, not the studio page's offer.
|
||||||
|
|
||||||
|
## Product Purpose
|
||||||
|
|
||||||
|
Single-page landing for Harvey Monster Team, a game-dev studio of 5 developers (frontend/strategy, PM, 3D-animation, backend/network, strategy-analytics). It exists to win client trust: present the measurable process (Задача → Аналитика → UX/UI → Разработка → Результат в цифрах), showcase portfolio and the team, and convert interest into a contact-form lead. Success = a client inquiry/lead. The page sells the studio's approach and credibility, not a product download.
|
||||||
|
|
||||||
|
## Positioning
|
||||||
|
|
||||||
|
Turnkey game & digital-product development from a small senior team — «игры, мобильные приложения и веб-сервисы под ключ: от прототипа до релиза и поддержки.» Mechanism: a transparent, measurable case anatomy (kotelov.com) plus real in-studio execution across Godot/Unreal/Unity/React/Node.js/Python/C++/Rust/WebGL/PostgreSQL/Docker/CI/CD. The distinguishing claim is end-to-end, measurable, in-studio delivery — not a design-only agency and not an outsourced body-shop.
|
||||||
|
|
||||||
|
## Operating Context
|
||||||
|
|
||||||
|
- Domain https://harveymonsterteam.ru/; self-hosted static build. PHP only for the form endpoint (D8).
|
||||||
|
- Design truth = Pencil mockup (canonical `Harvey_Monster_Team_Page.pen` at root; snapshot `design/…pen`) + `design/spec.md` (tokens §1, structure §2, components/states §3); previews `preview-desktop.html` / `preview-mobile.html`.
|
||||||
|
- Contact form is a trust boundary: client-side + server-side validation, rate limiting, honeypot (`api/contact.php`; `config.php` gitignored).
|
||||||
|
- Review loop uses Pencil (GUI) against the live doc; `.pen` is NOT auto-persisted by the MCP — it must be serialized/written manually after MCP edits.
|
||||||
|
|
||||||
|
## Capabilities and Constraints
|
||||||
|
|
||||||
|
- Static, no-framework: Vanilla HTML/CSS/JS on shared hosting (D1, D8). Mobile-first; breakpoints 390 / 768 / 1440 (D4).
|
||||||
|
- Light theme default (D7) + dark-mode toggle `[data-theme='dark']` with no-FOUC bootstrap, localStorage persist `hm-theme` (D12). Brand green (#00CC66 fill / deep #007A3F text) as accents; AA contrast table in spec §1.1.
|
||||||
|
- Hero planet: `planet_15fps.webp` loop; drag-rotate default, poster-first LCP with reduced-motion/seq-fallback (D2/D9/D11).
|
||||||
|
- Sections: Navbar · Hero · О нас + стек · Портфолио · Команда · Контакты (FAQ + form) · Footer.
|
||||||
|
- **UZURON = a project of the studio, not the brand** (D10): brand is HARVEY MONSTER TEAM; UZURON appears only as one portfolio case / the planet's symbol.
|
||||||
|
- **Resolved 2026-08-24 (/impeccable clarify, D14):** the launcher CTA was retargeted to a client action — the single primary CTA is now «Оставить заявку» → `#contacts` (nav + hero), with a client offer line above the fold («Разрабатываем игры, мобильные приложения и веб-сервисы под ключ») and an end-to-end slogan («От прототипа до релиза и поддержки»). The launcher remains an UZURON project artifact, linked from its own case card; it is no longer the studio page's primary conversion.
|
||||||
|
|
||||||
|
## Brand Commitments
|
||||||
|
|
||||||
|
- Name: HARVEY MONSTER TEAM (D10). Studio tagline: «От прототипа до релиза и поддержки» (hero + footer, D14 2026-08-24). «Have fun, play and earn!» = the UZURON project slogan, not the studio brand.
|
||||||
|
- Light theme (D7) — user-mandated override of the original dark TZ.
|
||||||
|
- Brand green family as accents over light neutrals; Montserrat 700–800 uppercase headings (H1–H3, eyebrow, buttons, metrics), Roboto 400–500 body (spec §1.2).
|
||||||
|
- Team block = real participant photos, NOT mascots (user decision 2026-08-19). Mascots (`Work_files/Char/1..5.png`) are Pencil placeholders only.
|
||||||
|
|
||||||
|
## Evidence on Hand
|
||||||
|
|
||||||
|
- Planet loop `Work_files/Planet/planet_15fps.webp` (400×311, seamless, alpha; details in `Work_files/Planet/NOTES.md`); mobile alt `planet_mobile.webp` (1.45 MB).
|
||||||
|
- Mascots `Work_files/Char/1..5.png` — Pencil placeholders only, not shipped team visuals.
|
||||||
|
- Pencil mockup + `design/spec.md` (tokens, structure, component states).
|
||||||
|
- **Pending from the team (not fabricated):** real case metrics, team photos, real screenshots. Re-check 2026-08-23 — UZURON content still not received. NDA projects shown as mockups only (R2).
|
||||||
|
- Team roster (final): Тимур (Frontend, стратегия разработки) · Мария (Product Manager) · Ден (3D / Animation / Visualization) · Коля (Backend, network setup) · Сергей (Strategy, analytics, planning).
|
||||||
|
|
||||||
|
## Product Principles
|
||||||
|
|
||||||
|
- Client-first: the page sells the studio's approach, process and credibility to prospective clients; the contact form is the conversion point.
|
||||||
|
- Measurable process: present work through Задача → Аналитика → UX/UI → Разработка → Результат anatomy with real numbers (supplied by the team).
|
||||||
|
- No fabrication: never invent case metrics, team photos or client data; keep placeholders explicit and wait for real content (R2).
|
||||||
|
- Performance + A11y budget: poster-first LCP, WCAG 2.1 AA, `prefers-reduced-motion`, weight budget per DoD.
|
||||||
|
- Continuity with the confirmed world: keep D7 light theme and brand green; the planet is the hero symbol.
|
||||||
|
|
||||||
|
## Accessibility & Inclusion
|
||||||
|
|
||||||
|
- WCAG 2.1 AA (DoD): contrast per spec §1.1 AA table, keyboard nav / focus order, aria labels, skip-link, motion gated behind `prefers-reduced-motion: no-preference`. No product-specific requirement beyond the AA standard.
|
||||||
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 961 KiB |
@@ -0,0 +1,93 @@
|
|||||||
|
# Planet — export settings (locked 2026-08-18)
|
||||||
|
|
||||||
|
## Source
|
||||||
|
- 601 PNG, 700×700, RGBA (alpha), `Planet_4.0000.png … Planet_4.0600.png`
|
||||||
|
- 24 fps → 25.04 s per revolution (601 frames ≈ 360°)
|
||||||
|
|
||||||
|
## Deliverables (`G:\Project\Association\Work_files\Planet`)
|
||||||
|
|
||||||
|
| File | Frames | FPS | Duration | Size | Res |
|
||||||
|
|---|---|---|---|---|---|
|
||||||
|
| `planet.webp` | 601 (all + loop frame) | 30 | 20.0 s/rev | 9.32 MB | 400×311 |
|
||||||
|
| `planet_15fps.webp` | 300 (odd 1,3,…,599) | 20 | **15.0 s**/rev | 4.65 MB | 400×311 |
|
||||||
|
| `planet_mobile.webp` | 150 (every 4th) | 10 | 15.0 s/rev | 1.45 MB | 320×249 |
|
||||||
|
| `seq/Planet_seq_0001..0300.webp` | 300 (odd) | — | per-frame | 5.6 MB total | 400×311 |
|
||||||
|
| `seq600/Planet_seq600_0001..0600.webp` | 600 | — | per-frame | 11 MB total | 400×311 |
|
||||||
|
|
||||||
|
All: WebP lossy **q70**, **alpha**, **loop 0** (infinite), open access (Everyone: R).
|
||||||
|
|
||||||
|
### Loop seamlessness (verified programmatically, 2026-08-18)
|
||||||
|
- Source: 601 frames = 359.4° + 0.6° (not exactly 360°).
|
||||||
|
- `planet.webp` (601 frames, 30fps): seam 600→0 = 0.6° = normal step, ratio 1.2 — within step variance. ✓
|
||||||
|
- `planet_15fps.webp`: odd selection 1,3,…,599 (seam ratio 1.34, least-bad; even selections are worse: 300→1.36 jump, 301→0.84 hold).
|
||||||
|
- ANMF flags: blend=0, dispose=0, full canvas — browser cannot layer frames.
|
||||||
|
- ⚠️ Do NOT measure the seam with a diff metric AFTER hqdn3d: temporal denoise shrinks consecutive-frame diffs and inflates the seam (14 vs 7.4 = false alarm). Measure on raw frames.
|
||||||
|
|
||||||
|
## Encoding parameters (smooth variant = `planet.webp`)
|
||||||
|
- Frames: **all 601** (0..600; frame 600 = loop-closing ≈ frame 0). Seam 600→0 = normal step (ratio 1.2, in-range)
|
||||||
|
- Speed: **30 fps** = 20 s per revolution (faster than source 25 s; for 25 s use 24 fps, for 40 s use 15 fps; fps does not affect size)
|
||||||
|
- Canvas: 400×311 (crop to union alpha bbox: rows 49..587, cols 3..695 — empty top/bottom removed, protruding car kept)
|
||||||
|
- Quality: q70 (q60–q75 visually identical on this content)
|
||||||
|
- **Edge defringe**: semi-transparent boundary pixels recolored to nearest opaque color (were near-black RGB 7,8,7 → dark halo on site bg; now 66,109,78)
|
||||||
|
- **RGB under α=0** filled with surface color (60,157,63) — protects against lossy-encoder chroma smearing into the visible edge
|
||||||
|
- **Denoise** `hqdn3d=4:3:6:4.5` — removes lossy-WebP temporal shimmer, saves ~35% size. ⚠️ **CRITICAL: hqdn3d does not support yuva420p and silently drops alpha** (RGBA→yuv420p). Alpha-preserving chain required:
|
||||||
|
`-vf "split=2[a][b];[a]hqdn3d=4:3:6:4.5[c];[b]alphaextract[d];[c][d]alphamerge"`
|
||||||
|
|
||||||
|
## Reproduction
|
||||||
|
```bash
|
||||||
|
# 1. preprocessing (crop+defringe+fill) — script process.py, see session history
|
||||||
|
# 2. encode (alpha preserved):
|
||||||
|
ffmpeg -y -framerate 30 -i "tmp_frames/f%04d.png" \
|
||||||
|
-vf "split=2[a][b];[a]hqdn3d=4:3:6:4.5[c];[b]alphaextract[d];[c][d]alphamerge" \
|
||||||
|
-c:v libwebp -quality 70 -loop 0 planet.webp
|
||||||
|
# 15fps/15s variant: -frames:v 300 -framerate 40 -vf "...alphamerge,select='mod(n\,2)'" (input 40fps → selected 20fps = 50ms)
|
||||||
|
# seq600 (600 frames): -frames:v 600, no select
|
||||||
|
# seq (300 frames): -frames:v 300 + select odd
|
||||||
|
```
|
||||||
|
⚠️ With `select`, the input framerate must be 2× the target output rate (input 40 → output 20), otherwise timestamps survive and the duration doubles. Do NOT use the `fps` filter for re-timing — it RESAMPLES (duplicates frames) instead of re-stamping.
|
||||||
|
|
||||||
|
## Site embedding (important — “frame layering”)
|
||||||
|
Symptom «layers of old frames, resetting at cycle restart» = **naive playback-side compositing**, NOT a file defect. Proven: ANMF blend=0, dispose=0, full canvas (spec forbids accumulation); decode clean (each frame = own content, err 6.0 vs 7.7 for neighbors); naive drawImage-without-clear simulation reproduces the symptom (ghost up to 254 in the margin over 40 frames).
|
||||||
|
- ✅ Correct: `<img src="planet.webp">` directly — browser replaces frames, no accumulation.
|
||||||
|
- ✅ Canvas/JS with a sequence: **always `ctx.clearRect(0,0,w,h)` before each `drawImage`** — transparent pixels do not erase the canvas; without clearing, layers accumulate.
|
||||||
|
- ⚠️ If “layering” is visible even in a plain `<img>` — the player/composer preview renders WebP ignoring the flags (player bug; the file is clean).
|
||||||
|
|
||||||
|
## LCP posters (planet_poster*.webp, 2026-08-19, perf card t_d7e3d206)
|
||||||
|
Frame 0 stills of the animated loops, used as the LCP-critical image (poster-first pattern, R1):
|
||||||
|
| File | Source | Res | Size |
|
||||||
|
|---|---|---|---|
|
||||||
|
| `planet_poster_mobile.webp` | frame 0 of planet_mobile.webp | 320×249 | 10.5 KB |
|
||||||
|
| `planet_poster.webp` | frame 0 of planet_15fps.webp | 400×311 | 16.5 KB |
|
||||||
|
Encoding: PIL `frame.convert("RGBA").save(out, "WEBP", quality=75, method=6)` — see `make_posters.py`.
|
||||||
|
Landing markup: plain `<img>`+srcset (`320w`/`400w`, `sizes="(min-width:768px) 480px, 320px"`), `fetchpriority="high"`, `decoding="async"`; planet.js swaps to the animated webp after `window.load`. ⚠️ With `srcset` present, `img.src` changes are ignored — JS must `removeAttribute('srcset')` before swapping.
|
||||||
|
Measured (CDP, emulated 4G 1.6 Mbps/150 ms RTT): LCP 1.2 s mobile + desktop; animated webp loads in background post-LCP (mobile 1.45 MB ≈ 7.6 s, desktop 4.65 MB ≈ 23 s).
|
||||||
|
|
||||||
|
## Mobile variant (planet_mobile.webp, 2026-08-19)
|
||||||
|
Source: seq600 per-frame WebP (already q70 lossy — no PNG masters on disk; re-encode from there).
|
||||||
|
Probes (all: alpha preserved, loop 0, 15.0 s/rev, alpha-preserving hqdn3d chain, defringe inherited from source):
|
||||||
|
|
||||||
|
| Probe | Frames | Res | Q | cl | Size | MAE* | Adj-step† |
|
||||||
|
|---|---|---|---|---|---|---|---|
|
||||||
|
| p1_q55_320 | 200 (every 3rd) | 320×249 | 55 | 4 | 2.05 MB | 8.73 | 9.82 |
|
||||||
|
| p6_q50_150fr | 150 (every 4th) | 320×249 | 50 | 4 | 1.50 MB | 8.98 | — |
|
||||||
|
| **p7 → `planet_mobile.webp`** | **150 (every 4th)** | **320×249** | **50** | **6** | **1.45 MB** | **9.02** | **11.22** |
|
||||||
|
| p8_q45_150fr | 150 | 320×249 | 45 | 4 | 1.45 MB | 9.13 | — |
|
||||||
|
| p9_q50_300 | 150 | 300×233 | 50 | 6 | 1.32 MB | 9.15 | 11.18 |
|
||||||
|
| p10_q50_120fr | 120 (every 5th) | 320×249 | 50 | 6 | 1.16 MB | 9.08 | 12.47 |
|
||||||
|
|
||||||
|
*MAE vs source frame scaled to probe res (opaque px, RGB). †adjacent-frame MAE = stepping proxy: 150fr = +14% vs 200fr, 120fr = +27%.
|
||||||
|
Encoding (from seq600, input 40fps so select re-stamps to 10 fps → 15 s/rev):
|
||||||
|
```bash
|
||||||
|
ffmpeg -y -framerate 40 -i "seq600/Planet_seq600_%04d.webp" \
|
||||||
|
-vf "split=2[a][b];[a]hqdn3d=4:3:6:4.5[c];[b]alphaextract[d];[c][d]alphamerge,select='not(mod(n\,4))',scale=320:249:flags=lanczos" \
|
||||||
|
-frames:v 150 -c:v libwebp -quality 50 -compression_level 6 -loop 0 planet_mobile.webp
|
||||||
|
```
|
||||||
|
Seam verified: seam_ratio 1.23 ≈ internal step (2.4°/frame) — seamless. Trade-off: 10 fps / 2.4° per frame is slightly steeper than desktop variants (1.2°); acceptable on mobile hero. If smoother is preferred use 200-frame q45 (≈1.85 MB) or drop to q45/120fr (1.16 MB, p10).
|
||||||
|
|
||||||
|
## Speed (single number to change)
|
||||||
|
| Desired revolution | fps | Command |
|
||||||
|
|---|---|---|
|
||||||
|
| 20 s (current 30fps file) | 30 | as above |
|
||||||
|
| 15 s (current 15fps file) | 20 | `-framerate 40` + odd select |
|
||||||
|
| 25 s (like source) | 24 | `-framerate 24` |
|
||||||
|
| 40 s (slower) | 15 | `-framerate 15` |
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
"""Extract first frame + generate small static posters from animated webp."""
|
||||||
|
import sys
|
||||||
|
from PIL import Image
|
||||||
|
|
||||||
|
def main():
|
||||||
|
srcs = [
|
||||||
|
("Work_files/Planet/planet_mobile.webp", "Work_files/Planet/planet_poster_mobile.webp", 320),
|
||||||
|
("Work_files/Planet/planet_15fps.webp", "Work_files/Planet/planet_poster.webp", 400),
|
||||||
|
]
|
||||||
|
for src, out, max_w in srcs:
|
||||||
|
im = Image.open(src)
|
||||||
|
im.seek(0)
|
||||||
|
frame = im.convert("RGBA")
|
||||||
|
# downscale to the file's native width if larger
|
||||||
|
if frame.width > max_w:
|
||||||
|
h = round(frame.height * max_w / frame.width)
|
||||||
|
frame = frame.resize((max_w, h), Image.LANCZOS)
|
||||||
|
frame.save(out, "WEBP", quality=75, method=6)
|
||||||
|
import os
|
||||||
|
print(f"{out}: {frame.size} {os.path.getsize(out)} bytes")
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
|
After Width: | Height: | Size: 9.7 MiB |
|
After Width: | Height: | Size: 4.9 MiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 135 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 18 KiB |