@vocdoni/skills 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/.claude-plugin/marketplace.json +12 -2
  2. package/CHANGELOG.md +19 -0
  3. package/README.md +13 -0
  4. package/package.json +10 -2
  5. package/plugins/agentic-dev/.claude-plugin/plugin.json +1 -1
  6. package/plugins/agentic-dev/skills/subagent-driven-development/SKILL.md +10 -5
  7. package/plugins/agentic-dev/skills/subagent-driven-development/references/dispatch.md +20 -0
  8. package/plugins/agentic-dev/skills/subagent-driven-development/references/ledger.md +1 -0
  9. package/plugins/agentic-dev/skills/subagent-driven-development/scripts/task-brief.sh +2 -0
  10. package/plugins/agentic-dev/skills/subagent-driven-development/templates/plan.md +4 -0
  11. package/plugins/claude-pi-subagent/.claude-plugin/marketplace.json +1 -1
  12. package/plugins/claude-pi-subagent/plugins/pi-subagent/.claude-plugin/plugin.json +1 -1
  13. package/plugins/claude-pi-subagent/plugins/pi-subagent/dist/server.mjs +75 -12
  14. package/plugins/claude-pi-subagent/plugins/pi-subagent/package-lock.json +89 -89
  15. package/plugins/claude-pi-subagent/plugins/pi-subagent/package.json +2 -2
  16. package/plugins/claude-pi-subagent/plugins/pi-subagent/src/server.ts +1 -1
  17. package/plugins/vocdoni-ui-style/.claude-plugin/plugin.json +25 -0
  18. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/SKILL.md +99 -0
  19. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/components/chakra/product.tsx +263 -0
  20. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/components/shadcn/brand.tsx +195 -0
  21. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/components/shadcn/button.tsx +67 -0
  22. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/components/shadcn/status-badge.tsx +93 -0
  23. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/logo/vocdoni-logo-ink.svg +15 -0
  24. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/logo/vocdoni-logo-white.svg +15 -0
  25. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/logo/vocdoni-logo.svg +15 -0
  26. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/logo/vocdoni-mark-ink.svg +7 -0
  27. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/logo/vocdoni-mark-white.svg +7 -0
  28. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/logo/vocdoni-mark.svg +7 -0
  29. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/reference/editorial-footer.webp +0 -0
  30. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/reference/editorial-home-hero.webp +0 -0
  31. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/reference/editorial-mobile.webp +0 -0
  32. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/reference/editorial-stats-and-panels.webp +0 -0
  33. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/reference/editorial-vertical-hero.webp +0 -0
  34. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/reference/editorial-washes-and-comparison.webp +0 -0
  35. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/reference/product-process-results.webp +0 -0
  36. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/reference/product-signin.webp +0 -0
  37. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/tokens/editorial.chakra.ts +285 -0
  38. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/tokens/editorial.css +847 -0
  39. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/tokens/editorial.tailwind.css +352 -0
  40. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/tokens/product.chakra.ts +410 -0
  41. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/tokens/product.css +1116 -0
  42. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/assets/tokens/product.tailwind.css +289 -0
  43. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/examples/editorial-landing.html +358 -0
  44. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/examples/email-vote-invitation.html +58 -0
  45. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/examples/product-auth.html +81 -0
  46. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/examples/product-builder.html +147 -0
  47. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/examples/product-dashboard.html +185 -0
  48. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/examples/product-voting.html +326 -0
  49. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/references/brand-core.md +166 -0
  50. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/references/editorial.md +198 -0
  51. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/references/product.md +173 -0
  52. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/references/recipes.md +264 -0
  53. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/references/stacks.md +196 -0
  54. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/references/ux-flows.md +110 -0
  55. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/scripts/check-style-fixtures/bad-editorial.tsx +15 -0
  56. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/scripts/check-style-fixtures/bad-product.tsx +9 -0
  57. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/scripts/check-style-fixtures/doc.md +10 -0
  58. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/scripts/check-style-fixtures/escaped.json +1 -0
  59. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/scripts/check-style-fixtures/good-editorial.tsx +16 -0
  60. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/scripts/check-style-fixtures/good-product.css +6 -0
  61. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/scripts/check-style-fixtures/locale.json +1 -0
  62. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/scripts/check-style-fixtures/multiline-attr.tsx +8 -0
  63. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/scripts/check-style-fixtures/multiline-copy.tsx +10 -0
  64. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/scripts/check-style-fixtures/regex-literal.tsx +5 -0
  65. package/plugins/vocdoni-ui-style/skills/vocdoni-ui-style/scripts/check-style.mjs +436 -0
@@ -0,0 +1,352 @@
1
+ /*
2
+ * Vocdoni editorial mode - Tailwind CSS v4 (CSS-first) drop-in.
3
+ * Source of truth: vocdoni.io layouts/tailwind.css. Values are copied verbatim,
4
+ * except --destructive, darkened from #ef4444 (3.8:1 with white text) to an AA red.
5
+ *
6
+ * Use: make this your global stylesheet (it already does `@import 'tailwindcss'`).
7
+ * It wires shadcn/ui's variable names, so stock shadcn components pick up the
8
+ * Vocdoni palette with no edits.
9
+ *
10
+ * Fonts are NOT loaded here. Load them first (see references/stacks.md):
11
+ * @fontsource-variable/hanken-grotesk/wght.css
12
+ * @fontsource-variable/fraunces/full.css <- "full", or the SOFT axis is missing
13
+ * @fontsource-variable/jetbrains-mono/wght.css
14
+ *
15
+ * SPACING WARNING: --spacing is 0.3125rem (5px), not Tailwind's default 4px, so
16
+ * p-4 = 20px and gap-6 = 30px, with a few explicit overrides below. Class strings
17
+ * copied from vocdoni.io only look right with this base (h-11 = 54px via the
18
+ * override below, h-9 = 45px, size-2 = 10px: the eyebrow dot renders at 10px). If you are adding the
19
+ * palette to an existing app with tuned paddings, delete the --spacing line and
20
+ * the --spacing-N overrides, and accept that copied class strings run ~20% tighter.
21
+ */
22
+ @import 'tailwindcss';
23
+ @import 'tw-animate-css'; /* optional: needed by shadcn's animated primitives */
24
+ @custom-variant dark (&:is(.dark *));
25
+
26
+ :root {
27
+ /* Surfaces: warm cream, never pure white */
28
+ --background: oklch(0.988 0.011 97); /* #fdfbf3 */
29
+ --foreground: oklch(0.24 0.013 106); /* #202019 warm ink */
30
+ --card: oklch(0.988 0.011 97);
31
+ --card-foreground: oklch(0.24 0.013 106);
32
+ --popover: oklch(0.988 0.011 97);
33
+ --popover-foreground: oklch(0.24 0.013 106);
34
+ --secondary: oklch(0.962 0.022 97); /* #f6f3e2 tinted cream panels */
35
+ --secondary-foreground: oklch(0.24 0.013 106);
36
+ --muted: oklch(0.936 0.033 97); /* #f0ead2 alternate section bands */
37
+ --surface-dark: oklch(0.235 0.012 107); /* #1f1f18 dark CTA, dark panels */
38
+ --surface-dark-foreground: oklch(0.985 0.012 97);
39
+
40
+ /* Ink alpha tiers: one ink, no gray ramp */
41
+ --muted-foreground: oklch(0.24 0.013 106 / 0.64); /* 4.9:1 ledes, descriptions */
42
+ --faint: oklch(0.24 0.013 106 / 0.68); /* uppercase labels, meta only */
43
+ --border: oklch(0.24 0.013 106 / 0.1); /* hairlines */
44
+ --input: oklch(0.24 0.013 106 / 0.1);
45
+ --accent: oklch(0.24 0.013 106 / 0.07); /* hover tint fills */
46
+ --accent-foreground: oklch(0.24 0.013 106);
47
+
48
+ /* Brand */
49
+ --primary: oklch(0.47 0.085 158); /* #296948 Vocdoni green, 6.3:1 on cream */
50
+ --primary-foreground: oklch(0.985 0.012 97);
51
+ --ring: oklch(0.47 0.085 158);
52
+ --signal: oklch(0.93 0.11 102); /* #f6eb93 butter yellow: eyebrow dots ONLY */
53
+ --signal-halo: oklch(0.93 0.11 102 / 0.18);
54
+
55
+ /* Status */
56
+ --destructive: oklch(0.577 0.215 27.3); /* #dc2626, 4.8:1 with white */
57
+ --destructive-foreground: oklch(1 0 0);
58
+ --success: oklch(0.45 0.12 152);
59
+ --warning: oklch(0.48 0.17 45);
60
+ --brand-whatsapp: oklch(0.42 0.13 155);
61
+
62
+ /* Data viz: muted blue/peach ramp */
63
+ --chart-1: oklch(0.7156 0.0605 248.6845);
64
+ --chart-2: oklch(0.7875 0.0917 35.9616);
65
+ --chart-3: oklch(0.5778 0.0759 254.1573);
66
+ --chart-4: oklch(0.5016 0.0849 259.4902);
67
+ --chart-5: oklch(0.4241 0.0952 264.0306);
68
+
69
+ /* shadcn sidebar slots */
70
+ --sidebar: oklch(0.962 0.022 97);
71
+ --sidebar-foreground: oklch(0.24 0.013 106);
72
+ --sidebar-primary: oklch(0.47 0.085 158);
73
+ --sidebar-primary-foreground: oklch(0.985 0.012 97);
74
+ --sidebar-accent: oklch(0.24 0.013 106 / 0.07);
75
+ --sidebar-accent-foreground: oklch(0.24 0.013 106);
76
+ --sidebar-border: oklch(0.24 0.013 106 / 0.1);
77
+ --sidebar-ring: oklch(0.47 0.085 158);
78
+
79
+ --font-sans: 'Hanken Grotesk Variable', 'Noto Sans Devanagari Variable', system-ui, sans-serif;
80
+ --font-serif: 'Fraunces Variable', 'Noto Sans Devanagari Variable', Georgia, serif;
81
+ --font-mono: 'JetBrains Mono Variable', 'JetBrains Mono', monospace;
82
+
83
+ --radius: 1rem;
84
+
85
+ --shadow-2xs: 0px 1px 2px 0px rgb(0 0 0 / 0.05);
86
+ --shadow-xs: 0px 1px 2px 0px rgb(0 0 0 / 0.06);
87
+ --shadow-sm: 0px 1px 2px 0px rgb(0 0 0 / 0.08);
88
+ --shadow: 0px 1px 3px 0px rgb(0 0 0 / 0.08), 0px 1px 2px -1px rgb(0 0 0 / 0.06);
89
+ --shadow-md: 0px 2px 6px -1px rgb(0 0 0 / 0.1), 0px 1px 2px 0px rgb(0 0 0 / 0.06);
90
+ --shadow-lg: 0px 4px 14px 0px rgb(0 0 0 / 0.16);
91
+ --shadow-xl: 0px 8px 24px -4px rgb(0 0 0 / 0.16), 0px 2px 6px -2px rgb(0 0 0 / 0.08);
92
+ --shadow-2xl: 0px 16px 40px -8px rgb(0 0 0 / 0.2);
93
+ --shadow-panel: 0px 12px 32px -8px oklch(0.24 0.013 106 / 0.16), 0px 2px 6px -2px oklch(0.24 0.013 106 / 0.08);
94
+ --shadow-inset-top: inset 0 1px 1px rgb(255 255 255 / 0.14);
95
+ --shadow-button:
96
+ 0px 2px 3px -1px oklch(0.24 0.013 106 / 0.12), 0px 1px 0px 0px oklch(0.24 0.013 106 / 0.03),
97
+ 0px 0px 0px 1px oklch(0.24 0.013 106 / 0.1);
98
+
99
+ --spacing: 0.3125rem; /* 5px base - see SPACING WARNING above */
100
+ }
101
+
102
+ /* Dark palette: defined and kept coherent, but vocdoni.io ships light-only. */
103
+ .dark {
104
+ --background: oklch(0.22 0.012 106);
105
+ --foreground: oklch(0.95 0.012 97);
106
+ --card: oklch(0.25 0.013 106);
107
+ --card-foreground: oklch(0.95 0.012 97);
108
+ --popover: oklch(0.25 0.013 106);
109
+ --popover-foreground: oklch(0.95 0.012 97);
110
+ --primary: oklch(0.62 0.09 158);
111
+ --primary-foreground: oklch(0.2 0.012 106);
112
+ --secondary: oklch(0.27 0.014 106);
113
+ --secondary-foreground: oklch(0.95 0.012 97);
114
+ --muted: oklch(0.29 0.016 106);
115
+ --muted-foreground: oklch(0.95 0.012 97 / 0.66);
116
+ --faint: oklch(0.95 0.012 97 / 0.5);
117
+ --accent: oklch(1 0 0 / 0.07);
118
+ --accent-foreground: oklch(0.95 0.012 97);
119
+ --success: oklch(0.65 0.12 152);
120
+ --warning: oklch(0.78 0.15 50);
121
+ --brand-whatsapp: #25d366;
122
+ --border: oklch(1 0 0 / 0.1);
123
+ --input: oklch(1 0 0 / 0.1);
124
+ --ring: oklch(0.62 0.09 158);
125
+ --chart-2: oklch(0.7693 0.0876 34.1875);
126
+ --sidebar: oklch(0.25 0.013 106);
127
+ --sidebar-foreground: oklch(0.95 0.012 97);
128
+ --sidebar-primary: oklch(0.62 0.09 158);
129
+ --sidebar-primary-foreground: oklch(0.2 0.012 106);
130
+ --sidebar-accent: oklch(1 0 0 / 0.07);
131
+ --sidebar-accent-foreground: oklch(0.95 0.012 97);
132
+ --sidebar-border: oklch(1 0 0 / 0.1);
133
+ --sidebar-ring: oklch(0.62 0.09 158);
134
+ --shadow-2xs: 0px 1px 2px 0px rgb(0 0 0 / 0.2);
135
+ --shadow-xs: 0px 1px 2px 0px rgb(0 0 0 / 0.22);
136
+ --shadow-sm: 0px 1px 2px 0px rgb(0 0 0 / 0.25);
137
+ --shadow: 0px 1px 3px 0px rgb(0 0 0 / 0.25), 0px 1px 2px -1px rgb(0 0 0 / 0.2);
138
+ --shadow-md: 0px 2px 6px -1px rgb(0 0 0 / 0.3), 0px 1px 2px 0px rgb(0 0 0 / 0.2);
139
+ --shadow-lg: 0px 4px 14px 0px rgb(0 0 0 / 0.35);
140
+ --shadow-xl: 0px 8px 24px -4px rgb(0 0 0 / 0.35), 0px 2px 6px -2px rgb(0 0 0 / 0.25);
141
+ --shadow-2xl: 0px 16px 40px -8px rgb(0 0 0 / 0.4);
142
+ --shadow-panel: 0px 12px 32px -8px rgb(0 0 0 / 0.4), 0px 2px 6px -2px rgb(0 0 0 / 0.25);
143
+ --shadow-inset-top: inset 0 1px 1px rgb(255 255 255 / 0.1);
144
+ }
145
+
146
+ @theme inline {
147
+ --color-background: var(--background);
148
+ --color-foreground: var(--foreground);
149
+ --color-card: var(--card);
150
+ --color-card-foreground: var(--card-foreground);
151
+ --color-popover: var(--popover);
152
+ --color-popover-foreground: var(--popover-foreground);
153
+ --color-primary: var(--primary);
154
+ --color-primary-foreground: var(--primary-foreground);
155
+ --color-secondary: var(--secondary);
156
+ --color-secondary-foreground: var(--secondary-foreground);
157
+ --color-muted: var(--muted);
158
+ --color-muted-foreground: var(--muted-foreground);
159
+ --color-accent: var(--accent);
160
+ --color-accent-foreground: var(--accent-foreground);
161
+ --color-destructive: var(--destructive);
162
+ --color-destructive-foreground: var(--destructive-foreground);
163
+ --color-success: var(--success);
164
+ --color-warning: var(--warning);
165
+ --color-border: var(--border);
166
+ --color-input: var(--input);
167
+ --color-ring: var(--ring);
168
+ --color-chart-1: var(--chart-1);
169
+ --color-chart-2: var(--chart-2);
170
+ --color-chart-3: var(--chart-3);
171
+ --color-chart-4: var(--chart-4);
172
+ --color-chart-5: var(--chart-5);
173
+ --color-sidebar: var(--sidebar);
174
+ --color-sidebar-foreground: var(--sidebar-foreground);
175
+ --color-sidebar-primary: var(--sidebar-primary);
176
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
177
+ --color-sidebar-accent: var(--sidebar-accent);
178
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
179
+ --color-sidebar-border: var(--sidebar-border);
180
+ --color-sidebar-ring: var(--sidebar-ring);
181
+ --color-whatsapp: var(--brand-whatsapp);
182
+ --color-signal: var(--signal);
183
+ --color-surface-dark: var(--surface-dark);
184
+ --color-surface-dark-foreground: var(--surface-dark-foreground);
185
+ --color-faint: var(--faint);
186
+
187
+ --font-sans: var(--font-sans);
188
+ --font-mono: var(--font-mono);
189
+ --font-serif: var(--font-serif);
190
+
191
+ /* Radius: 16px panel radius; pills are rounded-full */
192
+ --radius-sm: calc(var(--radius) - 6px); /* 10px */
193
+ --radius-md: calc(var(--radius) - 4px); /* 12px */
194
+ --radius-lg: var(--radius); /* 16px */
195
+ --radius-xl: calc(var(--radius) + 4px); /* 20px */
196
+ --radius-card: 1.25rem; /* 20px, Card surfaces */
197
+
198
+ --shadow-2xs: var(--shadow-2xs);
199
+ --shadow-xs: var(--shadow-xs);
200
+ --shadow-sm: var(--shadow-sm);
201
+ --shadow: var(--shadow);
202
+ --shadow-md: var(--shadow-md);
203
+ --shadow-lg: var(--shadow-lg);
204
+ --shadow-xl: var(--shadow-xl);
205
+ --shadow-2xl: var(--shadow-2xl);
206
+ --shadow-button: var(--shadow-button);
207
+ --shadow-panel: var(--shadow-panel);
208
+ --shadow-inset-top: var(--shadow-inset-top);
209
+
210
+ /* Spacing overrides on the 5px base (values as rendered) */
211
+ --spacing-1\.5: 0.5rem; /* 8px */
212
+ --spacing-3: 0.875rem; /* 14px */
213
+ --spacing-3\.5: 1.0625rem; /* 17px */
214
+ --spacing-5: 1.625rem; /* 26px */
215
+ --spacing-7: 2.125rem; /* 34px */
216
+ --spacing-11: 3.375rem; /* 54px */
217
+
218
+ /* Semantic spacing */
219
+ --spacing-section: 2rem; /* 32px py-section */
220
+ --spacing-section-md: 4rem; /* 64px sm:py-section-md */
221
+ --spacing-section-lg: 6rem; /* 96px lg:py-section-lg */
222
+ --spacing-card: 1rem; /* 16px */
223
+ --spacing-card-lg: 1.75rem; /* 28px */
224
+
225
+ --animate-marquee-horizontal: marquee-horizontal var(--marquee-duration, 40s) infinite linear;
226
+ --animate-marquee-vertical: marquee-vertical var(--marquee-duration, 40s) infinite linear;
227
+ @keyframes marquee-horizontal {
228
+ from {
229
+ transform: translateX(0);
230
+ }
231
+ to {
232
+ transform: translateX(calc(-100% - var(--marquee-gap, 1rem)));
233
+ }
234
+ }
235
+ @keyframes marquee-vertical {
236
+ from {
237
+ transform: translateY(0);
238
+ }
239
+ to {
240
+ transform: translateY(calc(-100% - var(--marquee-gap, 1rem)));
241
+ }
242
+ }
243
+ }
244
+
245
+ @layer base {
246
+ * {
247
+ @apply border-border outline-ring/50;
248
+ }
249
+ html {
250
+ scroll-padding-top: 5.5rem; /* anchors land below the sticky navbar */
251
+ }
252
+ @media (prefers-reduced-motion: no-preference) {
253
+ html {
254
+ scroll-behavior: smooth;
255
+ }
256
+ }
257
+ body {
258
+ @apply bg-background text-foreground font-sans;
259
+ overflow-x: clip; /* clip, not hidden: keeps position: sticky working */
260
+ -webkit-font-smoothing: antialiased;
261
+ -moz-osx-font-smoothing: grayscale;
262
+ text-rendering: optimizeLegibility;
263
+ text-wrap: pretty;
264
+ }
265
+ /* Display headings: Fraunces at weight 400, SOFT axis maxed, WONK off. */
266
+ h1,
267
+ h2,
268
+ h3,
269
+ h4,
270
+ h5,
271
+ h6 {
272
+ @apply font-serif;
273
+ font-weight: 400;
274
+ font-variation-settings:
275
+ 'SOFT' 100,
276
+ 'WONK' 0;
277
+ letter-spacing: -0.03em;
278
+ line-height: 1.02;
279
+ text-wrap: balance;
280
+ }
281
+ @media (prefers-reduced-motion: reduce) {
282
+ *,
283
+ *::before,
284
+ *::after {
285
+ animation-duration: 0.01ms !important;
286
+ animation-iteration-count: 1 !important;
287
+ transition-duration: 0.01ms !important;
288
+ }
289
+ }
290
+ }
291
+
292
+ @layer utilities {
293
+ @keyframes shimmer {
294
+ 0% {
295
+ transform: translateX(-100%);
296
+ }
297
+ 100% {
298
+ transform: translateX(100%);
299
+ }
300
+ }
301
+ .animate-shimmer {
302
+ animation: shimmer 2s linear infinite;
303
+ }
304
+ .paused {
305
+ animation-play-state: paused;
306
+ }
307
+ /* Fade marquee edges */
308
+ .mask-gradient-x {
309
+ mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
310
+ -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
311
+ }
312
+ /* 1px inset hairline on screenshots/photos; follows border-radius, never clipped */
313
+ .image-outline {
314
+ --tw-image-outline-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.1);
315
+ box-shadow:
316
+ var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow, 0 0 #0000),
317
+ var(--tw-image-outline-shadow);
318
+ }
319
+ .dark .image-outline {
320
+ --tw-image-outline-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
321
+ }
322
+ }
323
+
324
+ @layer components {
325
+ /* Eyebrow: 8px signal dot + uppercase label above every section heading */
326
+ .eyebrow {
327
+ @apply inline-flex items-center gap-2 text-sm font-medium uppercase tracking-[0.11em] text-muted-foreground;
328
+ }
329
+ .eyebrow-dot {
330
+ @apply inline-block size-2 shrink-0 rounded-full bg-signal;
331
+ }
332
+ .eyebrow-dot-halo {
333
+ box-shadow: 0 0 0 4px var(--signal-halo);
334
+ }
335
+ /* Tactile press: scoped transition, never `all` */
336
+ .press-scale {
337
+ transition: scale 150ms cubic-bezier(0.2, 0, 0, 1);
338
+ }
339
+ .press-scale:active {
340
+ scale: 0.96;
341
+ }
342
+ /* Interactive card lift */
343
+ .card-hover {
344
+ transition:
345
+ transform 300ms ease,
346
+ box-shadow 300ms ease;
347
+ }
348
+ .card-hover:hover {
349
+ transform: translateY(-0.25rem);
350
+ @apply shadow-xl;
351
+ }
352
+ }