Sistema de Superfícies
Depth is commúnicated through 5 tiers of background lightness, not through shadows. Each tier is a step closer to the viewer. Elevation comes from background value, creating a layered visual hierarchy on the dark canvas.
5 tiers from pure black (Void) to the lightest elevated layer (Float). Hover over each tier card to see its accent highlight. Each card is rendered ON the surface it describes.
--surface-0 The absolute base. Used as the page background on all pages. Nothing sits behind this.
Page background, deepest layer
--surface-1 Sections alternate between Surface-0 and Surface-1. The lightest page-level background.
Alternating section backgrounds
--surface-2 The default background for cards, panels, and contained content areas.
Card backgrounds (default)
--surface-3 Used for interactive hover states (card hover shifts from S-2 to S-3) and form input backgrounds.
Card hover, input backgrounds
--surface-4 The topmost layer. Reserved for elements that float above the content plane: dropdowns, tooltips, popovers.
Dropdowns, tooltips, floating elementsSections alternate between Surface-0 and Surface-1. Hero always starts on Surface-0. Never jump more than one surface tier between adjacent sections. Cards on Surface-0 sections use Surface-2. Cards on Surface-1 sections also use Surface-2.
Click on any surface tier button or nested layer to highlight it. The info panel shows the active tier's hex value, CSS variable, and usage. This is a fully interactive depth exploration.
Notice how each nesting level creates perceptible but subtle depth. The blue accent border activates only on the selected tier.
The opacity-based text system ensures readable contrast on every surface tier. Because text uses white at varying opacities, it automatically harmonizes with any background lightness.
Like text, borders use white at varying opacities and naturally harmonize with all surface tiers. The accent border uses blue at 30% opacity. Hover each box to see the border brighten.
Common patterns showing which surface tiers to use for different UI compositions.
S-0 S-0 / S-1 S-1 + blur S-1 S-2 S-3 S-3 S-3 or S-4 S-4 S-4 S-3 or S-4 S-4 - Alternate sections between Surface-0 and Surface-1
- Start hero sections on Surface-0
- Use Surface-2 for all card backgrounds
- Shift to Surface-3 on card hover
- Jump more than one tier between adjacent elements
- Put Surface-4 content on a Surface-0 background (skip)
- Use more than 2 surface tiers on mobile
- Use shadows instead of surface tiers for elevation
Hover over these cards to see the surface transition from Surface-2 to Surface-3. The border shifts from --border-default to --border-visible. This is the standard card hover behavior.
Standard Card
S-2 default, S-3 on hover. Border brightens from 8% to 12% white.
Featured Card
Adds blue glow shadow on hover. Border shifts to accent blue at 30%.
Glass Card
Background rgba(255,255,255,0.05) with backdrop-blur(16px).
#000000 #0A0A0A #111111 #161616 #1A1A1A