Content Spacing

spacing, padding, margins



Spacing & Pacing Guide (Best Practice + Accessibility)

All recommendations below use existing spacing tokens and utilities such as --space-*, in-*, out-*, and gap-*.

1) Text blocks (headings, paragraphs, lists)

  • Heading - following paragraph: use a smaller gap than body flow.
    Suggested: out-b-sm on the heading or out-t-sm on the paragraph.
  • Paragraph - paragraph: use a steady reading rhythm.
    Suggested: out-b-md on paragraphs or a consistent parent flow pattern.
  • Lists: space items a bit tighter than paragraphs for scanning.
    Suggested: list container with out-dwn-y-xs to space each li.

2) Section breaks (rows / banded areas)

  • Major section separation: clearly larger than text flow.
    Suggested: apply in-y-lg to each section band and out-y-xl between sections.
  • Subsections: slightly smaller than major breaks.
    Suggested: out-y-lg.

3) Components (cards, panels, buttons)

  • Card/panel internal padding: at least one body line-height all around.
    Suggested: in-md (compact) or in-lg (comfortable).
  • Card title - body: follow heading - paragraph spacing.
    Suggested: out-b-sm on the title.
  • Buttons (tap target): minimum 44px target size guidance still applies.
    Suggested: use the existing button classes and adjust with spacing utilities only when needed.

4) Global rhythm (vertical pacing)

  • Use the scale consistently: xxs/xs for micro-gaps, sm/md for text flow, lg/xl for sections and rows.
  • Favor tokens over ad-hoc values: keeps pages predictable and easier to maintain.
  • Grid gaps: set inter-column and row space with gap-* matching nearby vertical rhythm.

5) Accessibility specifics

  • Line-height: body copy should use the paragraph line-height tokens and remain readable.
  • Touch targets: interactive elements should still meet the 44px minimum guidance.
  • Whitespace helps readability: consistent spacing improves comprehension and focus. Don’t compress text blocks too tightly.

6) Practical defaults (drop-in patterns)

  • Generic content flow: wrap content in a container and give children a steady rhythm.
    Suggested: parent wrapper uses out-dwn-y-md.
  • Heading - paragraph: out-b-sm on the heading or out-t-sm on the paragraph.
  • Paragraph - paragraph: out-b-md on the paragraph.
  • Section/row break: out-y-xl on the section container; inside, use in-y-lg.
  • Cards: in-md (compact) or in-lg (comfortable) plus title out-b-sm.
  • Grids: gap-md for balanced layouts; increase to gap-lg in media-heavy sections.

Summary

Use small gaps (xxs/xs/sm) for micro and heading-to-text spacing, medium gaps (md) for paragraph rhythm, and large gaps (lg/xl) for section and row separation. Favor the existing tokens and utilities (in-*, out-*, gap-*) for consistency and accessibility.

Element - Recommended Spacing Map

Element / Context Recommended Token/Class Rationale
Heading - paragraph out-b-sm (heading) or out-t-sm (paragraph) Tighter than paragraph flow; quicker start-reading cue.
Paragraph - paragraph out-b-md Steady reading rhythm.
List items (within ul/ol) out-dwn-y-xs on the list Compact item separation for scanning.
Nested lists out-dwn-y-xxs on the nested list Slightly tighter to show hierarchy.
Card/panel padding in-md (compact) / in-lg (comfortable) Breathing room around content without bloat.
Card title - body out-b-sm on the title Follows heading-to-paragraph best practice.
Buttons (tap target) Use existing button classes; adjust with spacing utilities only if needed Helps support accessible target sizing.
Section/row separation out-y-xl between sections; inside use in-y-lg Clear scanning boundaries between content blocks.
Generic flow wrapper out-dwn-y-md on the parent Applies a consistent vertical rhythm to children.
Grids (cards/images) gap-md (increase to gap-lg for media-dense) Balances visual rhythm with nearby content.

The design system defines a scalable spacing framework using semantic CSS custom properties such as --space-sm and --space-lg to control vertical and horizontal rhythm across the UI, including padding, margins, and gaps.

Fixed reference values are paired with fluid clamp()-based values to adapt responsively across viewports, helping maintain consistent proportions from small mobile screens to large desktops. Utility classes like .in-* and .out-* apply these values with directional naming, while cascading classes like .in-dwn-* and .out-dwn-* support structured layouts.

The system follows modern CSS best practices by using relative units, avoiding random one-off spacing values, and separating layout logic from component styles. From a WCAG perspective, spacing has no single required ratio, but clear separation between UI elements supports readability, focus visibility, and accessible touch targets.

The spacing utilities are intended for modern browsers. All tokens are defined in :root to support overrides and theming. For best accessibility, spacing should work alongside proper focus indicators, semantic structure, and responsive layout behavior.

Browser Support for Fluid Spacing System

FeatureSupportNotes
:root VariablesFullSupported in all major browsers except Internet Explorer.
clamp()Modern browsersSupported in current Chrome, Safari, Edge, and Firefox.
vw UnitsFullSupported in all major browsers.
Fluid Spacing (clamp with vw)Modern browsersUsed throughout the spacing token system.

WCAG Accessibility Considerations for Fluid Spacing

ConcernStatusNotes
Tap Target SizeGoodSpacing and padding can help support the 44px target size guidance in WCAG 2.2.
Content ReadabilityGoodLine-height and spacing improve paragraph readability and support text spacing and reflow guidance.
Consistent LayoutGoodPredictable spacing reduces cognitive load and improves scanability.
Responsive ScalingGoodSpacing scales smoothly across screen sizes, helping reduce layout crowding and reflow problems.

Legacy Browser Note

AreaStatusNotes
Modern browsersSupportedThis spacing system is built for modern evergreen browsers.
Internet ExplorerNot supportedCSS variables and clamp() are not supported there.
Older enterprise environmentsLimitedLegacy environments may not render the full fluid token system correctly.
Variable Clamp Value Min (px) Preferred Max (px) Used In
--space-xxs clamp(0.222rem, 0.5vw, 0.333rem) 4px 0.5vw 6px --gap-xxs, .gap-xxs, .v-spacer-xxs
--space-xs clamp(0.444rem, 1vw, 0.556rem) 8px 1vw 10px --gap-xs, .gap-xs, .v-spacer-xs
--space-sm clamp(0.667rem, 2vw, 1.111rem) 12px 2vw 20px --gap-sm, .gap-sm, .v-spacer-sm
--space-md clamp(0.889rem, 3vw, 2.222rem) 16px 3vw 40px --gap-md, .gap-md, .v-spacer-md
--space-lg clamp(1.333rem, 8vw, 4.444rem) 24px 8vw 80px --gap-lg, .gap-lg, .v-spacer-lg
--space-xl clamp(2.222rem, 10vw, 6.666rem) 40px 10vw 120px --gap-xl, .gap-xl, .v-spacer-xl
Root Variable Type Static REM Value Static PX Value Related Fluid Clamp Used By / Connected To
--space-xxs-static Space 0.222rem 4px --space-xxs = clamp(0.222rem, 0.5vw, 0.333rem) --gap-xxs, .gap-xxs, .v-spacer-xxs
--space-xs-static Space 0.444rem 8px --space-xs = clamp(0.444rem, 1vw, 0.556rem) --gap-xs, .gap-xs, .v-spacer-xs
--space-sm-static Space 0.667rem 12px --space-sm = clamp(0.667rem, 2vw, 1.111rem) --gap-sm, .gap-sm, .v-spacer-sm
--space-md-static Space 0.889rem 16px --space-md = clamp(0.889rem, 3vw, 2.222rem) --gap-md, .gap-md, .v-spacer-md
--space-lg-static Space 1.333rem 24px --space-lg = clamp(1.333rem, 8vw, 4.444rem) --gap-lg, .gap-lg, .v-spacer-lg
--space-xl-static Space 2.222rem 40px --space-xl = clamp(2.222rem, 10vw, 6.666rem) --gap-xl, .gap-xl, .v-spacer-xl
--bs-sm-static Border 0.1111rem 2px --bs-sm = clamp(0.0556rem, 0.1vw, 0.1111rem) General border sizing
--bs-md-static Border 0.2222rem 4px --bs-md = clamp(0.1667rem, 0.3vw, 0.2222rem) General border sizing
--bs-lg-static Border 0.3333rem 6px --bs-lg = clamp(0.2778rem, 0.4vw, 0.3333rem) General border sizing
--radius-sm Radius 0.2222rem 4px Used for small rounded elements
--radius-md Radius 0.4444rem 8px Used for base rounded elements
--radius-lg Radius 0.5556rem 10px Used for large rounded elements
--radius-full Radius 9999px full Used for pills and circles

Headline - class on parent container: in-dwn-b-sm

in = padding, dwn = child level elements, b = bottom, sm = space-sm

Pad children bottom (sm)

The technology behind modern smartphones has evolved rapidly over the last decade. What was once a basic communication tool has transformed into a powerful pocket-sized computer. With features like facial recognition, AI-driven photography, and real-time language translation, the devices we carry daily are more powerful than the systems used to land humans on the moon.

padding override in-t-lg In the middle of a quiet forest, a small cabin stood alone, surrounded by towering pines and the distant sound of a creek. The air was crisp and filled with the scent of earth and bark. Inside, a fire crackled softly in the hearth while a kettle whistled gently on the stove. For the first time in weeks, Elise felt at peace.

Class on parent container: in-dwn-y-md

in = padding, dwn = child level elements, y = top and bottom, md = space-md

Adds equal padding to top and bottom of each child.

The technology behind modern smartphones has evolved rapidly over the last decade. What was once a basic communication tool has transformed into a powerful pocket-sized computer. With features like facial recognition, AI-driven photography, and real-time language translation, the devices we carry daily are more powerful than the systems used to land humans on the moon.

padding override .in-lg Adding a class such as .in-lg will override the child level class. In the middle of a quiet forest, a small cabin stood alone, surrounded by towering pines and the distant sound of a creek. The air was crisp and filled with the scent of earth and bark. Inside, a fire crackled softly in the hearth while a kettle whistled gently on the stove. For the first time in weeks, Elise felt at peace.

Padding - Margin visual samples

Added media queries for md:, lg:, and xl: responsive utility versions.



Use filters to reduce visible content and scrolling.

All sides

in-xs

This card uses in-xs to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-sm

This card uses in-sm to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-md

This card uses in-md to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-lg

This card uses in-lg to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-xl

This card uses in-xl to apply padding spacing. This creates space between the content and its surroundings.

padding demo

Top and Bottom

in-y-xs

This card uses in-y-xs to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-y-sm

This card uses in-y-sm to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-y-md

This card uses in-y-md to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-y-lg

This card uses in-y-lg to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-y-xl

This card uses in-y-xl to apply padding spacing. This creates space between the content and its surroundings.

padding demo

Left and Right

in-x-xs

This card uses in-x-xs to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-x-sm

This card uses in-x-sm to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-x-md

This card uses in-x-md to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-x-lg

This card uses in-x-lg to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-x-xl

This card uses in-x-xl to apply padding spacing. This creates space between the content and its surroundings.

padding demo

TOP

in-t-xs

This card uses in-t-xs to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-t-sm

This card uses in-t-sm to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-t-md

This card uses in-t-md to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-t-lg

This card uses in-t-lg to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-t-xl

This card uses in-t-xl to apply padding spacing. This creates space between the content and its surroundings.

padding demo

Bottom

in-b-xs

This card uses in-b-xs to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-b-sm

This card uses in-b-sm to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-b-md

This card uses in-b-md to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-b-lg

This card uses in-b-lg to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-b-xl

This card uses in-b-xl to apply padding spacing. This creates space between the content and its surroundings.

padding demo

Left

in-l-xs

This card uses in-l-xs to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-l-sm

This card uses in-l-sm to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-l-md

This card uses in-l-md to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-l-lg

This card uses in-l-lg to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-l-xl

This card uses in-l-xl to apply padding spacing. This creates space between the content and its surroundings.

padding demo

Right

in-r-xs

This card uses in-r-xs to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-r-sm

This card uses in-r-sm to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-r-md

This card uses in-r-md to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-r-lg

This card uses in-r-lg to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-r-xl

This card uses in-r-xl to apply padding spacing. This creates space between the content and its surroundings.

padding demo

Use filters to reduce visible content and scrolling.

All sides

out-xs

This card uses out-xs to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-sm

This card uses out-sm to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-md

This card uses out-md to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-lg

This card uses out-lg to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-xl

This card uses out-xl to apply margin spacing. This creates space between the content and its surroundings.

margin demo

Top and Bottom

out-y-xs

This card uses out-y-xs to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-y-sm

This card uses out-y-sm to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-y-md

This card uses out-y-md to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-y-lg

This card uses out-y-lg to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-y-xl

This card uses out-y-xl to apply margin spacing. This creates space between the content and its surroundings.

margin demo

Left and Right

out-x-xs

This card uses out-x-xs to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-x-sm

This card uses out-x-sm to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-x-md

This card uses out-x-md to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-x-lg

This card uses out-x-lg to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-x-xl

This card uses out-x-xl to apply margin spacing. This creates space between the content and its surroundings.

margin demo

Top

out-t-xs

This card uses out-t-xs to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-t-sm

This card uses out-t-sm to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-t-md

This card uses out-t-md to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-t-lg

This card uses out-t-lg to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-t-xl

This card uses out-t-xl to apply margin spacing. This creates space between the content and its surroundings.

margin demo

Bottom

out-b-xs

This card uses out-b-xs to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-b-sm

This card uses out-b-sm to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-b-md

This card uses out-b-md to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-b-lg

This card uses out-b-lg to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-b-xl

This card uses out-b-xl to apply margin spacing. This creates space between the content and its surroundings.

margin demo

Left

out-l-xs

This card uses out-l-xs to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-l-sm

This card uses out-l-sm to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-l-md

This card uses out-l-md to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-l-lg

This card uses out-l-lg to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-l-xl

This card uses out-l-xl to apply margin spacing. This creates space between the content and its surroundings.

margin demo

Right

out-r-xs

This card uses out-r-xs to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-r-sm

This card uses out-r-sm to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-r-md

This card uses out-r-md to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-r-lg

This card uses out-r-lg to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-r-xl

This card uses out-r-xl to apply margin spacing. This creates space between the content and its surroundings.

margin demo

Use filters to reduce visible content and scrolling.

All sides

in-jumbo-sm

This card uses in-jumbo-sm to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-jumbo-md

This card uses in-jumbo-md to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-jumbo-lg

This card uses in-jumbo-lg to apply padding spacing. This creates space between the content and its surroundings.

padding demo

Top and Bottom

in-jumbo-y-sm

This card uses in-jumbo-y-sm to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-jumbo-y-md

This card uses in-jumbo-y-md to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-jumbo-y-lg

This card uses in-jumbo-y-lg to apply padding spacing. This creates space between the content and its surroundings.

padding demo

Left and Right

in-jumbo-x-sm

This card uses in-jumbo-x-sm to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-jumbo-x-md

This card uses in-jumbo-x-md to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-jumbo-x-lg

This card uses in-jumbo-x-lg to apply padding spacing. This creates space between the content and its surroundings.

padding demo

Top

in-jumbo-t-sm

This card uses in-jumbo-t-sm to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-jumbo-t-md

This card uses in-jumbo-t-md to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-jumbo-t-lg

This card uses in-jumbo-t-lg to apply padding spacing. This creates space between the content and its surroundings.

padding demo

Bottom

in-jumbo-b-sm

This card uses in-jumbo-b-sm to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-jumbo-b-md

This card uses in-jumbo-b-md to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-jumbo-b-lg

This card uses in-jumbo-b-lg to apply padding spacing. This creates space between the content and its surroundings.

padding demo

Left

in-jumbo-l-sm

This card uses in-jumbo-l-sm to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-jumbo-l-md

This card uses in-jumbo-l-md to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-jumbo-l-lg

This card uses in-jumbo-l-lg to apply padding spacing. This creates space between the content and its surroundings.

padding demo

Right

in-jumbo-r-sm

This card uses in-jumbo-r-sm to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-jumbo-r-md

This card uses in-jumbo-r-md to apply padding spacing. This creates space between the content and its surroundings.

padding demo

in-jumbo-r-lg

This card uses in-jumbo-r-lg to apply padding spacing. This creates space between the content and its surroundings.

padding demo

Use filters to reduce visible content and scrolling.

All sides

out-jumbo-sm

This card uses out-jumbo-sm to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-jumbo-md

This card uses out-jumbo-md to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-jumbo-lg

This card uses out-jumbo-lg to apply margin spacing. This creates space between the content and its surroundings.

margin demo

Top and Bottom

out-jumbo-y-sm

This card uses out-jumbo-y-sm to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-jumbo-y-md

This card uses out-jumbo-y-md to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-jumbo-y-lg

This card uses out-jumbo-y-lg to apply margin spacing. This creates space between the content and its surroundings.

margin demo

Left and Right

out-jumbo-x-sm

This card uses out-jumbo-x-sm to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-jumbo-x-md

This card uses out-jumbo-x-md to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-jumbo-x-lg

This card uses out-jumbo-x-lg to apply margin spacing. This creates space between the content and its surroundings.

margin demo

Top

out-jumbo-t-sm

This card uses out-jumbo-t-sm to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-jumbo-t-md

This card uses out-jumbo-t-md to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-jumbo-t-lg

This card uses out-jumbo-t-lg to apply margin spacing. This creates space between the content and its surroundings.

margin demo

Bottom

out-jumbo-b-sm

This card uses out-jumbo-b-sm to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-jumbo-b-md

This card uses out-jumbo-b-md to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-jumbo-b-lg

This card uses out-jumbo-b-lg to apply margin spacing. This creates space between the content and its surroundings.

margin demo

Left

out-jumbo-l-sm

This card uses out-jumbo-l-sm to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-jumbo-l-md

This card uses out-jumbo-l-md to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-jumbo-l-lg

This card uses out-jumbo-l-lg to apply margin spacing. This creates space between the content and its surroundings.

margin demo

Right

out-jumbo-r-sm

This card uses out-jumbo-r-sm to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-jumbo-r-md

This card uses out-jumbo-r-md to apply margin spacing. This creates space between the content and its surroundings.

margin demo

out-jumbo-r-lg

This card uses out-jumbo-r-lg to apply margin spacing. This creates space between the content and its surroundings.

margin demo

Fluid Margin & Padding Helpers

See Grid and Flex classes for layout. Containers (.container-*) set page width only and should not define spacing rhythm. Use the spacing utilities below for consistent internal and external spacing. Gap utilities are available as --gap-* tokens and .gap-* classes.

:root {

  /* ----------------------------------- Spacing tokens -------------------- */
  --space-xxs: clamp(0.222rem, 0.5vw, 0.333rem); /* ~4–6px */
  --space-xs:  clamp(0.444rem, 1vw, 0.556rem);   /* ~8–10px */
  --space-sm:  clamp(0.667rem, 2vw, 1.111rem);   /* ~12–20px */
  --space-md:  clamp(0.889rem, 3vw, 2.222rem);   /* ~16–40px */
  --space-lg:  clamp(1.333rem, 8vw, 4.444rem);   /* ~24–80px */
  --space-xl:  clamp(2.222rem, 10vw, 6.666rem);  /* ~40–120px */

  --space-xxs-static: 0.222rem;
  --space-xs-static:  0.444rem;
  --space-sm-static:  0.667rem;
  --space-md-static:  0.889rem;
  --space-lg-static:  1.333rem;
  --space-xl-static:  2.222rem;
  
  /* ----------------------------------- Jumbo spacing --------------------- */
  --space-jumbo-sm: clamp(1.333rem, 14vw, 14rem);
  --space-jumbo-md: clamp(2.222rem, 16vw, 16rem);
  --space-jumbo-lg: clamp(3.333rem, 25vw, 20rem);
  
  /* ----------------------------------- Gap tokens ------------------------ */
  --gap-none: 0px;
  --gap-xxs: var(--space-xxs);
  --gap-xs: var(--space-xs);
  --gap-sm: var(--space-sm);
  --gap-md: var(--space-md);
  --gap-lg: var(--space-lg);
  --gap-xl: var(--space-xl);
}

/* ****************************************** SPACING *************************
Add space between sections with vertical spacers.
**************************************************************************** */

<div class="v-spacer-sm" aria-hidden="true" role="presentation"></div>

.v-spacer-xxs { height: var(--space-xxs); }
.v-spacer-xs  { height: var(--space-xs); }
.v-spacer-sm  { height: var(--space-sm); }
.v-spacer-md  { height: var(--space-md); }
.v-spacer-lg  { height: var(--space-lg); }
.v-spacer-xl  { height: var(--space-xl); }
  
------------------------------- Examples: padding and margin helpers

in = padding
out = margin
      
• .out-lg       (add large margin on all sides)
• .in-sm        (add small padding on all sides)
      
• .out-y-lg     (add large margin to top & bottom)
• .in-x-sm      (add small padding to left & right)
      
• .in-dwn-x-sm  (add small left/right padding to child elements)
• .out-dwn-lg   (add large margins to child elements)
      
--------------------------------------------------------------------------------  
Class extensions
    
dwn  = cascade to child elements
dwn2 = cascade to grandchildren (skip a level)

• in-Ax-dwn-*   add padding to child elements
• out-Ax-dwn-*  add margin(s) to child elements
    
* = size options
Use size to define the space: xxs, xs, sm, md, lg, xl

Ax = axis options
y = top & bottom 
x = left & right 
l = left
r = right
t = top
b = bottom

-- extended size options — jumbo
in-jumbo-Ax-*
out-jumbo-Ax-*

* = jumbo sizes: sm, md, lg
Example: .in-jumbo-y-sm  (add jumbo padding to top and bottom)
Example: .out-jumbo-y-sm (add jumbo margin to top and bottom)

-------------------------- 
To override inherited child spacing, apply a more specific spacing utility on that element directly.
-------------------------- 

General guidance
- Use .v-spacer-* to create space between sections.
- Prefer padding (in-*) for internal spacing; use margins (out-*) to separate blocks.
- hr elements can use margin classes; padding is not recommended:
  <hr class="out-y-lg" aria-hidden="true" role="presentation">
- As an alternative spacer:
  <div class="v-spacer-lg" aria-hidden="true" role="presentation"></div>
- Standard line breaks <br> are for inline content only.
Dark Mode - needs work

It seems that you have reduce motion enabled!