2026-04-18 15:45:55 +03:00
|
|
|
:root {
|
|
|
|
|
/* === TYPOGRAPHY SCALE (Augmented Fourth 1.414) === */
|
|
|
|
|
--font-size: 16px;
|
|
|
|
|
--text-xs: 0.707rem;
|
2026-04-23 20:52:43 +03:00
|
|
|
--text-sm: 0.84rem;
|
2026-04-18 15:45:55 +03:00
|
|
|
--text-base: 1rem;
|
|
|
|
|
--text-lg: 1.414rem;
|
|
|
|
|
--text-xl: 2rem;
|
|
|
|
|
--text-2xl: 2.828rem;
|
|
|
|
|
--text-3xl: 4rem;
|
|
|
|
|
--text-4xl: 5.657rem;
|
|
|
|
|
--text-5xl: 8rem;
|
|
|
|
|
|
|
|
|
|
/* === FONT FAMILIES (set by next/font CSS vars in layout.tsx) === */
|
|
|
|
|
--font-heading: var(--font-fraunces), serif;
|
|
|
|
|
--font-body: var(--font-public-sans), sans-serif;
|
|
|
|
|
|
|
|
|
|
/* === FONT WEIGHTS === */
|
|
|
|
|
--font-weight-heading: 900;
|
|
|
|
|
--font-weight-body: 600;
|
|
|
|
|
--font-weight-normal: 400;
|
|
|
|
|
|
2026-05-18 14:02:03 +03:00
|
|
|
/* Fluid section title: scales from 2rem at ~267px to 8rem at ~1707px */
|
|
|
|
|
--text-section-title: clamp(2rem, 7.5vw, 8rem);
|
|
|
|
|
|
2026-04-18 15:45:55 +03:00
|
|
|
/* === LINE HEIGHT === */
|
|
|
|
|
--line-height-tight: 1.2;
|
|
|
|
|
--line-height-normal: 1.5;
|
2026-05-18 12:38:28 +03:00
|
|
|
--line-height-relaxed: 1.65;
|
2026-04-18 15:45:55 +03:00
|
|
|
|
|
|
|
|
/* === FRAUNCES VARIABLE AXES === */
|
|
|
|
|
--fraunces-wonk: 1;
|
|
|
|
|
--fraunces-soft: 0;
|
|
|
|
|
|
2026-05-11 12:59:32 +03:00
|
|
|
/* === COLOR PALETTE: 2-color system === */
|
|
|
|
|
--cream: #f4f0e8;
|
|
|
|
|
--blue: #041cf3;
|
2026-04-18 15:45:55 +03:00
|
|
|
|
|
|
|
|
/* === SEMANTIC COLORS === */
|
2026-05-11 12:59:32 +03:00
|
|
|
--background: var(--cream);
|
|
|
|
|
--foreground: var(--blue);
|
|
|
|
|
--card: var(--cream);
|
|
|
|
|
--card-foreground: var(--blue);
|
|
|
|
|
--primary: var(--blue);
|
|
|
|
|
--primary-foreground: var(--cream);
|
|
|
|
|
--secondary: var(--cream);
|
|
|
|
|
--secondary-foreground: var(--blue);
|
|
|
|
|
--muted: var(--cream);
|
|
|
|
|
--muted-foreground: rgba(4, 28, 243, 0.5);
|
|
|
|
|
--accent: var(--blue);
|
|
|
|
|
--accent-foreground: var(--cream);
|
|
|
|
|
--destructive: var(--blue);
|
|
|
|
|
--border: var(--blue);
|
|
|
|
|
--ring: var(--blue);
|
2026-04-18 15:45:55 +03:00
|
|
|
|
|
|
|
|
/* === SPACING (8pt Linear Scale) === */
|
|
|
|
|
--space-0: 0;
|
|
|
|
|
--space-1: 0.5rem;
|
|
|
|
|
--space-2: 1rem;
|
|
|
|
|
--space-3: 1.5rem;
|
|
|
|
|
--space-4: 2rem;
|
|
|
|
|
--space-5: 2.5rem;
|
|
|
|
|
--space-6: 3rem;
|
|
|
|
|
--space-7: 3.5rem;
|
|
|
|
|
--space-8: 4rem;
|
|
|
|
|
--space-10: 5rem;
|
|
|
|
|
--space-12: 6rem;
|
|
|
|
|
--space-16: 8rem;
|
|
|
|
|
--space-20: 10rem;
|
|
|
|
|
|
|
|
|
|
/* === BORDERS === */
|
|
|
|
|
--border-width: 3px;
|
|
|
|
|
--radius: 0px;
|
|
|
|
|
|
|
|
|
|
/* === BRUTALIST SHADOWS === */
|
2026-05-16 19:03:43 +03:00
|
|
|
--shadow-brutal-xs: 1px 1px 0 var(--blue);
|
|
|
|
|
--shadow-brutal-sm: 3px 3px 0 var(--blue);
|
|
|
|
|
--shadow-brutal: 5px 5px 0 var(--blue);
|
|
|
|
|
--shadow-brutal-md: 7px 7px 0 var(--blue);
|
|
|
|
|
--shadow-brutal-lg: 8px 8px 0 var(--blue);
|
|
|
|
|
--shadow-brutal-xl: 10px 10px 0 var(--blue);
|
|
|
|
|
--shadow-brutal-2xl: 12px 12px 0 var(--blue);
|
2026-04-18 15:45:55 +03:00
|
|
|
|
|
|
|
|
/* === GRID === */
|
|
|
|
|
--grid-gap: var(--space-3);
|
2026-05-18 13:07:01 +03:00
|
|
|
--section-content-width: 72rem;
|
2026-05-21 16:36:00 +03:00
|
|
|
|
2026-05-13 09:39:47 +03:00
|
|
|
/* === ANIMATION === */
|
|
|
|
|
--ease-default: ease;
|
|
|
|
|
--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
|
|
|
--ease-decelerate: cubic-bezier(0.25, 0, 0, 1);
|
2026-05-16 19:03:43 +03:00
|
|
|
--ease-micro: cubic-bezier(0.22, 1, 0.36, 1);
|
2026-05-13 09:39:47 +03:00
|
|
|
--duration-fast: 100ms;
|
2026-05-16 19:03:43 +03:00
|
|
|
--duration-normal: 150ms;
|
2026-05-13 09:39:47 +03:00
|
|
|
--duration-slow: 350ms;
|
2026-05-16 19:03:43 +03:00
|
|
|
--duration-spring: 220ms;
|
2026-05-21 16:36:00 +03:00
|
|
|
--delay-normal: 200ms;
|
2026-04-18 15:45:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@theme inline {
|
2026-04-23 20:35:32 +03:00
|
|
|
--font-heading: var(--font-fraunces);
|
|
|
|
|
--font-body: var(--font-public-sans);
|
|
|
|
|
|
2026-05-11 12:59:32 +03:00
|
|
|
--color-cream: var(--cream);
|
|
|
|
|
--color-blue: var(--blue);
|
2026-04-18 15:45:55 +03:00
|
|
|
--color-background: var(--background);
|
|
|
|
|
--color-foreground: var(--foreground);
|
|
|
|
|
--color-primary: var(--primary);
|
|
|
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
|
|
|
--color-secondary: var(--secondary);
|
2026-04-18 15:46:40 +03:00
|
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
|
|
|
--color-muted: var(--muted);
|
|
|
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
|
|
|
--color-accent: var(--accent);
|
|
|
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
|
|
|
--color-destructive: var(--destructive);
|
|
|
|
|
--color-card: var(--card);
|
|
|
|
|
--color-card-foreground: var(--card-foreground);
|
|
|
|
|
--color-ring: var(--ring);
|
2026-04-18 15:45:55 +03:00
|
|
|
--color-border: var(--border);
|
|
|
|
|
--radius-sm: var(--radius);
|
|
|
|
|
--radius-md: var(--radius);
|
|
|
|
|
--radius-lg: var(--radius);
|
2026-05-16 19:03:43 +03:00
|
|
|
--container-section: var(--section-content-width);
|
2026-05-19 18:05:46 +03:00
|
|
|
--spacing-footer: 5rem;
|
|
|
|
|
--spacing-footer-wide: 4rem;
|
2026-05-18 14:06:01 +03:00
|
|
|
--text-section-title: var(--text-section-title);
|
2026-05-16 19:03:43 +03:00
|
|
|
|
|
|
|
|
--shadow-brutal-xs: var(--shadow-brutal-xs);
|
|
|
|
|
--shadow-brutal-sm: var(--shadow-brutal-sm);
|
|
|
|
|
--shadow-brutal: var(--shadow-brutal);
|
|
|
|
|
--shadow-brutal-md: var(--shadow-brutal-md);
|
|
|
|
|
--shadow-brutal-lg: var(--shadow-brutal-lg);
|
|
|
|
|
--shadow-brutal-xl: var(--shadow-brutal-xl);
|
|
|
|
|
--shadow-brutal-2xl: var(--shadow-brutal-2xl);
|
2026-04-18 15:45:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@layer base {
|
|
|
|
|
* {
|
|
|
|
|
@apply border-border;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-18 12:38:28 +03:00
|
|
|
::selection {
|
|
|
|
|
background-color: var(--blue);
|
|
|
|
|
color: var(--cream);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:focus-visible {
|
|
|
|
|
outline: var(--border-width) solid var(--blue);
|
|
|
|
|
outline-offset: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-18 15:45:55 +03:00
|
|
|
html {
|
|
|
|
|
font-size: var(--font-size);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
@apply bg-background text-foreground;
|
|
|
|
|
font-family: var(--font-body);
|
|
|
|
|
font-weight: var(--font-weight-body);
|
|
|
|
|
line-height: var(--line-height-tight);
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-11 12:59:32 +03:00
|
|
|
/* Subtle blue-tinted grain on parchment */
|
2026-04-18 15:45:55 +03:00
|
|
|
body::before {
|
2026-04-23 20:52:43 +03:00
|
|
|
content: "";
|
2026-04-18 15:45:55 +03:00
|
|
|
position: fixed;
|
|
|
|
|
inset: 0;
|
|
|
|
|
background-image:
|
2026-05-11 12:59:32 +03:00
|
|
|
repeating-linear-gradient(
|
|
|
|
|
0deg,
|
|
|
|
|
transparent,
|
|
|
|
|
transparent 2px,
|
|
|
|
|
rgba(4, 28, 243, 0.015) 2px,
|
|
|
|
|
rgba(4, 28, 243, 0.015) 4px
|
|
|
|
|
),
|
|
|
|
|
repeating-linear-gradient(
|
|
|
|
|
90deg,
|
|
|
|
|
transparent,
|
|
|
|
|
transparent 2px,
|
|
|
|
|
rgba(4, 28, 243, 0.015) 2px,
|
|
|
|
|
rgba(4, 28, 243, 0.015) 4px
|
|
|
|
|
);
|
|
|
|
|
opacity: 0.6;
|
2026-04-18 15:48:29 +03:00
|
|
|
display: block;
|
2026-04-18 15:45:55 +03:00
|
|
|
pointer-events: none;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-23 20:52:43 +03:00
|
|
|
h1,
|
|
|
|
|
h2,
|
|
|
|
|
h3,
|
|
|
|
|
h4,
|
|
|
|
|
h5,
|
|
|
|
|
h6 {
|
2026-04-18 15:45:55 +03:00
|
|
|
font-family: var(--font-heading);
|
|
|
|
|
font-weight: var(--font-weight-heading);
|
|
|
|
|
line-height: var(--line-height-tight);
|
2026-04-23 20:52:43 +03:00
|
|
|
font-variation-settings:
|
|
|
|
|
"WONK" var(--fraunces-wonk),
|
|
|
|
|
"SOFT" var(--fraunces-soft);
|
2026-05-11 12:59:32 +03:00
|
|
|
color: var(--blue);
|
2026-04-18 15:45:55 +03:00
|
|
|
}
|
|
|
|
|
|
2026-04-23 20:52:43 +03:00
|
|
|
h1 {
|
|
|
|
|
font-size: var(--text-4xl);
|
|
|
|
|
}
|
|
|
|
|
h2 {
|
|
|
|
|
font-size: var(--text-3xl);
|
|
|
|
|
}
|
|
|
|
|
h3 {
|
|
|
|
|
font-size: var(--text-2xl);
|
|
|
|
|
}
|
|
|
|
|
h4 {
|
|
|
|
|
font-size: var(--text-xl);
|
|
|
|
|
}
|
|
|
|
|
h5 {
|
|
|
|
|
font-size: var(--text-lg);
|
|
|
|
|
}
|
2026-04-18 15:45:55 +03:00
|
|
|
|
|
|
|
|
p {
|
|
|
|
|
font-family: var(--font-body);
|
|
|
|
|
font-size: var(--text-base);
|
|
|
|
|
font-weight: var(--font-weight-body);
|
2026-05-11 12:59:32 +03:00
|
|
|
color: var(--blue);
|
2026-04-18 15:45:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a {
|
2026-05-11 12:59:32 +03:00
|
|
|
color: var(--blue);
|
2026-04-18 15:45:55 +03:00
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
|
font-family: var(--font-heading);
|
|
|
|
|
font-size: var(--text-xl);
|
2026-05-11 12:59:32 +03:00
|
|
|
border-left: var(--border-width) solid var(--blue);
|
2026-04-18 15:45:55 +03:00
|
|
|
padding-left: var(--space-4);
|
|
|
|
|
margin: var(--space-6) 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-16 19:03:43 +03:00
|
|
|
/* Button elevation transition — only transform animates; shadow snaps instantly */
|
|
|
|
|
.btn-transition {
|
|
|
|
|
transition: transform 0.13s var(--ease-micro);
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-18 15:45:55 +03:00
|
|
|
/* Brutalist utility classes */
|
2026-04-23 20:52:43 +03:00
|
|
|
.brutal-shadow {
|
|
|
|
|
box-shadow: var(--shadow-brutal);
|
|
|
|
|
}
|
|
|
|
|
.brutal-shadow-sm {
|
|
|
|
|
box-shadow: var(--shadow-brutal-sm);
|
|
|
|
|
}
|
|
|
|
|
.brutal-shadow-lg {
|
|
|
|
|
box-shadow: var(--shadow-brutal-lg);
|
|
|
|
|
}
|
2026-05-19 18:05:46 +03:00
|
|
|
@utility brutal-border {
|
2026-05-11 12:59:32 +03:00
|
|
|
border: var(--border-width) solid var(--blue);
|
2026-04-23 20:52:43 +03:00
|
|
|
}
|
2026-05-19 18:05:46 +03:00
|
|
|
@utility brutal-border-top {
|
2026-05-11 12:59:32 +03:00
|
|
|
border-top: var(--border-width) solid var(--blue);
|
2026-04-23 20:52:43 +03:00
|
|
|
}
|
2026-05-19 18:05:46 +03:00
|
|
|
@utility brutal-border-bottom {
|
2026-05-11 12:59:32 +03:00
|
|
|
border-bottom: var(--border-width) solid var(--blue);
|
2026-04-23 20:52:43 +03:00
|
|
|
}
|
2026-05-19 18:05:46 +03:00
|
|
|
@utility brutal-border-left {
|
2026-05-11 12:59:32 +03:00
|
|
|
border-left: var(--border-width) solid var(--blue);
|
2026-04-23 20:52:43 +03:00
|
|
|
}
|
2026-05-19 18:05:46 +03:00
|
|
|
@utility brutal-border-right {
|
2026-05-11 12:59:32 +03:00
|
|
|
border-right: var(--border-width) solid var(--blue);
|
2026-04-23 20:52:43 +03:00
|
|
|
}
|
2026-05-18 14:04:56 +03:00
|
|
|
/* Apply Fraunces variable axes to non-heading elements using the heading font */
|
|
|
|
|
.font-wonk {
|
|
|
|
|
font-variation-settings:
|
|
|
|
|
"WONK" var(--fraunces-wonk),
|
|
|
|
|
"SOFT" var(--fraunces-soft);
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-18 12:51:33 +03:00
|
|
|
/* Sidebar divider: bottom border on mobile, right border on desktop */
|
|
|
|
|
.brutal-border-sidebar {
|
|
|
|
|
border-bottom: var(--border-width) solid var(--blue);
|
|
|
|
|
}
|
2026-05-18 13:11:53 +03:00
|
|
|
@media (min-width: 1024px) {
|
2026-05-18 12:51:33 +03:00
|
|
|
.brutal-border-sidebar {
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
border-right: var(--border-width) solid var(--blue);
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-04-18 15:45:55 +03:00
|
|
|
|
2026-05-16 19:03:43 +03:00
|
|
|
/* Editorial rich-text typography */
|
|
|
|
|
.rich-text {
|
|
|
|
|
max-width: 65ch;
|
2026-05-18 12:39:07 +03:00
|
|
|
line-height: var(--line-height-relaxed);
|
2026-05-16 19:03:43 +03:00
|
|
|
font-feature-settings: "onum";
|
|
|
|
|
hanging-punctuation: first last;
|
|
|
|
|
text-wrap: pretty;
|
2026-05-12 16:10:50 +03:00
|
|
|
}
|
|
|
|
|
|
2026-05-19 18:05:46 +03:00
|
|
|
.rich-text a {
|
|
|
|
|
border-bottom: var(--border-width) solid var(--blue);
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transition: opacity var(--duration-normal);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rich-text a:hover {
|
|
|
|
|
opacity: 0.6;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-16 19:03:43 +03:00
|
|
|
.rich-text p + p {
|
|
|
|
|
margin-top: 1.2em;
|
2026-05-12 16:10:50 +03:00
|
|
|
}
|
|
|
|
|
|
2026-05-18 12:39:07 +03:00
|
|
|
.rich-text ul {
|
|
|
|
|
list-style: none;
|
|
|
|
|
padding-left: 0;
|
|
|
|
|
margin: 1em 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rich-text ul li {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: auto 1fr;
|
|
|
|
|
gap: 0.65em;
|
|
|
|
|
align-items: start;
|
|
|
|
|
margin-top: 0.5em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rich-text ul li:first-child {
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rich-text ul li::before {
|
|
|
|
|
content: "◆";
|
|
|
|
|
color: var(--blue);
|
|
|
|
|
font-size: 0.55em;
|
|
|
|
|
/* line-height matches parent so diamond centers within the first line box */
|
|
|
|
|
line-height: calc(var(--line-height-relaxed) / 0.55);
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-12 16:10:50 +03:00
|
|
|
/* Cross-section view transition (navigation between sections) */
|
|
|
|
|
::view-transition-old(section-content) {
|
2026-05-13 09:39:47 +03:00
|
|
|
animation-name: section-fade-out;
|
|
|
|
|
animation-duration: var(--duration-normal);
|
|
|
|
|
animation-timing-function: var(--ease-default);
|
|
|
|
|
animation-fill-mode: both;
|
2026-05-12 16:10:50 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::view-transition-new(section-content) {
|
2026-05-13 09:39:47 +03:00
|
|
|
animation-name: section-fade-in;
|
|
|
|
|
animation-duration: var(--duration-spring);
|
|
|
|
|
animation-timing-function: var(--ease-spring);
|
|
|
|
|
animation-fill-mode: both;
|
2026-05-12 16:10:50 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes section-fade-out {
|
|
|
|
|
from {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: translateY(-8px);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes section-fade-in {
|
2026-04-23 20:52:43 +03:00
|
|
|
from {
|
|
|
|
|
opacity: 0;
|
2026-05-12 16:10:50 +03:00
|
|
|
transform: translateY(12px);
|
2026-04-23 20:52:43 +03:00
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-05-21 16:36:00 +03:00
|
|
|
|
|
|
|
|
/* Section body slide-in from right */
|
|
|
|
|
::view-transition-old(section-body) {
|
|
|
|
|
animation-name: section-body-out;
|
|
|
|
|
animation-duration: var(--duration-normal);
|
|
|
|
|
animation-timing-function: var(--ease-default);
|
|
|
|
|
animation-fill-mode: both;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::view-transition-new(section-body) {
|
|
|
|
|
animation-name: section-body-in;
|
|
|
|
|
animation-duration: var(--duration-spring);
|
|
|
|
|
animation-timing-function: var(--ease-spring);
|
|
|
|
|
animation-fill-mode: both;
|
|
|
|
|
animation-delay: var(--delay-normal);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes section-body-out {
|
|
|
|
|
from {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: translateX(0) scale(1);
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: translateX(-12px) scale(0.98);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes section-body-in {
|
|
|
|
|
from {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: translateX(48px) scale(0.98);
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: translateX(0) scale(1);
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-05-21 17:59:40 +03:00
|
|
|
|
|
|
|
|
/* Keep footer above sliding section-body during view transitions */
|
|
|
|
|
.footer-vt {
|
|
|
|
|
view-transition-name: site-footer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::view-transition-group(site-footer) {
|
|
|
|
|
z-index: 10;
|
|
|
|
|
}
|