Redesign the frontend: real type, hero landing, depth

Lifts the UI from wireframe to a finished heritage look: Fraunces (display serif) + Inter (sans) via next/font; a proper hero landing with a feature triad and the Origin mark; a warm bronze-tinted background gradient for depth; a sticky branded header and refined footer. Polished button (sizes + bronze focus ring + shadow), card (rounded-xl, soft layered shadow), and input (bronze focus) primitives that carry across every page.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Justin Paul <justin@jpaul.me>
This commit is contained in:
2026-06-06 21:34:47 -04:00
parent fc4cb0273e
commit 3a14fcc4ca
6 changed files with 131 additions and 52 deletions
+26 -14
View File
@@ -1,44 +1,56 @@
@import "tailwindcss";
/* Brand palette (docs/brand): warm ink + bronze + paper. */
/* Brand palette + type (docs/brand): warm ink + bronze + paper, serif display. */
@theme {
--color-bronze: #a06a42;
--color-bronze-deep: #8a5836;
--color-paper: #f7f3ec;
--color-ink: #1a1a17;
--font-serif: Georgia, "Times New Roman", "Liberation Serif", ui-serif, serif;
--font-sans: var(--font-inter), ui-sans-serif, system-ui, -apple-system, sans-serif;
--font-serif: var(--font-fraunces), Georgia, "Times New Roman", ui-serif, serif;
}
/* Adaptive tokens (ink/paper flip for light/dark; bronze + paper are constant). */
/* Adaptive tokens ink/paper flip for light/dark; bronze + paper are constant. */
:root {
--background: #f7f3ec; /* paper */
--foreground: #1a1a17; /* ink */
--background: #f7f3ec;
--foreground: #1a1a17;
--muted: #6b6862;
--surface: #fbf8f2;
--border: #e4dccb;
--surface: #fffdf9;
--border: #e6ddcc;
}
@media (prefers-color-scheme: dark) {
:root {
--background: #1a1a17; /* warm near-black */
--foreground: #f2eee6; /* warm off-white */
--background: #161410;
--foreground: #f2eee6;
--muted: #9a968e;
--surface: #232019;
--border: #3a352c;
--surface: #211d17;
--border: #353029;
}
}
body {
background: var(--background);
/* A faint bronze warmth pooled at the top gives the flat paper some depth. */
background:
radial-gradient(
1100px 520px at 50% -8%,
color-mix(in srgb, var(--color-bronze) 9%, var(--background)),
var(--background) 60%
);
background-attachment: fixed;
color: var(--foreground);
font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
font-family: var(--font-sans);
}
/* Headings use the heritage serif register. */
h1,
h2,
h3,
.font-serif {
font-family: var(--font-serif);
letter-spacing: -0.015em;
}
::selection {
background: color-mix(in srgb, var(--color-bronze) 22%, transparent);
}