init elas atelier

This commit is contained in:
2026-05-14 08:24:41 +02:00
parent 3b704a24a7
commit 38f33cacb1
19 changed files with 1436 additions and 657 deletions
+679 -154
View File
@@ -1,8 +1,9 @@
@import "tailwindcss";
/*
* NARLBLOG THEME ENGINE
* All UI components automatically pick up these tokens.
* SALON HANG — gallery theme.
* Aged parchment ground, oxblood ink, ochre+cobalt+vermillion accents.
* Romantic gravity (Friedrich, Dix, Goya) + raw scrawl (Basquiat) + bold cutout (Matisse, Kahlo).
*/
@theme {
@@ -33,11 +34,75 @@
--color-flamingo: var(--flamingo);
--color-rosewater: var(--rosewater);
--font-sans: 'Inter Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-sans: 'EB Garamond Variable', 'EB Garamond', Georgia, 'Times New Roman', serif;
--font-display: 'Fraunces Variable', 'Fraunces', Georgia, 'Times New Roman', serif;
--font-hand: 'Caveat', 'Bradley Hand', cursive;
--font-mono: 'JetBrains Mono Variable', ui-monospace, 'SF Mono', Menlo, monospace;
}
:root, .mocha {
/* SALON — default. Aged parchment with romantic weight. */
:root, .salon {
--crust: #14100C;
--mantle: #2A1F18;
--base: #ECE0C6;
--surface0: #DDCEB0;
--surface1: #B69C70;
--surface2: #826846;
--overlay0: #5C463A;
--overlay1: #463226;
--overlay2: #2E1F17;
--text: #1A120C;
--subtext0: #5C463A;
--subtext1: #3D2B1E;
/* accents — mapped to the original token names so existing UI flows pick them up */
--blue: #1F3A78; /* Kahlo cobalt */
--lavender: #5C4D7A; /* faded violet */
--sapphire: #2B3E5C; /* deep ink-blue */
--sky: #4A6FA0; /* muted azure */
--teal: #4C7264; /* verdigris */
--green: #6A7341; /* olive */
--yellow: #C9882B; /* Friedrich ochre */
--peach: #C26847; /* terracotta */
--maroon: #6B2B2A; /* wine */
--red: #B83A2B; /* Matisse/Goya vermillion */
--mauve: #6B1F1A; /* oxblood — primary accent */
--pink: #B85A6C; /* rosehip */
--flamingo: #C77A6C; /* faded coral */
--rosewater: #E8D9BD; /* bone */
}
/* Salon Noir — black gallery wall variant (Goya black paintings, Abramović stark). */
.salon-noir {
--crust: #050402;
--mantle: #0E0A06;
--base: #16110B;
--surface0: #221A12;
--surface1: #3A2B1E;
--surface2: #5C4530;
--overlay0: #7A5D43;
--overlay1: #93755A;
--overlay2: #B69779;
--text: #ECE0C6;
--subtext0: #B69C70;
--subtext1: #D6C49E;
--blue: #5A7DC4;
--lavender: #9A8DBE;
--sapphire: #87A9D8;
--sky: #B0C4E0;
--teal: #84A89A;
--green: #B9C076;
--yellow: #E9B854;
--peach: #E89570;
--maroon: #A04A47;
--red: #E25940;
--mauve: #C24336; /* lifted oxblood for dark bg contrast */
--pink: #E090A0;
--flamingo: #EBA797;
--rosewater: #F4E5C9;
}
/* Legacy Catppuccin themes — kept for users that already opted in. */
.mocha {
--crust: #11111b; --mantle: #181825; --base: #1e1e2e;
--surface0: #313244; --surface1: #45475a; --surface2: #585b70;
--overlay0: #6c7086; --overlay1: #7f849c; --overlay2: #9399b2;
@@ -49,31 +114,6 @@
--flamingo: #f2cdcd; --rosewater: #f5e0dc;
}
.macchiato {
--crust: #181926; --mantle: #1e2030; --base: #24273a;
--surface0: #363a4f; --surface1: #494d64; --surface2: #5b6078;
--overlay0: #6e738d; --overlay1: #8087a2; --overlay2: #939ab7;
--text: #cad3f5; --subtext0: #a5adcb; --subtext1: #b8c0e0;
--blue: #8aadf4; --lavender: #b7bdf8; --sapphire: #7dc4e4;
--sky: #91d7e3; --teal: #8bd5ca; --green: #a6da95;
--yellow: #eed49f; --peach: #f5a97f; --maroon: #ee99a0;
--red: #ed8796; --mauve: #c6a0f6; --pink: #f5bde6;
--flamingo: #f0c1c1; --rosewater: #f4dbd6;
}
.frappe {
--crust: #232634; --mantle: #292c3c; --base: #303446;
--surface0: #414559; --surface1: #51576d; --surface2: #626880;
--overlay0: #737994; --overlay1: #838ba7; --overlay2: #949cbb;
--text: #c6d0f5; --subtext0: #a5adce; --subtext1: #b5bfe3;
--blue: #8caaee; --lavender: #babbf1; --sapphire: #85c1dc;
--sky: #99d1db; --teal: #81c8be; --green: #a6d189;
--yellow: #e5c890; --peach: #ef9f76; --maroon: #ea999c;
--red: #e78284; --mauve: #ca9ee6; --pink: #f4b8e4;
--flamingo: #eebebe; --rosewater: #f2d5cf;
}
/* Light themes — darkened secondary text for WCAG AA against base. */
.latte {
--crust: #dce0e8; --mantle: #e6e9ef; --base: #eff1f5;
--surface0: #ccd0da; --surface1: #bcc0cc; --surface2: #acb0be;
@@ -86,20 +126,9 @@
--flamingo: #dd7878; --rosewater: #dc8a78;
}
.scaled-and-icy {
--crust: #e2e8f0; --mantle: #f1f5f9; --base: #f8fafc;
--surface0: #cbd5e1; --surface1: #94a3b8; --surface2: #64748b;
--overlay0: #475569; --overlay1: #334155; --overlay2: #1e293b;
--text: #0f172a; --subtext0: #1e293b; --subtext1: #334155;
--blue: #0284c7; --lavender: #6366f1; --sapphire: #0ea5e9;
--sky: #0284c7; --teal: #0d9488; --green: #16a34a;
--yellow: #ca8a04; --peach: #ea580c; --maroon: #be123c;
--red: #dc2626; --mauve: #9333ea; --pink: #db2777;
--flamingo: #be185d; --rosewater: #b91c1c;
}
html {
font-family: var(--font-sans);
font-feature-settings: "kern", "liga", "calt", "onum";
}
body {
@@ -108,194 +137,652 @@ body {
min-height: 100vh;
transition: background-color 0.3s ease, color 0.3s ease;
-webkit-font-smoothing: antialiased;
font-size: 1.0625rem;
line-height: 1.65;
position: relative;
}
/* Paper grain — applied as a fixed overlay so every page gets the texture. */
body::before {
content: "";
position: fixed;
inset: 0;
pointer-events: none;
z-index: -2;
background-color: var(--base);
}
body::after {
content: "";
position: fixed;
inset: 0;
pointer-events: none;
z-index: 0;
opacity: 0.35;
mix-blend-mode: multiply;
background-image:
url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.10 0 0 0 0 0.07 0 0 0 0 0.04 0 0 0 0.22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.salon-noir body::after,
html.salon-noir body::after {
opacity: 0.5;
}
/* Floating motes of pigment — far background, very subtle. */
.salon-atmosphere {
position: fixed;
inset: 0;
z-index: -1;
pointer-events: none;
overflow: hidden;
}
.salon-atmosphere::before,
.salon-atmosphere::after {
content: "";
position: absolute;
border-radius: 50%;
filter: blur(120px);
opacity: 0.18;
}
.salon-atmosphere::before {
width: 55vw; height: 55vw;
top: -15vw; left: -10vw;
background: var(--mauve);
}
.salon-atmosphere::after {
width: 45vw; height: 45vw;
bottom: -10vw; right: -10vw;
background: var(--blue);
opacity: 0.12;
}
code, pre, kbd, samp {
font-family: var(--font-mono);
}
/* Prose — readable column, calm hierarchy */
/* Selection */
::selection {
background: var(--mauve);
color: var(--rosewater);
}
/* ───── Display utilities ───── */
.font-display {
font-family: var(--font-display);
font-feature-settings: "kern", "liga", "calt", "lnum", "ss01";
letter-spacing: -0.01em;
}
.font-hand {
font-family: var(--font-hand);
font-weight: 400;
}
.font-display-italic {
font-family: var(--font-display);
font-style: italic;
font-feature-settings: "kern", "liga", "calt", "ss01";
}
/* Roman numerals get small-caps treatment */
.numeral {
font-family: var(--font-display);
font-variant-numeric: lining-nums;
letter-spacing: 0.08em;
font-weight: 500;
}
/* ───── Salon prose — exhibit plaque body ───── */
.prose {
color: var(--text);
max-width: 72ch;
max-width: 62ch;
margin-left: auto;
margin-right: auto;
line-height: 1.75;
font-size: 1.05rem;
font-size: 1.125rem;
font-family: var(--font-sans);
}
@media (min-width: 768px) {
.prose {
font-size: 1.0625rem;
}
.prose { font-size: 1.1875rem; }
}
.prose h1 {
font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
font-weight: 700;
.prose > *:first-child { margin-top: 0; }
.prose p:first-of-type::first-letter {
font-family: var(--font-display);
font-weight: 600;
font-size: 3.6em;
line-height: 0.85;
float: left;
margin: 0.08em 0.12em 0 -0.04em;
color: var(--mauve);
margin: 0 0 1rem;
line-height: 1.2;
}
.prose h1 {
font-family: var(--font-display);
font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
font-weight: 600;
font-style: italic;
color: var(--text);
margin: 0 0 1.25rem;
line-height: 1.05;
letter-spacing: -0.02em;
}
.prose h2 {
font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.875rem);
font-weight: 600;
font-family: var(--font-display);
font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
font-weight: 500;
color: var(--text);
margin: 2.5rem 0 1rem;
padding-bottom: 0.4rem;
border-bottom: 1px solid color-mix(in srgb, var(--surface2) 60%, transparent);
line-height: 1.3;
margin: 3rem 0 1rem;
line-height: 1.2;
letter-spacing: -0.01em;
}
.prose h2::before {
content: "§ ";
color: var(--mauve);
font-style: italic;
opacity: 0.7;
}
.prose h3 {
font-size: 1.35rem;
font-weight: 600;
font-family: var(--font-display);
font-size: 1.4rem;
font-weight: 500;
font-style: italic;
color: var(--text);
margin: 2rem 0 0.75rem;
line-height: 1.35;
margin: 2.25rem 0 0.75rem;
}
.prose h4 {
font-size: 1.15rem;
font-weight: 600;
color: var(--text);
margin: 1.5rem 0 0.5rem;
font-family: var(--font-display);
font-size: 1.2rem;
font-weight: 500;
color: var(--subtext1);
margin: 1.75rem 0 0.5rem;
}
.prose h5 {
font-size: 1rem;
font-size: 0.85rem;
font-weight: 600;
color: var(--subtext1);
color: var(--subtext0);
text-transform: uppercase;
letter-spacing: 0.05em;
letter-spacing: 0.18em;
margin: 1.5rem 0 0.5rem;
}
.prose h6 {
font-size: 0.9rem;
font-weight: 600;
color: var(--subtext0);
font-size: 0.85rem;
font-weight: 500;
color: var(--overlay0);
font-style: italic;
margin: 1rem 0 0.5rem;
}
.prose p {
margin: 0 0 1.1rem;
}
.prose p { margin: 0 0 1.15rem; }
.prose blockquote {
border-left: 3px solid var(--mauve);
padding: 0.25rem 0 0.25rem 1.1rem;
margin: 1.5rem 0;
border-left: 3px double var(--mauve);
padding: 0.5rem 0 0.5rem 1.4rem;
margin: 1.75rem 0;
color: var(--subtext1);
font-family: var(--font-display);
font-style: italic;
}
.prose pre {
padding: 1rem 1.1rem;
border-radius: 0.75rem;
overflow-x: auto;
border: 1px solid color-mix(in srgb, var(--surface1) 70%, transparent);
margin: 1.5rem 0;
background-color: var(--crust);
font-size: 0.9rem;
font-size: 1.15em;
line-height: 1.55;
}
.prose blockquote::before {
content: "“";
font-family: var(--font-display);
color: var(--mauve);
font-size: 2.5em;
line-height: 0;
vertical-align: -0.35em;
margin-right: 0.1em;
opacity: 0.55;
}
.prose pre {
padding: 1rem 1.1rem;
border-radius: 0;
border: 1px solid var(--surface2);
border-left-width: 3px;
border-left-color: var(--mauve);
margin: 1.75rem 0;
background-color: color-mix(in srgb, var(--surface0) 70%, transparent);
font-size: 0.875rem;
line-height: 1.55;
overflow-x: auto;
}
.prose code {
background-color: color-mix(in srgb, var(--surface0) 80%, transparent);
padding: 0.15rem 0.4rem;
border-radius: 0.3rem;
background-color: color-mix(in srgb, var(--surface0) 90%, transparent);
padding: 0.1rem 0.4rem;
border-radius: 0;
border-bottom: 1px solid var(--surface1);
font-size: 0.9em;
color: var(--peach);
color: var(--mauve);
}
.prose pre code {
background: transparent;
padding: 0;
border-radius: 0;
border: 0;
color: inherit;
font-size: inherit;
}
.prose img {
max-width: 100%;
height: auto;
border-radius: 0.75rem;
margin: 1.75rem 0;
border: 1px solid color-mix(in srgb, var(--surface1) 50%, transparent);
}
.prose a {
color: var(--blue);
color: var(--mauve);
text-decoration: underline;
text-underline-offset: 2px;
text-decoration-color: var(--surface1);
text-decoration-thickness: 1px;
transition: color 0.15s;
text-underline-offset: 3px;
transition: color 0.15s, text-decoration-color 0.15s;
}
.prose a:hover {
color: var(--sky);
color: var(--red);
text-decoration-color: var(--red);
}
.prose ul, .prose ol {
margin: 0 0 1.1rem;
padding-left: 1.5rem;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose ul ul { list-style: circle; }
.prose ul ul ul { list-style: square; }
.prose li { margin: 0.25rem 0; }
.prose hr {
margin: 2.5rem 0;
border: 0;
border-top: 1px solid color-mix(in srgb, var(--surface2) 70%, transparent);
}
.prose strong { color: var(--text); font-weight: 700; }
.prose em { color: inherit; font-style: italic; }
.prose del { color: var(--overlay1); text-decoration: line-through; }
.prose li input[type="checkbox"] { margin-right: 0.5rem; accent-color: var(--blue); vertical-align: middle; }
.prose li:has(> input[type="checkbox"]) { list-style: none; margin-left: -1.25rem; }
/* GFM tables */
.prose ul, .prose ol {
margin: 0 0 1.15rem;
padding-left: 1.6rem;
}
.prose ul { list-style: none; }
.prose ul > li { position: relative; padding-left: 0.2rem; }
.prose ul > li::before {
content: "❦";
position: absolute;
left: -1.2rem;
color: var(--mauve);
font-size: 0.85em;
top: 0.05em;
}
.prose ol { list-style: decimal-leading-zero; }
.prose ol > li::marker { color: var(--mauve); font-family: var(--font-display); font-style: italic; }
.prose li { margin: 0.3rem 0; }
.prose hr {
margin: 3rem auto;
border: 0;
text-align: center;
height: 1em;
}
.prose hr::before {
content: "✦ ✦ ✦";
color: var(--surface2);
letter-spacing: 0.8em;
font-size: 0.85em;
}
.prose strong { color: var(--mauve); font-weight: 700; }
.prose em { color: inherit; font-style: italic; font-family: var(--font-display); }
.prose del { color: var(--overlay0); text-decoration: line-through; }
/* ───── Figure / image plate — the heart of the gallery body ───── */
.prose figure,
.prose p > img:only-child {
margin: 2.5rem 0;
}
.prose figure {
display: block;
text-align: center;
}
.prose figure img,
.prose img {
display: block;
max-width: 100%;
height: auto;
margin: 0 auto;
border: 1px solid var(--surface2);
padding: 6px;
background:
linear-gradient(var(--rosewater), var(--rosewater)) padding-box,
linear-gradient(135deg, var(--surface2), var(--surface1)) border-box;
box-shadow:
0 1px 0 var(--surface0),
0 18px 38px -22px rgba(20, 16, 12, 0.45),
0 2px 6px -2px rgba(20, 16, 12, 0.2);
border-radius: 2px;
}
.salon-noir .prose figure img,
.salon-noir .prose img {
background:
linear-gradient(var(--surface0), var(--surface0)) padding-box,
linear-gradient(135deg, var(--surface2), var(--surface1)) border-box;
box-shadow:
0 18px 38px -22px rgba(0, 0, 0, 0.7),
0 2px 6px -2px rgba(0, 0, 0, 0.5);
}
.prose figure figcaption {
font-family: var(--font-display);
font-style: italic;
font-size: 0.9rem;
color: var(--subtext0);
margin-top: 0.85rem;
letter-spacing: 0.02em;
line-height: 1.4;
}
.prose figure figcaption::before {
content: "— ";
color: var(--mauve);
}
/* GFM tables — keep, slightly more editorial */
.prose table {
width: 100%;
margin: 1.75rem 0;
border-collapse: collapse;
border-radius: 0.5rem;
overflow: hidden;
border: 1px solid var(--surface1);
font-size: 0.9rem;
border: 1px solid var(--surface2);
font-size: 0.95rem;
font-family: var(--font-sans);
}
.prose thead { background-color: color-mix(in srgb, var(--surface0) 60%, transparent); }
.prose thead { background-color: color-mix(in srgb, var(--surface0) 80%, transparent); }
.prose th {
padding: 0.6rem 0.9rem;
padding: 0.55rem 0.9rem;
text-align: left;
font-weight: 600;
color: var(--text);
border-bottom: 1px solid var(--surface1);
border-bottom: 1px solid var(--surface2);
text-transform: uppercase;
letter-spacing: 0.08em;
font-size: 0.75rem;
}
.prose td {
padding: 0.5rem 0.9rem;
border-bottom: 1px solid color-mix(in srgb, var(--surface1) 60%, transparent);
}
.prose tr:last-child td { border-bottom: 0; }
.prose tr:nth-child(even) td { background-color: color-mix(in srgb, var(--surface0) 25%, transparent); }
/* Glass surface */
/* ───── Salon plate — a single framed image card used on the gallery index ───── */
.plate {
position: relative;
background: var(--rosewater);
padding: 14px 14px 0 14px;
border: 1px solid var(--surface2);
box-shadow:
inset 0 0 0 1px color-mix(in srgb, var(--surface1) 50%, transparent),
0 1px 0 var(--surface0),
0 22px 42px -28px rgba(20, 16, 12, 0.5),
0 4px 12px -6px rgba(20, 16, 12, 0.25);
border-radius: 2px;
transition: transform 0.4s cubic-bezier(0.2, 0.6, 0.2, 1),
box-shadow 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.salon-noir .plate {
background: var(--surface0);
}
.plate:hover {
transform: translateY(-4px) rotate(-0.25deg);
box-shadow:
inset 0 0 0 1px color-mix(in srgb, var(--surface1) 60%, transparent),
0 1px 0 var(--surface0),
0 32px 60px -28px rgba(20, 16, 12, 0.55),
0 8px 20px -8px rgba(20, 16, 12, 0.3);
}
.plate .plate-image {
position: relative;
overflow: hidden;
background: var(--mantle);
}
.plate .plate-image img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
filter: saturate(0.94) contrast(1.02);
transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.4s ease;
}
.plate:hover .plate-image img {
transform: scale(1.03);
filter: saturate(1.05) contrast(1.04);
}
.plate .plate-caption {
padding: 12px 4px 14px 4px;
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 1rem;
}
.plate .plate-caption-title {
font-family: var(--font-display);
font-style: italic;
font-weight: 500;
font-size: 1.05rem;
line-height: 1.2;
color: var(--text);
letter-spacing: -0.005em;
}
.plate .plate-caption-meta {
font-family: var(--font-sans);
font-size: 0.72rem;
text-transform: uppercase;
letter-spacing: 0.18em;
color: var(--subtext0);
white-space: nowrap;
align-self: flex-start;
padding-top: 0.35rem;
}
/* The little exhibit number stuck to the corner of a plate */
.plate-tag {
position: absolute;
top: -10px;
left: 14px;
background: var(--mauve);
color: var(--rosewater);
font-family: var(--font-display);
font-size: 0.7rem;
font-weight: 600;
letter-spacing: 0.18em;
padding: 4px 8px;
text-transform: uppercase;
box-shadow: 0 2px 6px -2px rgba(20, 16, 12, 0.45);
}
.plate-tag-mini {
position: absolute;
bottom: 18px;
right: 18px;
background: rgba(20, 16, 12, 0.78);
color: var(--rosewater);
font-family: var(--font-display);
font-size: 0.7rem;
letter-spacing: 0.16em;
padding: 3px 8px;
text-transform: uppercase;
backdrop-filter: blur(2px);
}
/* Nameplate — the museum-style header used in the site chrome */
.nameplate {
display: inline-flex;
flex-direction: column;
align-items: flex-start;
gap: 2px;
position: relative;
}
.nameplate::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: -6px;
height: 2px;
background: linear-gradient(to right,
var(--mauve) 0%,
var(--mauve) 35%,
var(--surface2) 35%,
var(--surface2) 100%);
}
.nameplate-title {
font-family: var(--font-display);
font-weight: 600;
font-style: italic;
font-size: 1.6rem;
letter-spacing: -0.01em;
color: var(--text);
line-height: 1;
}
.nameplate-subtitle {
font-family: var(--font-sans);
font-size: 0.65rem;
letter-spacing: 0.32em;
text-transform: uppercase;
color: var(--subtext0);
}
/* Section ornaments */
.section-rule {
display: flex;
align-items: center;
gap: 1rem;
color: var(--subtext0);
font-family: var(--font-display);
font-style: italic;
font-size: 0.95rem;
letter-spacing: 0.04em;
}
.section-rule::before,
.section-rule::after {
content: "";
flex: 1;
height: 1px;
background: var(--surface2);
}
.section-rule .ornament {
color: var(--mauve);
}
/* Scrawled handwritten margin notes */
.scrawl {
font-family: var(--font-hand);
color: var(--mauve);
font-size: 1.4rem;
line-height: 1;
transform: rotate(-6deg);
display: inline-block;
}
.scrawl-mark::before {
content: "✕";
font-family: var(--font-hand);
color: var(--red);
margin-right: 0.35em;
}
/* Stripe (Matisse cutout) chip used for tags */
.chip {
display: inline-flex;
align-items: center;
gap: 0.3rem;
font-family: var(--font-display);
font-style: italic;
font-size: 0.78rem;
padding: 0.15rem 0.6rem;
background: color-mix(in srgb, var(--surface0) 80%, transparent);
border: 1px solid var(--surface2);
color: var(--subtext1);
border-radius: 1px;
letter-spacing: 0.02em;
}
.chip-accent {
background: var(--mauve);
color: var(--rosewater);
border-color: var(--mauve);
}
/* Card / glass — keep the name but reinterpret as a paper card */
.glass {
background-color: color-mix(in srgb, var(--surface0) 75%, transparent);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.25);
border-radius: 1rem;
background-color: color-mix(in srgb, var(--surface0) 80%, transparent);
border: 1px solid var(--surface2);
box-shadow:
inset 0 0 0 1px color-mix(in srgb, var(--surface1) 50%, transparent),
0 10px 30px -20px rgba(20, 16, 12, 0.45);
border-radius: 2px;
}
.salon-noir .glass {
background-color: color-mix(in srgb, var(--surface0) 70%, transparent);
}
/* Don't double-blur nested glass surfaces */
.glass .glass {
background-color: color-mix(in srgb, var(--surface0) 50%, transparent);
backdrop-filter: none;
-webkit-backdrop-filter: none;
box-shadow: none;
/* ───── Buttons ───── */
.btn-stamp {
display: inline-flex;
align-items: center;
gap: 0.5rem;
font-family: var(--font-display);
font-style: italic;
font-weight: 500;
font-size: 0.95rem;
padding: 0.55rem 1.2rem;
background: var(--mauve);
color: var(--rosewater);
border: 1px solid var(--mauve);
border-radius: 1px;
letter-spacing: 0.02em;
text-decoration: none;
cursor: pointer;
transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
box-shadow: 0 4px 0 -2px color-mix(in srgb, var(--mauve) 60%, black);
}
.btn-stamp:hover {
transform: translateY(-1px);
background: var(--red);
border-color: var(--red);
box-shadow: 0 6px 0 -2px color-mix(in srgb, var(--red) 60%, black);
}
.btn-stamp:active {
transform: translateY(1px);
box-shadow: 0 1px 0 -1px color-mix(in srgb, var(--mauve) 60%, black);
}
.btn-ghost {
display: inline-flex;
align-items: center;
gap: 0.5rem;
font-family: var(--font-sans);
font-size: 0.82rem;
padding: 0.4rem 0.85rem;
background: transparent;
color: var(--subtext1);
border: 1px solid var(--surface2);
border-radius: 1px;
letter-spacing: 0.06em;
text-transform: uppercase;
text-decoration: none;
cursor: pointer;
transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.btn-ghost:hover {
color: var(--mauve);
border-color: var(--mauve);
background: color-mix(in srgb, var(--mauve) 8%, transparent);
}
/* hljs token colors — driven by theme tokens */
/* Form input look */
.field-input {
width: 100%;
background: color-mix(in srgb, var(--surface0) 60%, transparent);
border: 1px solid var(--surface2);
border-radius: 1px;
padding: 0.65rem 0.9rem;
color: var(--text);
font-family: var(--font-sans);
font-size: 1rem;
transition: border-color 0.15s, background 0.15s;
}
.field-input:focus {
outline: none;
border-color: var(--mauve);
background: color-mix(in srgb, var(--rosewater) 70%, transparent);
}
.field-label {
display: block;
font-family: var(--font-sans);
font-size: 0.72rem;
letter-spacing: 0.22em;
text-transform: uppercase;
color: var(--subtext0);
margin-bottom: 0.4rem;
}
/* hljs token colors — driven by theme tokens, slightly muted for parchment bg */
.hljs { color: var(--text); background: transparent; }
.hljs-keyword, .hljs-selector-tag, .hljs-built_in { color: var(--mauve); font-weight: 600; }
.hljs-string, .hljs-attr { color: var(--green); }
.hljs-number, .hljs-literal { color: var(--peach); }
.hljs-comment, .hljs-quote { color: var(--overlay1); font-style: italic; }
.hljs-comment, .hljs-quote { color: var(--overlay0); font-style: italic; }
.hljs-title, .hljs-section, .hljs-name { color: var(--blue); }
.hljs-type, .hljs-class .hljs-title { color: var(--yellow); }
.hljs-variable, .hljs-template-variable { color: var(--red); }
/* KaTeX inherits prose color */
/* KaTeX */
.katex { color: var(--text); }
/* Skeleton loader */
@@ -308,7 +795,7 @@ code, pre, kbd, samp {
);
background-size: 200% 100%;
animation: skeleton-shimmer 1.5s ease-in-out infinite;
border-radius: 0.5rem;
border-radius: 1px;
}
@keyframes skeleton-shimmer {
0% { background-position: 200% 0; }
@@ -321,13 +808,15 @@ code, pre, kbd, samp {
bottom: 1.5rem;
left: 50%;
transform: translateX(-50%);
background: var(--surface0);
border: 1px solid var(--surface1);
color: var(--text);
background: var(--mantle);
border: 1px solid var(--surface2);
color: var(--rosewater);
padding: 0.65rem 1.1rem;
border-radius: 0.6rem;
box-shadow: 0 8px 24px -8px rgba(0,0,0,0.4);
font-size: 0.85rem;
border-radius: 1px;
box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.45);
font-family: var(--font-display);
font-style: italic;
font-size: 0.9rem;
z-index: 200;
animation: toast-in 0.2s ease;
}
@@ -335,3 +824,39 @@ code, pre, kbd, samp {
from { opacity: 0; transform: translate(-50%, 8px); }
to { opacity: 1; transform: translate(-50%, 0); }
}
/* Salon grid spans driven by --col-span custom prop (avoids Tailwind dynamic class issue). */
@media (min-width: 768px) {
.md-col-span {
grid-column: span var(--col-span, 6) / span var(--col-span, 6);
}
}
/* Subtle page enter animation for gallery / plaque */
@keyframes plate-fade-up {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
}
.plate-enter {
opacity: 0;
animation: plate-fade-up 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
/* Custom checkbox accent for form bits inside the salon */
input[type="checkbox"] { accent-color: var(--mauve); }
input[type="date"] { color-scheme: light; }
.salon-noir input[type="date"] { color-scheme: dark; }
/* Reading progress bar - thin terracotta line */
.reading-progress {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 2px;
background: var(--mauve);
z-index: 150;
transform-origin: left;
transform: scaleX(0);
transition: transform 80ms linear;
}