Skip to main content

Design

note

Rendered from sites/saloon/DESIGN.md. This page is generated from the site's own docs and rewritten on every docs build. Edit the source in sites/saloon/, not here.

Visual system for Ana Saloon. Captured from the live tokens in src/styles/global.css (Tailwind v4 @theme, Material You color roles) — this is the committed brand, not a proposal. Identity preservation wins: new work composes within these tokens.

Theme​

Light, warm, boutique. A soft blush-cream world lit like daylight in a calm studio — never sterile white, never dark. Color strategy is restrained: tinted near-white surfaces carry the page, a single blush brand color does the work, and gold appears only as a thin accent (≤10% of any surface). Warmth comes from the surface tint, the serif display face, and the photography — not from saturation or decoration.

Color​

OKLCH-described, stored as hex in @theme. Brand hue is a muted rose-brown (--color-primary #705955); surfaces are tinted toward that hue rather than toward generic "warm."

RoleTokenHexUse
Body background--color-background / --color-surface#fff8f6Page bg — warm off-white, tinted toward blush
Surface (lowest)--color-surface-container-lowest#ffffffCards, raised panels
Surface (low/var)--color-surface-container-low#fff1ecInputs, subtle fills
Surface (high)--color-surface-container-high#fae4dbSection banding, image placeholders
Ink (primary)--color-on-surface#241914Headings + body. 4.5:1+ on all surfaces
Ink (muted)--color-on-surface-variant#4f4442Secondary text — verify ≥4.5:1 on tinted bg
Brand--color-primary#705955Wordmark tint, primary structural color
Blush--color-blush#f4d6d0Primary button fill, selection, accents
Blush deep--color-blush-deep#e8a6a0Button hover, link hover
Gold--color-gold#c9a961Thin accent only: dividers, focus ring, small flourishes
Secondary--color-secondary#745b1bEyebrow/label text (deep ochre for contrast)
Cream--color-cream#fbf7f2Alt warm surface
Error--color-error#ba1a1aValidation, with error-container #ffdad6
Outline--color-outline / -variant#817472 / #d3c3c0Borders, input outlines

Rules. Gold is an accent, never a fill or gradient-text. Blush is the action color. Keep muted-ink-on-tinted-surface combinations at AA — bump toward --color-on-surface if a pairing is borderline. No gradient text, no side-stripe borders, no glassmorphism.

Typography​

Two families on a contrast axis (serif display + humanist sans), self-hosted via Fontsource (no external font requests).

  • Display: "Fraunces Variable", Georgia, serif — --font-display. A warm, soft-serif variable face (chosen over Playfair, a reflex-reject Didone, to read hand-made/intimate rather than fashion-masthead). Headings h1–h4, wordmark (italic 500), .heading-xl/lg/md. font-optical-sizing: auto + font-variation-settings: "SOFT" 30, "opsz" <size> to round the terminals; weight 440–500, line-height: 1.08–1.2, letter-spacing: -0.005em to -0.015em.
  • Body: "Manrope", system-ui, sans-serif — --font-body. Body, labels, buttons. Base 16px / line-height: 1.5.
  • Scale: fluid via clamp(). heading-xl clamp(2.5rem, 6vw, 3.5rem), heading-lg clamp(2rem, 4vw, 2.5rem), heading-md clamp(1.5rem, 3vw, 2rem). Display ceiling stays well under the 6rem cap.
  • Labels / eyebrows: .label-md — Manrope 600, 0.875rem, letter-spacing: 0.05em, uppercase, in --color-secondary.

Use text-wrap: balance on h1–h3 and pretty on long prose. No all-caps body.

Section cadence: no uppercase eyebrow above section titles — the inconsistent per-section eyebrow scaffold was removed and stays removed. .label-md uppercase is reserved for in-card sub-labels (e.g. a service subtitle, the "Bun de știut" panel label, contact field labels), never as a kicker above a section title.

Headings stack: heading alone, or heading above a lead paragraph capped at ~55ch. A section carries one message.

No split headers (big heading left, small explainer floating right). That pattern was tried here and reverted: it is a decorative device that splits a section's single message in two. The one permitted exception is a right-hand column carrying a real element rather than filler text, which is why the FAQ pairs its accordion with an actual "ask me" card.

Variation between sections comes from what each section is (a price list, a numbered protocol, a masonry grid), not from dressing up its header.

The gold divider is reserved, not default — it marks the two warm, personal moments (Ana's intro, the loyalty panel). An accent on every section is not an accent.

Spacing & Layout​

  • Container: .container-page — max-width: 1200px, centered, padding-inline: 1.25rem (→ 2rem at ≥768px).
  • Section rhythm: .section — padding-block: 3rem (→ 6rem at ≥768px), with .section--airy (4/8rem) and .section--tight (2.5/4rem) modifiers. Vary these deliberately — a uniform beat down nine sections reads as a template. Airy where a section wants room (the gallery); tight where one continues the section above it (contact after booking).
  • Breakpoint: mobile-first; primary desktop switch at 768px (md).
  • Grid for 2D section layouts (hero 2-col), flex for 1D rows.

The hero must show the offer and the action on the first screen. Two rules keep it there, both learned by measuring rather than guessing:

  1. Text first in source order. The image used to be order-1 on mobile, so a phone opened on a wordless photo — no headline, no booking button. Natural order puts the proposition and the WhatsApp CTA first; the desktop two-column grid still reads text-left / image-right.
  2. Cap the hero image on desktop (md:h-[27rem] lg:h-[30rem]). Left uncapped, a 4/5 portrait grew to 670px, pushed the headline 321px down and put the primary CTA below the fold on a 1280×577 laptop.

The columns are 1.05fr / 0.95fr, not 1fr / 1fr — a slight asymmetry, since the text needs the wider measure and a dead-even split is the most templated shape available.

Interaction & Motion​

  • Focus ring: 2px solid var(--color-gold) at 3px offset, on :focus-visible only, declared with :where(...) so specificity stays 0. Never replace it with outline: none. This is the gold accent's real job.
  • Target size: every interactive element clears 24x24px. Text nav links carry min-h-[24px] plus padding, not bare inline text.
  • Touch: touch-action: manipulation on interactive elements (kills the 300ms double-tap delay) and -webkit-tap-highlight-color: transparent. The grey flash is suppressed, so .btn:active provides the press feedback instead; do not remove one without the other.
  • One motion curve: cubic-bezier(0.22, 1, 0.36, 1) for every transition and reveal. No bare ease-out / ease-in-out / linear.
  • Scroll reveals use IntersectionObserver, never a scroll listener. The nav's scrolled state and the mobile bar's visibility are both observer-driven for the same reason: no per-frame work on the main thread.

Texture​

  • .page-grain — a fixed, pointer-events-none film-grain layer at opacity: 0.035, z-30 (under the nav). It takes the digital flatness off the cream. It must stay fixed so it composites once; attaching grain to a scrolling container repaints every frame. Hidden under prefers-reduced-motion and prefers-contrast: more.

Punctuation​

  • No en-dashes or em-dashes in rendered copy. Hyphens only: Luni - Vineri, 09:00 - 19:00, 2-3 saptamani. Dashes in code comments are fine; nothing renders them. The legal pages are the exception and change only with the owner's approval.

Shape & Elevation​

  • Radii: --radius-sm 0.25rem · --radius 0.5rem · --radius-md 0.75rem · --radius-lg 1rem · --radius-xl 1.5rem · --radius-full 9999px.
  • Buttons & inputs are pill-shaped (--radius-full); cards use --radius-lg.
  • Elevation: soft, low, warm-tinted shadows only — 0 4px 24px -16px rgba(43,31,26,0.08) (cards), 0 4px 16px -8px rgba(43,31,26,0.12) (primary button). No hard drop shadows.

Components​

  • .btn / .btn-primary / .btn-secondary — pill, uppercase 0.875rem Manrope 600, letter-spacing: 0.05em. Primary = blush fill → blush-deep hover. Secondary = transparent with 1.5px blush border → blush fill on hover.
  • .btn-whatsapp — solid WhatsApp green (--color-whatsapp #118040, white text = 5.02:1 AA) for the primary booking action. The single strongest CTA on the page; green is the recognizable "message me" cue and marks every WhatsApp action site-wide (Booking panel, Contact, mobile sticky FAB).
  • .btn-on-blush — solid brand-primary fill for CTAs placed on a blush surface (e.g. the Loyalty panel) where .btn-primary's blush would vanish.
  • .card — white surface, --radius-lg, 2rem padding, soft shadow. Use sparingly; never nest cards.
  • .input / textarea.input — pill (textarea = --radius-lg), low surface fill, outline-variant border, gold focus border.
  • .gold-divider — 48×1.5px gold rule, the signature accent flourish.
  • .wordmark — italic Fraunces, the brand mark.
  • .reveal — scroll-in reveal, opt-in via .js-reveal so content is visible without JS; reduced-motion collapses it to no transition.
  • MobileBookingBar (#mobile-booking-bar, md:hidden, z-30) — sticky bottom WhatsApp CTA for phones (the nav booking button is hidden on mobile). Safe-area aware. No-JS default visible; the inline script (.js-fab) only refines when to hide it: while the mobile menu is open, while Booking / Contact / Footer are on screen (their own WhatsApp CTA would be redundant), and until the user scrolls past the hero. Reduced-motion fades instead of sliding.

Motion​

Quiet and purposeful. Reveal-on-scroll (opacity + 8px translateY, 600ms cubic-bezier(0.22, 1, 0.36, 1) / ease-out-quint) is the main motion language; button/link state transitions are 200ms ease-out. No bounce, no elastic, no scroll-jacking. Every animation has a prefers-reduced-motion: reduce path (already in global.css). Reveals enhance an already-visible default — never gate content visibility on them.

Reveal failsafe (Base.astro). Because a JS-capable client that never scrolls — a headless renderer, a link-preview / social-card bot, a backgrounded tab where IntersectionObserver is throttled — would otherwise leave below-fold .reveals stuck at opacity:0 and capture a blank page, the script (a) reveals anything in the first viewport synchronously at load, and (b) force-reveals everything still hidden after a 2.5s timeout regardless of scroll. The failsafe snaps in with no transition (.reveal-now) since it's a correction, not an entrance. No-JS clients are unaffected: js-reveal is never added, so the CSS default keeps all content visible.

Iconography & Imagery​

  • Imagery is the brand. Real photos of Ana's work (public/images/real/*, swapped in via PUBLIC_IMAGE_SOURCE=real), SVG mocks as the safe-to-commit fallback. Hero uses a 4:5 portrait crop in a rounded frame with a faint gold radial accent.
  • Iconography: Phosphor, one family, no exceptions. .astro files use astro-icon's <Icon name="ph:..." />, which inlines the SVG at build time (no runtime, no sprite fetch). The one React island imports named glyphs from @phosphor-icons/react at weight="light" so the island stays tree-shaken and the family still matches. Do not hand-roll SVG icon paths — that is what produced the previous mismatched 1.5 / 1.6 / 2.0 stroke widths. No clip-art service icons. (an explicit anti-reference).