Use this to make the MacGray client portal look and feel like the website, mgcpg.com. Everything below is taken from the live site's code. When something isn't covered here, choose the option that is quieter, more spacious and more typographic, not more decorated.
Calm, confident, operator-grade. Light gray paper background, deep navy as the brand color, a single warm coral accent used sparingly, and generous white space. Big, tight, grotesque headlines; an italic serif for the one or two words in a heading that carry the emotion; a small uppercase monospace for labels and numbers. Rounded cards and pill-shaped buttons. One signature texture: a fine halftone dot field that fades upward from the bottom of a navy band. No gradients, no drop-shadow-heavy cards, no stock icons in bright colors, no emoji.
Use these exact values. Name the variables the same way so we can share code later.
| Token | Hex | Use |
|---|---|---|
--paper |
#F3F4F5 |
Page background |
--paper2 |
#ECEEF0 |
Alternate section background |
--surface |
#FFFFFF |
Cards, inputs, panels on top of paper |
--tan |
#E3E5E8 |
Quiet card fill, table header fill |
--tan2 |
#D3D7DC |
Stronger quiet fill, dividers on tan |
--ink |
#1A1F26 |
Primary text (charcoal) |
--ink2 |
#3A4049 |
Secondary text |
--muted |
#5A6069 |
Captions, helper text, inactive tabs (passes AA on paper) |
--line |
rgba(26,31,38,.12) |
Hairlines and card borders |
--navy (site name: --forest) |
#1B2A41 |
Brand color. Primary buttons, links, active states, navy bands |
--deep |
#141F31 |
Darkest navy. Hover on buttons, quote bands, selected chips |
--cream |
#F4F4F3 |
Text on navy |
--coral (site name: --marigold) |
#E8664A |
The one accent. The dot in the logo, check marks, a highlighted number, a small badge. Never large areas of text |
--coral-text (site name: --emph) |
#D2553A |
Coral when used for text on light backgrounds (the italic accent word in headings) |
--coral-on-navy (site name: --acc-dk) |
#F2846B |
Coral text or marks on navy backgrounds |
--rust |
#B4452C |
Errors and negative numbers |
--slate (site name: --olive) |
#6B727C |
Focus rings, secondary chart series, the number in section eyebrows |
Rules:
#9AA0A9, #CDD0D5, slate #6B727C. Coral only to highlight one series or one bar. Negative values in rust.--muted on --tan2.All from Google Fonts:
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,[email protected],400;12..96,500;12..96,600;12..96,700&family=Instrument+Serif:ital@0;1&family=Figtree:wght@400;500;600;700&family=DM+Mono:wght@400;500&display=swap">
| Role | Font | Settings |
|---|---|---|
| Display: headings, big numbers, the logo | Bricolage Grotesque | 700, letter-spacing −0.03em, line-height 1.05 |
| Body: everything you read, buttons, inputs | Figtree | 400 body, 500–600 UI, 17px / 1.6 for reading, 15–16px in dense app screens |
| Accent: one or two emotional words in a heading, quotes | Instrument Serif italic | 400, slightly tighter (−0.01em), colored --coral-text |
| Labels: eyebrows, table headers, stat labels, tags | DM Mono | 500, 11.5px, UPPERCASE, letter-spacing 0.12em |
Scale used on the site:
clamp(40px, 6vw, 72px)clamp(30px, 4.2vw, 46px)The signature heading pattern: a plain Bricolage headline where the last word or two switches to italic Instrument Serif in coral, e.g. "The tools we build with you." Use it for page and section titles, not for every card.
Numbers: tables and figures use Figtree with font-variant-numeric: tabular-nums; labels above a stat use the mono style. Big stat figures use Bricolage 700.
--r-lg: 28px (big panels, bands), --r-md: 20px (cards), --r-sm: 14px (small cards, menus), inputs 12px, buttons/pills/tags 999px (fully round).1px solid var(--line). A shadow, if any, is soft and low: 0 1px 2px rgba(11,19,34,.06).clamp(16px, 4vw, 40px). Reading text max ~65 characters.gap, not margins between siblings.Buttons
#1B2A41 fill, cream text, Figtree 600 16px, height 48px (40px in dense app UI), padding 0 24px, radius 999px. Hover: --deep.1px solid rgba(26,31,38,.22), same shape. Hover: border turns navy.Header/navigation
macgray. in Bricolage 700, 26px, lowercase, with the period in coral.1px line border, 4px padding); the active tab is a navy pill with cream text; inactive tabs are --muted 14px 500.Cards: white or --tan fill, 1px line border, 20px radius, 24px padding. Card title in Bricolage 22px; an optional mono label above it.
Eyebrow / section label: mono label in --muted, with a section number in slate before it: 01 WHAT WE DO.
Tags and chips
--deep fill, cream text, with a small coral check circle.Form fields: white fill, 1px solid rgba(26,31,38,.2), 12px radius, min-height 46px, 16px text, label above in Figtree 600 14px. Errors in rust with text next to the field (never color alone).
Tables: mono uppercase header row on --tan, hairline row dividers, tabular numbers right-aligned, no zebra striping, no vertical lines.
Quote: large Instrument Serif italic, coral opening quotation mark, attribution in Figtree 600 with a small round photo.
Navy band (signature): a full-width --deep section with cream text and the halftone texture rising from the bottom:
.band{position:relative;overflow:hidden;isolation:isolate;background:#141F31;color:#F4F4F3}
.band::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
background:radial-gradient(circle,rgba(244,244,243,.16) 1.15px,transparent 1.5px) center bottom/9px 9px;
-webkit-mask:linear-gradient(to top,#000 0,rgba(0,0,0,.5) 25%,transparent 70%);
mask:linear-gradient(to top,#000 0,rgba(0,0,0,.5) 25%,transparent 70%)}
On light backgrounds the same dots use navy at 22% (rgba(27,42,65,.22)). Use the halftone for one hero or band per screen at most, never behind dense data.
Focus: outline: 2px solid #6B727C; outline-offset: 3px; border-radius: 6px on :focus-visible. Every interactive element must show it.
prefers-reduced-motion (no auto-animation, no smooth scroll).:root{
--paper:#F3F4F5; --paper2:#ECEEF0; --surface:#FFFFFF; --tan:#E3E5E8; --tan2:#D3D7DC;
--ink:#1A1F26; --ink2:#3A4049; --muted:#5A6069; --line:rgba(26,31,38,.12);
--navy:#1B2A41; --deep:#141F31; --cream:#F4F4F3;
--coral:#E8664A; --coral-text:#D2553A; --coral-on-navy:#F2846B;
--slate:#6B727C; --rust:#B4452C;
--display:'Bricolage Grotesque',Figtree,system-ui,sans-serif;
--body:Figtree,system-ui,-apple-system,'Segoe UI',sans-serif;
--serif:'Instrument Serif',Georgia,serif;
--mono:'DM Mono',ui-monospace,Menlo,monospace;
--r-lg:28px; --r-md:20px; --r-sm:14px;
}
body{margin:0;background:var(--paper);color:var(--ink);font:400 17px/1.6 var(--body)}
h1,h2,h3{font-family:var(--display);font-weight:700;letter-spacing:-.03em;line-height:1.05;margin:0}
h1 em,h2 em{font-family:var(--serif);font-style:italic;font-weight:400;letter-spacing:-.01em;color:var(--coral-text)}
.label{font-family:var(--mono);font-size:11.5px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.btn{min-height:48px;padding:0 24px;border-radius:999px;border:0;background:var(--navy);color:var(--cream);font:600 16px var(--body);cursor:pointer}
.btn:hover{background:var(--deep)}
.btn.ghost{background:var(--surface);color:var(--ink);border:1px solid rgba(26,31,38,.22)}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);padding:24px}
a{color:var(--navy)}
:focus-visible{outline:2px solid var(--slate);outline-offset:3px;border-radius:6px}
If the portal needs a dark mode, keep the same structure: --deep as the page background, #1B2A41 for cards, cream text, coral-on-navy for the accent, and halftone dots in cream at 16%.
Reference: the live site, https://mgcpg.com, and its stylesheet at /assets/css/home.css.