# Aster Lane Clinic — Design System

> A four-route community-clinic site: a living noticeboard overview, a care-team directory, a practical visit-planning guide, and a booking desk whose chosen team, clinician, and demo time persist across pages. Demo only, no backend.

## Direction

- **Direction**: Poster Stack × Pastel Soft Tech
- **Thesis**: Use the “three overlapping poster planes at different angles” silhouette to carry Booking Calendar, with the primary content set as the operable main object, then unify type, material, and state feedback through Pastel Soft Tech.
- **Tradeoff**: Limit decorative treatments so the structural pattern serves the visitor's task.
- **Fit**: 1.0

## Pattern Composition

- **Anchor pattern**: booking-calendar
- **Support patterns**: service-intake, checkout-flow
- **Design principles**: progressive-disclosure, state-visibility, accessible-interaction-parity
- **Style capsule**: pastel-soft-tech
- **Negative pattern**: no pattern reproduction

### Template Fingerprint Composition

- **Fingerprints**: tf-092, tf-006, tf-013
- **Composition family**: poster-stack
- **Composition signature**: poster-stack / care-schedule wall / three clipped posters at different angles / live time ribbon and confirmation slip
- **Silhouette**: three clipped poster planes fan across a pale clinic wall while a live appointment ribbon cuts through the composition and the confirmation slip hangs past the lower edge
- **Anchor object**: the live week-of-care ribbon and the confirmation slip
- **Spatial system**: one continuous angled poster wall; department, clinician, date, and time share a single reading path rather than isolated panels
- **Overlap strategy**: the clinician poster overlaps the department poster; the selected-time slip overlaps the schedule ribbon and extends beyond the poster edge
- **Depth strategy**: shallow paper layers, a cut-through live window, one lifted slip, and no uniform card shadow
- **Shape grammar**: clipped paper corners, rounded pills, hand-drawn connector arcs, folded tabs, and a stamp-like confirmation badge
- **Material transitions**: warm paper to pale enamel to apricot ink to one translucent reception-glass strip
- **Visual motifs**: clinic-hours poster, week ribbon, time pills, care path, paper tab, confirmation stamp
- **Motion composition**: a brief settle of poster layers after selection; slot selection lifts the slip 4px; reduced motion removes transforms and transitions

**Structural breaks (must be implemented in DOM and layout)**

- The live time ribbon runs across two poster planes instead of sitting inside one panel.
- The confirmation slip extends beyond the right and bottom poster edges.
- One clinician note tag overlaps the week ribbon and remains readable.

- **Anti-rectangular constraint**: No equal-width department cards, no rectangle-sidebar-plus-form, no ordinary table; recoloring rounded cards would not satisfy this composition.
- **No fake non-rectangularity**: Uniform radii, uniform shadows, recoloring, or added gradients do not count as a non-rectangular composition. DOM, contour, overflow, and overlap relationships must change.
- **Originality boundary**: Visual fingerprints provide abstract spatial composition only. Do not inherit the source template's copy, brand, palette tokens, assets, component tree, or code.

## Information Architecture

- **Clinic overview** — Orient a neighbour quickly: what the clinic is like, which care team fits, and what is happening this week.; objects: care team, service, clinician, weekly notice; actions: scan services, meet clinicians, open booking
- **Care directory** — Explain each service and clinician in depth so the visitor can choose with confidence rather than guess.; objects: service detail, clinician profile, availability, care handover principle; actions: compare services, request clinician, carry choice to booking
- **Visit planning** — Reduce arrival anxiety with concrete guidance on timing, documents, access, transport, interpreters, and support.; objects: arrival step, checklist item, transport route, access note, faq; actions: read steps, check what to bring, plan access
- **Booking desk** — Turn a care choice into a complete local demo appointment with visible selection, validation, and a persistent slip.; objects: appointment slot, patient detail, confirmation code, next-step note; actions: choose slot, enter details, confirm locally, edit slip
- **Cross-page appointment state** — Keep the chosen care team, clinician, day, time, and slip consistent as the visitor moves between overview, directory, planning, and booking.; objects: selected service, selected clinician, selected time, saved slip; actions: restore selection, review on overview, deep-link into booking

## Site Map

| Page | Route | Role | Sections | Links |
|---|---|---|---:|---|
| Clinic overview · Care with room to breathe | `/` | A living noticeboard that introduces the clinic, previews real demo times, routes visitors to the right care team, and reflects any saved booking. | 5 | Care & team · Five teams under one roof, Plan a visit · The visit starts before the door, Book an appointment · Find a time that fits |
| Care & team · Five teams under one roof | `/care/` | A detailed service and clinician directory that shares the paper-ledger visual language while giving each care team a distinct reason to choose it. | 5 | Clinic overview · Care with room to breathe, Plan a visit · The visit starts before the door, Book an appointment · Find a time that fits |
| Plan a visit · The visit starts before the door | `/visit/` | A calm, practical visit guide arranged as an arrival timeline, checklist board, transport notes, and support strips. | 6 | Clinic overview · Care with room to breathe, Care & team · Five teams under one roof, Book an appointment · Find a time that fits |
| Book an appointment · Find a time that fits | `/book/` | A booking desk built around a live week ribbon, a paper details panel, and a receipt that appears as a physical slip rather than a generic success toast. | 4 | Clinic overview · Care with room to breathe, Care & team · Five teams under one roof, Plan a visit · The visit starts before the door |

**Shared shell**

- Shared masthead with brand, four primary routes, and local-demo badge on every page.
- Shared footer with address, hours, access link, and the same four-route navigation.
- Shared paper-noticeboard visual tokens: warm stock, green ink, sage and apricot accents, serif display, mono metadata.

**Cross-page states**

- Care team, clinician, day, and time are stored in localStorage under asterlane.booking.v1 and can arrive through query parameters.
- The home page slip summarises the latest chosen team, time, and confirmation code.
- The care directory deep-links each clinician into the booking desk with department and clinician preselected.
- The booking slip survives reload and can be reopened from the overview, while every route remains directly addressable.

### Page Contracts

### P1 — Clinic overview · Care with room to breathe (`/`)

- **Navigation label**: Clinic
- **Page role**: A living noticeboard that introduces the clinic, previews real demo times, routes visitors to the right care team, and reflects any saved booking.
- **Purpose**: Let a neighbour understand the clinic and start the right journey within one screen, then continue into richer service, visit, and booking pages.
- **Required sections**:
  - `opening` **Poster-stack opening** (primary) — Introduce the clinic and show a real week ribbon beside three overlapping paper posters. Content: clinic promise / demo time / care team shortcut / saved slip summary. Actions: open booking / meet care teams / follow a demo time.
  - `notices` **This week’s notices** (support) — Surface new-patient, vaccination, and interpreter information that changes what a visitor should do next. Content: new-patient note / vaccination note / interpreter note. Actions: read notice / plan visit.
  - `services` **Service ledger** (primary) — Compare all five care teams in a dense editorial ledger with audience, duration, and a route into detail. Content: service name / audience / duration / description. Actions: compare services / open care detail.
  - `people` **Clinician glimpse** (support) — Put familiar faces and languages beside the services so care feels personal before booking. Content: clinician / role / special interest / availability. Actions: meet clinicians.
  - `rhythm` **Clinic rhythm** (support) — Explain the clinic’s continuity promise and practical opening hours without turning the page into a generic about section. Content: clinic story / opening hours / address. Actions: read story / plan visit.
- **Links to**: Care & team · Five teams under one roof, Plan a visit · The visit starts before the door, Book an appointment · Find a time that fits

### P2 — Care & team · Five teams under one roof (`/care/`)

- **Navigation label**: Care & team
- **Page role**: A detailed service and clinician directory that shares the paper-ledger visual language while giving each care team a distinct reason to choose it.
- **Purpose**: Help visitors compare services, understand handover and continuity, and carry a specific team or clinician into booking.
- **Required sections**:
  - `care-hero` **Care-team finder** (primary) — Map common concerns to the five teams and set expectations for first-visit length. Content: concern / care team / duration. Actions: scan finder / open booking.
  - `services-detail` **Service ledger** (primary) — Describe every service with real eligibility, timing, and availability detail rather than marketing labels. Content: service / description / days / duration / clinician. Actions: compare services / book a service.
  - `clinicians` **Clinician directory** (primary) — Introduce six clinicians with special interests, languages, and a direct booking action. Content: clinician / role / focus / language / availability. Actions: read profile / book with clinician.
  - `handover` **How the team works** (support) — Explain continuity, consent, and handover so the visitor knows what happens between appointments. Content: handover principle / shared record / interpreter promise / follow-up. Actions: read principle.
  - `care-faq` **Choosing care questions** (support) — Answer the practical doubts that stop people from booking the right team. Content: faq / continuity answer / interpreter answer / access answer. Actions: open answer.
- **Links to**: Clinic overview · Care with room to breathe, Plan a visit · The visit starts before the door, Book an appointment · Find a time that fits

### P3 — Plan a visit · The visit starts before the door (`/visit/`)

- **Navigation label**: Plan a visit
- **Page role**: A calm, practical visit guide arranged as an arrival timeline, checklist board, transport notes, and support strips.
- **Purpose**: Give visitors everything they need to arrive on time, bring the right things, and ask for adjustments without friction.
- **Required sections**:
  - `visit-hero` **Visit at a glance** (primary) — Put address, entrance, transport, and arrival time together before the detailed guidance. Content: address / entrance note / bus route / arrival time. Actions: jump to arrival / book visit.
  - `arrival` **Arrival timeline** (primary) — Walk through check-in, waiting, and consultation so the visit has a predictable shape. Content: arrival step / waiting note / consultation note. Actions: read steps.
  - `what-to-bring` **What to bring** (primary) — Offer a forgiving checklist for the patient and for someone attending on their behalf. Content: checklist item / medication note / carer note. Actions: scan checklist.
  - `access` **Access and transport** (primary) — Explain step-free access, buses, cycling, parking, and reception hours with concrete detail. Content: access note / transport route / opening hours. Actions: plan route / check hours.
  - `support` **Extra support** (support) — Make interpreter, vaccination, and quiet-hour options visible without requiring a special request page. Content: interpreter note / vaccination walk-in / quiet hour. Actions: read support option.
  - `visit-faq` **Visit questions** (support) — Resolve lateness, companions, quiet space, and demo-slip questions at the point of need. Content: faq / lateness answer / companion answer / demo answer. Actions: open answer.
- **Links to**: Clinic overview · Care with room to breathe, Care & team · Five teams under one roof, Book an appointment · Find a time that fits

### P4 — Book an appointment · Find a time that fits (`/book/`)

- **Navigation label**: Book
- **Page role**: A booking desk built around a live week ribbon, a paper details panel, and a receipt that appears as a physical slip rather than a generic success toast.
- **Purpose**: Let the visitor choose a team, clinician, and demo time, validate details, and keep a local confirmation slip that remains available across the site.
- **Required sections**:
  - `book-hero` **Choice-so-far slip** (primary) — Reflect department, clinician, and time immediately, including values arriving from links or local storage. Content: care team / clinician / time / demo status. Actions: review selection / open visit guide.
  - `appointment` **Schedule and details** (primary) — Combine day tabs, filtered time slots, clinician choice, patient details, validation, and the confirmation receipt. Content: day / slot / clinician / patient detail / confirmation code. Actions: choose day / filter time / choose slot / submit / edit.
  - `after-booking` **What happens next** (support) — Explain confirmation, reminder, and change behaviour even though the demo ends at the local slip. Content: confirmation step / reminder step / change step. Actions: read next steps.
  - `book-help` **Phone and access help** (support) — Offer a non-form path for interpreter, carer, and uncertainty cases. Content: reception hours / phone note / urgent-care note. Actions: call reception / read visit guide.
- **Links to**: Clinic overview · Care with room to breathe, Care & team · Five teams under one roof, Plan a visit · The visit starts before the door

### Content Inventory

| Entity | Type | Minimum examples | Required fields |
|---|---|---:|---|
| `services` | care service | 6 | name / audience / duration / available days / description / clinician |
| `clinicians` | clinician | 6 | name / role / special interest / languages / available days / booking link |
| `slots` | demo appointment slot | 23 | day / time / department / clinician / taken state |
| `notices` | clinic notice | 6 | title / body / timing / action |
| `visit-steps` | visit guidance item | 14 | step or item / detail / access relevance / related route |
| `faqs` | care or visit question | 8 | question / answer / page / related service |

## Visual System

### Palette

| Role | Value |
|---|---|
| porcelain | `#F2EFE7 — page field and quiet breathing room` |
| ink | `#20352E — primary text and hard rules` |
| sage | `#9CB8A4 — schedule plane, selected states, and care navigation` |
| apricot | `#E9A178 — urgent accent, focus ring, and confirmation slip` |
| glass | `#D9E8E2 — translucent live window and separators` |

### Typography

| Role | Specification |
|---|---|
| display | Iowan Old Style / Charter / Georgia, 48–92px, low-contrast serif for a human, non-clinical voice |
| body | Avenir Next / system sans, 16–18px, generous line-height for clear reading |
| meta | SFMono-Regular / Menlo, 10–12px, uppercase for hours, codes, and labels |

- **Concept**: A quiet community noticeboard reimagined as a living schedule: printed clinic posters overlap like notices pinned for neighbors, but the time ribbon is digital and operable.
- **Shape language**: Clipped poster corners, rotated layers, pill-shaped time controls, tab-like clinician notes, and one stamp-like confirmation seal.
- **Imagery strategy**: No stock photography. Original CSS and inline SVG only: abstract clinic-hour marks, a paper path, and a soft reception-glass wash.
- **Motion strategy**: Motion is limited to layer settling and state lifts; there is no ambient looping animation.

## Layout

- **Opening**: The page opens directly on the care wall: a large editorial statement sits beside three overlapping poster planes, with live time pills already visible above the fold.
- **Primary reading axis**: A horizontal week ribbon runs through the middle of the angled posters, from department to clinician to date to time, then folds into the confirmation slip.
- **Navigation**: A shared four-route masthead and footer sit on every page. The overview uses poster shortcuts, the care page uses a service ledger, the visit page uses an arrival timeline, and the booking page uses a live week ribbon; navigation never collapses the site into one scroll.
- **Rhythm**: Large editorial statement, dense time ribbon, then one quiet guidance strip; no repeated equal cards.
- **Counterpoint**: The apricot confirmation slip overlaps the pale schedule poster and breaks its lower-right edge.
- **Mobile transformation**: The poster stack becomes a staggered single-column noticeboard, the service ledger keeps its number-title-description rhythm, the visit timeline becomes a vertical list with visible step labels, and the booking form follows the slot grid. All four routes and all essential content remain available without horizontal scrolling.

## Components and States

- **Department poster tabs**: Filters the clinician list and updates the live schedule without losing the current date when possible.; states: default / hover / focus / pressed / selected
- **Clinician note tabs**: Changes who the time ribbon belongs to and exposes plain-language availability notes.; states: default / hover / focus / selected / disabled
- **Week and time ribbon**: Days and times form one connected ribbon; selecting a time updates the confirmation slip and enables the main action.; states: default / hover / focus / selected / disabled / empty
- **Confirmation slip**: Shows the selected appointment, validates name and email locally, then reveals a clear demo confirmation.; states: empty / ready / error / loading / success / editing

## Interaction and Motion

- **filter-care**: Choose a department or clinician → The live ribbon updates to matching dates and times; aria-pressed reflects the active choice.. Keyboard: Tab to each button and activate with Enter or Space; arrow keys are not required because controls are ordinary buttons.. Reduced motion: Updates immediately with no settling transform when reduced motion is requested..
- **choose-time**: Choose a time pill → The confirmation slip updates with clinician, date, and time, and the confirm button becomes enabled.. Keyboard: Tab to the time and press Enter or Space; focus remains on the selected pill.. Reduced motion: No lift or transition; the selected state changes through text, border, and fill..
- **confirm-booking**: Submit the confirmation slip → Missing details produce an inline error summary; valid details show a local-only confirmation code after a short loading state.. Keyboard: Enter submits; on error, focus moves to the error summary; Escape returns from success to edit mode.. Reduced motion: Loading uses a text status rather than a spinner animation when reduced motion is on..

## Responsive Behavior

- **Breakpoints**: wide: 1180px and up: three angled posters with overlapping slip; mid: 720–1179px: two poster planes with the slip below-right; narrow: below 720px: vertically unfolded care sequence and horizontally scrollable time ribbon
- **Priorities**: selected time and clinician first; available dates next; department filter and guidance after; confirmation slip always reachable without hunting through a menu
- **Navigation strategy**: The masthead keeps only brand, demo status, and a jump to the confirmation slip on narrow screens.

## Accessibility

- **Contrast**: All text combinations meet 4.5:1 for body size and 3:1 for large text; selected slot is marked by text and border, not colour alone.
- **Keyboard**: Every control is a native button, input, or link; focus order follows care selection, time selection, then confirmation.
- **Focus**: A 3px apricot outline with 3px offset remains visible on paper and enamel surfaces.
- **Semantics**: Landmarks, headings, fieldsets, labels, aria-live status, and an error summary describe the booking flow.
- **Motion**: prefers-reduced-motion removes transforms and spinner animation while retaining immediate status text.
- **Touch targets**: Interactive targets are at least 44×44px, including time pills and tabs.

## Content and Assets

- **Voice**: Warm, plain, and precise. Say what can be booked and what remains a local demo; avoid medical promises and false urgency.
- **Demo-data note**: All clinicians, times, and confirmations are demonstration data. Confirming stores a local record in this browser only and does not contact a clinic.
- **Asset constraints**: Original inline SVG and CSS geometry only; no template assets, stock photography, or external fonts.

## Acceptance Snapshot

- AC-BUILD [build] The site is served from site/index.html with no build dependency.
- AC-RUNTIME [build] The page loads without console errors, page errors, or failed requests.
- AC-KEYBOARD [keyboard] All visible interactive controls are reachable by Tab with visible focus.
- AC-RESPONSIVE [responsive] Neither desktop nor mobile viewport has horizontal overflow.
- AC-MOTION [motion] Reduced-motion users receive complete content without ongoing animation.
- AC-NAMES [accessibility] Every visible interactive control has an accessible name.
- AC-LANGUAGE [accessibility] The output is English-dominant and uses lang="en".
- AC-INTERACTION [interaction] A visitor can choose a care team, clinician, day, and time, submit valid details, receive a local receipt, and see the choice reflected on the overview after navigation.
- AC-PAGES [content] Every one of the four routes contains at least three substantive sections with real clinic content, and each page has a distinct role rather than repeating the overview.
- AC-COVERAGE [navigation] All four declared routes load successfully and expose a main landmark.
- AC-NAV [navigation] Every route shares the same complete primary navigation to all four routes.
- AC-LINKS [navigation] Every internal link and content deep link resolves without a broken route.
- AC-VISUAL [visual] The poster-stack overview, ledger care page, timeline visit page, and week-ribbon booking page keep a non-rectangular, paper-led identity in both viewports.
- AC-NOBOX [visual] No route reduces the primary content to an equal-card grid; booking is carried by a staggered schedule and paper slip, not a sidebar-plus-form template.
