Design System

Hover over any sample to see its CSS.

Colors

Accent
Secondary
Gradient
Main text
Muted
Border
Callout / Objective bg
White
Accent soft
Card/media bg
Border ghost

Typography

Typography classes (.eyebrow, .subtitle, .org, etc.) define only font styling — no margins or padding. Spacing is applied explicitly in HTML via margin utilities (e.g. mb-6, mb-12, mt-32). See Spacing section for the full utility scale.

Type scale

Font sizes and one example use each. Use these sizes consistently for hierarchy.

SizeExample use
0.75remMetric labels
0.8remcase-block__title captions
0.85remLogo role, footer brand
0.9rem.text-small, accent label
1remp (body), .eyebrow
1.1rem.subtitle
1.4remLogo (script)
1.5remh3
1.75remh2, .org
3remCase study h1
3.5rem.hero h1 (homepage)

Typography (by hierarchy — largest to smallest)

Role / StylePurposeHTMLClasses / IDsExample
Hero headlineMain page title on the homepageh1.hero

Designing for Impact

Section titleMajor section headings (e.g. Recommendations). Use h2.h2

Recommendations

Card org / companyCompany or organization name in case study heroes and cardsp.org

The Walt Disney Company

Index work card companyCompany name on homepage work blocksh4.blue

The Walt Disney Company

Subsection / Card titleSection subheadings and case card titles. Use h3.h3

Profitability through price increases

Logo (script)Site name in script/display fontspan.logo__name
Caroline Win
SubtitleSupporting text below section titlesp.subtitle

Thanks to all my teammates!

Body textPrimary body: hero intro, card summaryp

As a scientist-turned-designer…

Footer body / linksFooter body text and navigation links (use standard p and a)p, a

Message on LinkedIn or email.

Text smallSmall body copy (e.g. metadata)p.text-small

Jan 2023 to present

Logo subtitleTagline or role below logospan.logo__role
Product Designer, Researcher, & Builder
EyebrowSmall uppercase labels above section titlesp.eyebrow

Selected Work

Buttons

StylePurposeExample
Primary CTAMain call-to-action for primary actions
Learn More
Ghost / secondarySecondary or less prominent actions
Secondary action
Text linkMinimal link style for tertiary actions

Corners and shadows

StylePurposeExample
Radius extra largeLargest corner radius for major containers
Radius largeStandard large radius for cards and sections
Radius mediumMedium radius for buttons and smaller elements
PillFully rounded for pill-shaped elements
Shadow softSubtle depth shadow for elevated elements
Shadow primaryPrimary button default shadow

Layout

Container

Main content width and horizontal margins. --container-max: 1280px, --container-margin: 72px

Reading width (measure)

Comfortable line length: 45–75 characters. .hero p uses max-width: 42rem.

Sections

.section, .section__header, .section--work, .section--recommendations, .section--anchor

Recommendations section content

Content fills 100% viewport width minus 72px left and right margins (36px each side). Use .recommendations__inner with max-width: 1280px; section keeps full-width background.

Marquee

Infinite left-sliding text. Use .marquee, .marquee__track, .marquee__text. Respects prefers-reduced-motion.

Media: static vs lightbox

.static_media — no zoom. .case-block__media — hover lift, click opens lightbox.

Spacing

Explicit spacing in HTML

Apply spacing via margin utilities: mb-6, mb-12, mt-32, etc.

Margin utilities

mb-0, mb-2, mb-4, mb-6, mb-8, mb-12, mb-16, mb-24, mb-32, mb-40 (and mt-*).

Space token scale (CSS)

--space-2 through --space-120. Section gaps use --space-120.