618 lines
33 KiB
JSON
618 lines
33 KiB
JSON
{
|
||
"schemaVersion": 2,
|
||
"generatedAt": "2026-09-14T12:32:17Z",
|
||
"title": "Design System: Harvey Monster Team (вариант B)",
|
||
"extensions": {
|
||
"colorMeta": {
|
||
"bg": {
|
||
"role": "neutral",
|
||
"displayName": "Warm Parchment",
|
||
"canonical": "#F5EEE2",
|
||
"tonalRamp": [
|
||
"#392B14",
|
||
"#5F4821",
|
||
"#85652E",
|
||
"#AB813B",
|
||
"#C49B54",
|
||
"#D1B17A",
|
||
"#DEC7A0",
|
||
"#EBDEC6",
|
||
"#F8F4EC"
|
||
]
|
||
},
|
||
"card": {
|
||
"role": "neutral",
|
||
"displayName": "Warm Paper",
|
||
"canonical": "#FFFCF7",
|
||
"tonalRamp": [
|
||
"#4D3000",
|
||
"#805000",
|
||
"#B37000",
|
||
"#E68F00",
|
||
"#FFA91A",
|
||
"#FFBC4D",
|
||
"#FFCF80",
|
||
"#FFE2B3",
|
||
"#FFF5E5"
|
||
]
|
||
},
|
||
"hairline": {
|
||
"role": "neutral",
|
||
"displayName": "Soft Warm Hairline",
|
||
"canonical": "#E6DCCE",
|
||
"tonalRamp": [
|
||
"#33281A",
|
||
"#54432B",
|
||
"#765E3C",
|
||
"#98794E",
|
||
"#B19267",
|
||
"#C3AB89",
|
||
"#D4C3AB",
|
||
"#E5DBCC",
|
||
"#F6F3EE"
|
||
]
|
||
},
|
||
"line-strong": {
|
||
"role": "neutral",
|
||
"displayName": "Strong Warm Line",
|
||
"canonical": "#847863",
|
||
"tonalRamp": [
|
||
"#2C2821",
|
||
"#494237",
|
||
"#665D4D",
|
||
"#837762",
|
||
"#9D917C",
|
||
"#B3A999",
|
||
"#C8C2B6",
|
||
"#DEDAD3",
|
||
"#F4F3F0"
|
||
]
|
||
},
|
||
"media-1": {
|
||
"role": "neutral",
|
||
"displayName": "Media Tint Sage",
|
||
"canonical": "#EAF4EE",
|
||
"tonalRamp": [
|
||
"#1A3224",
|
||
"#2C543C",
|
||
"#3D7554",
|
||
"#4F976C",
|
||
"#68B085",
|
||
"#8AC2A0",
|
||
"#ABD3BB",
|
||
"#CDE5D6",
|
||
"#EEF6F1"
|
||
]
|
||
},
|
||
"media-2": {
|
||
"role": "neutral",
|
||
"displayName": "Media Tint Moss",
|
||
"canonical": "#DFEBE4",
|
||
"tonalRamp": [
|
||
"#1D2F25",
|
||
"#314E3D",
|
||
"#456E56",
|
||
"#588D6E",
|
||
"#72A788",
|
||
"#91BAA2",
|
||
"#B1CEBD",
|
||
"#D0E2D7",
|
||
"#EFF5F2"
|
||
]
|
||
},
|
||
"media-3": {
|
||
"role": "neutral",
|
||
"displayName": "Media Tint Stone",
|
||
"canonical": "#EDEBE6",
|
||
"tonalRamp": [
|
||
"#2C2920",
|
||
"#4A4435",
|
||
"#685F4B",
|
||
"#857B60",
|
||
"#9F947A",
|
||
"#B4AC97",
|
||
"#CAC4B5",
|
||
"#DFDBD3",
|
||
"#F4F3F0"
|
||
]
|
||
},
|
||
"media-4": {
|
||
"role": "neutral",
|
||
"displayName": "Media Tint Sand",
|
||
"canonical": "#F2E7D8",
|
||
"tonalRamp": [
|
||
"#392913",
|
||
"#604520",
|
||
"#86602D",
|
||
"#AC7C39",
|
||
"#C69553",
|
||
"#D2AD79",
|
||
"#DFC49F",
|
||
"#ECDCC6",
|
||
"#F9F3EC"
|
||
]
|
||
},
|
||
"text-1": {
|
||
"role": "neutral",
|
||
"displayName": "Ink",
|
||
"canonical": "#211E18",
|
||
"tonalRamp": [
|
||
"#2C2820",
|
||
"#4A4336",
|
||
"#675E4B",
|
||
"#857961",
|
||
"#9E927A",
|
||
"#B4AA98",
|
||
"#C9C3B5",
|
||
"#DFDBD3",
|
||
"#F4F3F0"
|
||
]
|
||
},
|
||
"text-2": {
|
||
"role": "neutral",
|
||
"displayName": "Warm Slate",
|
||
"canonical": "#5A5344",
|
||
"tonalRamp": [
|
||
"#2C2821",
|
||
"#494337",
|
||
"#665E4D",
|
||
"#837963",
|
||
"#9C927C",
|
||
"#B2AA99",
|
||
"#C8C2B6",
|
||
"#DEDBD3",
|
||
"#F4F3F0"
|
||
]
|
||
},
|
||
"text-3": {
|
||
"role": "neutral",
|
||
"displayName": "Muted Clay",
|
||
"canonical": "#6A6453",
|
||
"tonalRamp": [
|
||
"#2B2822",
|
||
"#484338",
|
||
"#645E4E",
|
||
"#817965",
|
||
"#9A937E",
|
||
"#B1AB9B",
|
||
"#C7C3B7",
|
||
"#DDDBD4",
|
||
"#F4F3F1"
|
||
]
|
||
},
|
||
"brand": {
|
||
"role": "primary",
|
||
"displayName": "Signal Meadow Green",
|
||
"canonical": "#00CC66",
|
||
"tonalRamp": [
|
||
"#004D26",
|
||
"#008040",
|
||
"#00B359",
|
||
"#00E673",
|
||
"#1AFF8C",
|
||
"#4DFFA6",
|
||
"#80FFBF",
|
||
"#B3FFD9",
|
||
"#E5FFF2"
|
||
]
|
||
},
|
||
"brand-strong": {
|
||
"role": "primary",
|
||
"displayName": "Meadow Green Deep",
|
||
"canonical": "#00A857",
|
||
"tonalRamp": [
|
||
"#004D28",
|
||
"#008042",
|
||
"#00B35C",
|
||
"#00E677",
|
||
"#1AFF90",
|
||
"#4DFFA9",
|
||
"#80FFC2",
|
||
"#B3FFDA",
|
||
"#E5FFF3"
|
||
]
|
||
},
|
||
"brand-active": {
|
||
"role": "primary",
|
||
"displayName": "Meadow Green Pressed",
|
||
"canonical": "#00914C",
|
||
"tonalRamp": [
|
||
"#004D28",
|
||
"#008043",
|
||
"#00B35E",
|
||
"#00E678",
|
||
"#1AFF92",
|
||
"#4DFFAA",
|
||
"#80FFC2",
|
||
"#B3FFDB",
|
||
"#E5FFF3"
|
||
]
|
||
},
|
||
"brand-deep": {
|
||
"role": "primary",
|
||
"displayName": "Deep Forest Green",
|
||
"canonical": "#007A3F",
|
||
"tonalRamp": [
|
||
"#004D28",
|
||
"#008042",
|
||
"#00B35C",
|
||
"#00E677",
|
||
"#1AFF90",
|
||
"#4DFFA9",
|
||
"#80FFC1",
|
||
"#B3FFDA",
|
||
"#E5FFF3"
|
||
]
|
||
},
|
||
"brand-ink": {
|
||
"role": "primary",
|
||
"displayName": "Brand Ink",
|
||
"canonical": "#006B37",
|
||
"tonalRamp": [
|
||
"#004D27",
|
||
"#008042",
|
||
"#00B35C",
|
||
"#00E676",
|
||
"#1AFF8F",
|
||
"#4DFFA8",
|
||
"#80FFC1",
|
||
"#B3FFDA",
|
||
"#E5FFF3"
|
||
]
|
||
},
|
||
"brand-soft": {
|
||
"role": "primary",
|
||
"displayName": "Meadow Wash",
|
||
"canonical": "rgba(0, 204, 102, 0.13)",
|
||
"tonalRamp": []
|
||
},
|
||
"on-brand": {
|
||
"role": "neutral",
|
||
"displayName": "On Brand Ink",
|
||
"canonical": "#04180C",
|
||
"tonalRamp": [
|
||
"#0B4221",
|
||
"#126D37",
|
||
"#19994C",
|
||
"#21C562",
|
||
"#3ADE7C",
|
||
"#66E699",
|
||
"#92EDB6",
|
||
"#BDF4D3",
|
||
"#E9FBF0"
|
||
]
|
||
},
|
||
"on-deep": {
|
||
"role": "neutral",
|
||
"displayName": "On Deep White",
|
||
"canonical": "#FFFFFF",
|
||
"tonalRamp": []
|
||
},
|
||
"danger": {
|
||
"role": "tertiary",
|
||
"displayName": "Error Red",
|
||
"canonical": "#C5221F",
|
||
"tonalRamp": [
|
||
"#420B0A",
|
||
"#6E1311",
|
||
"#9A1B18",
|
||
"#C6221F",
|
||
"#E03C39",
|
||
"#E76765",
|
||
"#EE9391",
|
||
"#F5BEBD",
|
||
"#FCE9E9"
|
||
]
|
||
},
|
||
"input-bg": {
|
||
"role": "neutral",
|
||
"displayName": "Field White",
|
||
"canonical": "#FFFFFF",
|
||
"tonalRamp": []
|
||
},
|
||
"nav-bg": {
|
||
"role": "neutral",
|
||
"displayName": "Nav Parchment Veil",
|
||
"canonical": "rgba(245, 238, 226, 0.94)",
|
||
"tonalRamp": []
|
||
},
|
||
"ghost-hover": {
|
||
"role": "primary",
|
||
"displayName": "Ghost Hover Tint",
|
||
"canonical": "rgba(0, 122, 63, 0.09)",
|
||
"tonalRamp": []
|
||
},
|
||
"focus-ring": {
|
||
"role": "primary",
|
||
"displayName": "Focus Ring Glow",
|
||
"canonical": "rgba(0, 204, 102, 0.25)",
|
||
"tonalRamp": []
|
||
},
|
||
"backdrop": {
|
||
"role": "neutral",
|
||
"displayName": "Dialog Backdrop",
|
||
"canonical": "rgba(24, 19, 12, 0.55)",
|
||
"tonalRamp": []
|
||
},
|
||
"btn-disabled-bg": {
|
||
"role": "neutral",
|
||
"displayName": "Disabled Fill",
|
||
"canonical": "#B7C6BD",
|
||
"tonalRamp": [
|
||
"#222B25",
|
||
"#38473E",
|
||
"#4F6457",
|
||
"#658070",
|
||
"#7F9A8A",
|
||
"#9BB0A4",
|
||
"#B8C7BE",
|
||
"#D4DDD8",
|
||
"#F1F4F2"
|
||
]
|
||
},
|
||
"btn-disabled-text": {
|
||
"role": "neutral",
|
||
"displayName": "Disabled Ink",
|
||
"canonical": "#5C6B62",
|
||
"tonalRamp": [
|
||
"#232926",
|
||
"#3B453F",
|
||
"#536058",
|
||
"#6A7B71",
|
||
"#84958B",
|
||
"#9FACA4",
|
||
"#BAC4BE",
|
||
"#D6DCD8",
|
||
"#F1F3F2"
|
||
]
|
||
}
|
||
},
|
||
"typographyMeta": {
|
||
"display": {
|
||
"displayName": "Display",
|
||
"purpose": "Hero H1 only. Fixes at 34px below 400px."
|
||
},
|
||
"headline": {
|
||
"displayName": "Headline",
|
||
"purpose": "Section H2. Carries overflow-wrap as the last net."
|
||
},
|
||
"headline-compact": {
|
||
"displayName": "Headline (compact)",
|
||
"purpose": "Same H2 role in the <=380px compatibility band."
|
||
},
|
||
"title": {
|
||
"displayName": "Title",
|
||
"purpose": "Card headings (.h3, .case-card__title) and team names."
|
||
},
|
||
"body": {
|
||
"displayName": "Body",
|
||
"purpose": "Paragraphs and descriptions. Measure capped at 60ch."
|
||
},
|
||
"label": {
|
||
"displayName": "Label",
|
||
"purpose": "Eyebrows, field labels, nav links, logo. Uppercase only here."
|
||
},
|
||
"micro": {
|
||
"displayName": "Micro",
|
||
"purpose": "Ticker, badges, chips, planet plate, metric captions."
|
||
}
|
||
},
|
||
"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": {
|
||
"dur-micro": "140ms",
|
||
"dur-fast": "200ms",
|
||
"dur-med": "320ms",
|
||
"dur-slow": "560ms",
|
||
"dur-hero": "640ms",
|
||
"motion-ease": "cubic-bezier(.22,1,.36,1)",
|
||
"motion-ease-out": "cubic-bezier(.16,1,.3,1)"
|
||
},
|
||
"breakpoints": {
|
||
"compat": "380",
|
||
"xs": "400",
|
||
"sm": "767",
|
||
"md": "900",
|
||
"lg": "1160",
|
||
"matrix": "1440",
|
||
"height-short": "850",
|
||
"height-mid": "1020"
|
||
},
|
||
"darkTheme": {
|
||
"selector": "[data-theme=\"dark\"]",
|
||
"default": "light",
|
||
"persistence": "localStorage['hm-theme']",
|
||
"bg": "#12100C",
|
||
"card": "#1C1913",
|
||
"hairline": "#2E2A20",
|
||
"line-strong": "#8B8375",
|
||
"text-1": "#F3EEE2",
|
||
"text-2": "#C6BFAE",
|
||
"text-3": "#9A9280",
|
||
"brand-deep": "#3FCB79",
|
||
"brand-strong": "#00B85C",
|
||
"brand-active": "#00A050",
|
||
"danger": "#FF6B6B",
|
||
"input-bg": "#242018",
|
||
"on-deep": "#04180C",
|
||
"media-1": "#152219",
|
||
"media-2": "#1A221C",
|
||
"media-3": "#22201A",
|
||
"media-4": "#1E1B14"
|
||
},
|
||
"layoutMeta": {
|
||
"container": "max-width:1200px; padding:0 24px (20px <=767px)",
|
||
"sectionRhythm": "88px 24px desktop / 64px 20px mobile",
|
||
"heroFirstScreen": "min-height:calc(100vh - var(--nav-h) - var(--ticker-h)); --nav-h 85px; --ticker-h 49px",
|
||
"grids": "work 2x2; team 5col -> 3col @900 -> 2col @767; contacts 2col -> 1col"
|
||
}
|
||
},
|
||
"components": [
|
||
{
|
||
"name": "Primary Button",
|
||
"kind": "button",
|
||
"refersTo": "button-primary",
|
||
"description": "The only green fill on the screen; brand glow, lift on hover, AA focus ring.",
|
||
"html": "<button class=\"ds-btn-primary\">Оставить заявку</button>",
|
||
"css": ".ds-btn-primary{background:var(--brand,#00CC66);color:var(--on-brand,#04180C);border:0;border-radius:var(--radius-md,12px);padding:12px 26px;font-family:'Montserrat',sans-serif;font-weight:700;font-size:14px;letter-spacing:.1em;text-transform:uppercase;cursor:pointer;box-shadow:0 0 20px rgba(0,204,102,.28),0 6px 18px rgba(0,204,102,.16);transition:background 200ms cubic-bezier(.22,1,.36,1),transform 200ms cubic-bezier(.22,1,.36,1)}.ds-btn-primary:hover{background:var(--brand-strong,#00A857);transform:translateY(-1px)}.ds-btn-primary:active{background:var(--brand-active,#00914C)}.ds-btn-primary:focus-visible{outline:2px solid var(--brand-deep,#007A3F);outline-offset:2px}.ds-btn-primary[disabled]{background:var(--btn-disabled-bg,#B7C6BD);color:var(--btn-disabled-text,#5C6B62);box-shadow:none;cursor:not-allowed}"
|
||
},
|
||
{
|
||
"name": "Ghost Button",
|
||
"kind": "button",
|
||
"refersTo": "button-ghost",
|
||
"description": "Transparent with a deep-green border; hover darkens text and border to Brand Ink for AA.",
|
||
"html": "<button class=\"ds-btn-ghost\">Смотреть работы</button>",
|
||
"css": ".ds-btn-ghost{background:transparent;color:var(--brand-deep,#007A3F);border:2px solid var(--brand-deep,#007A3F);border-radius:var(--radius-md,12px);padding:12px 26px;font-family:'Montserrat',sans-serif;font-weight:700;font-size:14px;letter-spacing:.1em;text-transform:uppercase;cursor:pointer;transition:background 200ms cubic-bezier(.22,1,.36,1),color 200ms cubic-bezier(.22,1,.36,1),border-color 200ms cubic-bezier(.22,1,.36,1)}.ds-btn-ghost:hover{background:var(--ghost-hover,rgba(0,122,63,.09));color:var(--brand-ink,#006B37);border-color:var(--brand-ink,#006B37)}.ds-btn-ghost:focus-visible{outline:2px solid var(--brand-deep,#007A3F);outline-offset:2px}"
|
||
},
|
||
{
|
||
"name": "Case Card",
|
||
"kind": "card",
|
||
"refersTo": "card",
|
||
"description": "Portfolio card: title, status badge, media band, fact chips. Lifts on hover; detail opens in the quick-view dialog.",
|
||
"html": "<article class=\"ds-case\"><div class=\"ds-case__head\"><h3 class=\"ds-case__title\">World Wide Wheels</h3><span class=\"ds-badge\">В работе</span></div><div class=\"ds-case__media\"></div><div class=\"ds-case__chips\"><span class=\"ds-chip\">PC</span><span class=\"ds-chip\">Unreal Engine</span></div><span class=\"ds-case__more\">Подробнее</span></article>",
|
||
"css": ".ds-case{background:var(--card,#FFFCF7);border:1px solid var(--hairline,#E6DCCE);border-radius:var(--radius-lg,16px);padding:24px;box-shadow: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);transition:transform 200ms cubic-bezier(.22,1,.36,1),box-shadow 200ms cubic-bezier(.22,1,.36,1)}.ds-case:hover{transform:translateY(-2px);box-shadow: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)}.ds-case__head{display:flex;align-items:center;gap:12px;margin-bottom:16px}.ds-case__title{margin:0;font-family:'Montserrat',sans-serif;font-weight:700;font-size:20px;line-height:1.1;letter-spacing:.05em;text-transform:uppercase;color:var(--text-1,#211E18)}.ds-case__media{height:96px;border-radius:var(--radius-md,12px);background:var(--media-1,#EAF4EE);margin-bottom:16px}.ds-case__chips{display:flex;flex-wrap:wrap;gap:8px}.ds-case__more{display:inline-block;margin-top:16px;font-family:'Montserrat',sans-serif;font-weight:700;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--brand-deep,#007A3F)}"
|
||
},
|
||
{
|
||
"name": "Team Card",
|
||
"kind": "card",
|
||
"refersTo": "card",
|
||
"description": "Photo (or monogram fallback) plus name and role; opens the member profile dialog.",
|
||
"html": "<article class=\"ds-team\"><div class=\"ds-team__photo\"><span class=\"ds-team__mono\">Т</span></div><h3 class=\"ds-team__name\">Тимур</h3><p class=\"ds-team__role\">Frontend, стратегия разработки</p></article>",
|
||
"css": ".ds-team{background:var(--card,#FFFCF7);border:1px solid var(--hairline,#E6DCCE);border-radius:var(--radius-lg,16px);padding:20px;text-align:center;box-shadow: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);transition:transform 200ms cubic-bezier(.22,1,.36,1),box-shadow 200ms cubic-bezier(.22,1,.36,1)}.ds-team:hover{transform:translateY(-2px);box-shadow: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)}.ds-team__photo{width:96px;height:96px;margin:0 auto 14px;border-radius:999px;overflow:hidden;background:var(--media-2,#DFEBE4);display:flex;align-items:center;justify-content:center}.ds-team__mono{font-family:'Montserrat',sans-serif;font-weight:800;font-size:32px;color:var(--brand-deep,#007A3F)}.ds-team__name{margin:0;font-family:'Montserrat',sans-serif;font-weight:700;font-size:16px;line-height:1.2;letter-spacing:.03em;text-transform:uppercase;color:var(--text-1,#211E18)}.ds-team__role{margin:6px 0 0;font-family:'Roboto',sans-serif;font-size:13px;line-height:1.45;color:var(--text-2,#5A5344)}"
|
||
},
|
||
{
|
||
"name": "Chip",
|
||
"kind": "chip",
|
||
"refersTo": "badge",
|
||
"description": "Fact chip for platforms and stack. Strong line border (>=3:1 as a UI boundary), not decorative hairline.",
|
||
"html": "<span class=\"ds-chip\">Unreal Engine</span>",
|
||
"css": ".ds-chip{display:inline-flex;align-items:center;background:var(--card,#FFFCF7);border:1px solid var(--line-strong,#847863);border-radius:999px;padding:6px 13px;font-family:'Montserrat',sans-serif;font-weight:600;font-size:11px;letter-spacing:.6px;text-transform:uppercase;color:var(--text-2,#5A5344)}"
|
||
},
|
||
{
|
||
"name": "Badge",
|
||
"kind": "badge",
|
||
"refersTo": "badge",
|
||
"description": "Project status badge. Its text always comes from content/projects/*.md - never invented.",
|
||
"html": "<span class=\"ds-badge\">В работе</span>",
|
||
"css": ".ds-badge{display:inline-flex;align-items:center;background:var(--brand-soft,rgba(0,204,102,.13));color:var(--brand-deep,#007A3F);border-radius:999px;padding:4px 12px;font-family:'Montserrat',sans-serif;font-weight:700;font-size:11px;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap}"
|
||
},
|
||
{
|
||
"name": "Input / Textarea",
|
||
"kind": "input",
|
||
"refersTo": "input",
|
||
"description": "48px field with a 2px strong line border; focus adds a deep-green border plus a 3px ring. Error state uses Error Red with role=alert.",
|
||
"html": "<label class=\"ds-field\"><span class=\"ds-field__label\">Имя</span><input class=\"ds-field__input\" placeholder=\"Как к вам обращаться\" aria-invalid=\"true\"></label>",
|
||
"css": ".ds-field{display:flex;flex-direction:column;gap:6px;font-family:'Roboto',sans-serif}.ds-field__label{font-family:'Montserrat',sans-serif;font-weight:700;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--text-2,#5A5344)}.ds-field__input{height:48px;padding:0 14px;background:var(--input-bg,#fff);color:var(--text-1,#211E18);border:2px solid var(--line-strong,#847863);border-radius:var(--radius-md,12px);font-family:'Roboto',sans-serif;font-size:15px;transition:border-color 200ms cubic-bezier(.22,1,.36,1),box-shadow 200ms cubic-bezier(.22,1,.36,1)}.ds-field__input::placeholder{color:var(--text-3,#6A6453)}.ds-field__input:focus{outline:none;border-color:var(--brand-deep,#007A3F);box-shadow:0 0 0 3px var(--focus-ring,rgba(0,204,102,.25))}.ds-field__input[aria-invalid=\"true\"]{border-color:var(--danger,#C5221F)}"
|
||
},
|
||
{
|
||
"name": "FAQ / About Accordion",
|
||
"kind": "accordion",
|
||
"refersTo": "card",
|
||
"description": "Native <details> with a shared name attribute - one open row at a time, no JS.",
|
||
"html": "<details class=\"ds-acc\" name=\"ds-acc\" open><summary class=\"ds-acc__q\">Кто мы</summary><p class=\"ds-acc__a\">Студия из пяти разработчиков: игры, мобильные приложения и веб-сервисы под ключ.</p></details>",
|
||
"css": ".ds-acc{background:var(--card,#FFFCF7);border:1px solid var(--hairline,#E6DCCE);border-radius:var(--radius-md,12px);box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 1px 2px rgba(58,48,35,.05);overflow:hidden}.ds-acc[open]{box-shadow: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)}.ds-acc__q{cursor:pointer;padding:18px 20px;font-family:'Montserrat',sans-serif;font-weight:700;font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-1,#211E18)}.ds-acc__q:focus-visible{outline:2px solid var(--brand-deep,#007A3F);outline-offset:-2px}.ds-acc__a{margin:0;padding:0 20px 18px;font-family:'Roboto',sans-serif;font-size:15px;line-height:1.55;color:var(--text-2,#5A5344)}"
|
||
},
|
||
{
|
||
"name": "Planet Plate",
|
||
"kind": "custom",
|
||
"refersTo": "card",
|
||
"description": "The project passport riding on the hero planet. Name plus platforms in a pill; summary sits in a card that expands when the object faces the viewer or on hover.",
|
||
"html": "<div class=\"ds-plate\"><div class=\"ds-plate__detail\"><p class=\"ds-plate__summary\">Гоночная аркада с грузовиками и разрушаемыми трассами.</p><span class=\"ds-chip\">WebGL</span></div><span class=\"ds-plate__pill\"><span class=\"ds-plate__dot\"></span><span class=\"ds-plate__name\">World Wide Wheels</span><span class=\"ds-plate__badge\">PC · Web</span></span></div>",
|
||
"css": ".ds-plate{display:inline-flex;flex-direction:column;align-items:center;gap:10px}.ds-plate__detail{display:flex;flex-direction:column;gap:7px;width:min(30ch,320px);background:var(--card,#FFFCF7);border:1px solid var(--hairline,#E6DCCE);border-radius:var(--radius-md,12px);padding:12px 14px;box-shadow: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)}.ds-plate__summary{margin:0;font-family:'Roboto',sans-serif;font-size:12.5px;line-height:1.5;color:var(--text-2,#5A5344)}.ds-plate__pill{display:inline-flex;align-items:center;gap:8px;padding:7px 15px;border-radius:999px;background:var(--card,#FFFCF7);border:1px solid var(--hairline,#E6DCCE);box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 1px 2px rgba(58,48,35,.05);transition:transform 140ms cubic-bezier(.22,1,.36,1)}.ds-plate__pill:hover{transform:translateY(-1px)}.ds-plate__dot{width:8px;height:8px;border-radius:999px;background:var(--brand,#00CC66);flex:0 0 auto}.ds-plate__name{font-family:'Montserrat',sans-serif;font-weight:700;font-size:12.5px;letter-spacing:.8px;text-transform:uppercase;color:var(--text-1,#211E18);white-space:nowrap}.ds-plate__badge{font-family:'Montserrat',sans-serif;font-weight:600;font-size:10px;letter-spacing:.8px;text-transform:uppercase;color:var(--text-2,#5A5344)}"
|
||
},
|
||
{
|
||
"name": "Quick-view / Team-view",
|
||
"kind": "dialog",
|
||
"refersTo": "card",
|
||
"description": "Native dialog with showModal(): media stage beside the body. Closes on the 44x44 button, Escape or backdrop; focus returns to the card.",
|
||
"html": "<div class=\"ds-quickview\"><div class=\"ds-quickview__stage\"></div><div class=\"ds-quickview__body\"><span class=\"ds-badge\">В работе</span><h3 class=\"ds-quickview__title\">World Wide Wheels</h3><p class=\"ds-quickview__text\">Сводка проекта из content/projects/*.md.</p></div><button class=\"ds-quickview__close\" aria-label=\"Закрыть\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\"><path d=\"M3 3l10 10M13 3L3 13\"/></svg></button></div>",
|
||
"css": ".ds-quickview{position:relative;display:grid;grid-template-columns:1.1fr 1fr;gap:0;background:var(--card,#FFFCF7);border:1px solid var(--hairline,#E6DCCE);border-radius:var(--radius-lg,16px);overflow:hidden;box-shadow: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);max-width:640px}.ds-quickview__stage{min-height:220px;background:var(--media-3,#EDEBE6)}.ds-quickview__body{padding:24px;display:flex;flex-direction:column;gap:10px;align-items:flex-start}.ds-quickview__title{margin:0;font-family:'Montserrat',sans-serif;font-weight:700;font-size:20px;line-height:1.1;letter-spacing:.05em;text-transform:uppercase;color:var(--text-1,#211E18)}.ds-quickview__text{margin:0;font-family:'Roboto',sans-serif;font-size:15px;line-height:1.55;color:var(--text-2,#5A5344)}.ds-quickview__close{position:absolute;top:10px;right:10px;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;border-radius:999px;color:var(--text-2,#5A5344);cursor:pointer;transition:background 140ms cubic-bezier(.22,1,.36,1)}.ds-quickview__close:hover{background:var(--ghost-hover,rgba(0,122,63,.09))}.ds-quickview__close:focus-visible{outline:2px solid var(--brand-deep,#007A3F);outline-offset:2px}"
|
||
},
|
||
{
|
||
"name": "Navigation",
|
||
"kind": "nav",
|
||
"refersTo": "card",
|
||
"description": "Sticky top chrome: parchment veil plus blur, constant nav shadow, logo and uppercase links. Theme toggle is 44x44 with aria-pressed.",
|
||
"html": "<nav class=\"ds-nav\"><span class=\"ds-nav__logo\">Harvey Monster</span><span class=\"ds-nav__links\"><a class=\"ds-nav__link\" href=\"#work\">Работы</a><a class=\"ds-nav__link\" href=\"#contacts\">Контакты</a></span><a class=\"ds-btn-primary ds-nav__cta\" href=\"#contacts\">Оставить заявку</a></nav>",
|
||
"css": ".ds-nav{display:flex;align-items:center;gap:28px;padding:0 24px;height:64px;background:var(--nav-bg,rgba(245,238,226,.94));backdrop-filter:blur(6px);border-bottom:1px solid var(--hairline,#E6DCCE);box-shadow: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)}.ds-nav__logo{font-family:'Montserrat',sans-serif;font-weight:800;font-size:20px;letter-spacing:.03em;text-transform:uppercase;color:var(--text-1,#211E18)}.ds-nav__links{display:flex;gap:22px;margin-left:auto}.ds-nav__link{font-family:'Montserrat',sans-serif;font-weight:600;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--text-2,#5A5344);text-decoration:none;transition:color 140ms cubic-bezier(.22,1,.36,1)}.ds-nav__link:hover{color:var(--brand-deep,#007A3F)}.ds-nav__cta{padding:9px 18px;font-size:12px}"
|
||
}
|
||
],
|
||
"narrative": {
|
||
"northStar": "Editorial Calm",
|
||
"overview": "Вариант B — редакционная студийная страница. Тёплый пергаментный фон держит спокойный, почти печатный ритм: крупная Montserrat-типографика, мягкие многослойные тени, один зелёный акцент. Характер — сдержанный профессиональный (доверие) с лёгким editorial-оттенком. Страница продаёт студию клиенту: планета держит внимание в hero, текст говорит о процессе, команде и проектах. Глубина читается не цветом, а подъёмом поверхностей: у каждой плашки многослойная тень (верхний inset-highlight + контактная + ambient), фон всегда плоский. Слоистость — «печатные листы»: полоса фона → приподнятая плашка → снова фон, каждая плашка очерчена парой Y-швов. Sticky-шапка — единственный постоянный верхний слой.",
|
||
"keyCharacteristics": [
|
||
"Тёплая пергаментная база (#F5EEE2) + тёплая бумага поверхностей (--card #FFFCF7); зелёный — единственный акцент.",
|
||
"Многослойная глубина: верхний inset-highlight + 2–3 слоя тени; карточки приподнимаются на hover.",
|
||
"Montserrat 700–800 uppercase заголовки + Roboto 400–500 body.",
|
||
"Планета — hero и LCP (poster-first), интерактив drag-rotate; её плашка = паспорт 4 проектов студии.",
|
||
"Светлая тема — дефолт; тёплая угольная тёмная — аддитивный режим через тумблер.",
|
||
"Контент data-driven из content/*.md → src/data/*.js; выдуманного контента нет."
|
||
],
|
||
"rules": [
|
||
{
|
||
"name": "The One Accent Rule",
|
||
"body": "Зелёный занимает ≤10% экрана. Его редкость — одна заливка CTA плюс несколько deep-green меток — делает страницу уверенной, а не «игровой». На hero ровно одна зелёная заливка: первичная CTA.",
|
||
"section": "colors"
|
||
},
|
||
{
|
||
"name": "The Fill-Or-Ink Rule",
|
||
"body": "#00CC66 — никогда текст. Зелёный текст всегда --brand-deep, а в hover-состоянии на зелёном тинте — --brand-ink. Подпись на любой зелёной заливке всегда --on-brand #04180C.",
|
||
"section": "colors"
|
||
},
|
||
{
|
||
"name": "The Two-Greens Rule",
|
||
"body": "--brand-deep меняется между темами (#007A3F → #3FCB79), потому что его работа — держать AA на своей подложке. --brand (#00CC66) не меняется: заливка с тёмной подписью работает в обеих темах.",
|
||
"section": "colors"
|
||
},
|
||
{
|
||
"name": "The Caps-Display Rule",
|
||
"body": "Заголовки (h1, h2, h3) — только uppercase Montserrat. Никогда не использовать uppercase для абзацев: это роль Label, она ограничена 13px и трекингом.",
|
||
"section": "typography"
|
||
},
|
||
{
|
||
"name": "The Flat Ground Rule",
|
||
"body": "body и .section никогда не несут тень. Фон — плоскость; глубина появляется только у плашки, поднятой над ней.",
|
||
"section": "elevation"
|
||
},
|
||
{
|
||
"name": "The Warm Shadow Rule",
|
||
"body": "Тень на светлой теме всегда тёплая (rgba(58,48,35,·)), никогда нейтрально-чёрная. --shadow-brand — единственное исключение-тень с цветом, и она принадлежит только первичной CTA.",
|
||
"section": "elevation"
|
||
},
|
||
{
|
||
"name": "The Transform-Is-Reserved Rule",
|
||
"body": "Материал входа — translate / scale / opacity. Свойство transform зарезервировано за интерактивными состояниями (:hover / :active): reveal на transform перебивается подъёмом по специфичности.",
|
||
"section": "motion"
|
||
},
|
||
{
|
||
"name": "The One-Shot-Hero Rule",
|
||
"body": "Вход hero проигрывается один раз при загрузке и не повторяется на скролле. Возврат наверх не переигрывает его.",
|
||
"section": "motion"
|
||
}
|
||
],
|
||
"dos": [
|
||
"Do держать зелёный как заливку CTA или как --brand-deep / --brand-ink текст — третьего способа нет.",
|
||
"Do собирать глубину многослойной тенью (top-highlight + контактная + ambient) и подъёмом поверхности.",
|
||
"Do брать контент только из content/*.md. Незаполненное поле остаётся честной заглушкой.",
|
||
"Do держать планету poster-first: постер — LCP-кадр, тяжёлый webp и кадры грузятся после load.",
|
||
"Do задавать min-height hero через calc(100vh − var(--nav-h) − var(--ticker-h)) — высоты шапки и тикера замерены и живут в токенах.",
|
||
"Do использовать нативный <details name=\"…\"> для аккордеонов: один открытый пункт без JS."
|
||
],
|
||
"donts": [
|
||
"Don't писать текст #00CC66 — контраст проваливается. На тинте использовать --brand-ink.",
|
||
"Don't вводить второй акцент в hero: там ровно одна зелёная заливка.",
|
||
"Don't применять hover-lift к форме — она реагирует только на focus полей.",
|
||
"Don't выдумывать метрики, скриншоты, фото или описания кейсов.",
|
||
"Don't читать prefers-color-scheme: дефолт всегда светлый, тёмная тема — только по тумблеру.",
|
||
"Don't класть тень на body или .section — фон остаётся плоским.",
|
||
"Don't добавлять инлайновый border-radius: шкала — два токена плюс pill."
|
||
]
|
||
}
|
||
}
|