Shadows
Elevation shadows using CSS variables. Built from --foreground/--background, so they follow whichever surface class is in scope.
Shadow Tokens
5 shadow tokens: two general elevation steps (sm, lg), a soft ambient drop for floating panels (popover), and the dedicated button pair (btn-primary, btn-secondary).
shadow-smSubtle elevation for small elements (toggles, pills)
shadow-lgStrong elevation for modals and lightboxes
shadow-nav-pillThe floating nav pill. Three layers: a bright inner top edge, a dark inner bottom edge, and a wide drop. Louder than the button insets because the pill is translucent glass — on the near-black pages its fill lands within a few units of the page itself, so the highlight and the border are the only things drawing its shape.
shadow-popoverSoft lift for floating panels — applied by the .popover-surface class, so popovers should not add a shadow of their own
shadow-btn-primaryFour stacked layers under the primary button — a tight contact shadow beneath a wider soft one, so it reads as seated rather than floating.
shadow-btn-secondaryThe secondary button has no border at all — its entire edge is this: an inner ring, a brighter inner top edge (lit from above), an outer ring and a soft drop.
Elevation Shadows
Standard elevation shadows for depth hierarchy:
shadow-smshadow-lgUsage
Common Patterns
shadow-sm — Buttons, small elementsshadow-lg — Modals, dropdowns