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;
|
|
|
|
|
|
|
|
|
|
/* === LINE HEIGHT === */
|
|
|
|
|
--line-height-tight: 1.2;
|
|
|
|
|
--line-height-normal: 1.5;
|
|
|
|
|
|
|
|
|
|
/* === 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-11 12:59:32 +03:00
|
|
|
--shadow-brutal: 8px 8px 0 var(--blue);
|
|
|
|
|
--shadow-brutal-sm: 4px 4px 0 var(--blue);
|
|
|
|
|
--shadow-brutal-lg: 12px 12px 0 var(--blue);
|
2026-04-18 15:45:55 +03:00
|
|
|
|
|
|
|
|
/* === GRID === */
|
|
|
|
|
--grid-gap: var(--space-3);
|
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);
|
|
|
|
|
--duration-fast: 100ms;
|
|
|
|
|
--duration-normal: 200ms;
|
|
|
|
|
--duration-slow: 350ms;
|
|
|
|
|
--duration-spring: 380ms;
|
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);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@layer base {
|
|
|
|
|
* {
|
|
|
|
|
@apply border-border;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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;
|
2026-05-11 12:59:32 +03:00
|
|
|
border-bottom: 2px solid var(--blue);
|
2026-04-18 15:45:55 +03:00
|
|
|
transition: all 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
|
border-bottom-width: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 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);
|
|
|
|
|
}
|
|
|
|
|
.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
|
|
|
}
|
|
|
|
|
.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
|
|
|
}
|
|
|
|
|
.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
|
|
|
}
|
|
|
|
|
.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
|
|
|
}
|
|
|
|
|
.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-04-18 15:45:55 +03:00
|
|
|
|
2026-05-12 16:10:50 +03:00
|
|
|
/* Section content enter animation (initial render, no navigation) */
|
|
|
|
|
.section-content {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
transition:
|
2026-05-13 09:39:47 +03:00
|
|
|
opacity var(--duration-slow) var(--ease-default),
|
|
|
|
|
transform var(--duration-slow) var(--ease-default);
|
2026-05-12 16:10:50 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@starting-style {
|
|
|
|
|
.section-content {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: translateY(12px);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 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-13 09:39:47 +03:00
|
|
|
|
|
|
|
|
/* Section body: instant blur-out, clean slide-in */
|
|
|
|
|
::view-transition-old(section-body) {
|
|
|
|
|
animation-name: section-body-out;
|
|
|
|
|
animation-duration: var(--duration-fast);
|
|
|
|
|
animation-timing-function: var(--ease-default);
|
|
|
|
|
animation-fill-mode: both;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::view-transition-new(section-body) {
|
|
|
|
|
animation-name: section-body-in;
|
|
|
|
|
animation-duration: var(--duration-slow);
|
|
|
|
|
animation-delay: var(--duration-normal);
|
|
|
|
|
animation-timing-function: var(--ease-decelerate);
|
|
|
|
|
animation-fill-mode: both;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes section-body-out {
|
|
|
|
|
from {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
filter: blur(0);
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
filter: blur(3px);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes section-body-in {
|
|
|
|
|
from {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: translateY(16px);
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
}
|
|
|
|
|
}
|