Box mensuelle personnalisée – Curio Crate
Unboxing ludique : crème chaleureux, cobalt et jaune soleil, formes très arrondies, stickers et rubans, ombres douces façon papier découpé.
Copie le prompt dans le presse-papier, sans quitter la page.
1. CONTEXT & GOAL
Build the online storefront for Marginalia, an independent bookshop run by four booksellers who hand-pick every title. The audience is heavy readers tired of algorithmic recommendations who want a human voice guiding their next read. The signature idea: bookseller opinions are rendered as handwritten pencil annotations sitting in the literal margins of the layout — arrows, underlines, short notes like 'read this in one sitting — Claire' — so the whole shop feels like a borrowed, lovingly annotated copy.
2. ART DIRECTION
Paper and ink. The site should feel printed, not rendered: warm cream paper background with a faint grain texture (2% opacity noise), hairline printer rules between sections, folios and running heads like a book ('Marginalia — Rayon Fiction' top right in small caps). References: old Gallimard covers, the NYRB Classics catalogue, letterpress specimen sheets. No card shadows anywhere except the physical lift of a book cover on hover. What separates it from a generic shop template: a wide asymmetric margin column on desktop reserved exclusively for the handwritten annotations.
3. COLOR SYSTEM
Paper background #F7F3EA, alt section paper #F1EBDD, ink text primary #1C1A17, secondary text #57514A, muted captions #8A8378. Rules and borders #D9D1C0. Accent rust (links, prices, CTAs) #B3402A, hover #99341F, active #802A18. Annotation pencil #6E655B, annotation red underline #B3402A at 70% opacity. Success (in stock) #4A6B4F, warning (last copies) #A87424, error #8F2F22. Button primary: background #1C1A17, text #F7F3EA, hover background #322E28; button secondary: 1px border #1C1A17 on transparent, hover background #EDE6D6. Focus ring #B3402A 2px offset 2px.
4. TYPOGRAPHY
Display and headings: 'Fraunces' (Google Fonts), optical size axis high, weight 600. H1 clamp 40px to 64px, line-height 1.05, letter-spacing -0.015em. H2 32px/1.15. Book titles 22px/1.2 weight 600. Body: 'Newsreader' 17px/1.65 regular, secondary 15px/1.55. Prices in 'Fraunces' 20px weight 500 with tabular figures. Handwritten annotations: 'Caveat' 19px/1.4, rotated between -2deg and 1.5deg per note. Captions and running heads 12px uppercase letter-spacing 0.12em in #8A8378.
5. LAYOUT & GRID
Desktop (1200px+): 12-column grid, max width 1240px, but content occupies columns 1-9; columns 10-12 form the annotation margin. Gutter 32px, side padding 48px. Tablet (768-1199px): content full width, annotations become inline pull-quotes between rows. Mobile (<768px): single column, 20px padding, annotations shown as small folded-corner notes attached to book cards. Vertical rhythm on an 8px scale: 112px between rayons on desktop, 72px tablet, 56px mobile. Book grids: 4 columns desktop, 3 tablet, 2 mobile, gap 40px/32px/20px.
6. SECTIONS & COMPONENTS
Hero as a title page: kicker 'Librairie indépendante — depuis 2019', H1 'Des livres choisis, jamais calculés.', sub 'Quatre libraires. Trois cents titres. Zéro algorithme.' CTA 'Voir la table des nouveautés'. Section 'La table des nouveautés': 8 covers with title, author, price — 'La Fille du cartographe', Inès Vall, 22,50 €; 'Prairies salées', T. Okafor, 19,90 €; 'Petit traité des disparitions', M. Aubrac, 24,00 €; 'L'Hiver des autres', 21,00 €. Each card: cover, title, author, price, stock line 'Plus que 2 exemplaires' in warning color when low. Margin annotations: 'celui-ci, les yeux fermés — Sami', with a pencil arrow SVG pointing at the cover. Section 'Les libraires conseillent': 4 bookseller portraits with their current pick and a 40-word handwritten note. Book detail page: two columns — cover with a flippable 3-page excerpt, right column with synopsis, 'L'avis de Claire' annotation block, format selector (Poche 9,20 € / Grand format 22,50 €), quantity stepper, 'Ajouter au panier'. Cart drawer styled as an order slip with a dashed tear line, subtotal, 'Livraison offerte dès 35 €' progress rule. Newsletter band: 'La lettre du dimanche — une recommandation par semaine, écrite à la main.' Input + button with success state 'Bien reçu. À dimanche.' All interactive elements define hover, focus-visible (2px #B3402A ring), active (translateY 1px), disabled (40% opacity), and loading (label swaps to 'Un instant…').
7. MOTION
Annotations write themselves on viewport enter: SVG stroke-dashoffset animation, 900ms cubic-bezier(0.65,0,0.35,1), starting 200ms after the associated card settles. Book cards fade and rise 12px on viewport enter, staggered 60ms, 450ms cubic-bezier(0.22,1,0.36,1). Cover hover: rotateX 4deg, translateY -6px, shadow grows from 0 2px 4px to 0 18px 32px rgba(28,26,23,0.18), 220ms ease-out. Excerpt page flip: rotateY from 0 to -180deg, 550ms cubic-bezier(0.4,0,0.2,1), transform-origin left. Add-to-cart: a rubber-stamp 'Ajouté' badge scales from 1.4 to 1 with opacity, 300ms cubic-bezier(0.34,1.56,0.64,1). Cart drawer slides in from right 380ms cubic-bezier(0.32,0.72,0,1). prefers-reduced-motion: annotations appear instantly at full stroke, cards use 120ms opacity fades only, page flip becomes a crossfade, stamp appears without scale.
8. TECH & QUALITY
Next.js 15 App Router, Tailwind CSS v4 with the palette above as CSS custom properties in @theme, Framer Motion for reveals and the drawer, Radix UI Dialog for the cart. Structure: app/(shop)/page.tsx, app/livre/[slug]/page.tsx, components/shop/BookCard.tsx, MarginNote.tsx, ExcerptFlip.tsx, CartDrawer.tsx. Accessibility: annotations are real text with aria-hidden decorative SVG strokes; contrast checked — #57514A on #F7F3EA is 5.9:1, #B3402A on #F7F3EA is 5.2:1; semantic headings h1-h3 in order; covers get descriptive alt ('Couverture de Prairies salées, fond bleu nuit'); quantity stepper uses buttons with aria-label; cart drawer traps focus and restores it on close; stock warnings use text, never color alone.Marginalia est une librairie indépendante en ligne qui vend une sélection resserrée de romans et d'essais choisis par quatre libraires. Cible : grands lecteurs qui cherchent des recommandations humaines plutôt qu'un algorithme. Idée signature : les avis des libraires apparaissent comme de vraies annotations manuscrites au crayon dans les marges des fiches livres, comme dans un exemplaire annoté.
Papier et encre : fond crème, sérifs éditoriaux, filets d'imprimerie, annotations manuscrites rouille dans les marges.
Force : les avis des libraires rendus comme de vraies annotations manuscrites en marge, avec une flèche au crayon pointant la couverture, incarnent littéralement l'idée de recommandation humaine. Faiblesse : aucune significative, la mise en page façon page de garde est cohérente jusqu'au tiroir de panier en bordereau. Prêt à l'usage.
Unboxing ludique : crème chaleureux, cobalt et jaune soleil, formes très arrondies, stickers et rubans, ombres douces façon papier découpé.
Wabi-sabi japonais : vides assumés, gris pierre et vert matcha, accents terre cuite, composition asymétrique, texte vertical ponctuel.
Spec sheet technique : blanc quadrillé, monospace, cotes et lignes de mesure, un seul accent orange signal.