--- name: Ara description: Domna's portfolio intelligence platform — housing stock data turned into clear, costed retrofit and investment plans. colors: # Brand palette — tailwind.config.js › theme.extend.colors brand-navy: "#14163d" hover-navy: "#3e4073" mid-navy: "#2d348f" bright-blue: "#3943b7" pale-blue: "#eff6fc" brand-tan: "#d3b488" hover-tan: "#947750" brand-brown: "#c4a47c" brand-gold: "#f1bb06" hover-gold: "#c79d12" # Semantic surface tokens — src/app/globals.css :root (shadcn "slate" base, components.json) surface: "#ffffff" ink: "#0f172a" muted-surface: "#f1f5f9" muted-ink: "#64748b" hairline: "#e2e8f0" focus-ring: "#94a3b8" destructive: "#ff0000" # EPC band scale — tailwind.config.js › theme.extend.colors (epc_a … epc_g) epc-a: "#117d58" epc-b: "#2da55c" epc-c: "#8dbd40" epc-d: "#f7cd14" epc-e: "#f3a96a" epc-f: "#ef8026" epc-g: "#e41e3b" # Chart series blues — tailwind.config.js safelist + src/lib/chartUtils.ts chart-blue-4: "#5d6be0" chart-blue-5: "#8b96e9" chart-blue-6: "#b8bef4" typography: display: fontFamily: "Manrope, ui-sans-serif, system-ui, sans-serif" fontSize: "110px" fontWeight: 800 lineHeight: 1 letterSpacing: "-0.05em" headline: fontFamily: "Manrope, ui-sans-serif, system-ui, sans-serif" fontSize: "1.875rem" fontWeight: 800 lineHeight: "2.25rem" letterSpacing: "-0.025em" title: fontFamily: "Inter, ui-sans-serif, system-ui, sans-serif" fontSize: "1.125rem" fontWeight: 600 lineHeight: 1 letterSpacing: "-0.025em" body: fontFamily: "Inter, ui-sans-serif, system-ui, sans-serif" fontSize: "0.875rem" fontWeight: 400 lineHeight: "1.25rem" letterSpacing: "normal" label: fontFamily: "Manrope, ui-sans-serif, system-ui, sans-serif" fontSize: "0.75rem" fontWeight: 700 lineHeight: "1rem" letterSpacing: "0.1em" rounded: sm: "0.125rem" md: "0.375rem" lg: "0.5rem" xl: "0.75rem" 2xl: "1rem" full: "9999px" tremor-small: "0.375rem" tremor-default: "0.5rem" tremor-full: "9999px" spacing: 1: "0.25rem" 2: "0.5rem" 3: "0.75rem" 4: "1rem" 6: "1.5rem" 8: "2rem" components: button-primary: backgroundColor: "{colors.ink}" textColor: "#f8fafc" rounded: "{rounded.md}" padding: "0.5rem 1rem" height: "2.5rem" typography: "{typography.body}" button-primary-hover: backgroundColor: "{colors.ink}" button-brand: backgroundColor: "{colors.brand-navy}" textColor: "#ffffff" rounded: "{rounded.xl}" padding: "0.625rem 1.5rem" typography: "{typography.body}" button-brand-hover: backgroundColor: "{colors.hover-navy}" button-outline: backgroundColor: "{colors.surface}" textColor: "{colors.ink}" rounded: "{rounded.md}" padding: "0.5rem 1rem" height: "2.5rem" button-ghost: backgroundColor: "transparent" textColor: "{colors.ink}" rounded: "{rounded.md}" padding: "0.5rem 1rem" height: "2.5rem" card-shadcn: backgroundColor: "{colors.surface}" textColor: "{colors.ink}" rounded: "{rounded.lg}" padding: "1.5rem" card-portfolio: backgroundColor: "{colors.surface}" textColor: "{colors.ink}" rounded: "{rounded.xl}" padding: "1rem" input-default: backgroundColor: "{colors.surface}" textColor: "{colors.ink}" rounded: "{rounded.md}" padding: "0.5rem 0.75rem" height: "2.5rem" typography: "{typography.body}" badge-default: backgroundColor: "{colors.ink}" textColor: "#f8fafc" rounded: "{rounded.full}" padding: "0.125rem 0.625rem" status-pill: rounded: "{rounded.full}" padding: "0.125rem 0.625rem" typography: "{typography.label}" epc-bubble: textColor: "#ffffff" rounded: "{rounded.full}" height: "1.25rem" width: "1.25rem" navbar: backgroundColor: "{colors.brand-navy}" textColor: "#d1d5db" height: "4rem" padding: "0 1rem" navbar-link-hover: backgroundColor: "{colors.hover-navy}" textColor: "#ffffff" --- # Design System: Ara ## 1. Overview **Creative North Star: "The Chartered Surveyor's Desk"** Ara is a working instrument, not a showroom. Its users are analysts, asset managers and approvers with a spreadsheet open on the next monitor; the interface's job is to hand them a number they will stake a retrofit budget on. So the system reads like an institutional document rather than a product tour: white paper, hairline rules, one deep navy that signs the page, and figures set with more care than any decoration on the screen. PRODUCT.md names the register precisely — *"calm, expert, institutional — quiet confidence appropriate to housing-sector procurement, with measured warmth from the brand tan/brown accents."* The surface is neutral by construction. Every semantic token in `src/app/globals.css` is a slate-based shadcn default: pure white background (`--background: 0 0% 100%`), near-black slate ink (`--foreground: 222.2 47.4% 11.2%`), a slate hairline (`--border: 214.3 31.8% 91.4%`). Colour is reserved for meaning: brand navy (`#14163d`) for identity and the single dark CTA; the seven-step EPC band scale (`#117d58` → `#e41e3b`) for the one dimension the whole product is about; amber/red only for risk. Density is high and deliberate — home-page cards sit at 16px padding (`p-4`, `PortfolioCard.tsx`), table cells at 12px/8px, because these screens carry hundreds of properties on large desk displays. What the system rejects, in PRODUCT.md's own words: **generic SaaS admin templates** (Bootstrap/AdminLTE dashboards, hero-metric cards, widget walls), **the bare centred icon-card grid** of the old home page, and **over-designed AI mockup output** — 2rem-rounded cards, giant soft shadows, decorative gradients, invented data the schema cannot supply. If a surface could be dropped into any other B2B dashboard without changing a word, it is wrong. **Key Characteristics:** - White surface, slate ink, hairline borders — depth comes from rules and tone, not shadow. - Navy (`#14163d`) as signature, not wallpaper: nav bar, one primary CTA, chart series anchor. - Two typefaces, one job each: Inter reads, Manrope counts. - `tabular-nums` on every figure that a user might compare down a column (39 usages across `src/`). - Seven-step EPC colour scale is the only decorative-looking colour in the product, and it is load-bearing data. - Light-mode only in practice — the dark palette exists but is dead (see the honest gaps below). ## 2. Colors A near-monochrome institutional surface, signed in navy, warmed sparingly with tan/brown, and cut by a seven-step EPC scale that is the product's only saturated vocabulary. ### Primary - **Brand Navy** (`#14163d`, `brandblue` in `tailwind.config.js`): the identity colour. It fills the nav bar (`src/app/components/Navbar.tsx`, `bg-brandblue`), the footer (`src/app/layout.tsx`), and the single dominant CTA on a page. 535 usages across `src/` — by far the most-used brand token, and the one most at risk of overuse. - **Hover Navy** (`#3e4073`, `hoverblue`): the only hover partner for brand navy. Nav links and brand buttons lift to it (`hover:bg-hoverblue`). - **Slate Ink** (`#0f172a`, `--primary` / `--foreground` in `src/app/globals.css`, expressed there as `222.2 47.4% 11.2%`): the shadcn primary. Every default `