Style Guide
A living document of the foundations, components and patterns that make up marcoperego.eu. This page reflects the current state of the site and serves as the reference point for future changes.
Colors
Six tones drive the entire site. Two are formal Webflow variables today; the other four live as raw CSS values in classes and should be promoted to variables (see cleanup proposal).
Typography
One typeface, twelve sizes. Today the same scale is spread across 30 numbered Heading classes and 21 Paragraph classes. The proposed scale below consolidates them into 12 named tokens.
Spacing & layout
No spacing variables exist today. The values below were extracted from the most-used Heading and Paragraph classes and represent the de facto scale.
Components
Three formal components exist today: Navigation, Button DEPMA, Footer DEPMA. Plus a handful of recurring patterns that should be promoted to components.
Modifier classes
These short-name classes layer on top of base elements as combo classes. Today they are inconsistent (multiple definitions of the same name) — the cleanup proposal converts each into a single, predictable token.
Recurring patterns
Visual conventions that appear across multiple pages. These define the personality of the site and should be preserved through any cleanup.
cursor: none and a wrapper element handles a custom cursor visual. The HTML embed .cursor-wrapper { pointer-events: none } is repeated on every page.column-count: 2; column-gap: 5.5% on a single paragraph. Distinctive choice; document it as a reusable layout.<span class="text-span-N"> tags is colored magenta to emphasize a phrase mid-sentence (e.g. “how are you shaping the world”)..text-accent<iframe> blocks with inline styling. The same code appears on home and about.linear-gradient(165deg, #001327, #001327) — both stops identical, so it is effectively a solid color. Either simplify to a flat background or commit to a real gradient.Cleanup proposal
A separate document accompanies this style guide listing concrete renames, consolidations, and deletions. Nothing has been touched in the live site — review and approve before any changes are applied.
--ff0072 → --accent-magenta. Naming a variable after its hex defeats its purpose if you ever change the value..text-accent class.a), pure numbers (2 3 4 80), underscore-numbered (_3 through _27), typos (btach btahc convinience efficency higlihjt), and unused page-specific names (nutrilent batch1 framce) — all flagged for deletion.untitled exists with title “Untitled” — leftover scaffolding from January.